Completed
Push — 1.10.x ( 6b0254...7449ae )
by
unknown
42:15
created
main/mySpace/session.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -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,11 +62,11 @@  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
     $menu_items[] = Display::url(
68 68
         Display::return_icon('clock.png', get_lang('TeacherTimeReportBySession'), [], ICON_SIZE_MEDIUM),
69
-        api_get_path(WEB_CODE_PATH) . 'admin/teachers_time_by_session_report.php'
69
+        api_get_path(WEB_CODE_PATH).'admin/teachers_time_by_session_report.php'
70 70
     );
71 71
 
72 72
     $actionsLeft = '';
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         );
86 86
         $actionsRight .= Display::url(
87 87
             Display::return_icon('export_csv.png', get_lang('ExportAsCSV'), array(), 32),
88
-            api_get_self() . '?export=csv'
88
+            api_get_self().'?export=csv'
89 89
         );
90 90
     }
91 91
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 } elseif (api_is_teacher()) {
101 101
     $actionsRight = Display::url(
102 102
         Display::return_icon('clock.png', get_lang('TeacherTimeReportBySession'), [], ICON_SIZE_MEDIUM),
103
-        api_get_path(WEB_CODE_PATH) . 'admin/teachers_time_by_session_report.php'
103
+        api_get_path(WEB_CODE_PATH).'admin/teachers_time_by_session_report.php'
104 104
     );
105 105
 
106 106
     $toolbar = Display::toolbarAction(
@@ -140,10 +140,10 @@  discard block
 block discarded – undo
140 140
 // Column config
141 141
 $columnModel = array(
142 142
     array('name'=>'name', 'index'=>'name', 'width'=>'255', 'align'=>'left'),
143
-    array('name'=>'date', 'index'=>'date', 'width'=>'150', 'align'=>'left','sortable'=>'false'),
144
-    array('name'=>'course_per_session', 'index'=>'course_per_session', 'width'=>'150','sortable'=>'false'),
145
-    array('name'=>'student_per_session', 'index'=>'student_per_session', 'width'=>'100','sortable'=>'false'),
146
-    array('name'=>'details', 'index'=>'details', 'width'=>'100','sortable'=>'false')
143
+    array('name'=>'date', 'index'=>'date', 'width'=>'150', 'align'=>'left', 'sortable'=>'false'),
144
+    array('name'=>'course_per_session', 'index'=>'course_per_session', 'width'=>'150', 'sortable'=>'false'),
145
+    array('name'=>'student_per_session', 'index'=>'student_per_session', 'width'=>'100', 'sortable'=>'false'),
146
+    array('name'=>'details', 'index'=>'details', 'width'=>'100', 'sortable'=>'false')
147 147
 );
148 148
 
149 149
 $extraParams = array(
Please login to merge, or discard this patch.