skodak
3d397ee029
fixed metacourse issues in course/edit2.php MDL-6949
2006-11-09 21:22:49 +00:00
jamiesensei
2b63df96c3
migrated mod/forum/post.php to formslib and fixed a string in course/edit_form.php
2006-11-07 08:48:18 +00:00
jamiesensei
e995c46e24
fix for :
...
$this->_form->getElement('allowedmods')->
updateAttributes(array('disabled' => 'disabled')) ;
that didn't work in PHP 4. (calling a method on a returned object)
2006-10-19 07:12:11 +00:00
jamiesensei
c08ac01627
added new dummy function to moodleform to allow some defintion to be done for the form dependent on data values.
2006-10-16 12:07:44 +00:00
jamiesensei
5bc97c9862
Fixed a bug with client side validation of form fields.
...
Added some default error messages for rules specified in lang pack as err_{rulename} Use the default by setting the rule message to null.
2006-10-14 12:32:31 +00:00
skodak
a81bf9c3ce
refactored course/edit2.php and edit_form MDL-6914 ; set $CFG->use_new_forms=1; in config.php if you want to test it ;-)
2006-10-13 09:58:53 +00:00
jamiesensei
d9dce4e7b1
changed $default to $toform - more meaningful
2006-10-10 07:16:05 +00:00
jamiesensei
461f512795
moved setting of defaults from edit2.php to edit_form.php
2006-10-10 07:05:19 +00:00
jamiesensei
0d26ea7af9
fix for bug that value of restrictmodules field wasn't available which breaks disabling of allowedmods multiple select
2006-10-09 11:23:23 +00:00
jamiesensei
230a910a0b
added 2 new methods to form class data_submitted and setDefault
...
Fixed bug in id generation
2006-10-09 08:32:30 +00:00
jamiesensei
49c5368707
changes to html structure for rendering of forms in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816
2006-09-27 19:12:52 +00:00
jamiesensei
5f2256f3ee
modifications made to demo new security features
2006-09-27 15:58:45 +00:00
jamiesensei
5ae7038594
modified api to create an htmleditor element
2006-09-26 16:40:35 +00:00
jamiesensei
2462a50af3
changed some assignments to assignment by reference when instantiating objects.
2006-09-26 11:13:51 +00:00
jamiesensei
80f962df90
* added error message for setHelpButton method not existing
...
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names
2006-09-26 09:42:42 +00:00
jamiesensei
01963b9552
This is a demo of the experimental formslib. It is used here to print and process the course settings form.
2006-09-24 17:14:44 +00:00