Commit 8c846376 authored by Samantha Doherty's avatar Samantha Doherty

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

parent 5f1ace8c
......@@ -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');
}
......
......@@ -89,7 +89,7 @@ class SearchForm extends Form
function id()
{
return 'search';
return 'header-search';
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment