khanat-opennel-code/code/web/public_php/ams/templates/layout_user.tpl

14 lines
1.2 KiB
Smarty
Raw Normal View History

2013-06-15 22:13:13 +00:00
{extends file="layout.tpl"}
{block name=menu}
2014-09-08 10:29:30 +00:00
{if $permission eq 1}
<li class="nav-header hidden-tablet">Main</li>
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=show_user"><span class="icon-user"></span><span class="hidden-tablet">Profile</span></a></li>
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=settings"><span class="icon-cog"></span><span class="hidden-tablet"> Settings</span></a></li>
{if isset($hook_info)} {foreach from=$hook_info key=arrkey item=element}{if isset($element.user_display)}<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=layout_plugin&name={$arrkey}"><span class="icon-th-list"></span><span class="hidden-tablet"> {$element.user_display}</span></a></li>{/if}{/foreach}{/if}
2014-09-08 10:29:30 +00:00
<li class="nav-header hidden-tablet">Actions</li>
<li style="margin-left: -2px;"><a class="ajax-link" href="index.php?page=createticket"><span class="icon-pencil"></span><span class="hidden-tablet">Create New Ticket</span></a></li>
<li style="margin-left: -2px;"><a href="?page=logout"><span class="icon-off"></span><span class="hidden-tablet"> Logout </span></a></li>
2014-09-08 10:29:30 +00:00
{/if}
2013-06-15 22:13:13 +00:00
{/block}