diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-08-15 02:06:06 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-08-15 02:06:06 +0000 |
commit | 48c6d7e8a4d5b44a6c5c6fa919267d098ed28ee7 (patch) | |
tree | 3db23f90be4b39dbe3f25aef0df3c56774106fca /template/yoga/menubar.tpl | |
parent | bc1f5319b151c22cd0bed853fc940617e700a29f (diff) |
feature 519: quick search (first version)
git-svn-id: http://piwigo.org/svn/trunk@1537 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/menubar.tpl')
-rw-r--r-- | template/yoga/menubar.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/template/yoga/menubar.tpl b/template/yoga/menubar.tpl index 1bcbbec24..983260d13 100644 --- a/template/yoga/menubar.tpl +++ b/template/yoga/menubar.tpl @@ -51,6 +51,10 @@ <dd> <ul> <!-- BEGIN summary --> + <!-- BEGIN quick_search --> + <form action="{pwg_root}qsearch.php" method="get" id="quicksearch"><input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;"></form> + <script type="text/javascript">var qsearch_prompt="{lang:search}"; document.getElementById('qsearchInput').value=qsearch_prompt;</script> + <!-- END quick_search --> <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}" {summary.REL}>{summary.NAME}</a></li> <!-- END summary --> <!-- BEGIN upload --> |