1475 Commits

Author SHA1 Message Date
toyomoyo
66c574c908 replacing fieldsets with divs for small forms 2007-03-02 01:03:50 +00:00
tjhunt
31f6834e36 Fix upgrade that MySQL could not cope with. 2007-03-01 16:47:55 +00:00
toyomoyo
e5c158bbbd fixing javascript error in MDL-8652 2007-03-01 05:47:57 +00:00
tjhunt
b9ea2b7ad5 Add a unique index to the question_numerical_units table, to prevent duplicate units being created. 2007-02-28 17:19:04 +00:00
tjhunt
a0807a0091 XHTML Strrrrrrict! on quiz module config page.
Fix errors when config changes are saved.

Merged from MOODLE_18_STABLE.
2007-02-28 12:24:54 +00:00
tjhunt
645dff1cf7 Correct logic for stopping people using guest access from doing quizzes. Merged from MOODLE_18_STABLE. 2007-02-28 11:34:50 +00:00
toyomoyo
862c219ae9 merged replacing <fieldset> with <div> 2007-02-28 08:01:41 +00:00
toyomoyo
375ec5a5b0 merged fix for MDL-8655, replacing <fieldset> with <div> 2007-02-28 07:11:58 +00:00
toyomoyo
5328c274d5 merged fix for MDL-8686, MDL-8576, replacing <fieldset> with <div> for display issues 2007-02-28 04:58:48 +00:00
tjhunt
5eb266d8aa Improve quiz editing screen layout a little bit based on a usability suggestion in the forums.
Also, fix uppercase tag names in the tab row CSS, which did not work at DEVELOPER debug level.

Merged from MOODLE_18_STABLE.
2007-02-27 14:01:46 +00:00
jamiesensei
f5efac7b85 fixes (MDL-8449) Quiz start and close times should allow the teacher to select a time as well as a date. 2007-02-26 06:38:47 +00:00
tjhunt
37b9e8bccc Another wretched adslashes problem. Roll on placeholder. Thanks to Howard Miller. Merged from MOODLE_18_STABLE. 2007-02-20 15:18:46 +00:00
tjhunt
624cbc9c26 MDL-4793 - Option to show question text in the question bank. Also, fix layout problems on the quiz editing screen. Merged from MOODLE_18_STABLE. 2007-02-20 01:48:09 +00:00
vyshane
2585a68d54 Merged from 1.8. 2007-02-16 08:46:55 +00:00
moodler
1934b87667 Updated versions and requires (primarily because of formslib dependencies) 2007-02-02 13:02:24 +00:00
tjhunt
09f7fa1183 Missing serf_default on decimal points field. 2007-01-26 17:52:23 +00:00
moodler
0406113fa9 FIxed tabs for quizzes 2007-01-26 06:59:16 +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
tjhunt
901011fd4d MDL-8205 - Layout of quiz editing screen not right 2007-01-18 17:38:51 +00:00
mchurch
7c4b621a20 Fixing bug where quizzes from 1.4 will lose their answers when upgraded to later versions.
Fixes MDL-8207.
2007-01-16 22:02:07 +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
moodler
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +00:00
vyshane
0927589412 Xhtml fixes for MDL-7861. 2007-01-09 09:07:16 +00:00
skodak
ff8889d8cf MDL-7861 still some icons left ;grr previous commid had wrong MDL id 2007-01-08 20:38:03 +00:00
skodak
0f13ec8f9b MDL-8105 some more icon class fixes including new .iconhelp for help and docs icon 2007-01-08 20:30:38 +00:00
skodak
60af27037b MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed 2007-01-08 19:34:16 +00:00
jamiesensei
08224df157 migrated randomsamatch to formslib.
fixed small typo in quiz mod_form
2007-01-08 13:58:42 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +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
skodak
d2ce367fb9 MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera) 2007-01-06 19:22:58 +00:00
jamiesensei
18a7736107 added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code. 2007-01-05 04:51:46 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +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
skodak
4702be4ef7 MDL-8028 Add separate addslashes_js function for javascript quoting 2007-01-01 13:26:20 +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
tjhunt
77ed3ba5fd MDL-8002 - Don't show overall feedback for incomplete quiz attempts.
Also, cleanup of mod/quiz/index.php
2006-12-22 12:52:13 +00:00
moodler
5f60ed9b6a Added CDATA to Javascript 2006-12-22 04:25:00 +00:00
skodak
77c7f0f549 MDL-7996 Add ods export support - quiz report and number value, call time pass by ref... warnings fixed; fix in ods export lib 2006-12-21 20:34:51 +00:00
toyomoyo
83e09b629a MDL-7861, fixing broken xhtml 2006-12-21 02:12:44 +00:00
jamiesensei
cc8cbf5591 got rid of extra help button that shouldn't have been there. 2006-12-19 11:43:32 +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
toyomoyo
3f5abcb20a accessibility fixes 2006-12-14 07:48:40 +00:00
toyomoyo
077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
tjhunt
f4b7d5a3f9 Restore notices. 2006-12-11 17:12:04 +00:00
tjhunt
1ff4cfaf6a MDL-7886 - typo in overview report javascript. 2006-12-11 14:03:01 +00:00