Line | |
---|
1 | |
---|
2 | {if !empty($blocks) } |
---|
3 | <div id=nav_wrapper> |
---|
4 | |
---|
5 | |
---|
6 | <div id="menu" > |
---|
7 | <ul id="topnav"> |
---|
8 | {foreach from=$blocks key=id item=block} |
---|
9 | <span id="{$id}"> |
---|
10 | {if not empty($block->template)} |
---|
11 | {include file=$block->template|@get_extent:$id } |
---|
12 | {else} |
---|
13 | {$block->raw_content} |
---|
14 | {/if} |
---|
15 | </span> |
---|
16 | {/foreach} |
---|
17 | </ul> |
---|
18 | |
---|
19 | <div id="search"> |
---|
20 | <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;"> |
---|
21 | <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}> |
---|
22 | <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" /> |
---|
23 | <input type="submit" value="" id="go"/> |
---|
24 | </p> |
---|
25 | </form> |
---|
26 | <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script> |
---|
27 | </div> |
---|
28 | </div> |
---|
29 | </div> |
---|
30 | {/if} |
---|
31 | |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.