X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a26a0989ad93cce9de9f45312990da9610e53045..e23ea8f905bd9122e5c52a3457d05ebb20f6570b:/week.php diff --git a/week.php b/week.php index af5b9eb0..e2aa2d9d 100644 --- a/week.php +++ b/week.php @@ -57,6 +57,7 @@ if (!$user->behalf_id && !$user->can('track_own_time') && !$user->adjustBehalfId } // End of access checks. +$showClient = $user->isPluginEnabled('cl'); $showFiles = $user->isPluginEnabled('at'); // Initialize and store date in session. @@ -509,7 +510,8 @@ $smarty->assign('onload', 'onLoad="fillDropdowns()"'); $smarty->assign('timestring', $startDate->toString($user->date_format).' - '.$endDate->toString($user->date_format)); $smarty->assign('time_records', $records); $smarty->assign('show_navigation', !$user->getConfigOption('menu_week')); +$smarty->assign('show_client', $showClient); $smarty->assign('show_files', $showFiles); -$smarty->assign('title', $i18n->get('title.time')); +$smarty->assign('title', $i18n->get('menu.week')); $smarty->assign('content_page_name', 'week.tpl'); $smarty->display('index.tpl');