From: Evan Prodromou Date: Sat, 5 Jul 2008 06:43:03 +0000 (-0400) Subject: nickname in profile, member since in profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=83dd5b38150a04eaac1cb5e31f86cf249685d16a;p=quix0rs-gnu-social.git nickname in profile, member since in profile darcs-hash:20080705064303-84dde-f5e07a71ae18805d3bd1e430d752d3e0e09998fd.gz --- diff --git a/actions/showstream.php b/actions/showstream.php index d6a460b297..4724a6fceb 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -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); }