forked from jnanamurti/developer-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nav.tpl
29 lines (26 loc) · 1003 Bytes
/
nav.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<nav class="nav navbar navbar-static-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".subnav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<form action="{router page='search'}topics/" class="navbar-search pull-right">
<input type="text" placeholder="{$aLang.search}" maxlength="255" name="q" class="search-query">
</form>
<div class="nav-collapse subnav-collapse collapse">
{if $menu}
{if in_array($menu,$aMenuContainers)}{$aMenuFetch.$menu}{else}{include file="menu.$menu.tpl"}{/if}
{/if}
{if $oUserCurrent}
<ul class="nav">
<li class="divider-vertical"></li>
<li><a href="{router page='topic'}add/" class="btn-write" id="modal_write_show">{$aLang.block_create}</a></li>
<li class="divider-vertical"></li>
</ul>
{/if}
</div>
</div>
</div>
</nav>