mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
Some changes to the labels and an edit profile button.
This commit is contained in:
parent
6089bc94b3
commit
e9dc6e4faa
2 changed files with 13 additions and 11 deletions
|
@ -79,10 +79,13 @@ function advanced_profile(&$a) {
|
|||
if($txt = prepare_text($a->profile['work'])) $profile['work'] = array( t('Work/employment:'), $txt);
|
||||
|
||||
if($txt = prepare_text($a->profile['education'])) $profile['education'] = array( t('School/education:'), $txt );
|
||||
|
||||
|
||||
if ($a->profile['uid'] == local_user())
|
||||
$profile['edit'] = array($a->get_baseurl(). '/profiles/'.$a->profile['id'], t('Edit profile'),"", t('Edit profile'));
|
||||
|
||||
return replace_macros($tpl, array(
|
||||
'$title' => t('Profile'),
|
||||
'$profile' => $profile,
|
||||
'$title' => t('Profile'),
|
||||
'$profile' => $profile
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue