From 5de7d0f12f279aed4551d261d8f71325ca01028a Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Thu, 23 Jun 2011 11:30:17 +0200 Subject: add profile tabs to "photos", "events" and "notes". in dispy, show active tab. --- mod/notes.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'mod/notes.php') diff --git a/mod/notes.php b/mod/notes.php index 0f980ff67..9f1a4662d 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -36,6 +36,20 @@ 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 .= '

' . t('Personal Notes') . '

'; -- cgit v1.2.3