diff options
author | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-08 05:51:13 -0400 |
---|---|---|
committer | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-08 05:51:13 -0400 |
commit | 0f502b8d8656bf9f1340611893dd0e4d736aeea3 (patch) | |
tree | 2c0dcf307cba098eb00aeb5b5582bec07b6aa5bc /actions/all.php | |
parent | 87b494f1ebbe7640d194ef322af12fdf378295df (diff) |
Remove tralling whitespace on lines and a gettext replacement that I missed.
darcs-hash:20080708095113-533db-ad63bbde67b6275fb7ae944cc9882adf6f3be517.gz
Diffstat (limited to 'actions/all.php')
-rw-r--r-- | actions/all.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/actions/all.php b/actions/all.php index 9ca020015..6ece53528 100644 --- a/actions/all.php +++ b/actions/all.php @@ -47,12 +47,12 @@ class AllAction extends StreamAction { common_show_header(sprintf(_("%s and friends"), $profile->nickname), array($this, 'show_header'), $user, array($this, 'show_top')); - + $this->show_notices($profile); - + common_show_footer(); } - + function show_header($user) { common_element('link', array('rel' => 'alternate', 'href' => common_local_url('allrss', array('nickname' => @@ -63,14 +63,14 @@ class AllAction extends StreamAction { function show_top($user) { $cur = common_current_user(); - + if ($cur && $cur->id == $user->id) { common_notice_form('all'); } - + $this->views_menu(); } - + function show_notices($profile) { $notice = DB_DataObject::factory('notice'); @@ -100,7 +100,7 @@ class AllAction extends StreamAction { } common_element_end('ul'); } - + common_pagination($page > 1, $cnt > NOTICES_PER_PAGE, $page, 'all', array('nickname' => $profile->nickname)); } |