Fixed bad breadcrumb into special exports and Import Users DT#5377

skala
Arthur Portugal 16 years ago
parent d9356f2784
commit d273785ac8
  1. 3
      main/admin/special_exports.php
  2. 4
      main/admin/user_import.php

@ -12,11 +12,12 @@
// name of the language file that needs to be included
$language_file = array ('admin');
// including the global file
$cidReset = true;
include ('../inc/global.inc.php');
// setting the section (for the tabs)
$this_section = SECTION_PLATFORM_ADMIN;
// setting breadcrumbs
$interbreadcrumb[] = array ("url" => '#', "name" => get_lang('PlatformAdmin'));
$interbreadcrumb[] = array ("url" => 'index.php', "name" => get_lang('PlatformAdmin'));
// Access restrictions
api_protect_admin_script(true);
$nameTools = get_lang('SpecialExports');

@ -264,9 +264,9 @@ function parse_xml_data($file) {
}
$cidReset = true;
include ('../inc/global.inc.php');
$this_section = SECTION_PLATFORM_ADMIN;
api_protect_admin_script();
require_once api_get_path(LIBRARY_PATH).'fileManage.lib.php';
require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php';
require_once api_get_path(LIBRARY_PATH).'classmanager.lib.php';
@ -280,7 +280,7 @@ if (is_array($extAuthSource)) {
$tool_name = get_lang('ImportUserListXMLCSV');
$interbreadcrumb[] = array ('url' => 'index.php', 'name' => get_lang('PlatformAdmin'));
$interbreadcrumb[] = array ("url" => 'index.php', "name" => get_lang('PlatformAdmin'));
set_time_limit(0);
$extra_fields = Usermanager::get_extra_fields(0, 0, 5, 'ASC', false);

Loading…
Cancel
Save