aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/menubar.inc.php2
-rw-r--r--template/yoga/menubar_menu.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php
index 3e088ea24..2d620e1d6 100644
--- a/include/menubar.inc.php
+++ b/include/menubar.inc.php
@@ -217,7 +217,7 @@ function initialize_menu()
{
// quick search block will be displayed only if data['qsearch'] is set
// to "yes"
- $block->data['qsearch']='yes';
+ $block->data['qsearch']=true;
// tags link
$block->data['tags'] =
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%"/>