]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Move header search before nav in the HTML; give it a unique ID.
authorSamantha Doherty <sammy@status.net>
Fri, 26 Aug 2011 02:29:11 +0000 (22:29 -0400)
committerSamantha Doherty <sammy@status.net>
Fri, 26 Aug 2011 02:29:11 +0000 (22:29 -0400)
lib/action.php
lib/searchform.php

index 251b1dadac820aecc7db092ee4c1587aa3a70dd8..38685f928a39732e62b96e0c9b4acf1b830d0e5b 100644 (file)
@@ -580,8 +580,6 @@ class Action extends HTMLOutputter // lawsuit
     function showPrimaryNav()
     {
         $this->elementStart('div', array('id' => 'site_nav_global_primary'));
-        $pn = new PrimaryNav($this);
-        $pn->show();
 
         $user = common_current_user();
 
@@ -590,6 +588,8 @@ class Action extends HTMLOutputter // lawsuit
             $form->show();
         }
 
+        $pn = new PrimaryNav($this);
+        $pn->show();
         $this->elementEnd('div');
     }
 
index b58d7af80940aae0a801302ffaba564cb7af8c6c..4c632640060f482bebf29f6a6eb9f9f1c61b01f6 100644 (file)
@@ -89,7 +89,7 @@ class SearchForm extends Form
 
     function id()
     {
-        return 'search';
+        return 'header-search';
     }
 
     /**