mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
add profile tabs to "photos", "events" and "notes". in dispy, show active tab.
This commit is contained in:
parent
aa4636d03a
commit
5de7d0f12f
7 changed files with 68 additions and 19 deletions
|
@ -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,
|
||||
));
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue