mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Added TopMenuRight StackWidget
This commit is contained in:
parent
01e51593bb
commit
bebb34ca43
@ -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>
|
||||
|
31
protected/widgets/TopMenuRightStackWidget.php
Normal file
31
protected/widgets/TopMenuRightStackWidget.php
Normal 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
|
||||
{
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user