95 Commits

Author SHA1 Message Date
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
jamiesensei
a69dacfd48 reverting back to version 1.2. Accidentally committed version 1.3 in HEAD. 2007-05-23 00:59:36 +00:00
jamiesensei
3a3c454ede UI for editing questions changed to support sharing questions in multiple contexts. Also changed import / export and category editing form to use formslib. 2007-05-20 16:17:48 +00:00
jamiesensei
f161729e21 new element for formslib selectgroups is a select drop down with options grouped into optgroups 2007-05-20 11:48:02 +00:00
skodak
ec74e82d5c MDL-9618 Form remove option logic is incorrect - patch by Mark Nielsen; merged from MOODLE_18_STABLE 2007-05-16 20:32:01 +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
sam_marshall
3ef1be377b MDL-9741: Fixed broken link on editor help page 2007-05-08 14:57:37 +00:00
skodak
54bb33eb10 MDL-9652 rename new password reveal to unmask 2007-04-30 18:03:19 +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
skodak
239ade458c MDL-9239 New fromslib password element with reveal option; merged from MOODLE_18_STABLE 2007-04-06 14:18:02 +00:00
jamiesensei
db8e700b0a fixes MDL-9195 mform->hardFreeze() doesn't remove id attribute of label for checkbox 2007-04-04 10:16:22 +00:00
nicolasconnault
b1c72d0a07 MDL-8807 and MDL-8564: Jamie had replaced the three group modes with Yes and No, for some
undocumented reason (See http://moodle.cvs.sourceforge.net/moodle/moodle/lib/form/modgroupmode.php?diff_format=h&view=log&pathrev=MOODLE_18_STABLE#revtext).
I reverted his changes, and this seems to work normally now.
2007-03-22 05:24:29 +00:00
jamiesensei
5054ddbb59 comment got detached from function - fixed. 2007-01-21 09:14:35 +00:00
jamiesensei
f84d6a8d56 fixes to wiki form checkboxes value saving 2007-01-21 08:26:59 +00:00
jamiesensei
7043d0a756 set default for this element to return a '0' if unchecked and '1' if checked. 2007-01-19 08:08:50 +00:00
moodler
49c7f3a850 Tidying up form appearance
1) Changed required/advanced images to something language neutral (asterisks)
2) Moved them to pixpath so people can override them easily
3) Hide the images completely using CSS (keep them only for accessibility)
   so that all the labels have a consistent alignment.
4) Use CSS to color the labels instead.
2007-01-13 04:24:15 +00:00
skodak
26de8d35ce fixed text field widths in new forms 2007-01-11 19:47:08 +00:00
skodak
7dc22930f7 choosecoursefile file selection fixed 2007-01-11 11:33:44 +00:00
skodak
9eb9e038f9 MDL-8144 Fixed can not force free format selection 2007-01-11 09:41:13 +00:00
jamiesensei
0709d4d5f5 some xhtml validity fixes for the case that select and text elements are 'frozen' 2007-01-11 04:57:57 +00:00
jamiesensei
9aa022feef xhtml validity fix for static element type
qtype calculated form - started
2007-01-10 05:05:26 +00:00
jamiesensei
86aab05ced fix for xhtml probs MDL-8102 and MDL-7979 - invalid id attributes.
and stopped using label tag for a group of elements where the label refers to the group of elements and not an individual one.
2007-01-08 15:53:17 +00:00
jamiesensei
08224df157 migrated randomsamatch to formslib.
fixed small typo in quiz mod_form
2007-01-08 13:58:42 +00:00