aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-13 16:12:06 -0700
committerfriendica <info@friendica.com>2012-04-13 16:12:06 -0700
commitbfb821e9188ef83fb2621250fd97bdb169447f3d (patch)
tree74865c7ef150c0d92485f9ec1b1dd204175e34ca
parentd1b57d6e74e6881a81a4cffa8cc4d2780b687ccb (diff)
downloadvolse-hubzilla-bfb821e9188ef83fb2621250fd97bdb169447f3d.tar.gz
volse-hubzilla-bfb821e9188ef83fb2621250fd97bdb169447f3d.tar.bz2
volse-hubzilla-bfb821e9188ef83fb2621250fd97bdb169447f3d.zip
well that was a silly mistake...
-rw-r--r--mod/notifications.php4
-rw-r--r--view/field_checkbox.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/notifications.php b/mod/notifications.php
index e47582966..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'), (intval(get_config('system','post_newfriend')) ? '1' : 0), 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'), (intval(get_config('system','post_newfriend')) ? '1' : 0), 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'),
diff --git a/view/field_checkbox.tpl b/view/field_checkbox.tpl
index 725df4cdf..afab29243 100644
--- a/view/field_checkbox.tpl
+++ b/view/field_checkbox.tpl
@@ -1,6 +1,6 @@
<div class='field checkbox'>
<label for='id_$field.0'>$field.1</label>
- <input type="checkbox" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="true"{{ endif }}>
+ <input type="checkbox" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="checked"{{ endif }}>
<span class='field_help'>$field.3</span>
</div>