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
Dan Marsden
aff3a5d60c
MDL-30536 Choice - remove setType so that validation works when JS is disabled
2011-12-02 21:16:21 +13:00
Ruslan Kabalin
65c7713115
MDL-30526 Choice: add form validation rule for numeric field
2011-11-30 17:17:12 +00:00
Dan Marsden
aa20227e9f
MDL-28410 Choice - allow single answer choice to be created
2011-07-30 10:20:51 +12:00
Sam Marshall
bc499733f8
Choice: MDL-20440 Added completion support to Choice (mark completed when user makes choice)
2010-10-14 14:58:43 +00:00
Petr Skoda
b8ea3041eb
MDL-23184 activity names are now either PARAM_TEXT or PARAM_CLEANHTML, this should be more accurate
2010-09-02 18:29:39 +00:00
David Mudrak
cd188086d3
MDL-23561 Fixed support for addHelpButton() in repeated elements
2010-07-29 07:54:30 +00:00
Petr Skoda
1b20b92792
MDL-23561 temp workaround
2010-07-28 14:16:17 +00:00
Martin Dougiamas
bfebaf64d8
MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script.
2010-05-13 02:02:05 +00:00
David Mudrak
539dfe2920
MDL-21695 Removing timerestrict help as recommended by Helen
2010-04-30 13:46:11 +00:00
David Mudrak
80de705fcb
MDL-21695 Choice module now uses new help strings
...
AMOS BEGIN
HLP choice/limit.html,[limitanswers_help,mod_choice]
HLP choice/options.html,[choiceoptions_help,mod_choice]
HLP choice/timerestrict.html,[timerestrict_help,mod_choice]
AMOS END
2010-04-30 12:05:29 +00:00
David Mudrak
a48bf07993
Fixing Chat event type + handling illegal eventtype displaying
...
Without this fix, chat created events with eventtype set to boolean.
Such value was then used by calendar block to get a string, which
now produces coding_exception.
2010-04-30 10:53:39 +00:00
Petr Skoda
1adbd2c350
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 14:55:15 +00:00
skodak
17da2e6f28
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
2009-06-19 14:25:56 +00:00
skodak
9b010a102e
MDL-18910 full support for module intro editor with embedded images
2009-04-21 21:33:08 +00:00
skodak
42f103be4c
MDL-18910 moving modedit features to modname_supports()
2009-04-21 08:57:20 +00:00
skodak
a8801a8bea
MDL-18910 normalised module intro and introformat
2009-04-20 18:45:31 +00:00
danmarsden
ca5387202f
MDL-18125 - improve lang for options/choices
2009-02-09 10:09:57 +00:00
tjhunt
16851b22ad
MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html
2008-09-25 10:04:01 +00:00
danmarsden
959f4c300c
MDL-15328 - hide grade category drop down.
2008-08-11 04:48:43 +00:00
skodak
8eb1d25ffe
MDL-11844 new option for conditional stripping of tags from activity names
2008-07-26 15:15:25 +00:00
skodak
c18269c7e5
MDL-14679 towards modform conversion
2008-06-01 21:36:11 +00:00
skodak
f33e1ed4ae
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
2008-05-15 21:40:00 +00:00
skodak
a78890d593
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
2007-11-23 22:15:07 +00:00
poltawski
08aeb4aa2e
MDL-12070 - PARAM_CLEANHTML strips magic quotes..
2007-11-08 22:19:47 +00:00
poltawski
39504b69f9
MDL-12070 - re-enable the use of HTML in choice options
...
Merged from MOODLE_18_STABLE
2007-11-08 18:32:09 +00:00
mattc-catalyst
6d5b7706da
MDL-10888: groupings - mod/choice - updated to support groupings
2007-08-27 21:52:35 +00:00
skodak
602433133e
MDL-10105 idnumber uniqueness tested before insert in UI now - both modedit and item edit pages
2007-08-02 10:38:18 +00:00
skodak
23a7718bd1
MDL-9696 used absolute path include in mod_forms
2007-06-10 23:20:45 +00:00
danmarsden
c12b1f67c0
Merging changes from 1.8 -
...
Fix for MDL-8862 - order of options in choice not logical - shift option for limiting options to aboe where limits are set.
2007-03-15 00:17:22 +00:00
jamiesensei
3a298174e8
important security fix previous use of ['type'] in repeatedeloptions array would not have worked.
2007-01-21 10:32:42 +00:00
jamiesensei
a7f7e52fc5
changed name of moodleform_mod method 'defaults_preprocessing' to 'data_preprocessing' in line with change of set_defaults name to set_data.
2007-01-16 15:36:33 +00:00
skodak
26de8d35ce
fixed text field widths in new forms
2007-01-11 19:47:08 +00:00
jamiesensei
271ffe3f25
various formslib work including bug fixes for MDL-8039 id attribute collision between forms and page ids. Also added editor helpbutton. This is a fix for MDL-6941 need the ability to associate several helptopics with htmleditor. Also started on converting forms for question types to formslib.
2007-01-07 12:46:47 +00:00
jamiesensei
18a7736107
added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code.
2007-01-05 04:51:46 +00:00
jamiesensei
ebff6e2c5e
better code formatting
2006-12-28 16:44:47 +00:00
jamiesensei
f07b9627b6
changes to how we generate the id attribute of forms and the naming convention of forms
...
migrate blog edit to formslib
2006-12-28 09:32:45 +00:00
jamiesensei
a23f0aaf95
* Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
...
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
2006-12-19 07:03:08 +00:00
jamiesensei
19194f825a
added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method
2006-12-14 12:44:10 +00:00
jamiesensei
19110c573d
added new 'cancel' element type and introduced new is_cancelled() MoodleQuickForm method.
...
also used new cancel button in all mod_forms as well as a 'Revert' button and reworked logic about where to go on cancel or after submission for modedit.php
2006-12-04 09:36:30 +00:00
jamiesensei
49eacbe328
added check to see if at least two choices have been entered when setting up or updating a choice activity.
2006-11-27 09:02:35 +00:00
jamiesensei
74e01e6281
changed name of submit buttons to submitbutton instead of sumbit as submit was conflicting with method form.submit()
2006-11-24 16:38:22 +00:00
jamiesensei
8e308b00c7
little bit of white space cleaning up
2006-11-24 12:49:32 +00:00
jamiesensei
ebd3c7ac94
added repeat_elements method to moodleform and used method for choice form
2006-11-24 12:20:26 +00:00