X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofile.php;h=587ac6288e7b1cfa60b7a5dded955091bddf6a95;hb=285d617569f525b213318bcb2eadcbb34400e4f3;hp=ea84c3822cd51f7c7f98be32077a41e14db6e43f;hpb=32bebdfa7e6cf4b73eeabba0377e9fcb5afea27c;p=friendica.git diff --git a/mod/profile.php b/mod/profile.php index ea84c3822c..587ac6288e 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -115,7 +115,9 @@ function profile_content(&$a, $update = 0) { '$phototab' => $a->get_baseurl() . '/photos/' . $a->profile['nickname'], '$status' => t('Status'), '$profile' => t('Profile'), - '$photos' => t('Photos') + '$photos' => t('Photos'), + '$events' => (($is_owner) ? '' . t('Events') . '' : ''), + '$notes' => (($is_owner) ? '' . t('Personal Notes') . '' : '') )); @@ -126,7 +128,7 @@ function profile_content(&$a, $update = 0) { return $o; } - if(x($_SESSION,'new_member') && $_SESSION['new_member']) + if(x($_SESSION,'new_member') && $_SESSION['new_member'] && $is_owner) $o .= '' . t('Tips for New Members') . '' . EOL; $commpage = (($a->profile['page-flags'] == PAGE_COMMUNITY) ? true : false); @@ -259,11 +261,8 @@ function profile_content(&$a, $update = 0) { if($is_owner && ! $update) $o .= get_birthdays(); - - $o .= conversation($a,$r,'profile',$update); - if(! $update) { $o .= paginate($a);