From 0f502b8d8656bf9f1340611893dd0e4d736aeea3 Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Tue, 8 Jul 2008 05:51:13 -0400 Subject: Remove tralling whitespace on lines and a gettext replacement that I missed. darcs-hash:20080708095113-533db-ad63bbde67b6275fb7ae944cc9882adf6f3be517.gz --- actions/all.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'actions/all.php') 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)); } -- cgit v1.2.3-54-g00ecf