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/profile.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mod/profile.php') diff --git a/mod/profile.php b/mod/profile.php index 587ac6288..f2dd7f4df 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -116,8 +116,9 @@ function profile_content(&$a, $update = 0) { '$status' => t('Status'), '$profile' => t('Profile'), '$photos' => t('Photos'), - '$events' => (($is_owner) ? '' . t('Events') . '' : ''), - '$notes' => (($is_owner) ? '' . t('Personal Notes') . '' : '') + '$events' => (($is_owner) ? t('Events') : ''), + '$notes' => (($is_owner) ? t('Personal Notes') : ''), + '$activetab' => $tab, )); -- cgit v1.2.3