diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-12 16:04:24 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-12 16:04:24 -0400 |
commit | ad7aa68a9917c9b53c8974f9002699a8efab54ee (patch) | |
tree | 61761a112b58a6e108b75d9ad055a87dadc10eb8 | |
parent | 47c3e474becc94287e5afce4ec70992266e7ee6b (diff) |
links for subscribers and subscribed in showstream
darcs-hash:20080612200424-84dde-b96bf533612308e0ecd695365802f3da3f2601a4.gz
-rw-r--r-- | actions/showstream.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/actions/showstream.php b/actions/showstream.php index 6ff7e41d9..2fc5184c3 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -283,9 +283,17 @@ class ShowstreamAction extends StreamAction { # Other stats...? common_element_start('dl', 'statistics'); - common_element('dt', 'subscriptions', _t('Subscriptions')); + common_element_start('dt', 'subscriptions'); + common_element('a', array('href' => common_local_url('subscriptions', + array('nickname' => $profile->nickname))), + _t('Subscriptions')); + common_element_end('dt'); common_element('dd', 'subscriptions', $subs_count); - common_element('dt', 'subscribers', _t('Subscribers')); + common_element_start('dt', 'subscribers'); + common_element('a', array('href' => common_local_url('subscribed', + array('nickname' => $profile->nickname))), + _t('Subscribers')); + common_element_end('dt'); common_element('dd', 'subscribers', $subbed_count); common_element('dt', 'notices', _t('Notices')); common_element('dd', 'notices', $notice_count); |