Commit graph

4826 commits

Author SHA1 Message Date
skodak
09b14fec34 MDL-7996 Add ods export support - better xml from KSpread 1.6.1 :-) 2006-12-21 22:18:17 +00:00
martinlanghoff
ccc776694d debugging(): our errors must be passed to PHP as E_USER_NOTICE 2006-12-21 21:56:49 +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
skodak
ea49a66cea MDL-7996 Add ods export support - added ods to course logs with other minor fixes, implemented date support and added missing stub functions for better excel class compatibility 2006-12-21 10:58:18 +00:00
skodak
9c61ba4d88 MDL-7996 Add ods export support 2006-12-21 08:12:10 +00:00
martinlanghoff
47b8b9eb80 Introducing $CFG->debugdisplay -- mimics PHPs display_errors, controls debugging() 2006-12-21 04:30:03 +00:00
martinlanghoff
4bd0ddeafa debugging(): use CFG->debugdisplay instead of PHPs display_errors 2006-12-21 04:03:21 +00:00
martinlanghoff
c7533061ef debugging(): use trigger_error() when !display_errors -- now you can debug stuff without breaking HTTP headers, HTML and JS 2006-12-21 02:51:20 +00:00
vyshane
9e2679e395 Added missing html closing tags in function redirect() before the die call. MDL-7861. 2006-12-20 05:56:38 +00:00
jamiesensei
da43c002ff fix for MDL-7937 'Fatal error: Call to a member function on a non-object in /var/www/dev/lib/pear/HTML/QuickForm.php on line 602 error' 2006-12-19 11:18:06 +00:00
toyomoyo
b2603953be MDL-7861, taking out <br/>s in title tag 2006-12-19 07:19:13 +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
64034641cf MDL-7861, adding third param to error() function to print correct admin footer 2006-12-19 06:58:20 +00:00
toyomoyo
92a6d3f510 MDL-7861, adding third param to notice() function, so that the right footer is printed. Currently missing admin footer 2006-12-19 06:49:45 +00:00
skodak
b91b1f9297 MDL-7974 Weekend Days Settings Chooses Wrong Day after Saving 2006-12-18 18:07:03 +00:00
sam_marshall
ad9947a857 MDL-7969 Documented requirement for first column in get_records_sql etc to be a unique field such as id. 2006-12-18 13:54:31 +00:00
skodak
fd9b61e04f MDL-7861 added proper s() quoting into user image alt text and popup title 2006-12-18 08:08:15 +00:00
vyshane
9f4dff704b Merged from 1.7. 2006-12-18 06:26:23 +00:00
vyshane
bc75cc5210 Added 2 new functions: question_get_feedback_image() and question_get_feedback_class(). 2006-12-18 06:07:44 +00:00
moodler
0a5872450a Commented out header.php because it's not in CVS yet 2006-12-18 04:43:12 +00:00
moodler
2ae2200286 Removed bad character 2006-12-18 04:38:53 +00:00
tjhunt
0dae5d33a7 MDL-7926 - set_field_select function. Merged from MOODLE_17_STABLE. 2006-12-15 18:23:31 +00:00
jamiesensei
19194f825a added setAdvanced MoodleQuickForm method. And added closeHeaderAfter method 2006-12-14 12:44:10 +00:00
vyshane
67c0e16eed Merged from 1.7. 2006-12-14 08:10:41 +00:00
vyshane
53a4443bae Merged from 1.7. 2006-12-14 07:48:40 +00:00
toyomoyo
3f5abcb20a accessibility fixes 2006-12-14 07:48:40 +00:00
vyshane
e9880ed208 Merged from 1.7. 2006-12-14 04:47:29 +00:00
toyomoyo
077f381461 accessiblity, associating <th> with respective row or col 2006-12-13 08:24:23 +00:00
skodak
7850588ab8 MDL-7909 add optional id parameter to choose_from_menu() and print_textarea() + minor quoting improvement in choose_from_menu() 2006-12-12 22:06:37 +00:00
sam_marshall
dc268b2f24 MDL-7904: Trivial change to load_capability_def (so it works if run multiple times for the same file during one PHP run) 2006-12-12 17:23:31 +00:00
toyomoyo
62fb666445 making default scope col for <th> 2006-12-12 08:11:49 +00:00
moodler
27f79fdab0 Added changes suggested by Nick in MDL-7883 to help debug XHTML strict
It only affects DEBUG_DEVELOPER mode, and causes the browser to break when it encounters non-strict XHTML.

I took out the changes for DEBUG_NORMAL for now, might be premature.
2006-12-12 07:24:32 +00:00
skodak
049bd7dbbd fixed cleantext producing two spaces between element attributes instead of one MDL-7894 2006-12-11 22:07:53 +00:00
sam_marshall
ae628043a0 MDL-7401 Course format database/backup/lang/stylesheet/capability support 2006-12-11 15:47:23 +00:00
nfreear
fb132873d9 Fixes MDL-7884 "XML well-formed bug, need space before 'checked' attribute." (Merged from MOODLE_18_GROUPS) 2006-12-11 11:29:19 +00:00
jamiesensei
84b4a843ed removed whitespace at the end of file causing headers already sent errors 2006-12-11 10:07:47 +00:00
vyshane
122223e8ab Fix for MDL-7493.
We basically replace the plus and minus hide buttons when the elementToggleHide javascript function is called.
2006-12-11 07:10:07 +00:00
jamiesensei
44875d7898 added code to include hidden labels in groups in forms 2006-12-09 14:06:15 +00:00
skodak
c1be9b31a2 MDL-7734 fixed warning when $course not defined when printing help button; merged from MOODLE_17_STABLE 2006-12-09 13:34:26 +00:00
jamiesensei
4dd564ddb2 small fix to disabledIf initiation 2006-12-09 11:45:24 +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
toyomoyo
03bb25e1df merged fix for MDL-7766, calendar not displaying course events 2006-12-08 07:56:07 +00:00
vyshane
6d1f553bad Added language drop down to tag text as different languages for screen readers and to tag text as different languages for the multilang filter. MDL-7437. 2006-12-08 04:44:24 +00:00
toyomoyo
acf2052b05 merged fix for MDL-7592, get_course_students() bug 2006-12-08 02:22:25 +00:00
jamiesensei
46e648b610 added Sam's 'enabled' checkbox functionality 2006-12-07 10:39:28 +00:00
toyomoyo
22ae509e9c merged implementing moodle/user:viewdetails 2006-12-07 06:14:52 +00:00
jamiesensei
dbc6607baa added some strings for labels for dateselector and datetimeselector day, month etc. elements. These are not used yet. 2006-12-07 05:37:41 +00:00
toyomoyo
2ca05411a9 merged fix for MDL-7734, making help links respect course langs 2006-12-07 02:19:13 +00:00
sam_marshall
de312b53bb MDL-7816 Added optional (checkbox) facility to quickform dateselector 2006-12-06 14:50:57 +00:00
toyomoyo
8dc9a21139 adding scope="col" for table headers 2006-12-06 03:59:55 +00:00