diff options
-rw-r--r-- | lib/featureduserssection.php | 5 | ||||
-rw-r--r-- | lib/popularnoticesection.php | 5 | ||||
-rw-r--r-- | lib/section.php | 2 |
3 files changed, 11 insertions, 1 deletions
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'); + } } 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...'); } } |