Commit graph

1257 commits

Author SHA1 Message Date
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
toyomoyo
9fcdacfdaf adding fieldset to form MDL-7861 2007-01-04 03:18:10 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak
e25cb71041 MDL-8050 1.2 Remove all target="_top" 2007-01-03 19:24:48 +00:00
moodler
f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
jamiesensei
1d284fbd85 fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling) 2006-12-28 15:43: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
moodler
704a26cbdd Fixed XHTML and Javascript insertion of tags into the templates 2006-12-22 04:55:41 +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
moodler
2d3da9b8eb XHTML compliance MDL-7861 2006-12-18 04:47:58 +00:00
skodak
488fa6f7f9 MDL-7959 improve rss template for Image gallery preset 2006-12-17 22:00:30 +00:00
skodak
aa3b20e9df MDL-7945 Database learning activity does not use user defined RSS template, but continues to use default template. 2006-12-17 21:48:51 +00:00
skodak
e076bccbc9 fixed number of rss articles in data mod settings - broken during new forms conversion 2006-12-17 21:12:23 +00:00
jamiesensei
19194f825a added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method 2006-12-14 12:44:10 +00:00
skodak
40b6dd0116 MDL-5964 need html editor for comments in database mod + added format sql table field
MDL-7813 accessiblity fixes in comments
2006-12-13 23:09:34 +00:00
skodak
bb828644ba xhtml and accessibility cleanup in data mod MDL-7813
* buttons reorganized - now displayed only with templates where usable
2006-12-13 21:02:01 +00:00
skodak
63efcb8c72 data preset coding style fixes 2006-12-13 20:32:13 +00:00
skodak
aab98aaff1 data mod whitespace cleanup - there are already many accessibility related changes and fixes that are not backportable anyway and merging from previous versions is not expected 2006-12-13 20:26:11 +00:00
skodak
b252c1ccf6 MDL-7822 Make imagegallery database template accessible - minor fixing 2006-12-13 09:58:55 +00:00
skodak
6c31d376c2 MDL-5696 fixed 'Checkbox' actually allows 'checkboxes' and empty 'options' (radio buttons too) 2006-12-13 09:53:59 +00:00
skodak
76a2fd8251 xhtml and accessibility cleanup in data mod MDL-7813
* preference form fixes

do not search for one character in data mod MDL-7911
2006-12-13 09:38:46 +00:00
skodak
007e4f6ede xhtml and accessibility cleanup in data mod MDL-7813
* image alt value is now called "Alternative text" because it should not be considered optional
2006-12-13 09:29:03 +00:00
skodak
a032a46017 xhtml and accessibility cleanup in data mod MDL-7813
* fixed labels in preference form
2006-12-13 09:22:47 +00:00
toyomoyo
077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
skodak
e357c206db xhtml and accessibility cleanup in data mod MDL-7813
* image galery preset accessiblity fixes MDL-7822
* xhtml fixes
* fields now use s() and p() where needed
* added labels to all fields - imporved accessiblity for adding of new entries
* some other general bugfixing and cleanup

it is still not finished though, expect some more commits tomorrow
2006-12-12 23:34:55 +00:00
skodak
1a57f3aa8d MDL-7909 add optional id parameter to choose_from_menu() and print_textarea() - needed data mod changes 2006-12-12 22:08:50 +00:00
skodak
9706fa5684 MDL-7905 Add new available tag for element id for in database mod - fixed renaming of field
and other cleanup
2006-12-12 20:10:32 +00:00
skodak
740902d0ff MDL-7822 Make imagegallery database template accessible 2006-12-12 20:09:23 +00:00
skodak
a5adbd0c39 MDL-7905 Add new available tag for element id for in database mod 2006-12-12 18:20:51 +00:00
skodak
5023c3abc8 MDL-6635 Template fields filtered twice 2006-12-11 09:35:27 +00:00
skodak
a3318c36b8 MDL-7455 Database Activity Fatal Error after removing filed used for sorting 2006-12-11 09:17:05 +00:00
skodak
014145051e MDL-7858 Textarea field of database activity needs two translation strings. 2006-12-11 09:03:35 +00:00
skodak
5cd079644a MDL-7881 Reset js template should make the template empty 2006-12-11 08:55:40 +00:00
skodak
be6d38eac4 MDL-7879 Removed available tags from CSS and Javascript template definition 2006-12-11 08:54:04 +00:00
toyomoyo
e420932827 merged fix for MDL-7270, fixing warnings 2006-12-11 03:14:32 +00:00
skodak
986b73b818 MDL-5585 Clicking on available tag does not enter it into html editor when defining database templates 2006-12-10 23:18:43 +00:00
skodak
6871e4e431 MDL-6234 - reworked available tags when editing database templates; fixed closing optgroup tag 2006-12-10 23:09:52 +00:00
skodak
061e2ce31e MDL-6234 - reworked available tags when editing database templates 2006-12-10 22:38:42 +00:00
skodak
f56f05dab1 MDL-5671 html editor can now be switched off on the fly while editing database templates; removed editor button from js and css template 2006-12-10 22:15:15 +00:00
skodak
af7dc2f8db MDL-7826 added labels to text areas in data mod template definitions 2006-12-10 22:11:41 +00:00
skodak
e21f9da6c8 MDL-7857 uninitialized context in mod/data/index.php 2006-12-10 20:21:10 +00:00
skodak
cca1547e7c MDL-7716 In visible groups mode, It is possible to put a database entries in other group that it his 2006-12-10 20:16:03 +00:00
skodak
411f589fa7 MDL-6668 Database mod search error on Postgres; patch by Lorenzo Nicora 2006-12-10 19:25:46 +00:00
skodak
0c097262c7 MDL-5671 html editor can now be switched off on the fly while editing database templates 2006-12-10 19:08:46 +00:00
skodak
e59a895b90 MDL-7855 Sanitize field type when importing presents into data mod 2006-12-10 17:31:00 +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
skodak
f2584d0ea2 MDL-6519 Dollar ($) signs in data module text fields not preserved. 2006-12-08 22:29:11 +00:00
skodak
0c4fe7d832 MDL-7848 Database presets import breaks non-null restriction on description 2006-12-08 22:23:45 +00:00
skodak
449e6414e5 MDL-7823 Fixed hardcoded strings and xhtml compliance, code cleanup, improved access control in mod/data/preset.php
minor changes in language pack, should not cause legacy problems
2006-12-08 19:36:00 +00:00