7975 Commits

Author SHA1 Message Date
skodak
adf8f3f9ad MDL-19668 improvements of _with_advanced admin setting classes finished, quiz settings updated too 2009-06-30 16:55:56 +00:00
skodak
c304d58106 MDL-19668 renaming textbox and select elements 2009-06-30 15:23:33 +00:00
moodler
cadf365256 mod/assignment/type/online MDL-14045 Just tidying up code and removing inappropriate styles 2009-06-30 07:40:08 +00:00
tjhunt
a5cb8d6987 MDL-19077 - Finish eliminating customcorners-specific code in core.
The custom-corners-specific code now in theme/customcornser/renderers.php
and lib/deprecatedlib.php.

Also, $CFG->pixpath is now causing more problems than ever. If it is
giving your problems, please call $OUTPUT->initialise_deprecated_cfg_pixpath()
as a temporary fix. As you can imagine, we are thinking about a better
long-term fix, which is why that method as a silly, and easy to grep name.
2009-06-29 08:17:31 +00:00
samhemelryk
f3665549b8 mod-scorm MDL-16706 Replaced inline JS with new PAGE methods and created player.js 2009-06-29 02:38:22 +00:00
stronk7
ce40c8ff2b MDL-19579 code coverage - add more initial $includecoverage attributes 2009-06-26 18:12:05 +00:00
tjhunt
34a2777ccb themes: MDL-19077 new $OUTPUT->header/footer to replace print_header/footer.
Also, part of the change from weblib.php functions to $OUTPUT-> methods.

This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

This is a big change, and the result is not perfect yet. Expect some debugging output
on some pages.

The main part of these changes are that $OUTPUT->header now looks for a file
in the theme called layout.php, rather than header.html and footer.html. Also
you can have special templates for certain pages like layout-home.php. There is
fallback code for Moodle 1.9 themes, so they still work.

A few of the old arguments to print_header are no longer supported. (You get an
exception if you try to use them.) Sam H will be cleaning those up.

All the weblib functions that have been replaced with $OUTPUT-> have version in
deprecatedlib, so existing code will go on working for the foreseeable future.
2009-06-26 09:06:16 +00:00
samhemelryk
002575adeb mod-forum MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 07:49:37 +00:00
samhemelryk
a39fe289b0 mod-feedback MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 07:32:52 +00:00
samhemelryk
0763ab2c65 mod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 06:53:23 +00:00
samhemelryk
bd257031a9 mod-scorm MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 06:31:26 +00:00
samhemelryk
8ab94a36fe mod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 05:55:55 +00:00
samhemelryk
30972c2bac mod-chat MDL-16706 Removed inline JS and replaced with new PAGE methods
Removed print_header $meta at same time as no longer used
2009-06-26 05:49:33 +00:00
samhemelryk
cafe98f394 mod-resource-file MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 05:12:43 +00:00
samhemelryk
1d6b319b11 mod-resource MDL-16706 Removed inline JS and replaced with new PAGE methods 2009-06-26 04:04:31 +00:00
tjhunt
75b7cac00d quiz: Fix copy/paste error. 2009-06-25 06:58:43 +00:00
tjhunt
fa98e6d15a Kill some debug code. 2009-06-25 06:56:41 +00:00
samhemelryk
ba458143e3 mod-lesson MDL-16706 Removed inline scripts and modified timer to take obj args 2009-06-25 06:29:41 +00:00
samhemelryk
48876da59e mod-survey MDL-19621 Fixed notices appearing in generated charts 2009-06-25 04:04:01 +00:00
samhemelryk
74ef4c2e5a mod-survey MDL-16706 Removed inline script in survey and added survey.js 2009-06-25 03:46:59 +00:00
tjhunt
c207b6bece Remove a few unnecessary references to global $THEME. 2009-06-25 03:26:58 +00:00
samhemelryk
68533e531a mod-forum MDL-19620 Replaced get_db_family with get_dbfamily 2009-06-25 03:08:05 +00:00
samhemelryk
970df3e01f modforum MDL-16706 Removed inline js script call in mod forum 2009-06-25 02:57:46 +00:00
nicolasconnault
a52c344aab MDL-16438 Reverting upgrade of assignment/lib.php. get_plugin_types() is not fully implemented and doesn't yet support assignment types. 2009-06-25 01:32:44 +00:00
skodak
7de5a29a33 MDL-19611 fixing regression - video icon disappeared 2009-06-24 23:15:24 +00:00
skodak
5a4ba49ca7 MDL-19611 fixing regression - video icon disappeared 2009-06-24 22:54:49 +00:00
skodak
ff5fe31160 MDL-19580 cleanup of require css and js filepicker code 2009-06-24 22:34:29 +00:00
tjhunt
5af6ec1b2e MDL-19600 remove remaining traces of docstyles.php.
(Not used since Moodle 1.6.)
Also remove the remaining bits of lang/en_utf8/docs.
2009-06-23 04:39:11 +00:00
samhemelryk
7bfe17822a modforum MDL-16706 Removed inline js script call in mod forum and added forum.js 2009-06-23 03:16:16 +00:00
samhemelryk
9f3193726c javascript MDL-16706 Removed inline script call in mod choice and scorm 2009-06-23 01:18:22 +00:00
samhemelryk
2cc0fd76e1 modfeedback MDL-16706 Removed inline scripts in mod feedback and added feedback.js 2009-06-22 04:11:25 +00:00
moodler
bb8f37595a Some old fixes for whitespaces etc (coding style) 2009-06-22 03:53:02 +00:00
samhemelryk
9d0cffa554 moddata MDL-16706 Removed inline scripts in mod data and added data.js 2009-06-22 03:16:25 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak
69429650c4 MDL-19211, MDL-19544 improved editor embedding, media and dragmath enabled only when moodle configuration and current user permissions allow it to work 100% 2009-06-20 11:00:40 +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
stronk7
ce174f776f MDL-19460 wiki - disable by default undocumented interwiki links. Can be ebabled with $CFG->wiki_allow_interwiki = true; merged from 19_STABLE 2009-06-15 15:11:20 +00:00
tjhunt
25ddb7efc9 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
This is the final batch.
2009-06-15 07:57:53 +00:00
tjhunt
c28bf5c9f8 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
Also, some related JavaScript cleanup.

More to follow.
2009-06-15 05:37:57 +00:00
skodak
fc29e51b2d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:34:43 +00:00
skodak
a8f3a651c0 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:16:08 +00:00
skodak
979425b584 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:04:21 +00:00
skodak
0bcf8b6f0d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:55:51 +00:00
skodak
a8c31db2a3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:47:18 +00:00
skodak
9d7493399d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:35:10 +00:00
skodak
bb4b6010f3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:17:10 +00:00
agrabs
b68bff82c9 MDL-19497 - group selection is broken 2009-06-13 14:17:00 +00:00
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
samhemelryk
e30d7983a4 cssclasses MDL-17525 Added next and previous classes to quiz pagination links 2009-06-10 08:35:45 +00:00
samhemelryk
fa3835a137 quizheader MDL-18896 Hides quiz closes and feedback if no quizzes use them
Note: Feedback will be shown if there are any possible feedbacks that may one day be used
2009-06-09 08:31:18 +00:00