Introduced balance output for monthly quotas.
[timetracker.git] / WEB-INF / templates / header.tpl
index 0527029..8555447 100644 (file)
         <tr>
           <td class="systemMenu" height="17" align="center">&nbsp;
             <a class="systemMenu" href="logout.php">{$i18n.menu.logout}</a> &middot;
-    {if $user->can('manage_own_settings')}
+    {if $user->exists() && $user->can('manage_own_settings')}
             <a class="systemMenu" href="profile_edit.php">{$i18n.menu.profile}</a> &middot;
     {/if}
     {if $user->can('manage_basic_settings')}
             <a class="systemMenu" href="group_edit.php">{$i18n.menu.group}</a> &middot;
     {/if}
-{if isTrue($smarty.const.SUBGROUP_DEBUG)}
     {if $user->can('manage_subgroups')}
             <a class="systemMenu" href="groups.php">{$i18n.menu.subgroups}</a> &middot;
     {/if}
-{/if}
     {if $user->can('manage_features')}
             <a class="systemMenu" href="plugins.php">{$i18n.menu.plugins}</a> &middot;
     {/if}