diff options
Diffstat (limited to 'mod/events.php')
-rw-r--r-- | mod/events.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/mod/events.php b/mod/events.php index 5bc9807ed..fb68d53db 100644 --- a/mod/events.php +++ b/mod/events.php @@ -112,17 +112,7 @@ function events_content(&$a) { $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 .= profile_tabs($a, True); $o .= '<h2>' . t('Events') . '</h2>'; |