@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | $cidReset = true; |
9 | 9 | |
10 | 10 | require_once '../inc/global.inc.php'; |
11 | -require_once api_get_path(SYS_CODE_PATH) . 'work/work.lib.php'; |
|
11 | +require_once api_get_path(SYS_CODE_PATH).'work/work.lib.php'; |
|
12 | 12 | |
13 | 13 | api_protect_admin_script(); |
14 | 14 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | |
95 | 95 | if (isset($_GET['export']) && $session && $data) { |
96 | 96 | $dataToExport = []; |
97 | - $fileName = get_lang('TeacherTimeReport') . ' ' . api_get_local_time(); |
|
97 | + $fileName = get_lang('TeacherTimeReport').' '.api_get_local_time(); |
|
98 | 98 | |
99 | 99 | foreach ($data as $row) { |
100 | 100 | $headers = [ |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | $this_section = SECTION_PLATFORM_ADMIN; |
144 | 144 | $interbreadcrumb[] = ['url' => 'index.php', 'name' => get_lang('Administration')]; |
145 | 145 | $interbreadcrumb[] = [ |
146 | - 'url' => api_get_path(WEB_CODE_PATH) . 'admin/teacher_time_report.php', |
|
146 | + 'url' => api_get_path(WEB_CODE_PATH).'admin/teacher_time_report.php', |
|
147 | 147 | 'name' => get_lang('TeacherTimeReport') |
148 | 148 | ]; |
149 | 149 | $toolName = get_lang('TeacherTimeReportBySession'); |
@@ -154,11 +154,11 @@ discard block |
||
154 | 154 | $actions = [ |
155 | 155 | Display::url( |
156 | 156 | Display::return_icon('export_csv.png', get_lang('ExportAsCSV'), [], ICON_SIZE_MEDIUM), |
157 | - api_get_self() . '?' . http_build_query(['export' => 'csv', 'session' => $session ? $session->getId() : 0]) |
|
157 | + api_get_self().'?'.http_build_query(['export' => 'csv', 'session' => $session ? $session->getId() : 0]) |
|
158 | 158 | ), |
159 | 159 | Display::url( |
160 | 160 | Display::return_icon('export_excel.png', get_lang('ExportAsXLS'), [], ICON_SIZE_MEDIUM), |
161 | - api_get_self() . '?' . http_build_query(['export' => 'xls', 'session' => $session ? $session->getId() : 0]) |
|
161 | + api_get_self().'?'.http_build_query(['export' => 'xls', 'session' => $session ? $session->getId() : 0]) |
|
162 | 162 | ) |
163 | 163 | ]; |
164 | 164 | } |