'index.php', 'name' => $nameTools]; // setting the name of the tool $nameTools = get_lang('DataFiller'); $output = []; if (!empty($_GET['fill'])) { switch ($_GET['fill']) { case 'users': require api_get_path(SYS_TEST_PATH).'datafiller/fill_users.php'; $output = fill_users(); break; case 'courses': require api_get_path(SYS_TEST_PATH).'datafiller/fill_courses.php'; $output = fill_courses(); break; default: break; } } // Displaying the header Display::display_header($nameTools); $result = ''; if (count($output) > 0) { $result = '
'.$line['line-init'].' | '.$line['line-info'].' | '; $result .= '