well that was a silly mistake...
This commit is contained in:
parent
d1b57d6e74
commit
bfb821e918
|
@ -151,7 +151,7 @@ function notifications_content(&$a) {
|
||||||
'$fullname' => $rr['fname'],
|
'$fullname' => $rr['fname'],
|
||||||
'$url' => zrl($rr['furl']),
|
'$url' => zrl($rr['furl']),
|
||||||
'$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
|
'$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,
|
'$knowyou' => $knowyou,
|
||||||
'$approve' => t('Approve'),
|
'$approve' => t('Approve'),
|
||||||
|
@ -198,7 +198,7 @@ function notifications_content(&$a) {
|
||||||
'$photo' => ((x($rr,'photo')) ? $rr['photo'] : "images/person-175.jpg"),
|
'$photo' => ((x($rr,'photo')) ? $rr['photo'] : "images/person-175.jpg"),
|
||||||
'$fullname' => $rr['name'],
|
'$fullname' => $rr['name'],
|
||||||
'$hidden' => array('hidden', t('Hide this contact from others'), ($rr['hidden'] == 1), ''),
|
'$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']),
|
'$url' => zrl($rr['url']),
|
||||||
'$knowyou' => $knowyou,
|
'$knowyou' => $knowyou,
|
||||||
'$approve' => t('Approve'),
|
'$approve' => t('Approve'),
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
<div class='field checkbox'>
|
<div class='field checkbox'>
|
||||||
<label for='id_$field.0'>$field.1</label>
|
<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>
|
<span class='field_help'>$field.3</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue