+ <!-- sub menu for authorized user -->
+ <table cellspacing="0" cellpadding="3" width="100%" border="0">
+ <tr>
+ <td align="center" bgcolor="#d9d9d9" height="17" style="background-repeat: repeat-x;" background="../images/subm_bg.gif">
+ {if !$user->isClient()}
+ <a class="mainMenu" href="time.php">{$i18n.menu.time}</a>
+ {/if}
+ {if $user->isPluginEnabled('ex') && !$user->isClient()}
+ · <a class="mainMenu" href="expenses.php">{$i18n.menu.expenses}</a>
+ {/if}
+ {if !$user->isClient() && ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
+ · <a class="mainMenu" href="projects.php">{$i18n.menu.projects}</a>
+ {/if}
+ {if $user->canManageTeam() && ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
+ · <a class="mainMenu" href="tasks.php">{$i18n.menu.tasks}</a>
+ {/if}
+ {if !$user->isClient()}
+ · <a class="mainMenu" href="users.php">{$i18n.menu.users}</a>
+ {/if}
+ {if $user->canManageTeam() && $user->isPluginEnabled('cl')}
+ · <a class="mainMenu" href="clients.php">{$i18n.menu.clients}</a>
+ {/if}
+ </td>
+ </tr>
+ </table>
+ <!-- end of sub menu for authorized user -->
+ {/if}
+{/if}
+
+ <!-- output errors -->