source: extensions/floOS/OS_default/template/menubar_menu.tpl @ 25964

Last change on this file since 25964 was 11943, checked in by flop25, 13 years ago

home title for icon

File size: 1.3 KB
Line 
1<div id="div_Menu">
2    <ul id="Menu">
3        {foreach from=$block->data item=link}
4                {if is_array($link)}
5      <li><a href="{$link.URL}" title="{$link.TITLE}" {if isset($link.REL)}{$link.REL}{/if}><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/{cycle values="tag.png,search.png,chat.png,apropos.png,rss.png"}" alt="[*]"/>{$link.NAME}</a></li>
6                {/if}
7    {/foreach}
8      <li id="form_search_menu" >
9    {if isset($block->data.qsearch) and  $block->data.qsearch==true}
10      <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
11        <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
12          <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%">
13        </p>
14      </form>
15      <script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>
16    {/if}
17        </li>
18      <li id="home_icon" ><a href="{$myblock->data.U_CATEGORIES}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"/></a></li>
19
20        </ul>
21</div>
22
Note: See TracBrowser for help on using the repository browser.