From 83dd5b38150a04eaac1cb5e31f86cf249685d16a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 5 Jul 2008 02:43:03 -0400 Subject: [PATCH] nickname in profile, member since in profile darcs-hash:20080705064303-84dde-f5e07a71ae18805d3bd1e430d752d3e0e09998fd.gz --- actions/showstream.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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); } -- 2.39.5