require_once(INSTALLDIR.'/lib/stream.php');
require_once(INSTALLDIR.'/lib/profilelist.php');
-class FeaturedAction extends StreamAction {
+class FeaturedAction extends StreamAction
+{
- function handle($args) {
+ function handle($args)
+ {
parent::handle($args);
$page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
common_show_header(_('Featured users'),
- array($this, 'show_header'), NULL,
+ array($this, 'show_header'), null,
array($this, 'show_top'));
$this->show_notices($page);
common_show_footer();
}
- function show_top() {
+ function show_top()
+ {
$instr = $this->get_instructions();
$output = common_markup_to_html($instr);
- common_element_start('div', 'instructions');
- common_raw($output);
- common_element_end('div');
+ $this->elementStart('div', 'instructions');
+ $this->raw($output);
+ $this->elementEnd('div');
$this->public_views_menu();
}
- function show_header() {
+ function show_header()
+ {
}
- function get_instructions() {
+ function get_instructions()
+ {
return _('Featured users');
}
- function show_notices($page) {
+ function show_notices($page)
+ {
// XXX: Note I'm doing it this two-stage way because a raw query
// with a JOIN was *not* working. --Zach