@@ -8,16 +8,16 @@ |
||
8 | 8 | */ |
9 | 9 | interface GradebookItem |
10 | 10 | { |
11 | - public function get_item_type(); |
|
12 | - public function get_id(); |
|
13 | - public function get_name(); |
|
14 | - public function get_description(); |
|
15 | - public function get_course_code(); |
|
16 | - public function get_weight(); |
|
17 | - public function get_date(); |
|
18 | - public function is_visible(); |
|
19 | - public function get_icon_name(); |
|
20 | - public function getStudentList(); |
|
21 | - public function setStudentList($list); |
|
22 | - public function calc_score($stud_id = null, $type = null); |
|
11 | + public function get_item_type(); |
|
12 | + public function get_id(); |
|
13 | + public function get_name(); |
|
14 | + public function get_description(); |
|
15 | + public function get_course_code(); |
|
16 | + public function get_weight(); |
|
17 | + public function get_date(); |
|
18 | + public function is_visible(); |
|
19 | + public function get_icon_name(); |
|
20 | + public function getStudentList(); |
|
21 | + public function setStudentList($list); |
|
22 | + public function calc_score($stud_id = null, $type = null); |
|
23 | 23 | } |
@@ -1571,7 +1571,6 @@ discard block |
||
1571 | 1571 | * @param string $course_code Course code (optional) |
1572 | 1572 | * @param int $session_id Session ID (optional) |
1573 | 1573 | * @param bool $order |
1574 | - |
|
1575 | 1574 | * @return array Array of subcategories |
1576 | 1575 | */ |
1577 | 1576 | public function get_subcategories($stud_id = null, $course_code = null, $session_id = null, $order = null) |
@@ -1850,7 +1849,6 @@ discard block |
||
1850 | 1849 | * This function, locks a category , only one who can unlock it is |
1851 | 1850 | * the platform administrator. |
1852 | 1851 | * @param int locked 1 or unlocked 0 |
1853 | - |
|
1854 | 1852 | * @return bool |
1855 | 1853 | * */ |
1856 | 1854 | public function lock($locked) |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | array('name'=>'name', 'index'=>'name', 'width'=>'80', 'align'=>'left'), |
81 | 81 | array('name'=>'description', 'index'=>'description', 'width'=>'500', 'align'=>'left','sortable'=>'false'), |
82 | 82 | array('name'=>'actions', 'index'=>'actions', 'width'=>'100', 'align'=>'left','formatter'=>'action_formatter','sortable'=>'false') |
83 | - ); |
|
83 | + ); |
|
84 | 84 | //Autowidth |
85 | 85 | $extra_params['autowidth'] = 'true'; |
86 | 86 | //height auto |
@@ -89,8 +89,8 @@ discard block |
||
89 | 89 | //With this function we can add actions to the jgrid (edit, delete, etc) |
90 | 90 | $action_links = 'function action_formatter(cellvalue, options, rowObject) { |
91 | 91 | return \'<a href="?action=edit&id=\'+options.rowId+\'">'.Display::return_icon('edit.png',get_lang('Edit'),'',ICON_SIZE_SMALL).'</a>'. |
92 | - ' <a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES))."\'".')) return false;" href="?sec_token='.$token.'&action=delete&id=\'+options.rowId+\'">'.Display::return_icon('delete.png',get_lang('Delete'),'',ICON_SIZE_SMALL).'</a>'. |
|
93 | - '\'; |
|
92 | + ' <a onclick="javascript:if(!confirm('."\'".addslashes(api_htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES))."\'".')) return false;" href="?sec_token='.$token.'&action=delete&id=\'+options.rowId+\'">'.Display::return_icon('delete.png',get_lang('Delete'),'',ICON_SIZE_SMALL).'</a>'. |
|
93 | + '\'; |
|
94 | 94 | }'; |
95 | 95 | ?> |
96 | 96 | <script> |
@@ -87,7 +87,7 @@ |
||
87 | 87 | <?php |
88 | 88 | echo Display::get_alphabet_options($firstLetterUserGroup); |
89 | 89 | echo Display::get_numeric_options(0, 9, $firstLetterUserGroup); |
90 | - ?> |
|
90 | + ?> |
|
91 | 91 | </select> |
92 | 92 | </td> |
93 | 93 | <td width="20%"> </td> |
@@ -229,31 +229,31 @@ discard block |
||
229 | 229 | <td align="center"> |
230 | 230 | <div id="content_source"> |
231 | 231 | <?php |
232 | - if (!($add_type=='multiple')) { |
|
232 | + if (!($add_type=='multiple')) { |
|
233 | 233 | ?> |
234 | 234 | <input type="text" id="user_to_add" onkeyup="xajax_search_users(this.value,'single')" /> |
235 | 235 | <div id="ajax_list_users_single"></div> |
236 | 236 | <?php |
237 | - } else { |
|
238 | - ?> |
|
237 | + } else { |
|
238 | + ?> |
|
239 | 239 | <div id="ajax_list_multiple"> |
240 | 240 | <?php echo Display::select('elements_not_in_name', $elements_not_in, '', array('style'=>'width:360px', 'multiple'=>'multiple','id'=>'elements_not_in','size'=>'15px'),false); ?> |
241 | 241 | </div> |
242 | 242 | <?php |
243 | - } |
|
244 | - ?> |
|
243 | + } |
|
244 | + ?> |
|
245 | 245 | </div> |
246 | 246 | </td> |
247 | 247 | <td width="10%" valign="middle" align="center"> |
248 | 248 | <?php |
249 | - if ($ajax_search) { |
|
250 | - ?> |
|
249 | + if ($ajax_search) { |
|
250 | + ?> |
|
251 | 251 | <button class="btn bt-default" type="button" onclick="remove_item(document.getElementById('elements_in'))" > |
252 | 252 | <em class="fa fa-arrow-left"></em> |
253 | 253 | </button> |
254 | 254 | <?php |
255 | - } else { |
|
256 | - ?> |
|
255 | + } else { |
|
256 | + ?> |
|
257 | 257 | <button class="btn btn-default" type="button" onclick="moveItem(document.getElementById('elements_not_in'), document.getElementById('elements_in'))" onclick="moveItem(document.getElementById('elements_not_in'), document.getElementById('elements_in'))"> |
258 | 258 | <em class="fa fa-arrow-right"></em> |
259 | 259 | </button> |
@@ -262,8 +262,8 @@ discard block |
||
262 | 262 | <em class="fa fa-arrow-left"></em> |
263 | 263 | </button> |
264 | 264 | <?php |
265 | - } |
|
266 | - ?> |
|
265 | + } |
|
266 | + ?> |
|
267 | 267 | <br /><br /><br /><br /><br /><br /> |
268 | 268 | </td> |
269 | 269 | <td align="center"> |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $courses = $course_list; |
47 | 47 | } |
48 | 48 | |
49 | - if (!empty($courses)) { |
|
49 | + if (!empty($courses)) { |
|
50 | 50 | |
51 | 51 | $archiveFile = 'export_courses_list_'.api_get_local_time(); |
52 | 52 | |
@@ -98,13 +98,13 @@ discard block |
||
98 | 98 | Export::arrayToXls($listToExport, $archiveFile); |
99 | 99 | break; |
100 | 100 | } |
101 | - } else { |
|
101 | + } else { |
|
102 | 102 | Display::addFlash( |
103 | 103 | Display::return_message( |
104 | 104 | get_lang('ThereAreNotSelectedCoursesOrCoursesListIsEmpty') |
105 | 105 | ) |
106 | 106 | ); |
107 | - } |
|
107 | + } |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | |
@@ -114,29 +114,29 @@ discard block |
||
114 | 114 | $form->addHeader($tool_name); |
115 | 115 | $form->addHidden('formSent', 1); |
116 | 116 | $form->addElement( |
117 | - 'radio', |
|
118 | - 'select_type', |
|
119 | - get_lang('Option'), |
|
120 | - get_lang('ExportAllCoursesList'), |
|
121 | - '1', |
|
122 | - ['onclick' => "javascript: if(this.checked){document.getElementById('div-course-list').style.display='none';}"] |
|
117 | + 'radio', |
|
118 | + 'select_type', |
|
119 | + get_lang('Option'), |
|
120 | + get_lang('ExportAllCoursesList'), |
|
121 | + '1', |
|
122 | + ['onclick' => "javascript: if(this.checked){document.getElementById('div-course-list').style.display='none';}"] |
|
123 | 123 | ); |
124 | 124 | |
125 | 125 | $form->addElement( |
126 | - 'radio', |
|
127 | - 'select_type', |
|
128 | - '', |
|
129 | - get_lang('ExportSelectedCoursesFromCoursesList'), |
|
130 | - '2', |
|
131 | - ['onclick' => "javascript: if(this.checked){document.getElementById('div-course-list').style.display='block';}"] |
|
126 | + 'radio', |
|
127 | + 'select_type', |
|
128 | + '', |
|
129 | + get_lang('ExportSelectedCoursesFromCoursesList'), |
|
130 | + '2', |
|
131 | + ['onclick' => "javascript: if(this.checked){document.getElementById('div-course-list').style.display='block';}"] |
|
132 | 132 | ); |
133 | 133 | |
134 | 134 | if (!empty($course_list)) { |
135 | - $form->addHtml('<div id="div-course-list" style="display:none">'); |
|
136 | - $coursesInList = []; |
|
137 | - foreach ($course_list as $course) { |
|
138 | - $coursesInList[$course['code']] = $course['title'].' ('.$course['code'].')'; |
|
139 | - } |
|
135 | + $form->addHtml('<div id="div-course-list" style="display:none">'); |
|
136 | + $coursesInList = []; |
|
137 | + foreach ($course_list as $course) { |
|
138 | + $coursesInList[$course['code']] = $course['title'].' ('.$course['code'].')'; |
|
139 | + } |
|
140 | 140 | |
141 | 141 | $form->addSelect( |
142 | 142 | 'course_code', |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | ['multiple' => 'multiple'] |
146 | 146 | ); |
147 | 147 | |
148 | - $form->addHtml('</div>'); |
|
148 | + $form->addHtml('</div>'); |
|
149 | 149 | } |
150 | 150 | |
151 | 151 | $form->addElement('radio', 'file_type', get_lang('OutputFileType'), 'CSV' , 'csv', null); |
@@ -11,58 +11,58 @@ |
||
11 | 11 | */ |
12 | 12 | $nbre=0; |
13 | 13 | echo '<form name="form" method="post" action="'.api_get_self().'?annee='.Security::remove_XSS($annee).'">'; |
14 | - if($statut==1) |
|
15 | - { |
|
16 | - echo get_lang('EmailNotifySubscription').': <input type="checkbox" name="mailling" value="1" checked="checked"><i>'.get_lang('DontUnchek').'</i>'; |
|
17 | - } |
|
18 | - else |
|
19 | - { |
|
20 | - echo '<input type="hidden" name="mailling" value="1">'; |
|
21 | - } |
|
14 | + if($statut==1) |
|
15 | + { |
|
16 | + echo get_lang('EmailNotifySubscription').': <input type="checkbox" name="mailling" value="1" checked="checked"><i>'.get_lang('DontUnchek').'</i>'; |
|
17 | + } |
|
18 | + else |
|
19 | + { |
|
20 | + echo '<input type="hidden" name="mailling" value="1">'; |
|
21 | + } |
|
22 | 22 | if(!empty($course)) |
23 | 23 | { |
24 | - echo '<input type="hidden" name="course" value="'.Security::remove_XSS($course).'">'; |
|
24 | + echo '<input type="hidden" name="course" value="'.Security::remove_XSS($course).'">'; |
|
25 | 25 | } |
26 | 26 | elseif(!empty($id_session)) |
27 | 27 | { |
28 | - echo '<input type="hidden" name="id_session" value="'.Security::remove_XSS($id_session).'">'; |
|
28 | + echo '<input type="hidden" name="id_session" value="'.Security::remove_XSS($id_session).'">'; |
|
29 | 29 | } |
30 | 30 | $is_western_name_order = api_is_western_name_order(); |
31 | 31 | echo '<input type="hidden" name="confirmed" value="yes">'; |
32 | 32 | echo '<table border="0" cellspacing="0" width="100%">'; |
33 | 33 | echo '<tr align="center" id="header3">' . |
34 | - '<td width="15%"><input type="button" value="'.get_lang('AllSlashNone').'" onClick="checkAll();"></td>' . |
|
35 | - '<td width="40%"><b>'.get_lang('Email').'</b></td>' . |
|
36 | - ($is_western_name_order |
|
37 | - ? '<td width="15%"><b>'.get_lang('FirstName').'</b></td>' . |
|
38 | - '<td width="15%"><b>'.get_lang('Name').'</b></td>' |
|
39 | - : '<td width="15%"><b>'.get_lang('Name').'</b></td>' . |
|
40 | - '<td width="15%"><b>'.get_lang('FirstName').'</b></td>') . |
|
41 | - '<td width="15%"><b>'.get_lang('Login').'</b></td>' . |
|
42 | - '</tr>'."\n"; |
|
34 | + '<td width="15%"><input type="button" value="'.get_lang('AllSlashNone').'" onClick="checkAll();"></td>' . |
|
35 | + '<td width="40%"><b>'.get_lang('Email').'</b></td>' . |
|
36 | + ($is_western_name_order |
|
37 | + ? '<td width="15%"><b>'.get_lang('FirstName').'</b></td>' . |
|
38 | + '<td width="15%"><b>'.get_lang('Name').'</b></td>' |
|
39 | + : '<td width="15%"><b>'.get_lang('Name').'</b></td>' . |
|
40 | + '<td width="15%"><b>'.get_lang('FirstName').'</b></td>') . |
|
41 | + '<td width="15%"><b>'.get_lang('Login').'</b></td>' . |
|
42 | + '</tr>'."\n"; |
|
43 | 43 | while (list ($key, $val) = each($nom_form)) { |
44 | - $nbre=$nbre+1; |
|
45 | - if($nbre & 1) $ndiv=2; else $ndiv=3; |
|
46 | - echo '<tr align="center" id="header'.$ndiv.'">'; |
|
47 | - echo '<td><input type="checkbox" name="checkboxes[]" value="'.$key.'" checked="checked"></td>'; |
|
48 | - echo '<td>'.$email_form[$key].'<input type="hidden" name="email_form['.$key.']" size="40" value="'.$email_form[$key].'"></td>'; |
|
49 | - if ($is_western_name_order) |
|
50 | - { |
|
51 | - echo '<td>'.$prenom_form[$key].'<input type="hidden" name="prenom_form['.$key.']" size="20" value="'.$prenom_form[$key].'"></td>'; |
|
52 | - echo '<td>'.$nom_form[$key].'<input type="hidden" name="nom_form['.$key.']" size="20" value="'.$nom_form[$key].'"></td>'; |
|
53 | - } |
|
54 | - else |
|
55 | - { |
|
56 | - echo '<td>'.$nom_form[$key].'<input type="hidden" name="nom_form['.$key.']" size="20" value="'.$nom_form[$key].'"></td>'; |
|
57 | - echo '<td>'.$prenom_form[$key].'<input type="hidden" name="prenom_form['.$key.']" size="20" value="'.$prenom_form[$key].'"></td>'; |
|
58 | - } |
|
59 | - echo '<td>'.$username_form[$key].'<input type="hidden" name="username_form['.$key.']" size="10" value="'.$username_form[$key].'">'; |
|
60 | - echo '<input type="hidden" name="tutor_form['.$key.']" value="0">'; |
|
61 | - echo '<input type="hidden" name="admin_form['.$key.']" value="1">'; |
|
62 | - echo '<input type="hidden" name="password_form['.$key.']" value="'.$password_form[$key].'">'; |
|
63 | - echo '<input type="hidden" name="statut['.$key.']" value="'.$statut.'">'; |
|
64 | - echo '</td>'; |
|
65 | - echo '</tr>'; |
|
44 | + $nbre=$nbre+1; |
|
45 | + if($nbre & 1) $ndiv=2; else $ndiv=3; |
|
46 | + echo '<tr align="center" id="header'.$ndiv.'">'; |
|
47 | + echo '<td><input type="checkbox" name="checkboxes[]" value="'.$key.'" checked="checked"></td>'; |
|
48 | + echo '<td>'.$email_form[$key].'<input type="hidden" name="email_form['.$key.']" size="40" value="'.$email_form[$key].'"></td>'; |
|
49 | + if ($is_western_name_order) |
|
50 | + { |
|
51 | + echo '<td>'.$prenom_form[$key].'<input type="hidden" name="prenom_form['.$key.']" size="20" value="'.$prenom_form[$key].'"></td>'; |
|
52 | + echo '<td>'.$nom_form[$key].'<input type="hidden" name="nom_form['.$key.']" size="20" value="'.$nom_form[$key].'"></td>'; |
|
53 | + } |
|
54 | + else |
|
55 | + { |
|
56 | + echo '<td>'.$nom_form[$key].'<input type="hidden" name="nom_form['.$key.']" size="20" value="'.$nom_form[$key].'"></td>'; |
|
57 | + echo '<td>'.$prenom_form[$key].'<input type="hidden" name="prenom_form['.$key.']" size="20" value="'.$prenom_form[$key].'"></td>'; |
|
58 | + } |
|
59 | + echo '<td>'.$username_form[$key].'<input type="hidden" name="username_form['.$key.']" size="10" value="'.$username_form[$key].'">'; |
|
60 | + echo '<input type="hidden" name="tutor_form['.$key.']" value="0">'; |
|
61 | + echo '<input type="hidden" name="admin_form['.$key.']" value="1">'; |
|
62 | + echo '<input type="hidden" name="password_form['.$key.']" value="'.$password_form[$key].'">'; |
|
63 | + echo '<input type="hidden" name="statut['.$key.']" value="'.$statut.'">'; |
|
64 | + echo '</td>'; |
|
65 | + echo '</tr>'; |
|
66 | 66 | } |
67 | 67 | echo '</table>'; |
68 | 68 | echo '<br />'; |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | $add_type = 'multiple'; |
56 | 56 | if (isset($_GET['add_type']) && $_GET['add_type']!='') { |
57 | - $add_type = Security::remove_XSS($_REQUEST['add_type']); |
|
57 | + $add_type = Security::remove_XSS($_REQUEST['add_type']); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | if (!api_is_platform_admin()) { |
@@ -120,8 +120,8 @@ discard block |
||
120 | 120 | "; |
121 | 121 | } |
122 | 122 | |
123 | - $rs = Database::query($sql); |
|
124 | - $xajax_response->addAssign('ajax_list_users_multiple','innerHTML',api_utf8_encode($return)); |
|
123 | + $rs = Database::query($sql); |
|
124 | + $xajax_response->addAssign('ajax_list_users_multiple','innerHTML',api_utf8_encode($return)); |
|
125 | 125 | |
126 | 126 | if ($type == 'single') { |
127 | 127 | $tbl_user_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER); |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | $return .= '...<br />'; |
161 | 161 | } |
162 | 162 | } |
163 | - $xajax_response->addAssign('ajax_list_users_single','innerHTML',api_utf8_encode($return)); |
|
163 | + $xajax_response->addAssign('ajax_list_users_single','innerHTML',api_utf8_encode($return)); |
|
164 | 164 | } else { |
165 | 165 | $return .= '<select id="origin" class="form-control" name="NoAssignedUsersList[]" multiple="multiple" size="15" ">'; |
166 | 166 | while($user = Database :: fetch_array($rs)) { |
@@ -170,8 +170,8 @@ discard block |
||
170 | 170 | $return .= '</select>'; |
171 | 171 | $xajax_response->addAssign('ajax_list_users_multiple', 'innerHTML', api_utf8_encode($return)); |
172 | 172 | } |
173 | - } |
|
174 | - return $xajax_response; |
|
173 | + } |
|
174 | + return $xajax_response; |
|
175 | 175 | } |
176 | 176 | |
177 | 177 | $xajax->processRequests(); |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | |
285 | 285 | $msg = ''; |
286 | 286 | if (isset($_POST['formSent']) && intval($_POST['formSent']) == 1) { |
287 | - $user_list = $_POST['UsersList']; |
|
287 | + $user_list = $_POST['UsersList']; |
|
288 | 288 | |
289 | 289 | switch ($userStatus) { |
290 | 290 | case DRH: |
@@ -349,13 +349,13 @@ discard block |
||
349 | 349 | $assigned_users_id = array_keys($assigned_users_to_hrm); |
350 | 350 | $without_assigned_users = ''; |
351 | 351 | if (count($assigned_users_id) > 0) { |
352 | - $without_assigned_users = " user.user_id NOT IN(".implode(',',$assigned_users_id).") AND "; |
|
352 | + $without_assigned_users = " user.user_id NOT IN(".implode(',',$assigned_users_id).") AND "; |
|
353 | 353 | } |
354 | 354 | |
355 | 355 | $search_user = ''; |
356 | 356 | if (!empty($firstLetterUser)) { |
357 | - $needle = Database::escape_string($firstLetterUser); |
|
358 | - $search_user ="AND ".(api_sort_by_first_name() ? 'firstname' : 'lastname')." LIKE '$needle%'"; |
|
357 | + $needle = Database::escape_string($firstLetterUser); |
|
358 | + $search_user ="AND ".(api_sort_by_first_name() ? 'firstname' : 'lastname')." LIKE '$needle%'"; |
|
359 | 359 | } |
360 | 360 | |
361 | 361 | $sqlConditions = null; |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | } |
376 | 376 | |
377 | 377 | if (api_is_multiple_url_enabled()) { |
378 | - $sql = "SELECT user.user_id, username, lastname, firstname |
|
378 | + $sql = "SELECT user.user_id, username, lastname, firstname |
|
379 | 379 | FROM $tbl_user user LEFT JOIN $tbl_access_url_rel_user au ON (au.user_id = user.user_id) |
380 | 380 | WHERE |
381 | 381 | $without_assigned_users |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | $sqlConditions |
386 | 386 | ORDER BY firstname"; |
387 | 387 | } else { |
388 | - $sql = "SELECT user_id, username, lastname, firstname |
|
388 | + $sql = "SELECT user_id, username, lastname, firstname |
|
389 | 389 | FROM $tbl_user user |
390 | 390 | WHERE |
391 | 391 | $without_assigned_users |
@@ -401,7 +401,7 @@ discard block |
||
401 | 401 | <input type="hidden" name="formSent" value="1" /> |
402 | 402 | <?php |
403 | 403 | if(!empty($msg)) { |
404 | - Display::display_normal_message($msg); //main API |
|
404 | + Display::display_normal_message($msg); //main API |
|
405 | 405 | } |
406 | 406 | ?> |
407 | 407 | |
@@ -454,26 +454,26 @@ discard block |
||
454 | 454 | </div> |
455 | 455 | |
456 | 456 | <?php |
457 | - } |
|
458 | - ?> |
|
457 | + } |
|
458 | + ?> |
|
459 | 459 | <div class="separate-action"> |
460 | 460 | <?php |
461 | - echo '<button class="btn btn-success" type="button" value="" onclick="valide()" >'.$tool_name.'</button>'; |
|
461 | + echo '<button class="btn btn-success" type="button" value="" onclick="valide()" >'.$tool_name.'</button>'; |
|
462 | 462 | ?> |
463 | 463 | </div> |
464 | 464 | </div> |
465 | 465 | </div> |
466 | 466 | <div class="col-md-4"> |
467 | 467 | <?php |
468 | - if (UserManager::is_admin($user_id)) { |
|
469 | - echo get_lang('AssignedUsersListToPlatformAdministrator'); |
|
468 | + if (UserManager::is_admin($user_id)) { |
|
469 | + echo get_lang('AssignedUsersListToPlatformAdministrator'); |
|
470 | 470 | } else if ($user_info['status'] == SESSIONADMIN) { |
471 | 471 | echo get_lang('AssignedUsersListToSessionsAdministrator'); |
472 | 472 | } else if ($user_info['status'] == STUDENT_BOSS) { |
473 | 473 | echo get_lang('AssignedUsersListToStudentBoss'); |
474 | 474 | } else { |
475 | 475 | echo get_lang('AssignedUsersListToHumanResourcesManager'); |
476 | - } |
|
476 | + } |
|
477 | 477 | ?> |
478 | 478 | <div class="form-group"> |
479 | 479 | <div class="col-sm-12"> |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | <option value="">--</option> |
264 | 264 | <?php |
265 | 265 | echo Display :: get_alphabet_options($first_letter_user); |
266 | - ?> |
|
266 | + ?> |
|
267 | 267 | </select> |
268 | 268 | </td> |
269 | 269 | <td width="20%"> </td> |
@@ -274,8 +274,8 @@ discard block |
||
274 | 274 | <select name="firstLetterCourse" onchange="javascript:document.formulaire.form_sent.value='2'; document.formulaire.submit();"> |
275 | 275 | <option value="">--</option> |
276 | 276 | <?php |
277 | - echo Display :: get_alphabet_options($first_letter_course); |
|
278 | - ?> |
|
277 | + echo Display :: get_alphabet_options($first_letter_course); |
|
278 | + ?> |
|
279 | 279 | </select> |
280 | 280 | </td> |
281 | 281 | </tr> |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | } |
296 | 296 | |
297 | 297 | echo $userName; |
298 | - ?> |
|
298 | + ?> |
|
299 | 299 | </option> |
300 | 300 | <?php |
301 | 301 | } |