From 059a02f5a76dfe7de0d63373f3da7d1ab44c1bc0 Mon Sep 17 00:00:00 2001 From: grum Date: Tue, 28 Oct 2008 21:19:25 +0000 Subject: menu item "quicksearch" will be displayed only if a $block->data is set (like other menu items) use of a boolean value for the "qsearch" $block->data variable (see topic #98370) git-svn-id: http://piwigo.org/svn/branches/2.0@2814 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/menubar_menu.tpl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'template/yoga/menubar_menu.tpl') diff --git a/template/yoga/menubar_menu.tpl b/template/yoga/menubar_menu.tpl index c16fae690..2600a8979 100644 --- a/template/yoga/menubar_menu.tpl +++ b/template/yoga/menubar_menu.tpl @@ -1,11 +1,13 @@
{'title_menu'|@translate}
-
-

is for html validation only - does not affect positioning*}> - -

-
- + {if isset($block->data.qsearch) and $block->data.qsearch==true} +
+

is for html validation only - does not affect positioning*}> + +

+
+ + {/if}