aboutsummaryrefslogtreecommitdiffstats
path: root/mod/notes.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-06-23 11:30:17 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-06-23 11:30:17 +0200
commit5de7d0f12f279aed4551d261d8f71325ca01028a (patch)
tree41af3d6ef5a8bc465f3718fd01aaa2b88ae9b2a2 /mod/notes.php
parentaa4636d03a03718c5c5e58c17af40ee0104be2b6 (diff)
downloadvolse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.tar.gz
volse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.tar.bz2
volse-hubzilla-5de7d0f12f279aed4551d261d8f71325ca01028a.zip
add profile tabs to "photos", "events" and "notes". in dispy, show active tab.
Diffstat (limited to 'mod/notes.php')
-rw-r--r--mod/notes.php14
1 files changed, 14 insertions, 0 deletions
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 .= '<h3>' . t('Personal Notes') . '</h3>';