- common_start_element('dl', 'statistics');
- common_element('dt', _t('Subscriptions'));
- common_element('dd', $subs_count);
- common_element('dt', _t('Subscribers'));
- common_element('dd', $subbed_count);
- common_element('dt', _t('Notices'));
- common_element('dd', $notice_count);
- common_end_element('dl');
+ common_element_start('dl', 'statistics');
+ 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_start('dt', 'subscribers');
+ common_element('a', array('href' => common_local_url('subscribers',
+ 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);
+ common_element_end('dl');
+
+ common_element_end('div');