diff options
Diffstat (limited to '')
-rw-r--r-- | template/yoga/menubar_menu.tpl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/template/yoga/menubar_menu.tpl b/template/yoga/menubar_menu.tpl new file mode 100644 index 000000000..b9d26376b --- /dev/null +++ b/template/yoga/menubar_menu.tpl @@ -0,0 +1,18 @@ +<dt>{$block->get_title()|@translate}</dt> +<dd> + <form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch"> + <p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}> + <input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%"/> + </p> + </form> + <script type="text/javascript">var qsearch_prompt="{'qsearch'|@translate|@escape:'javascript'}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script> + + <ul> + {foreach from=$block->data item=link} + {if is_array($link)} + <li><a href="{$link.URL}" title="{$link.TITLE}" {if isset($link.REL)}{$link.REL}{/if}>{$link.NAME}</a></li> + {/if} + {/foreach} + </ul> +</dd> + |