From e9e57ab5c886e5dcb9e7872bfb13da4c38b34249 Mon Sep 17 00:00:00 2001 From: grum Date: Sun, 26 Oct 2008 19:10:18 +0000 Subject: menu item "quicksearch" will be displayed only if a $block->data is set (like other menu items) git-svn-id: http://piwigo.org/svn/trunk@2810 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/menubar.inc.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/menubar.inc.php') diff --git a/include/menubar.inc.php b/include/menubar.inc.php index 6e9f73a86..3e088ea24 100644 --- a/include/menubar.inc.php +++ b/include/menubar.inc.php @@ -215,6 +215,10 @@ function initialize_menu() //---------------------------------------------------------------------- summary if ( ($block=$menu->get_block('mbMenu')) != null ) { + // quick search block will be displayed only if data['qsearch'] is set + // to "yes" + $block->data['qsearch']='yes'; + // tags link $block->data['tags'] = array( -- cgit v1.2.3