]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix the More... link for popular notices section
authorEvan Prodromou <evan@controlyourself.ca>
Sat, 14 Feb 2009 22:48:08 +0000 (17:48 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Sat, 14 Feb 2009 22:48:08 +0000 (17:48 -0500)
lib/popularnoticesection.php
lib/section.php

index 5734d800189d9bdd7be139d85aef94775b8b53c7..5380563b9e70ee48cb8590bc376d39b16cbb20fd 100644 (file)
@@ -80,4 +80,9 @@ class PopularNoticeSection extends NoticeSection
     {
         return 'popular_notices';
     }
+
+    function moreUrl()
+    {
+        return common_local_url('favorited');
+    }
 }
index 0c32ddcf84e91a5696e5ea32cb29d4f45108995d..d145750862a504ec10d1e912e1f4a4c709624040 100644 (file)
@@ -103,6 +103,6 @@ class Section extends Widget
 
     function moreTitle()
     {
-        return null;
+        return _('More...');
     }
 }