summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-14 17:48:08 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-14 17:48:08 -0500
commitb9fc7334a8ecfbe1c0ec6c3d5451aa82827b50a1 (patch)
tree16e98069a3005fdd18644998af62fe17ba973609 /lib
parentc640b747f7e682ac632397cf32e41ef4c2dca96f (diff)
Fix the More... link for popular notices section
Diffstat (limited to 'lib')
-rw-r--r--lib/popularnoticesection.php5
-rw-r--r--lib/section.php2
2 files changed, 6 insertions, 1 deletions
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...');
}
}