]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
move Invite button to top
authorEvan Prodromou <evan@status.net>
Sat, 16 Apr 2011 20:12:04 +0000 (16:12 -0400)
committerEvan Prodromou <evan@status.net>
Sat, 16 Apr 2011 20:12:04 +0000 (16:12 -0400)
actions/all.php
actions/public.php

index db89e5d838a162e970fd2b5120e8a2d212292c1d..96f688f72083dbf9a94b9ee95f27647458a42fe7 100644 (file)
@@ -185,9 +185,9 @@ class AllAction extends ProfileAction
 
     function showSections()
     {
-        $this->showSubscriptions();
         $ibs = new InviteButtonSection($this);
         $ibs->show();
+        $this->showSubscriptions();
         $this->showSubscribers();
         $this->showGroups();
         $this->showLists();
index cd15425fab4896ee76186bc0fe530137c7d138e9..6ab9d1de9c0687bcf51a4cde115c991fe75ac8c7 100644 (file)
@@ -222,10 +222,10 @@ class PublicAction extends Action
 
     function showSections()
     {
-        $pop = new PopularNoticeSection($this);
-        $pop->show();
         $ibs = new InviteButtonSection($this);
         $ibs->show();
+        $pop = new PopularNoticeSection($this);
+        $pop->show();
         $gbp = new GroupsByMembersSection($this);
         $gbp->show();
         $feat = new FeaturedUsersSection($this);