Rajesh Taneja
c106a9bff0
MDL-27562 formslib: applydst should be always true, hence option removed from dateselector and datetimeselector form elements
2012-05-07 15:23:45 +08:00
Rajesh Taneja
fa70f63522
MDL-27562 formslib: Timezone option is passed to usergetdate for dateselector and datetimeselector form element
2012-05-07 15:23:44 +08:00
Petr Skoda
e2bb3c9275
MDL-32094 some more E_STRICT fixes
2012-03-18 20:40:20 +01:00
Petr Skoda
fabbf4398b
MDL-32094 some nasty quickforms hacks that should help with E_STRICT
...
Note: we have stopped tracking our QuickForms hacks long ago.
2012-03-18 18:39:37 +01:00
Sam Hemelryk
58b7d48f9a
MDL-30974 forms: Last minute phpdoc fixes
2012-02-21 12:39:35 +13:00
Rajesh Taneja
6c1fd30484
MDL-30974 form: Checked and updated docblock for form library
2012-02-15 12:55:06 +08:00
Sam Hemelryk
fec617dee5
form-dateselector MDL-27145 Fixed up error resulting from incorrectly required 'optional' argument on create event
2011-04-12 14:14:34 +08:00
Petr Skoda
bd69b9dbac
MDL-19698 deprecated assign new by ref in our forms code
2010-07-19 08:29:25 +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
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
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
sam_marshall
de312b53bb
MDL-7816 Added optional (checkbox) facility to quickform dateselector
2006-12-06 14:50:57 +00:00
jamiesensei
002bd26872
removed redundant return
2006-11-21 10:19:28 +00:00
jamiesensei
57cf1be250
a bug fix for custom element dateselector
2006-11-21 10:18:39 +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
jamiesensei
7f42315c13
whitespace clean up
2006-11-07 09:16:36 +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
jamiesensei
da6f876395
This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.
...
This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.
2006-09-24 17:04:51 +00:00