mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user