Move header search before nav in the HTML; give it a unique ID.

This commit is contained in:
Samantha Doherty 2011-08-25 22:29:11 -04:00
parent 5f1ace8c04
commit 8c84637612
2 changed files with 3 additions and 3 deletions

View File

@ -580,8 +580,6 @@ class Action extends HTMLOutputter // lawsuit
function showPrimaryNav() function showPrimaryNav()
{ {
$this->elementStart('div', array('id' => 'site_nav_global_primary')); $this->elementStart('div', array('id' => 'site_nav_global_primary'));
$pn = new PrimaryNav($this);
$pn->show();
$user = common_current_user(); $user = common_current_user();
@ -590,6 +588,8 @@ class Action extends HTMLOutputter // lawsuit
$form->show(); $form->show();
} }
$pn = new PrimaryNav($this);
$pn->show();
$this->elementEnd('div'); $this->elementEnd('div');
} }

View File

@ -89,7 +89,7 @@ class SearchForm extends Form
function id() function id()
{ {
return 'search'; return 'header-search';
} }
/** /**