set update frequency to twice daily for 'feed' contacts, unable to set update frequency on contact edit form.
This commit is contained in:
parent
b4642ca650
commit
d2dddd995a
6 changed files with 26 additions and 15 deletions
|
|
@ -53,9 +53,9 @@ function contacts_post(&$a) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
logger('contact_edit ' . print_r($_POST,true));
|
||||
|
||||
|
||||
$priority = intval($_POST['priority']);
|
||||
$priority = intval($_POST['poll']);
|
||||
if($priority == (-1))
|
||||
|
||||
if($priority > 5 || $priority < 0)
|
||||
|
|
@ -252,7 +252,7 @@ function contacts_content(&$a) {
|
|||
'$contact_id' => $r[0]['id'],
|
||||
'$block_text' => (($r[0]['blocked']) ? t('Unblock this contact') : t('Block this contact') ),
|
||||
'$ignore_text' => (($r[0]['readonly']) ? t('Unignore this contact') : t('Ignore this contact') ),
|
||||
'$insecure' => (($r[0]['network'] === 'dfrn') ? '' : load_view_file('view/insecure_net.tpl')),
|
||||
'$insecure' => (($r[0]['network'] === 'stat') ? load_view_file('view/insecure_net.tpl') : ''),
|
||||
'$info' => $r[0]['info'],
|
||||
'$blocked' => (($r[0]['blocked']) ? '<div id="block-message">' . t('Currently blocked') . '</div>' : ''),
|
||||
'$ignored' => (($r[0]['readonly']) ? '<div id="ignore-message">' . t('Currently ignored') . '</div>' : ''),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue