117 Commits

Author SHA1 Message Date
skodak
4287fc0df5 MDL-15906 filepicker support in all file functions in formslib 2008-09-07 13:30:46 +00:00
mjollnir_
fdc25313cf MDL-14591 - changed nico's form warning element to use notifyproblem class so that it's synonymous with notify (by default) 2008-09-02 12:54:09 +00:00
nicolasconnault
2c3550dec2 MDL-14591 Changed element's 2nd param (elementLabel) to class name(s). Defaults to .formwarning 2008-09-02 12:47:23 +00:00
nicolasconnault
90355eaa3d MDL-14591 Changed element's 2nd param (elementLabel) to class name(s). Defaults to .formwarning 2008-09-02 12:23:38 +00:00
nicolasconnault
1ae1941eb1 MDL-14591 New "warning" form element 2008-09-02 12:14:58 +00:00
moodler
21599d8cfc MDL-15348 Make the filepicker component return the itemid of the new file (in user_draft area) 2008-09-02 02:59:01 +00:00
moodler
41ebc6d31c MDL-15348 Make sure the filepicker element shows a label 2008-09-01 06:17:23 +00:00
dongsheng
a846af6fae "MDL-13766, display file name after file downloaded" 2008-09-01 02:00:15 +00:00
tjhunt
94eebf576e XHTML Strict! 2008-08-29 11:35:47 +00:00
scyrma
88c8d16194 MDL-14741: clean up some old code. This needs to be confirmed backward-compatible. 2008-08-29 09:54:44 +00:00
scyrma
d3919c2551 MDL-15405: make it possible to specify a destination filearea for htmleditor forms element 2008-08-29 07:51:15 +00:00
jerome
49a1ce1957 MDL-13766: refactor all libary functions, they now all start with repository_ 2008-08-28 05:13:13 +00:00
scyrma
ec21543a9f MDL-15405: Add missing quote in javascript code 2008-08-27 08:36:01 +00:00
scyrma
4302300219 MDL-15405: A first form (partly) converted to the new filepicker element. 2008-08-27 07:57:54 +00:00
skodak
f4a13b36e7 MDL-16115 Password unmask form fields do not work with XHTML strict headers 2008-08-21 08:00:51 +00:00
danmarsden
24f40ab74e MDL-14620 - need to check vars are set before using. - adding check so I can include this form type in SCORM 2008-08-20 21:59:21 +00:00
dongsheng
d373f63f9b MDL-13766
1. Use treeview display files in repository
2. Dymanicly loading file support
3. Upload file in local repository plugin
4. Move file picker to the top level of DOM
5. get original photo format from flickr web service
2008-08-20 02:52:29 +00:00
skodak
4180c52cc0 MDL-16108 force autocomplete off for unmaskable password fields; merged from MOODLE_18_STABLE 2008-08-18 20:21:21 +00:00
dongsheng
64be2d6ce1 MDL-13766, some small changes for repository api. 2008-08-11 03:30:09 +00:00
dongsheng
b6558c3b0c MDL-13766
1. Pass context information to repository
TODO
Not sure about the way to get context, hard to find where we are, because print_textarea and moodle may be used in any place in moodle.
2. Change parameter type in ws.php
2008-08-07 03:33:47 +00:00
dongsheng
f3a6f85b94 MDL-13766, use a better value for itemid. 2008-08-06 08:09:01 +00:00
dongsheng
e1f2936860 MDL-13766, fix bugs in formlib 2008-08-06 03:26:57 +00:00
dongsheng
77a2e1461b MDL-13766, fix for filepicker in moodleform 2008-08-05 05:58:06 +00:00
dongsheng
c2762f06b7 MDL-13766
1. Make mulit-filepicker in one page possible
2. fix lang strings
3. use itemid specify a draft file
TODO
itemid should use a better value.
2008-08-05 05:12:30 +00:00
dongsheng
d8eb6e180c "MDL-13766, use file api to move files" 2008-08-04 05:53:53 +00:00
dongsheng
3e515a9f73 MDL-13766, tell server side where file picker opened. 2008-08-01 04:10:31 +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
scyrma
cb6c02c4b7 MDL-14741: cleaning up some leftover cruft 2008-07-30 07:58:05 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
scyrma
8c37106df2 MDL-14741: Simplifies the activation of the htmleditor. This is a work-in-progress at this stage, but it's an improvement on the current state. 2008-06-11 08:37:26 +00:00
scyrma
b26be9a9cd MDL-14741: use the default html editor, as chosen in the admin settings 2008-06-05 09:36:55 +00:00
sam_marshall
e2ebb572b8 MDL-14965: Pass-by-reference call broke forum on php5 2008-05-23 11:02:46 +00:00
dongsheng
3c0b6b1610 MDL-14129, fix print_error 2008-05-15 03:22:13 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
83947a36a8 MDL-14073 New param for download_file_content: skipcertcheck. ssl now used in recaptchalib 2008-03-31 12:13:46 +00:00
nicolasconnault
c1a33301b9 MDL-13796 Removing redundant language code. 2008-03-19 05:47:55 +00:00
nicolasconnault
9b5f87d27e MDL-13796 Committing new recaptcha element 2008-03-13 15:45:16 +00:00
nicolasconnault
7c572b8c90 MDL-13796 Added help button and help file, used Snoopy in recaptchalib for proxy support, fixed lang strings, refactored validation code, used element property to pass error string around. 2008-03-11 10:34:50 +00:00
nicolasconnault
5d6308d491 MDL-13796 Most of the recaptcha implementation is done. 2008-03-10 17:32:32 +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
43c137ac23 applying the same patch to advcheckbox - Fixes MDL-8627, "HTML QuickForm displays (some?) disabled elements in a non-accessible way", overrides parent::getFrozenHtml. 2007-09-15 19:43:01 +00:00
nfreear
a98a90163e Fixes MDL-8627, "HTML QuickForm displays (some?) disabled elements in a non-accessible way", overrides parent::getFrozenHtml. 2007-09-12 11:17:35 +00:00
jamiesensei
271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
moodler
7982426d1b Fiexed order of time elements for RTL MDL-10768 2007-08-09 08:44:29 +00:00
tjhunt
a2cd1ed6ff MDL-10626 - Change HTML of checkboxes etc., to make it easier to style forms 2007-07-27 11:05:34 +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
jamiesensei
bb90bf3fb2 when element is frozen should not escape html entities in htmleditor. 2007-07-16 06:04:20 +00:00
stronk7
f7c91a30c5 Adding 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:49:39 +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