2009-02-17 16:18:05 +00:00
|
|
|
<?php //$Id$
|
|
|
|
|
|
|
|
require_once($CFG->libdir.'/formslib.php');
|
|
|
|
|
|
|
|
class editsection_form extends moodleform {
|
|
|
|
|
|
|
|
function definition() {
|
|
|
|
global $CFG, $DB;
|
|
|
|
|
|
|
|
$mform = $this->_form;
|
|
|
|
$course = $this->_customdata;
|
|
|
|
|
2009-05-11 18:55:03 +00:00
|
|
|
$mform->addElement('editor', 'summary', get_string('summary'), null, array('changeformat'=>false, 'maxfiles'=>-1));
|
2009-02-17 16:18:05 +00:00
|
|
|
|
|
|
|
$mform->addElement('hidden', 'id');
|
|
|
|
$mform->setType('id', PARAM_INT);
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
$this->add_action_buttons();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|