MDL-17472 notes: backported disabling of notes and general refactoring from HEAD

This commit is contained in:
skodak
2008-11-30 19:25:48 +00:00
parent f499321716
commit 8d2ef9efe8
14 changed files with 106 additions and 152 deletions
+4 -4
View File
@@ -21,14 +21,14 @@ class note_edit_form extends moodleform {
$this->add_action_buttons();
$mform->addElement('hidden', 'course');
$mform->addElement('hidden', 'courseid');
$mform->setType('course', PARAM_INT);
$mform->addElement('hidden', 'user');
$mform->addElement('hidden', 'userid');
$mform->setType('user', PARAM_INT);
$mform->addElement('hidden', 'note');
$mform->setType('note', PARAM_INT);
$mform->addElement('hidden', 'id');
$mform->setType('id', PARAM_INT);
}
}
?>