Compare commits
3 commits
cd8b577693
...
ffb0e64439
Author | SHA1 | Date | |
---|---|---|---|
ffb0e64439 | |||
8a4848bd37 | |||
56e1b1e415 |
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
{extends file='TplCore:empty.tpl'}
|
||||
{block name="navbar-extra-content"}
|
||||
{if isset($auth_user) && $auth_user}
|
||||
<form class="d-flex" role="search" action='item'>
|
||||
<div class="input-group input-group-sm me-2">
|
||||
<input class="form-control" type="search" name="pattern"
|
||||
|
@ -7,4 +8,5 @@
|
|||
<span class="input-group-text"><i class="fa fa-search" aria-hidden="true"></i></span>
|
||||
</div>
|
||||
</form>
|
||||
{/if}
|
||||
{/block}
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
</ul>
|
||||
{/block}
|
||||
</li>
|
||||
{else}
|
||||
{else if $request->current_url != 'login'}
|
||||
{block name="navbar-login-btn"}
|
||||
<li class="nav-item">
|
||||
<a href="login" class="btn btn-sm btn-success">
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
{t domain=$CORE_TEXT_DOMAIN}Submit{/t}
|
||||
</button>
|
||||
{foreach $display_other_methods as $method => $name}
|
||||
<a class='btn btn-secondary w-100 my-2' href='login?method={$method}&next={$next|escape:"url"}'>{$name}</a>
|
||||
<a class='btn btn-secondary w-100 mt-2' href='login?method={$method}&next={$next|escape:"url"}'>{$name}</a>
|
||||
{/foreach}
|
||||
</form>
|
||||
</main>
|
||||
|
|
Loading…
Reference in a new issue