Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'wip-MDL-35221-MOODLE_22_STABLE' of git://github.com/kwi…

…liarty/moodle into MOODLE_22_STABLE
  • Loading branch information...
commit 59fdbc53b2464f0bd76d5642357894709901bb08 2 parents e32da64 + ce98dd3
@samhemelryk samhemelryk authored
View
2  mod/feedback/item/captcha/captcha_form.php
@@ -29,7 +29,7 @@ public function definition() {
$mform =& $this->_form;
$mform->addElement('header', 'general', get_string($this->type, 'feedback'));
- $mform->addElement('checkbox', 'required', get_string('required', 'feedback'));
+ $mform->addElement('advcheckbox', 'required', get_string('required', 'feedback'), '' , null , array(0, 1));
$mform->addElement('text',
'name',
get_string('item_name', 'feedback'),
View
2  mod/feedback/item/multichoice/multichoice_form.php
@@ -29,7 +29,7 @@ public function definition() {
$mform->addElement('header', 'general', get_string($this->type, 'feedback'));
- $mform->addElement('checkbox', 'required', get_string('required', 'feedback'));
+ $mform->addElement('advcheckbox', 'required', get_string('required', 'feedback'), '' , null , array(0, 1));
$mform->addElement('text',
'name',
View
2  mod/feedback/item/multichoicerated/multichoicerated_form.php
@@ -29,7 +29,7 @@ public function definition() {
$mform->addElement('header', 'general', get_string($this->type, 'feedback'));
- $mform->addElement('checkbox', 'required', get_string('required', 'feedback'));
+ $mform->addElement('advcheckbox', 'required', get_string('required', 'feedback'), '' , null , array(0, 1));
$mform->addElement('text',
'name',
View
2  mod/feedback/item/numeric/numeric_form.php
@@ -29,7 +29,7 @@ public function definition() {
$mform =& $this->_form;
$mform->addElement('header', 'general', get_string($this->type, 'feedback'));
- $mform->addElement('checkbox', 'required', get_string('required', 'feedback'));
+ $mform->addElement('advcheckbox', 'required', get_string('required', 'feedback'), '' , null , array(0, 1));
$mform->addElement('text',
'name',
View
2  mod/feedback/item/textarea/textarea_form.php
@@ -28,7 +28,7 @@ public function definition() {
$mform =& $this->_form;
$mform->addElement('header', 'general', get_string($this->type, 'feedback'));
- $mform->addElement('checkbox', 'required', get_string('required', 'feedback'));
+ $mform->addElement('advcheckbox', 'required', get_string('required', 'feedback'), '' , null , array(0, 1));
$mform->addElement('text',
'name',
View
2  mod/feedback/item/textfield/textfield_form.php
@@ -28,7 +28,7 @@ public function definition() {
$mform =& $this->_form;
$mform->addElement('header', 'general', get_string($this->type, 'feedback'));
- $mform->addElement('checkbox', 'required', get_string('required', 'feedback'));
+ $mform->addElement('advcheckbox', 'required', get_string('required', 'feedback'), '' , null , array(0, 1));
$mform->addElement('text',
'name',
Please sign in to comment.
Something went wrong with that request. Please try again.