diff options
author | grum <grum@piwigo.org> | 2008-10-28 21:19:25 +0000 |
---|---|---|
committer | grum <grum@piwigo.org> | 2008-10-28 21:19:25 +0000 |
commit | 059a02f5a76dfe7de0d63373f3da7d1ab44c1bc0 (patch) | |
tree | 17b63a572f9f87cf0986e097084cc9c81e0dae94 /include/menubar.inc.php | |
parent | 027055eb9fbbef68c6d3915e017d198fa9033774 (diff) |
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
Diffstat (limited to 'include/menubar.inc.php')
-rw-r--r-- | include/menubar.inc.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/menubar.inc.php b/include/menubar.inc.php index 6e9f73a86..2d620e1d6 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']=true; + // tags link $block->data['tags'] = array( |