diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-23 11:30:17 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-23 11:30:17 +0200 |
commit | 5de7d0f12f279aed4551d261d8f71325ca01028a (patch) | |
tree | 41af3d6ef5a8bc465f3718fd01aaa2b88ae9b2a2 /mod/events.php | |
parent | aa4636d03a03718c5c5e58c17af40ee0104be2b6 (diff) | |
download | volse-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/events.php')
-rw-r--r-- | mod/events.php | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/mod/events.php b/mod/events.php index 156b464ba..642da3cb7 100644 --- a/mod/events.php +++ b/mod/events.php @@ -103,8 +103,23 @@ function events_content(&$a) { return; } + $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' => "events", + )); + $o .= '<h2>' . t('Events') . '</h2>'; + $mode = 'view'; $y = 0; $m = 0; @@ -318,4 +333,4 @@ function events_content(&$a) { return $o; } -}
\ No newline at end of file +} |