2006-11-13 09:20:42 +00:00
|
|
|
<?php // $Id$
|
2007-06-10 23:20:45 +00:00
|
|
|
require_once ($CFG->dirroot.'/course/moodleform_mod.php');
|
2006-11-24 06:39:15 +00:00
|
|
|
|
2006-12-28 09:32:45 +00:00
|
|
|
class mod_label_mod_form extends moodleform_mod {
|
2006-11-13 09:20:42 +00:00
|
|
|
|
2007-05-08 15:44:37 +00:00
|
|
|
function definition() {
|
2006-11-13 09:20:42 +00:00
|
|
|
|
2007-05-08 15:44:37 +00:00
|
|
|
$mform =& $this->_form;
|
2006-11-13 09:20:42 +00:00
|
|
|
|
2009-04-22 07:14:19 +00:00
|
|
|
$this->add_intro_editor(true, get_string('labeltext', 'label'));
|
2006-11-13 09:20:42 +00:00
|
|
|
|
2009-04-21 08:57:20 +00:00
|
|
|
$this->standard_coursemodule_elements();
|
2006-11-13 09:20:42 +00:00
|
|
|
|
2006-12-19 07:03:08 +00:00
|
|
|
//-------------------------------------------------------------------------------
|
2007-05-08 15:44:37 +00:00
|
|
|
// buttons
|
2008-02-21 14:12:48 +00:00
|
|
|
$this->add_action_buttons(true, false, null);
|
2006-12-19 07:03:08 +00:00
|
|
|
|
2007-05-08 15:44:37 +00:00
|
|
|
}
|
2006-11-13 09:20:42 +00:00
|
|
|
|
|
|
|
}
|