|
@@ -16,7 +16,7 @@ discard block |
|
|
block discarded – undo |
|
16
|
16
|
|
|
17
|
17
|
api_block_anonymous_users(); |
|
18
|
18
|
$htmlHeadXtra[] = api_get_jqgrid_js(); |
|
19
|
|
-$interbreadcrumb[] = array ("url" => "index.php", "name" => get_lang('MySpace')); |
|
|
19
|
+$interbreadcrumb[] = array("url" => "index.php", "name" => get_lang('MySpace')); |
|
20
|
20
|
Display::display_header(get_lang('Sessions')); |
|
21
|
21
|
|
|
22
|
22
|
$export_csv = false; |
|
@@ -40,7 +40,7 @@ discard block |
|
|
block discarded – undo |
|
40
|
40
|
if (!api_is_session_admin()) { |
|
41
|
41
|
$menu_items[] = Display::url( |
|
42
|
42
|
Display::return_icon('stats.png', get_lang('MyStats'), '', ICON_SIZE_MEDIUM), |
|
43
|
|
- api_get_path(WEB_CODE_PATH) . "auth/my_progress.php" |
|
|
43
|
+ api_get_path(WEB_CODE_PATH)."auth/my_progress.php" |
|
44
|
44
|
); |
|
45
|
45
|
$menu_items[] = Display::url( |
|
46
|
46
|
Display::return_icon('user.png', get_lang('Students'), array(), ICON_SIZE_MEDIUM), |
|
@@ -62,7 +62,7 @@ discard block |
|
|
block discarded – undo |
|
62
|
62
|
|
|
63
|
63
|
$menu_items[] = Display::url( |
|
64
|
64
|
Display::return_icon('works.png', get_lang('WorksReport'), [], ICON_SIZE_MEDIUM), |
|
65
|
|
- api_get_path(WEB_CODE_PATH) . 'mySpace/works_in_session_report.php' |
|
|
65
|
+ api_get_path(WEB_CODE_PATH).'mySpace/works_in_session_report.php' |
|
66
|
66
|
); |
|
67
|
67
|
|
|
68
|
68
|
$actionsLeft = ''; |
|
@@ -81,7 +81,7 @@ discard block |
|
|
block discarded – undo |
|
81
|
81
|
); |
|
82
|
82
|
$actionsRight .= Display::url( |
|
83
|
83
|
Display::return_icon('export_csv.png', get_lang('ExportAsCSV'), array(), 32), |
|
84
|
|
- api_get_self() . '?export=csv' |
|
|
84
|
+ api_get_self().'?export=csv' |
|
85
|
85
|
); |
|
86
|
86
|
} |
|
87
|
87
|
|
|
@@ -96,7 +96,7 @@ discard block |
|
|
block discarded – undo |
|
96
|
96
|
} elseif (api_is_teacher()) { |
|
97
|
97
|
$actionsRight = Display::url( |
|
98
|
98
|
Display::return_icon('clock.png', get_lang('TeacherTimeReportBySession'), [], ICON_SIZE_MEDIUM), |
|
99
|
|
- api_get_path(WEB_CODE_PATH) . 'admin/teachers_time_by_session_report.php' |
|
|
99
|
+ api_get_path(WEB_CODE_PATH).'admin/teachers_time_by_session_report.php' |
|
100
|
100
|
); |
|
101
|
101
|
|
|
102
|
102
|
$toolbar = Display::toolbarAction( |
|
@@ -136,10 +136,10 @@ discard block |
|
|
block discarded – undo |
|
136
|
136
|
// Column config |
|
137
|
137
|
$columnModel = array( |
|
138
|
138
|
array('name'=>'name', 'index'=>'name', 'width'=>'255', 'align'=>'left'), |
|
139
|
|
- array('name'=>'date', 'index'=>'date', 'width'=>'150', 'align'=>'left','sortable'=>'false'), |
|
140
|
|
- array('name'=>'course_per_session', 'index'=>'course_per_session', 'width'=>'150','sortable'=>'false'), |
|
141
|
|
- array('name'=>'student_per_session', 'index'=>'student_per_session', 'width'=>'100','sortable'=>'false'), |
|
142
|
|
- array('name'=>'details', 'index'=>'details', 'width'=>'100','sortable'=>'false') |
|
|
139
|
+ array('name'=>'date', 'index'=>'date', 'width'=>'150', 'align'=>'left', 'sortable'=>'false'), |
|
|
140
|
+ array('name'=>'course_per_session', 'index'=>'course_per_session', 'width'=>'150', 'sortable'=>'false'), |
|
|
141
|
+ array('name'=>'student_per_session', 'index'=>'student_per_session', 'width'=>'100', 'sortable'=>'false'), |
|
|
142
|
+ array('name'=>'details', 'index'=>'details', 'width'=>'100', 'sortable'=>'false') |
|
143
|
143
|
); |
|
144
|
144
|
|
|
145
|
145
|
$extraParams = array( |