summaryrefslogtreecommitdiff
path: root/actions/subscribed.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-17 23:57:39 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-17 23:57:39 -0400
commit56de8727405ce4c08c38adec2f830d845e528190 (patch)
treec5b39d06c642dc7098cc8d44b4d004b3b422667c /actions/subscribed.php
parentfddcfd75c53b8e08be5b71ca24c31b6982fea7ad (diff)
move instructions up to the "whats up" area
darcs-hash:20080618035739-84dde-a562cffe186780d5f03cf53798ea249b2bda9fb1.gz
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;