From b9fc7334a8ecfbe1c0ec6c3d5451aa82827b50a1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 14 Feb 2009 17:48:08 -0500 Subject: Fix the More... link for popular notices section --- lib/popularnoticesection.php | 5 +++++ lib/section.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php index 5734d8001..5380563b9 100644 --- a/lib/popularnoticesection.php +++ b/lib/popularnoticesection.php @@ -80,4 +80,9 @@ class PopularNoticeSection extends NoticeSection { return 'popular_notices'; } + + function moreUrl() + { + return common_local_url('favorited'); + } } diff --git a/lib/section.php b/lib/section.php index 0c32ddcf8..d14575086 100644 --- a/lib/section.php +++ b/lib/section.php @@ -103,6 +103,6 @@ class Section extends Widget function moreTitle() { - return null; + return _('More...'); } } -- cgit v1.2.3-54-g00ecf From 3db9c134a052b906c8c9cff946e63ee28457ce1b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 14 Feb 2009 17:53:11 -0500 Subject: Fix More... URL for featured user section --- lib/featureduserssection.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/featureduserssection.php b/lib/featureduserssection.php index 2935d8363..aed94b1a5 100644 --- a/lib/featureduserssection.php +++ b/lib/featureduserssection.php @@ -86,4 +86,9 @@ class FeaturedUsersSection extends ProfileSection { return 'featured_users'; } + + function moreUrl() + { + return common_local_url('featured'); + } } -- cgit v1.2.3-54-g00ecf