nickname in profile, member since in profile

darcs-hash:20080705064303-84dde-f5e07a71ae18805d3bd1e430d752d3e0e09998fd.gz
This commit is contained in:
Evan Prodromou 2008-07-05 02:43:03 -04:00
parent f6b9662783
commit 83dd5b3815

View File

@ -136,8 +136,16 @@ class ShowstreamAction extends StreamAction {
common_element_start('div', array('id' => 'profile_information'));
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) {
common_element('p', 'location', $profile->location);
}