MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice...
[moodle.git] / mod / label / mod_form.php
1 <?php
2 if (!defined('MOODLE_INTERNAL')) {
3     die('Direct access to this script is forbidden.');    ///  It must be included from a Moodle page
4 }
6 require_once ($CFG->dirroot.'/course/moodleform_mod.php');
8 class mod_label_mod_form extends moodleform_mod {
10     function definition() {
12         $mform    =& $this->_form;
14         $this->add_intro_editor(true, get_string('labeltext', 'label'));
16         $this->standard_coursemodule_elements();
18 //-------------------------------------------------------------------------------
19 // buttons
20         $this->add_action_buttons(true, false, null);
22     }
24 }