diff options
Diffstat (limited to 'actions/featured.php')
-rw-r--r-- | actions/featured.php | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/actions/featured.php b/actions/featured.php index 01071912d..d5cfd06f5 100644 --- a/actions/featured.php +++ b/actions/featured.php @@ -10,11 +10,11 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ if (!defined('LACONICA')) { exit(1); } @@ -38,13 +38,18 @@ class FeaturedAction extends StreamAction { } function show_top() { - if (common_logged_in()) { - common_notice_form('public'); - } - + $instr = $this->get_instructions(); + $output = common_markup_to_html($instr); + common_element_start('div', 'instructions'); + common_raw($output); + common_element_end('div'); $this->public_views_menu(); } + function get_instructions() { + return _('Featured users'); + } + function show_header() { // XXX need to make the RSS feed for this |