aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/test_menu/menu_templates/menubar_menu.tpl
blob: 9d42eeea54b157b567159d6350d4b3e35f01190a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!-- menu menu bar -->
<dt>{$section.NAME|@translate}</dt>
<dd>
  <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch">
    <p>
      <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" />
    </p>
  </form>
  <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script>

  <ul>
  {foreach from=$section.ITEMS item=sum}
    <li><a href="{$sum.U_SUMMARY}" title="{$sum.TITLE}" {if isset($sum.REL)}{$sum.REL}{/if}>{$sum.NAME}</a></li>
  {/foreach}
  </ul>
</dd>