]> git.mjollnir.org Git - moodle.git/commit
made hardFreeze work properly for a whole form. New paramater in moodleform construct...
authorjamiesensei <jamiesensei>
Sun, 27 May 2007 05:01:51 +0000 (05:01 +0000)
committerjamiesensei <jamiesensei>
Sun, 27 May 2007 05:01:51 +0000 (05:01 +0000)
commit64360ee7b551897ae000b8e31a45ec21abbc53d8
treef384ef2540b148a6f67864fa88dce0e8d0c186ab
parent7d8ea286680c2e341c4c82709da425b428460f52
made hardFreeze work properly for a whole form. New paramater in moodleform constructor 'editable' defaults to true. If true then display form as normal. If false then hardFreeze whole form. Now displays form without an submit buttons. If form is hard frozen no data is ever passed to get_data.
12 files changed:
lib/form/advcheckbox.php
lib/form/button.php
lib/form/cancel.php
lib/form/file.php
lib/form/group.php
lib/form/htmleditor.php
lib/form/radio.php
lib/form/selectgroups.php
lib/form/submit.php
lib/form/textarea.php
lib/formslib.php
theme/standard/styles_layout.css