summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-14 21:28:30 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-14 21:28:30 -0500
commit9b31571449c56004e01d16eb1a365f73cc91ba8d (patch)
tree6fe4a41bc0277f9105d40e2cdafa9b9dfab3ffc6 /lib
parent4ad5d55ecf65fb1c9f58211b37f8f111e9ca0c7b (diff)
parent3db9c134a052b906c8c9cff946e63ee28457ce1b (diff)
Merge branch 'master' into 0.7.x
Diffstat (limited to 'lib')
-rw-r--r--lib/featureduserssection.php5
-rw-r--r--lib/popularnoticesection.php5
-rw-r--r--lib/section.php2
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...');
}
}