{if $i18n.language.rtl}
{/if}
Time Tracker{if $title} - {$title}{/if}
{assign var="tab_width" value="700"}
{if $user->custom_logo}
{else}
{/if}
{if $user->custom_logo}
{else}
{/if}
{if $authenticated} {if $user->can('administer_site')}
{$i18n.menu.logout}
·
{$i18n.menu.forum}
·
{$i18n.menu.help}
{$i18n.menu.groups}
·
{$i18n.menu.options}
{else}
{$i18n.menu.logout}
· {if $user->exists() && $user->can('manage_own_settings')}
{$i18n.menu.profile}
· {/if} {if $user->can('manage_basic_settings')}
{$i18n.menu.group}
· {/if} {if $user->can('manage_subgroups')}
{$i18n.menu.subgroups}
· {/if} {if $user->can('manage_features')}
{$i18n.menu.plugins}
· {/if}
{$i18n.menu.forum}
·
{$i18n.menu.help}
{if $user->exists() && ($user->can('track_own_time') || $user->can('track_time'))}
{$i18n.menu.time}
{/if} {if $user->exists() && $user->isPluginEnabled('ex') && ($user->can('track_own_expenses') || $user->can('track_expenses'))} ·
{$i18n.menu.expenses}
{/if} {if $user->exists() && ($user->can('view_own_reports') || $user->can('view_reports') || $user->can('view_all_reports') || $user->can('view_client_reports'))} {if !$user->isClient()}·{/if}
{$i18n.menu.reports}
{/if} {if $user->exists() && $user->isPluginEnabled('ts') && ($user->can('track_own_time') || $user->can('track_time'))} ·
{$i18n.menu.timesheets}
{/if} {if $user->exists() && $user->isPluginEnabled('iv') && ($user->can('manage_invoices') || $user->can('view_client_invoices'))} ·
{$i18n.title.invoices}
{/if} {if ($user->exists() && $user->isPluginEnabled('ch') && ($user->can('view_own_charts') || $user->can('view_charts'))) && ($smarty.const.MODE_PROJECTS == $user->getTrackingMode() || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->getTrackingMode() || $user->isPluginEnabled('cl'))} ·
{$i18n.menu.charts}
{/if} {if ($user->can('view_own_projects') || $user->can('manage_projects')) && ($smarty.const.MODE_PROJECTS == $user->getTrackingMode() || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->getTrackingMode())} ·
{$i18n.menu.projects}
{/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->getTrackingMode() && ($user->can('view_own_tasks') || $user->can('manage_tasks')))} ·
{$i18n.menu.tasks}
{/if} {if $user->can('view_users') || $user->can('manage_users')} ·
{$i18n.menu.users}
{/if} {if $user->isPluginEnabled('cl') && ($user->can('view_own_clients') || $user->can('manage_clients'))} ·
{$i18n.menu.clients}
{/if} {if $user->can('export_data')} ·
{$i18n.menu.export}
{/if}
{/if} {else}
{$i18n.menu.login}
· {if isTrue('MULTITEAM_MODE') && $smarty.const.AUTH_MODULE == 'db'}
{$i18n.menu.create_group}
· {/if}
{$i18n.menu.forum}
·
{$i18n.menu.help}
{/if}
{if $title}
{$title}{if $timestring}: {$timestring}{/if}
{$user->getUserPartForHeader()}
{* No need to escape as it is done in the class. *}
{/if} {if $err->yes()}
{foreach $err->getErrors() as $error} {$error.message}
{* No need to escape as they are not coming from user and may contain a link. *} {/foreach}
{/if} {if $msg->yes()}
{foreach $msg->getErrors() as $message} {$message.message}
{* No need to escape. *} {/foreach}
{/if}