Minor - Format code - refs BT#9325

1.9.x
Angel Fernando Quiroz Campos 11 years ago
parent 163f282040
commit b561679a2e
  1. 42
      main/admin/index.php
  2. 1
      main/admin/session_export.php

@ -259,15 +259,39 @@ if (
!api_is_session_admin() || !api_is_session_admin() ||
!api_get_configuration_value('limit_session_admin_role') !api_get_configuration_value('limit_session_admin_role')
) { ) {
$items[] = array('url'=>'session_add.php', 'label' => get_lang('AddSession')); $items[] = array(
$items[] = array('url'=>'session_category_list.php', 'label' => get_lang('ListSessionCategory')); 'url' => 'session_add.php',
$items[] = array('url'=>'session_import.php', 'label' => get_lang('ImportSessionListXMLCSV')); 'label' => get_lang('AddSession')
$items[] = array('url'=>'session_import_drh.php', 'label' => get_lang('ImportSessionDrhList')); );
if (isset($extAuthSource) && isset($extAuthSource['ldap']) && count($extAuthSource['ldap']) > 0) { $items[] = array(
$items[] = array('url'=>'ldap_import_students_to_session.php', 'label' => get_lang('ImportLDAPUsersIntoSession')); 'url' => 'session_category_list.php',
} 'label' => get_lang('ListSessionCategory'));
$items[] = array('url'=>'session_export.php', 'label' => get_lang('ExportSessionListXMLCSV')); $items[] = array(
$items[] = array('url'=>'../coursecopy/copy_course_session.php', 'label' => get_lang('CopyFromCourseInSessionToAnotherSession')); 'url' => 'session_import.php',
'label' => get_lang('ImportSessionListXMLCSV')
);
$items[] = array(
'url' => 'session_import_drh.php',
'label' => get_lang('ImportSessionDrhList')
);
if (
isset($extAuthSource) &&
isset($extAuthSource['ldap']) &&
count($extAuthSource['ldap']) > 0
) {
$items[] = array(
'url' => 'ldap_import_students_to_session.php',
'label' => get_lang('ImportLDAPUsersIntoSession')
);
}
$items[] = array(
'url' => 'session_export.php',
'label' => get_lang('ExportSessionListXMLCSV')
);
$items[] = array(
'url' => '../coursecopy/copy_course_session.php',
'label' => get_lang('CopyFromCourseInSessionToAnotherSession')
);
} }
if (api_is_platform_admin()) { if (api_is_platform_admin()) {

@ -14,6 +14,7 @@ $this_section = SECTION_PLATFORM_ADMIN;
api_protect_admin_script(true); api_protect_admin_script(true);
api_protect_limit_for_session_admin(); api_protect_limit_for_session_admin();
include api_get_path(LIBRARY_PATH).'fileManage.lib.php'; include api_get_path(LIBRARY_PATH).'fileManage.lib.php';
$session_id = intval($_GET['session_id']); $session_id = intval($_GET['session_id']);

Loading…
Cancel
Save