diff options
Diffstat (limited to 'plugins/test_menu/menu_templates/menubar_menu.tpl')
-rw-r--r-- | plugins/test_menu/menu_templates/menubar_menu.tpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/test_menu/menu_templates/menubar_menu.tpl b/plugins/test_menu/menu_templates/menubar_menu.tpl new file mode 100644 index 000000000..9d42eeea5 --- /dev/null +++ b/plugins/test_menu/menu_templates/menubar_menu.tpl @@ -0,0 +1,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> |