skodak
4287fc0df5
MDL-15906 filepicker support in all file functions in formslib
2008-09-07 13:30:46 +00:00
moodler
49583e9ed1
MDL-14589 Created new move_draft_to_final() in file storage and made formslib use it for saving new files
2008-09-03 05:14:24 +00:00
moodler
f6172562a3
save_stored_file now works for filepicker attachments too
2008-09-03 03:41:09 +00:00
nicolasconnault
1ae1941eb1
MDL-14591 New "warning" form element
2008-09-02 12:14:58 +00:00
moodler
924ddb15f1
Moved some filepicker form processing to formslib.php (temporary)
2008-09-02 09:46:29 +00:00
tjhunt
cd350b538f
MDL-16202 formslib show/hide advanced button does not work with strict XML headers
2008-08-28 07:52:09 +00:00
skodak
6c0e2d08a9
MDL-14589 improved file handling operations & towards zipping support
2008-08-02 12:45:02 +00:00
skodak
172dd12c63
MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906
2008-07-31 22:15:30 +00:00
dongsheng
c5704ec65a
MDL-13766
...
1. Filepicker component for moodleform
2. Integrate TinyMCE and FilePicker
3. Fix show/hide bug in filepicker
4. Rewrite print_login function for ajax
2008-07-31 02:51:28 +00:00
thepurpleblob
906ebc4b66
MDL-15571:
...
Now substitutes for group templates
2008-07-09 10:26:13 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
skodak
3264868249
MDL-14679 removed magic quotes from forms validation() method, fixed some minor problems
2008-06-01 17:53:25 +00:00
dongsheng
3c0b6b1610
MDL-14129, fix print_error
2008-05-15 03:22:13 +00:00
dongsheng
f9f9be7374
MDL-12611, realign the help icon, merged from MOODLE_19_STABLE
2008-04-09 03:45:30 +00:00
dongsheng
1b3fca2a47
MDL-12611, fix the alignment of help icons.(merged from MOODLE_19_STABLE)
2008-04-08 03:34:30 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
nicolasconnault
5d6308d491
MDL-13796 Most of the recaptcha implementation is done.
2008-03-10 17:32:32 +00:00
skodak
7fc1a27d05
MDL-90 fixed quickforms pear include regression; merged from MOODLE_19_STABLE
2008-02-27 11:09:27 +00:00
nicolasconnault
6073a598a7
MDL-12389 Removed the selectallornone element in favour of a more generic submitlink element. The checkbox controller is now added to a form using moodleform::add_checkbox_controller.
2007-12-04 10:35:25 +00:00
nicolasconnault
8f9607dbc8
MDL-12389 Added a new getElementsByClassName function in lib/javascript.php, added the selectallornone formslib element, modified the advcheckbox element to support the group variable, and implemented the new element in grade_export_form
2007-12-03 20:13:01 +00:00
skodak
e850ec4846
MDL-12130 fixed regression - disabledIf did not work in dateselectors; merged from MOODLE_19_STABLE
2007-11-24 13:37:07 +00:00
skodak
a78890d593
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
2007-11-23 22:15:07 +00:00
tjhunt
13ccb7bd58
MDL-12133 - Errors calling parent::validation in a moodle form subclass because the base class method returns true not an empty array. This patch allow subclasses to start their validate method with
...
$errors = parent::validation($data, $files);
which is what you naturally want to do if you are used to object oriented programming.
Merged from MOODLE_19_STABLE.
2007-11-20 15:08:05 +00:00
skodak
3541cecb66
MDL-12041 fixed groupmode flag in cm when mode forced in course; merged from MOODLE_19_STABLE
2007-11-17 17:41:28 +00:00
skodak
7c9b1d315d
MDL-12199 problem with "Show advanced" used after pressing of enter in forms; merged from MOODLE_19_STABLE
2007-11-17 13:30:15 +00:00
skodak
46f3921edd
MDL-12130 and MDL-12129 - fixed advanced status of elements when header not closed; disableIf now works inside grouped elements too; code cleanup in focus() and _getElNamesRecursive()
2007-11-12 17:12:35 +00:00
jmg324
bec52f19b5
fixes notice error caused in form validation of file attachments - need not assume variable is set but use empty()
2007-11-06 15:56:00 +00:00
tjhunt
6f3b54c8aa
MDL-9076 - Move the 'Add 3 more overall feedbacks' button inside that group of elements on the quiz settings form.
...
To make this possible, I added an extra argument to the repeat_elements method, which other people may find helpful on other forms.
2007-10-09 15:44:06 +00:00
skodak
89489cfe94
MDL-11460
2007-09-26 19:25:50 +00:00
skodak
b6b1d1cac1
MDL-11460 new function moodleform->get_file_content($elname) in case we need to get content of uploaded files
2007-09-26 16:53:26 +00:00
nicolasconnault
31a6c06c46
MDL-11433 Implemented grade_items.decimals instead of user preference in grader report.
2007-09-25 14:40:49 +00:00
jamiesensei
41b6d0011c
MDL-11318 formslib now respects a template for an element if it is set. But since formslib uses the templates to insert help buttons for setAdvanced functionality etc. if you use templates you will lose this functionality.
2007-09-18 09:35:44 +00:00
nfreear
f8b9ac7418
MDL-11134, Accessibility: move help link into <label>, so it won't be ignored in JAWS forms mode.
2007-09-05 14:34:33 +00:00
nicolasconnault
0f78c4de3d
MDL-11028 GUI complete, language strings complete, user key creation done. Validation is not yet coded.
2007-08-29 11:43:48 +00:00
urs_hunkler
c02345e398
added spaces before the divs too for req and adv icon alignment.
...
added ftoggler class to the labels and fcontainer div within the fieldset to be able to toggle the fieldsets open and collapsed with a JS framework.
2007-08-03 13:28:03 +00:00
skodak
4f51f48fdf
reverting last commit
2007-08-03 13:08:05 +00:00
urs_hunkler
cbdb3705ce
Added a space before divs too
2007-08-03 11:51:14 +00:00
urs_hunkler
620cd35d39
Added a space behind advancedimg to correct aligning in forms :: second approach, the first one didn't work in IE
2007-08-03 11:00:11 +00:00
urs_hunkler
e4d0193411
Added a space behind advancedimg to correct aligning in forms.
2007-08-03 09:30:36 +00:00
skodak
af15f9cc53
MDL-10439 yet another attempt to fix definition_after_data() - see the bug report for sample usage
2007-07-18 08:48:28 +00:00
skodak
128c87a442
MDL-10439 call definition_after_data() from moodleform constructor only when form submitted
2007-07-17 07:48:58 +00:00
skodak
943e3dcdd2
MDL-10382 new fix, I hope it works now
2007-07-12 07:57:26 +00:00
jamiesensei
df2c2310e5
Reverted previous fix for MDL-10382 Allow removing of elements with disabledIf conditions - "This fix has broken disabledIf in many forms. The problem is that if the dependentOn element is an element in a group then elementExists will return false."
2007-07-12 06:01:17 +00:00
skodak
854386bc04
MDL-10382 Allow removing of elements with disabledIf conditions
2007-07-08 21:31:14 +00:00
jamiesensei
43914931f7
validation can return an empty array() or true to indicate no errors. array() is preferred since then parent class validation functions can be chained. Changing moodle_form validation method to return array() so that chaining works in question types. Shouldn't affect other forms code.
2007-07-06 04:03:51 +00:00
toyomoyo
f4bee9e580
added a method that returns the submitted data without validation MDL-10181, please let me know if this is not needed, thanks
2007-07-04 02:32:08 +00:00
stronk7
6f05b1e149
Registering the choosecoursefileorimsrepo form element to
...
show the "Browse Repository" button
for IMS-CP resources type. (MDL-10036)
Merged from MOODLE_18_STABLE
2007-07-02 16:51:50 +00:00
jamiesensei
3673f6bc3b
added more phpdoc comments for hardFreezeAllVisibleExcept
2007-05-28 00:50:11 +00:00
jamiesensei
56015454dd
new method hardFreezeAllVisibleExcept
2007-05-28 00:46:11 +00:00
jamiesensei
64360ee7b5
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.
2007-05-27 05:01:51 +00:00