]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
nickname in profile, member since in profile
authorEvan Prodromou <evan@prodromou.name>
Sat, 5 Jul 2008 06:43:03 +0000 (02:43 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 5 Jul 2008 06:43:03 +0000 (02:43 -0400)
darcs-hash:20080705064303-84dde-f5e07a71ae18805d3bd1e430d752d3e0e09998fd.gz

actions/showstream.php

index d6a460b2970d6ba06b2597de1aee3f66b049dd0e..4724a6fcebc8cf71453b8b3f7c1849ebe93c724b 100644 (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);
                }