MDL-22574, move import form to import.php, use csv_import_reader class to process csv file, use filepicker to replace legacy upload form.
This commit is contained in:
@@ -2838,6 +2838,9 @@ function data_extend_settings_navigation(settings_navigation $settings, navigati
|
||||
// and should be weaker than those required to edit Templates, Fields and Presets.
|
||||
$datanode->add(get_string('export', 'data'), new moodle_url('/mod/data/export.php', array('d'=>$data->id)));
|
||||
}
|
||||
if (has_capability('mod/data:manageentries', $PAGE->cm->context)) {
|
||||
$datanode->add(get_string('import'), new moodle_url('/mod/data/import.php', array('d'=>$data->id)));
|
||||
}
|
||||
|
||||
if (has_capability('mod/data:managetemplates', $PAGE->cm->context)) {
|
||||
$currenttab = '';
|
||||
|
||||
Reference in New Issue
Block a user