| @@ 100-108 (lines=9) @@ | ||
| 97 | 'label' => get_lang('ImportUserListXMLCSV'), |
|
| 98 | ), |
|
| 99 | ); |
|
| 100 | if (isset($extAuthSource) && isset($extAuthSource['ldap']) && count( |
|
| 101 | $extAuthSource['ldap'] |
|
| 102 | ) > 0 |
|
| 103 | ) { |
|
| 104 | $items[] = array( |
|
| 105 | 'url' => $adminUrl.'ldap_users_list.php', |
|
| 106 | 'label' => get_lang('ImportLDAPUsersIntoPlatform'), |
|
| 107 | ); |
|
| 108 | } |
|
| 109 | $items[] = array( |
|
| 110 | 'url' => $adminUrl.'extra_fields.php?type=user', |
|
| 111 | 'label' => get_lang('ManageUserFields'), |
|
| @@ 218-226 (lines=9) @@ | ||
| 215 | ); |
|
| 216 | }*/ |
|
| 217 | ||
| 218 | if (isset($extAuthSource) && |
|
| 219 | isset($extAuthSource['ldap']) && |
|
| 220 | count($extAuthSource['ldap']) > 0 |
|
| 221 | ) { |
|
| 222 | $items[] = array( |
|
| 223 | 'url' => $adminUrl.'ldap_import_students.php', |
|
| 224 | 'label' => get_lang('ImportLDAPUsersIntoCourse'), |
|
| 225 | ); |
|
| 226 | } |
|
| 227 | $blocks['courses']['items'] = $items; |
|
| 228 | $blocks['courses']['extra'] = null; |
|
| 229 | ||
| @@ 353-361 (lines=9) @@ | ||
| 350 | 'url' => api_get_path(WEB_CODE_PATH).'session/session_import.php', |
|
| 351 | 'label' => get_lang('ImportSessionListXMLCSV'), |
|
| 352 | ); |
|
| 353 | if (isset($extAuthSource) && isset($extAuthSource['ldap']) && count( |
|
| 354 | $extAuthSource['ldap'] |
|
| 355 | ) > 0 |
|
| 356 | ) { |
|
| 357 | $items[] = array( |
|
| 358 | 'url' => $adminUrl.'ldap_import_students_to_session.php', |
|
| 359 | 'label' => get_lang('ImportLDAPUsersIntoSession'), |
|
| 360 | ); |
|
| 361 | } |
|
| 362 | $items[] = array( |
|
| 363 | 'url' => api_get_path(WEB_CODE_PATH).'session/session_export.php', |
|
| 364 | 'label' => get_lang('ExportSessionListXMLCSV'), |
|
| @@ 168-170 (lines=3) @@ | ||
| 165 | $items[] = array('url' => 'grade_models.php', 'label' => get_lang('GradeModel')); |
|
| 166 | } |
|
| 167 | ||
| 168 | if (isset($extAuthSource) && isset($extAuthSource['ldap']) && count($extAuthSource['ldap']) > 0) { |
|
| 169 | $items[] = array('url' => 'ldap_import_students.php', 'label' => get_lang('ImportLDAPUsersIntoCourse')); |
|
| 170 | } |
|
| 171 | ||
| 172 | $items[] = array('url' => 'extra_fields.php?type=course', 'label' => get_lang('ManageCourseFields')); |
|
| 173 | ||
| @@ 291-296 (lines=6) @@ | ||
| 288 | $items[] = array('url' => $sessionPath.'session_category_list.php', 'label' => get_lang('ListSessionCategory')); |
|
| 289 | $items[] = array('url' => $sessionPath.'session_import.php', 'label' => get_lang('ImportSessionListXMLCSV')); |
|
| 290 | $items[] = array('url' => $sessionPath.'session_import_drh.php', 'label' => get_lang('ImportSessionDrhList')); |
|
| 291 | if (isset($extAuthSource) && isset($extAuthSource['ldap']) && count($extAuthSource['ldap']) > 0) { |
|
| 292 | $items[] = array( |
|
| 293 | 'url' => 'ldap_import_students_to_session.php', |
|
| 294 | 'label' => get_lang('ImportLDAPUsersIntoSession') |
|
| 295 | ); |
|
| 296 | } |
|
| 297 | $items[] = array( |
|
| 298 | 'url' => $sessionPath.'session_export.php', |
|
| 299 | 'label' => get_lang('ExportSessionListXMLCSV'), |
|