aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notifications.php
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-04-13 19:26:18 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-04-13 19:26:18 -0400
commita3d95f79f27ca73d657907ab42b51ecc50872089 (patch)
tree74865c7ef150c0d92485f9ec1b1dd204175e34ca /mod/notifications.php
parent093c3a936fc40e4d66f5bc5dffd1fce4ddbedcdc (diff)
parentbfb821e9188ef83fb2621250fd97bdb169447f3d (diff)
downloadvolse-hubzilla-a3d95f79f27ca73d657907ab42b51ecc50872089.tar.gz
volse-hubzilla-a3d95f79f27ca73d657907ab42b51ecc50872089.tar.bz2
volse-hubzilla-a3d95f79f27ca73d657907ab42b51ecc50872089.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: well that was a silly mistake... setting wasn't being applied rev update diabook-themes: theme-settings: users can set font-size and line-height for posts and comments diabook: theme-settings: users can set font-size and line-height for posts and comments diabook-themes: small fixes quattro: language icon in navbar move html out of lang_selector() and new template lang_selector.tpl display settings: show theme screenshot on page load quattro: add admin theme settigs. darker items background with a bottom border. admin: change global theme settings quattro: work on "like" activitiy items less visible fixes to widths popup notification out of navbar category input in jot validate_url allow naked subdomain if is "localhost" * master:
Diffstat (limited to 'mod/notifications.php')
-rw-r--r--mod/notifications.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index 8e3eebba1..b28b1478d 100644
--- a/mod/notifications.php
+++ b/mod/notifications.php
@@ -151,7 +151,7 @@ function notifications_content(&$a) {
'$fullname' => $rr['fname'],
'$url' => zrl($rr['furl']),
'$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
- '$activity' => array('activity', t('Post a new friend activity'), 1, t('if applicable')),
+ '$activity' => array('activity', t('Post a new friend activity'), (intval(get_pconfig(local_user(),'system','post_newfriend')) ? '1' : 0), t('if applicable')),
'$knowyou' => $knowyou,
'$approve' => t('Approve'),
@@ -198,7 +198,7 @@ function notifications_content(&$a) {
'$photo' => ((x($rr,'photo')) ? $rr['photo'] : "images/person-175.jpg"),
'$fullname' => $rr['name'],
'$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
- '$activity' => array('activity', t('Post a new friend activity'), get_config('system','post_newfriend'), t('if applicable')),
+ '$activity' => array('activity', t('Post a new friend activity'), (intval(get_pconfig(local_user(),'system','post_newfriend')) ? '1' : 0), t('if applicable')),
'$url' => zrl($rr['url']),
'$knowyou' => $knowyou,
'$approve' => t('Approve'),