{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}
Time TrackerAnuko Time Tracker
{if $authenticated} {if $user->isAdmin()}
  {$i18n.menu.logout} · {$i18n.menu.forum} · {$i18n.menu.help}
  {$i18n.menu.teams} · {$i18n.menu.options}
{else}
  {$i18n.menu.logout} · {$i18n.menu.profile} · {$i18n.menu.forum} · {$i18n.menu.help}
  {if !$user->isClient()} {$i18n.menu.time} {/if} {if $user->isPluginEnabled('ex') && !$user->isClient()} · {$i18n.menu.expenses} {/if} {if !$user->isClient()}· {/if}{$i18n.menu.reports} {if ($user->canManageTeam() || $user->isClient()) && $user->isPluginEnabled('iv')} · {$i18n.title.invoices} {/if} {if ($user->isPluginEnabled('ch') && !$user->isClient()) && ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode || $user->isPluginEnabled('cl'))} · {$i18n.menu.charts} {/if} {if !$user->isClient() && ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} · {$i18n.menu.projects} {/if} {if $user->canManageTeam() && ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} · {$i18n.menu.tasks} {/if} {if !$user->isClient()} · {$i18n.menu.users} {/if} {if $user->canManageTeam() && $user->isPluginEnabled('cl')} · {$i18n.menu.clients} {/if} {if $user->isManager()} · {$i18n.menu.export} {/if}
{/if} {else}
  {$i18n.menu.login} · {if isTrue($smarty.const.MULTITEAM_MODE) && $smarty.const.AUTH_MODULE == 'db'} {$i18n.menu.create_team} · {/if} {$i18n.menu.forum} · {$i18n.menu.help}
{/if}
{if $title}
{$title}{if $timestring}: {$timestring}{/if}
{$user->name|escape}{if $user->isAdmin()} {$i18n.label.role_admin}{elseif $user->isManager()} {$i18n.label.role_manager}{elseif $user->canManageTeam()} {$i18n.label.role_comanager}{/if}{if $user->behalf_id > 0} {$i18n.label.on_behalf} {$user->behalf_name|escape}{/if}{if $user->team}, {$user->team|escape}{/if}
{/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}