2013-06-15 22:13:13 +00:00
|
|
|
{extends file="layout.tpl"}
|
|
|
|
{block name=menu}
|
2014-09-08 10:19:13 +00:00
|
|
|
{if $permission eq 3}
|
2013-06-15 22:13:13 +00:00
|
|
|
<li class="nav-header hidden-tablet">Main</li>
|
2013-06-29 17:05:54 +00:00
|
|
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php"><i class="icon-home"></i><span class="hidden-tablet"> Dashboard</span></a></li>
|
2013-07-08 23:03:49 +00:00
|
|
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=show_user"><i class="icon-user"></i><span class="hidden-tablet"> Profile</span></a></li>
|
2013-07-01 16:28:37 +00:00
|
|
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=settings"><i class="icon-cog"></i><span class="hidden-tablet"> Settings</span></a></li>
|
2014-09-07 12:39:48 +00:00
|
|
|
{if isset($hook_info)} {foreach from=$hook_info key=arrkey item=element}{if isset($element['menu_display'])}<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=layout_plugin&name={$arrkey}"><i class="{$element.icon}"></i><span class="hidden-tablet"> {$element['menu_display']}</span></a></li>{/if}{/foreach}{/if}
|
2013-06-15 22:13:13 +00:00
|
|
|
<li class="nav-header hidden-tablet">Admin</li>
|
2013-07-14 14:38:36 +00:00
|
|
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=userlist"><i class="icon-th-list"></i><span class="hidden-tablet"> Users</span></a></li>
|
2013-07-22 16:22:21 +00:00
|
|
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=show_queue&get=todo"><i class="icon-th-list"></i><span class="hidden-tablet"> Queues</span></a></li>
|
2013-07-16 02:58:54 +00:00
|
|
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=sgroup_list"><i class="icon-briefcase"></i><span class="hidden-tablet"> Support Groups</span></a></li>
|
2014-09-07 12:39:48 +00:00
|
|
|
{if isset($hook_info)} {foreach from=$hook_info key=arrkey item=element}{if isset($element.admin_menu_display)}<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=layout_plugin&name={$arrkey}"><i class="{$element.icon}"></i><span class="hidden-tablet"> {$element.admin_menu_display}</span></a></li>{/if}{/foreach}{/if}
|
2013-06-29 17:05:54 +00:00
|
|
|
<li class="nav-header hidden-tablet">Actions</li>
|
2014-07-03 11:14:37 +00:00
|
|
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=plugins"><i class="icon-th-list"></i><span class="hidden-tablet"> Plugins</span></a></li>
|
2013-08-05 03:37:18 +00:00
|
|
|
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=syncing"><i class="icon-th-list"></i><span class="hidden-tablet"> Syncing</span></a></li>
|
2013-06-29 17:05:54 +00:00
|
|
|
<li style="margin-left: -2px;"><a href="?page=logout"><i class="icon-off"></i><span class="hidden-tablet"> Logout </span></a></li>
|
2014-09-08 10:19:13 +00:00
|
|
|
{/if}
|
2013-06-15 22:13:13 +00:00
|
|
|
{/block}
|
|
|
|
|