move member since to statistics

darcs-hash:20080705064618-84dde-11f2909f8d768f96673979f31a7ee914df1f5987.gz
This commit is contained in:
Evan Prodromou 2008-07-05 02:46:18 -04:00
parent 83dd5b3815
commit 31b9d1e9d3

View File

@ -141,10 +141,6 @@ class ShowstreamAction extends StreamAction {
common_element('h1', NULL, $profile->nickname); 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) { if ($profile->location) {
common_element('p', 'location', $profile->location); common_element('p', 'location', $profile->location);
@ -282,6 +278,10 @@ class ShowstreamAction extends StreamAction {
# Other stats...? # Other stats...?
common_element_start('dl', 'statistics'); common_element_start('dl', 'statistics');
common_element('dt', 'membersince', _t('Member since'));
common_element('dd', 'membersince', date('j M Y',
strtotime($profile->created)));
common_element_start('dt', 'subscriptions'); common_element_start('dt', 'subscriptions');
common_element('a', array('href' => common_local_url('subscriptions', common_element('a', array('href' => common_local_url('subscriptions',
array('nickname' => $profile->nickname))), array('nickname' => $profile->nickname))),