mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
New common tab template. Update css
This commit is contained in:
parent
077726a193
commit
f64e2d63b9
25 changed files with 173 additions and 215 deletions
|
@ -110,18 +110,7 @@ function profile_content(&$a, $update = 0) {
|
|||
if(x($_GET,'tab'))
|
||||
$tab = notags(trim($_GET['tab']));
|
||||
|
||||
$tpl = get_markup_template('profile_tabs.tpl');
|
||||
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$url' => $a->get_baseurl() . '/' . $a->cmd,
|
||||
'$phototab' => $a->get_baseurl() . '/photos/' . $a->profile['nickname'],
|
||||
'$status' => t('Status'),
|
||||
'$profile' => t('Profile'),
|
||||
'$photos' => t('Photos'),
|
||||
'$events' => (($is_owner) ? t('Events') : ''),
|
||||
'$notes' => (($is_owner) ? t('Personal Notes') : ''),
|
||||
'$activetab' => $tab,
|
||||
));
|
||||
$o.=profile_tabs($a, $is_owner);
|
||||
|
||||
|
||||
if($tab === 'profile') {
|
||||
|
@ -131,6 +120,8 @@ function profile_content(&$a, $update = 0) {
|
|||
return $o;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(x($_SESSION,'new_member') && $_SESSION['new_member'] && $is_owner)
|
||||
$o .= '<a href="newmember">' . t('Tips for New Members') . '</a>' . EOL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue