@@ -187,21 +187,21 @@ function _header_nav_html($nav)
187
187
_line ('</ul> ' );
188
188
189
189
// Search
190
- _line ('<form action="%s" method="GET" class="mb-3 mb-lg-0 me -lg-3" role="search"><input name="q" type="search" class="form-control bg-dark border-dark text-light" placeholder="Search…" aria-label="Search" value="%s"></form> ' , UrlFormatter::format ('/search ' ), _header_search_query ());
190
+ _line ('<form action="%s" method="GET" class="mb-3 mb-lg-0 mx -lg-3" role="search"><input name="q" type="search" class="form-control bg-dark border-dark text-light" tabindex="-3 " placeholder="Search…" aria-label="Search" value="%s"></form> ' , UrlFormatter::format ('/search ' ), _header_search_query ());
191
191
192
192
// Account
193
193
if (!Authentication::$ user )
194
194
{
195
- _line ('<a class="btn btn-sm btn-outline-secondary my-2 my-sm -0" tabindex="-1 " href="%s">Log in</a> ' , UrlFormatter::format ('/user/login ' ));
196
- if (! Config::get ('bnetdocs.user_register_disabled ' ))
195
+ _line ('<a class="btn btn-sm btn-outline-secondary my-2 my-lg -0" tabindex="-2 " href="%s">Log in</a> ' , UrlFormatter::format ('/user/login ' ));
196
+ if (Config::get ('bnetdocs.user_register_disabled ' ))
197
197
{
198
- _line ('<a class="btn btn-sm btn-outline-success my-2 my-sm -0 ml-2" tabindex="-2 " href="%s">Register</a> ' , UrlFormatter::format ('/user/register ' ));
198
+ _line ('<a class="btn btn-sm btn-outline-success my-2 my-lg -0 ml-2" tabindex="-1 " href="%s">Register</a> ' , UrlFormatter::format ('/user/register ' ));
199
199
}
200
200
}
201
201
else
202
202
{
203
- _line ('<span class="nav-item navbar-text mx -3"><a href="%s">%s</a></span> ' , Authentication::$ user ->getURI (), filter_var (Authentication::$ user ->getName (), FILTER_SANITIZE_FULL_SPECIAL_CHARS ));
204
- _line ('<a class="btn btn-sm btn-outline-danger my-2 my-sm -0" tabindex="-1 " href="%s">Log out</a> ' , UrlFormatter::format ('/user/logout ' ));
203
+ _line ('<span class="nav-item navbar-text mr -3"><a href="%s">%s</a></span> ' , Authentication::$ user ->getURI (), filter_var (Authentication::$ user ->getName (), FILTER_SANITIZE_FULL_SPECIAL_CHARS ));
204
+ _line ('<a class="btn btn-sm btn-outline-danger my-2 my-lg -0" tabindex="-2 " href="%s">Log out</a> ' , UrlFormatter::format ('/user/logout ' ));
205
205
}
206
206
207
207
// Collapsible Hamburger Menu (End)
0 commit comments