nickname in profile, member since in profile
darcs-hash:20080705064303-84dde-f5e07a71ae18805d3bd1e430d752d3e0e09998fd.gz
This commit is contained in:
parent
f6b9662783
commit
83dd5b3815
@ -136,8 +136,16 @@ class ShowstreamAction extends StreamAction {
|
|||||||
common_element_start('div', array('id' => 'profile_information'));
|
common_element_start('div', array('id' => 'profile_information'));
|
||||||
|
|
||||||
if ($profile->fullname) {
|
if ($profile->fullname) {
|
||||||
common_element('h1', NULL, $profile->fullname);
|
common_element('h1', NULL, $profile->fullname . '(' . $profile->nickname . ')');
|
||||||
|
} else {
|
||||||
|
common_element('h1', NULL, $profile->nickname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# XXX: i18n
|
||||||
|
|
||||||
|
common_element('p', 'membersince', _t('Member since: ') .
|
||||||
|
date('j M Y', strtotime($profile->created)));
|
||||||
|
|
||||||
if ($profile->location) {
|
if ($profile->location) {
|
||||||
common_element('p', 'location', $profile->location);
|
common_element('p', 'location', $profile->location);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user