X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=73c1507e3e044d8ea62538192104eafdc9d1cd0f;hb=2aad62190fd2c0d85e636d01b7e6607a2510906b;hp=09dac72b0c9437dec1a7ee1063dd79ef4370eddf;hpb=5f80467a8f83250354cf4d0a4889ae78c03c0146;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index 09dac72b0c..73c1507e3e 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -9,6 +9,8 @@ function notes_init(&$a) { $which = $a->user['nickname']; + nav_set_selected('home'); + // profile_load($a,$which,$profile); } @@ -46,25 +48,21 @@ function notes_content(&$a,$update = false) { $commpage = false; $commvisitor = false; - $celeb = false; - - - $x = array( 'is_owner' => $is_owner, - 'allow_location' => (($a->user['allow_location']) ? true : false), - 'default_location' => $a->user['default-location'], - 'nickname' => $a->user['nickname'], - 'lockstate' => 'lock', - 'acl' => '', - 'bang' => '', - 'visitor' => 'block', - 'profile_uid' => local_user(), + 'allow_location' => (($a->user['allow_location']) ? true : false), + 'default_location' => $a->user['default-location'], + 'nickname' => $a->user['nickname'], + 'lockstate' => 'lock', + 'acl' => '', + 'bang' => '', + 'visitor' => 'block', + 'profile_uid' => local_user(), 'button' => t('Save'), 'acl_data' => '', - ); + ); - $o .= status_editor($a,$x,$a->contact['id']); + $o .= status_editor($a,$x,$a->contact['id']); }