X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=week.php;h=e2aa2d9d81c27b9adc7b6d48bc4516e6e44fc2ca;hb=e23ea8f905bd9122e5c52a3457d05ebb20f6570b;hp=af5b9eb06947581aad0cb54b6267455572239186;hpb=a26a0989ad93cce9de9f45312990da9610e53045;p=timetracker.git 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');