Skip to content

Commit

Permalink
Create alt_miniadmin.html
Browse files Browse the repository at this point in the history
Create miniadmin as a horizontal menu instead of vertical
  • Loading branch information
trf000 committed Oct 6, 2014
1 parent 4c9687f commit 62e644b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mod/miniadmin/templates/alt_miniadmin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<?=$MINIADMIN_TITLE_ALT?> <b class="caret"></b>
</a>
<ul id="miniadmin" class="dropdown-menu">
<li class="nav-header">phpWebSite</li>
<li><a href="index.php?module=controlpanel&command=panel_view">Control panel</a></li>
<?php if (!empty($module_links)): foreach($module_links as $module_name=>$mod_links):?>
<li class="divider"></li>
<li class="nav-header"><?=$module_name?></li>
<?php if (!empty($mod_links['links'])) : foreach($mod_links['links'] as $link): ?>
<li><?=$link?></li>
<?php endforeach; endif; endforeach; endif;?>
</ul>

0 comments on commit 62e644b

Please sign in to comment.