]> git.mjollnir.org Git - moodle.git/commit
* Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/forms...
authorjamiesensei <jamiesensei>
Tue, 19 Dec 2006 07:03:08 +0000 (07:03 +0000)
committerjamiesensei <jamiesensei>
Tue, 19 Dec 2006 07:03:08 +0000 (07:03 +0000)
commita23f0aaf9570886bf5803459f0018dd68e835328
tree50ebbd4e44ef1205480b53f8012560d6dd541959
parentac211373790011a68af475a7695e91d183dd19dc
* Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform  - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
42 files changed:
course/edit.php
course/edit_form.php
course/request.php
course/request_form.php
enrol/authorize/enrol_form.php
lang/en_utf8/form.php
lang/en_utf8/glossary.php
lib/form/adv.gif [new file with mode: 0644]
lib/form/adv.png [new file with mode: 0644]
lib/form/cancel.php
lib/form/checkbox.php
lib/form/format.php
lib/form/header.php [new file with mode: 0644]
lib/form/select.php
lib/form/submit.php [new file with mode: 0644]
lib/formslib.php
lib/javascript-static.js
login/change_password_form.php
login/forgot_password_form.php
login/signup_form.php
mod/assignment/type/online/assignment.class.php
mod/assignment/type/upload/assignment.class.php
mod/chat/mod_form.php
mod/choice/mod_form.php
mod/data/comment_form.php
mod/data/mod_form.php
mod/exercise/mod_form.php
mod/forum/mod_form.php
mod/forum/post_form.php
mod/glossary/comment_form.php
mod/glossary/edit.html [deleted file]
mod/glossary/edit.php
mod/glossary/edit_form.php [new file with mode: 0644]
mod/glossary/mod_form.php
mod/journal/mod_form.php
mod/label/mod_form.php
mod/lesson/mod_form.php
mod/quiz/lib.php
mod/quiz/mod.html [deleted file]
mod/quiz/mod_form.php [new file with mode: 0644]
mod/survey/details.php
theme/standard/styles_layout.css