aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-26 20:29:32 -0800
committerFriendika <info@friendika.com>2011-01-26 20:29:32 -0800
commitd2dddd995abef2d0805901b278647bef0ce50f88 (patch)
tree84bd92072bf37eee3b54ebf7cb9ccaf408562e67 /mod/contacts.php
parentb4642ca650e41c33ce461873561bb6d932c022b0 (diff)
downloadvolse-hubzilla-d2dddd995abef2d0805901b278647bef0ce50f88.tar.gz
volse-hubzilla-d2dddd995abef2d0805901b278647bef0ce50f88.tar.bz2
volse-hubzilla-d2dddd995abef2d0805901b278647bef0ce50f88.zip
set update frequency to twice daily for 'feed' contacts, unable to set update frequency on contact edit form.
Diffstat (limited to 'mod/contacts.php')
-rw-r--r--mod/contacts.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index 83f73140b..177ca9973 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -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>' : ''),