diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-05 02:43:03 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-05 02:43:03 -0400 |
commit | 83dd5b38150a04eaac1cb5e31f86cf249685d16a (patch) | |
tree | 058e34b36c41268e936e4ca61a1f7a7482b8e99f | |
parent | f6b9662783f522a00c387ccad5790cfce5bf31e1 (diff) |
nickname in profile, member since in profile
darcs-hash:20080705064303-84dde-f5e07a71ae18805d3bd1e430d752d3e0e09998fd.gz
-rw-r--r-- | actions/showstream.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php index d6a460b29..4724a6fce 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); } |