From f64e2d63b9ee66482b3461ecb6ee8f7776e23b87 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Mon, 10 Oct 2011 15:28:34 +0200 Subject: New common tab template. Update css --- mod/events.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'mod/events.php') 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 .= '

' . t('Events') . '

'; -- cgit v1.2.3