Added TopMenuRight StackWidget

This commit is contained in:
Lucas Bartholemy 2014-07-06 20:40:06 +02:00
parent 01e51593bb
commit bebb34ca43
2 changed files with 36 additions and 4 deletions

View File

@ -129,10 +129,11 @@
<a href="#" id="search-menu" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-search"></i></a>
<ul class="dropdown-menu pull-right" id="search-menu-dropdown">
<!-- load search menu widget -->
<?php $this->widget('application.widgets.SearchMenuWidget', array()); ?>
<?php $this->widget('application.widgets.TopMenuRightStackWidget', array(
'widgets' => array(
array('application.widgets.SearchMenuWidget', array())
)
)); ?>
</ul>
</li>
</ul>

View File

@ -0,0 +1,31 @@
<?php
/**
* HumHub
* Copyright © 2014 The HumHub Project
*
* The texts of the GNU Affero General Public License with an additional
* permission and of our proprietary license can be found at and
* in the LICENSE file you have received along with this program.
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*/
/**
* TopMenuRightStackWidget holds items like search (right part)
*
* @package humhub.widgets
* @since 0.6
* @author Luke
*/
class TopMenuRightStackWidget extends StackWidget
{
}