aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgrum <grum@piwigo.org>2008-10-27 21:45:02 +0000
committergrum <grum@piwigo.org>2008-10-27 21:45:02 +0000
commitae4e04da07998024fae600bf403ed58cfbed6515 (patch)
tree3bae16cb9d4166bf3c4589f1f028ce284bf16ad1 /template
parent564d2df91dd2eae3e16101fccac37a015b7b2f7f (diff)
use of a boolean value for the "qsearch" $block->data variable
(see topic #98370) git-svn-id: http://piwigo.org/svn/trunk@2813 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/menubar_menu.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/yoga/menubar_menu.tpl b/template/yoga/menubar_menu.tpl
index 16c02f618..2600a8979 100644
--- a/template/yoga/menubar_menu.tpl
+++ b/template/yoga/menubar_menu.tpl
@@ -1,6 +1,6 @@
<dt>{'title_menu'|@translate}</dt>
<dd>
- {if isset($block->data.qsearch) and $block->data.qsearch=="yes"}
+ {if isset($block->data.qsearch) and $block->data.qsearch==true}
<form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
<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%"/>