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
This commit is contained in:
grum
2008-10-28 21:19:25 +00:00
parent 027055eb9f
commit 059a02f5a7
2 changed files with 12 additions and 6 deletions
+4
View File
@@ -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(