Line | |
---|
1 | <div id="header_manage"> |
---|
2 | <span id="menu_start"> |
---|
3 | <a href="index.php?/categories"></a> |
---|
4 | </span> |
---|
5 | <span id="connect" class="hm_link {if isset($U_LOGIN)}unloged{/if}"><p>{if isset($U_LOGIN)}{'Login'|@translate}{else}<a href="{$U_LOGOUT}">{'Logout'|@translate}</a>{/if}</p></span> |
---|
6 | {if isset($U_REGISTER)} |
---|
7 | <span class="hm_link register"> |
---|
8 | <p><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></p> |
---|
9 | </span> |
---|
10 | {/if} |
---|
11 | {if isset($USERNAME)} |
---|
12 | <div class="hm_link logeduser"> |
---|
13 | <span> |
---|
14 | <p>{'Hello'|@translate} {$USERNAME} !</p> |
---|
15 | </span> |
---|
16 | <div id="userlog"> |
---|
17 | <ul> |
---|
18 | {if isset($U_PROFILE)} |
---|
19 | <li><a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{'Customize'|@translate}</a></li> |
---|
20 | {/if} |
---|
21 | {if isset($U_ADMIN)} |
---|
22 | <li><a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a></li> |
---|
23 | {/if} |
---|
24 | </ul> |
---|
25 | </div> |
---|
26 | </div> |
---|
27 | {/if} |
---|
28 | |
---|
29 | <div id="search"> |
---|
30 | <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;"> |
---|
31 | <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}> |
---|
32 | <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" /> |
---|
33 | <input type="submit" value=" " id="go"/> |
---|
34 | </p> |
---|
35 | </form> |
---|
36 | <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script> |
---|
37 | </div> |
---|
38 | |
---|
39 | </div> |
---|
40 | <div id=nav_wrapper> |
---|
41 | |
---|
42 | <div id="menu" > |
---|
43 | <ul id="topnav"> |
---|
44 | <li id="firstli"></li> |
---|
45 | {foreach from=$blocks key=id item=block} |
---|
46 | <li id="{$id}" class="liSub"> |
---|
47 | {if not empty($block->template)} |
---|
48 | {include file=$block->template|@get_extent:$id } |
---|
49 | {else} |
---|
50 | {$block->raw_content} |
---|
51 | {/if} |
---|
52 | <div class="canvas"> |
---|
53 | </div> |
---|
54 | </li> |
---|
55 | {/foreach} |
---|
56 | </ul> |
---|
57 | </div> |
---|
58 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.