From 56de8727405ce4c08c38adec2f830d845e528190 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 17 Jun 2008 23:57:39 -0400 Subject: move instructions up to the "whats up" area darcs-hash:20080618035739-84dde-a562cffe186780d5f03cf53798ea249b2bda9fb1.gz --- actions/subscribed.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'actions/subscribed.php') 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; -- cgit v1.2.3-54-g00ecf