X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=369f120a761c80640fe630addbff462eacecc4d1;hb=a810d2a993fb0d5d778cf56f9cdea151ecdec341;hp=0f980ff67fda92a0dd27cbc32bb5ba0368239850;hpb=b1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index 0f980ff67f..369f120a76 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -14,7 +14,7 @@ function notes_init(&$a) { } -function notes_content(&$a) { +function notes_content(&$a,$update = false) { if(! local_user()) { notice( t('Permission denied.') . EOL); @@ -36,33 +36,53 @@ function notes_content(&$a) { $contact = $a->contact; $is_owner = true; + + $o =""; + // tabs + $tpl = get_markup_template('profile_tabs.tpl'); + $o .= replace_macros($tpl,array( + '$url' => $a->get_baseurl() . '/profile/' . $a->user['nickname'], + '$phototab' => $a->get_baseurl() . '/photos/' . $a->user['nickname'], + '$status' => t('Status'), + '$profile' => t('Profile'), + '$photos' => t('Photos'), + '$events' => t('Events') , + '$notes' => t('Personal Notes'), + '$activetab' => "notes", + )); - $o .= '