]> git.mxchange.org Git - friendica.git/commitdiff
well that was a silly mistake...
authorfriendica <info@friendica.com>
Fri, 13 Apr 2012 23:12:06 +0000 (16:12 -0700)
committerfriendica <info@friendica.com>
Fri, 13 Apr 2012 23:12:06 +0000 (16:12 -0700)
mod/notifications.php
view/field_checkbox.tpl

index e47582966057f4511dcc3293d3af673a94c57c58..b28b1478d49a8ab0cc007a598fa0e41df13af7a5 100644 (file)
@@ -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'),
index 725df4cdf48b8b4c7e99f6f46270b6d460f0e548..afab292433a2ac930289d68c9724630353f656fb 100644 (file)
@@ -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>