summaryrefslogtreecommitdiff
path: root/actions/subscribed.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscribed.php')
-rw-r--r--actions/subscribed.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/actions/subscribed.php b/actions/subscribed.php
index 5527b276f..2b5bbd1b8 100644
--- a/actions/subscribed.php
+++ b/actions/subscribed.php
@@ -41,11 +41,20 @@ class SubscribedAction extends Action {
}
$page = $this->arg('page') || 1;
- common_show_header($profile->nickname . ": " . _t('Subscribers'));
+ common_show_header($profile->nickname . ": " . _t('Subscribers'),
+ NULL, $profile,
+ array($this, 'show_top'));
$this->show_subscribed($profile, $page);
common_show_footer();
}
+ function show_top($profile) {
+ $user = common_current_user();
+ common_element('p', 'instructions',
+ _t('These are the people who listen to ') .
+ (($user && ($user->id == $profile->id)) ? _t('your notices.') : ($profile->nickname . _t('\'s notices.'))));
+ }
+
function show_subscribed($profile, $page) {
global $config;