Commit Graph

22 Commits

Author SHA1 Message Date
Petr Skoda bd69b9dbac MDL-19698 deprecated assign new by ref in our forms code 2010-07-19 08:29:25 +00:00
Tim Hunt 7c1b615060 formslib: MDL-21561 minor bug with disabled datetimeselectors.
Thanks for Matt Petro for finding this and suggesting the fix.
I introduced this error when adding the calendar pop-up.
Strangely, dateselector was not affected.
2010-03-08 14:03:24 +00:00
Petr Skoda 4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda 4a0e2e632f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:42:23 +00:00
tjhunt cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
tjhunt 8e7cebb0d8 formslib dates: MDL-16592 show a pop-up calendar for picking dates.
Not quite finished. There is a small issue with keyboard focus. See bug.
2009-03-13 09:56:53 +00:00
tjhunt 25fe66b094 date form fields: MDL-18502 Change the optional 'disabled' checkbox to an 'enabled' on
Better for usability to avoid a double-negative.
2009-03-10 06:44:05 +00:00
moodler 7982426d1b Fiexed order of time elements for RTL MDL-10768 2007-08-09 08:44:29 +00:00
tjhunt 5aed30094d Fix whitespace, and round times to the previous multiple of the 'step' option, if necessary. 2007-07-23 14:55:35 +00:00
poltawski a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
martinlanghoff 76ab1c33d9 Bug fix: 'off by one'month bug in mupltiple locations.
When the system/user time zone was set to GMT-13 months would lag behind by
one month.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-13 05:04:57 +00:00
jamiesensei 44875d7898 added code to include hidden labels in groups in forms 2006-12-09 14:06:15 +00:00
jamiesensei 4dd564ddb2 small fix to disabledIf initiation 2006-12-09 11:45:24 +00:00
jamiesensei 11f260f4ee some changes to date_selector and date_time_selector. Now automatically disabledIf disable checkbox is checked. 'optional' option includes a disable checkbox. 2006-12-09 11:42:57 +00:00
jamiesensei 46e648b610 added Sam's 'enabled' checkbox functionality 2006-12-07 10:39:28 +00:00
jamiesensei dbc6607baa added some strings for labels for dateselector and datetimeselector day, month etc. elements. These are not used yet. 2006-12-07 05:37:41 +00:00
jamiesensei 02f8f37d5d added defaults for when there is no submitted data to datetimeselector and small fix for forum\mod_form.php 2006-11-23 09:38:33 +00:00
jamiesensei 4a2d352a88 oops, removed print_object that was left in from debugging 2006-11-21 10:16:01 +00:00
jamiesensei 0e6303103b fixed a couple of bugs in custom elements 2006-11-21 10:14:38 +00:00
jamiesensei e2294b9822 fixes for small bugs in datetimeselector and dateselector and added custom elements to formslib library for standard module forms 2006-11-09 18:08:34 +00:00
skodak 7f40a229a4 New version of formslib.php (see MDL-6914 for more details), course/edit2.php is disabled for now - working on edit3.php ;-)
More inline comments/docs today.
2006-10-12 07:33:57 +00:00
jamiesensei e9d39a3215 added new form element datetimeselector 2006-10-11 06:30:03 +00:00