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/profile.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/profile.php')
-rw-r--r-- | mod/profile.php | 5 |
1 files changed, 3 insertions, 2 deletions
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) ? '<a href="events" id="profile-tab-events-link" class="profile-tabs" >' . t('Events') . '</a>' : ''), - '$notes' => (($is_owner) ? '<a href="notes" id="profile-tab-notes-link" class="profile-tabs" >' . t('Personal Notes') . '</a>' : '') + '$events' => (($is_owner) ? t('Events') : ''), + '$notes' => (($is_owner) ? t('Personal Notes') : ''), + '$activetab' => $tab, )); |