mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +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
|
@ -36,6 +36,20 @@ function notes_content(&$a) {
|
|||
$contact = $a->contact;
|
||||
|
||||
$is_owner = true;
|
||||
|
||||
$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' => "notes",
|
||||
));
|
||||
|
||||
|
||||
$o .= '<h3>' . t('Personal Notes') . '</h3>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue