X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/cdd2e058776a3d0dc9b6f32a2d5d33e4f9388491..2b39252b38f5bd1be462224fe781a40f5b0ddf95:/time.php diff --git a/time.php b/time.php index 2a2c616b..e7ff10ae 100644 --- a/time.php +++ b/time.php @@ -442,12 +442,13 @@ if ($request->isPost()) { } // isPost $week_total = ttTimeHelper::getTimeForWeek($selected_date); -$timeRecords = $showFiles? ttTimeHelper::getRecordsWithFiles($cl_date) : ttTimeHelper::getRecords($cl_date); +$timeRecords = ttTimeHelper::getRecords($cl_date, $showFiles); $smarty->assign('selected_date', $selected_date); $smarty->assign('week_total', $week_total); $smarty->assign('day_total', ttTimeHelper::getTimeForDay($cl_date)); $smarty->assign('time_records', $timeRecords); +$smarty->assign('show_navigation', $user->isPluginEnabled('wv') && !$user->getConfigOption('menu_week')); $smarty->assign('show_client', $showClient); $smarty->assign('show_cf_1', $user->isPluginEnabled('cf')); $smarty->assign('show_project', $showProject);