summaryrefslogtreecommitdiff
path: root/actions/favorited.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-15 22:57:15 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-15 22:57:15 +0000
commiteaa81d25fa7bd954132ce7f901fae69b0d46ec1a (patch)
tree25ac22e73ca93935b2a27e1e91e485b04ec3e01d /actions/favorited.php
parent2b2fb276219f87cdc0430d91ac3695e098ae48f4 (diff)
Convert all actions to use new UI functions
I did a massive search-and-replace to get all the action subclasses to use the new output function (common_element() -> $this->element(), etc.) There's still a lot to do, but it's a first step
Diffstat (limited to 'actions/favorited.php')
-rw-r--r--actions/favorited.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/actions/favorited.php b/actions/favorited.php
index 71a9e026e..936905732 100644
--- a/actions/favorited.php
+++ b/actions/favorited.php
@@ -43,9 +43,9 @@ class FavoritedAction extends StreamAction
{
$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();
}
@@ -81,7 +81,7 @@ class FavoritedAction extends StreamAction
$notice = new Notice;
$notice->query(sprintf($qry, common_config('popular', 'dropoff')));
- common_element_start('ul', array('id' => 'notices'));
+ $this->elementStart('ul', array('id' => 'notices'));
$cnt = 0;
@@ -96,7 +96,7 @@ class FavoritedAction extends StreamAction
$item->show();
}
- common_element_end('ul');
+ $this->elementEnd('ul');
common_pagination($page > 1, $cnt > NOTICES_PER_PAGE,
$page, 'favorited');