Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/monara/public_html/test.athavaneng.com/themes.php on line 99
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
dirroot . '/lib/formslib.php');
class mod_wiki_comments_form extends moodleform {
protected function definition() {
$mform = $this->_form;
$current = $this->_customdata['current'] ?? null;
$commentoptions = $this->_customdata['commentoptions'] ?? null;
// visible elements
$mform->addElement('editor', 'entrycomment_editor', get_string('comment', 'glossary'), null, $commentoptions);
$mform->addRule('entrycomment_editor', get_string('required'), 'required', null, 'client');
$mform->setType('entrycomment_editor', PARAM_RAW); // processed by trust text or cleaned before the display
// hidden optional params
$mform->addElement('hidden', 'id', '');
$mform->setType('id', PARAM_INT);
$mform->addElement('hidden', 'action', '');
$mform->setType('action', PARAM_ALPHAEXT);
//-------------------------------------------------------------------------------
// buttons
$this->add_action_buttons(true);
//-------------------------------------------------------------------------------
$this->set_data($current);
}
public function edit_definition($current, $commentoptions) {
$this->set_data($current);
$this->set_data($commentoptions);
}
}