36831 Commits

Author SHA1 Message Date
skodak
41d2f7f781 MDL-16438 fixed incomplete plugin centralisation, sorry; unfortunately install is kind of non-working now; this may break current dev installs :-( 2009-07-02 15:02:51 +00:00
skodak
db4ecf4c7f MDL-16438 dixed resource borking install - no code execution in lib.php files! 2009-07-02 15:01:22 +00:00
skodak
66491cf130 MDL-19415 fixing deprecated use of contructors 2009-07-02 14:58:41 +00:00
sam_marshall
430c12fa74 MDL-19692: Wording change in help for completion tickboxes, again based on user testing 2009-07-02 14:44:42 +00:00
skodak
f071ad0269 MDL-19696 veryveryuglyhack which partially ubreaks installation after latest pagelib changes 2009-07-02 13:39:55 +00:00
tjhunt
bdbc743c1f Fix some grader report breakage. 2009-07-02 12:43:19 +00:00
tjhunt
42d5737a94 MDL-19690 fix some breakage. 2009-07-02 12:35:13 +00:00
tjhunt
5ef444007d MDL-19690 - Eliminate all remaining $CFG->modpixpath apart from mod/scorm 2009-07-02 12:25:19 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
c8873c496b MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
2009-07-02 11:23:47 +00:00
tjhunt
f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
tjhunt
5d3b999468 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:26:02 +00:00
tjhunt
73511be761 MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:12:19 +00:00
tjhunt
4096752d1d MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:06:39 +00:00
tjhunt
3aaa27f4cd output: MDL-19690 allow for .png or .gif in $OUTPUT->mod/old_icon_url 2009-07-02 09:28:19 +00:00
sam_marshall
e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00
tjhunt
ebebf55cad output: MDL-19690 icon_finder classes and $OUTPUT->mod/old_icon_url
This is ready to replace $CFG->pixpath and $CFG->modpixpath soon.
2009-07-02 08:49:25 +00:00
nicolasconnault
9ee67e60b4 Removed redundant require_capability and require_login, causing havoc on new module page. 2009-07-02 07:49:12 +00:00
samhemelryk
5fdb159e54 grade-edit-tree MDL-16706 Removed inline script 2009-07-02 07:45:44 +00:00
nicolasconnault
57a29a9735 Removed useless require_capability, causing havoc on new module page. 2009-07-02 07:44:56 +00:00
samhemelryk
f14c0f1d84 pagelib MDL-19077 Fixed minor error in pagelib 2009-07-02 07:29:08 +00:00
tjhunt
db8d89d822 MDL-19077 I just found a way to reduce the coupling between the classes. 2009-07-02 07:06:25 +00:00
tjhunt
67255ce1d3 XHTML strict 2009-07-02 06:57:21 +00:00
samhemelryk
618a452947 mod-quiz MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:46:47 +00:00
nicolasconnault
98f7f6919e MDL-19677 Reverting prematurely committed blog patch 2009-07-02 06:43:43 +00:00
samhemelryk
0e2f318080 mod-scorm MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:40:54 +00:00
samhemelryk
8f36c245ed mod-assignment MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:37:30 +00:00
samhemelryk
ddbeb7a7ec chat ajax MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:00:59 +00:00
nicolasconnault
54dad8a88f MDL-19677 Removing prematurally added setting 2009-07-02 05:55:24 +00:00
samhemelryk
82a91b718d course reports MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 04:14:41 +00:00
samhemelryk
2a29ba7edb admin reports MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 04:10:56 +00:00
samhemelryk
747b85cb00 ajaxlib MDL-19077 Added strings_for_js method 2009-07-02 04:07:53 +00:00
samhemelryk
8373b720a2 user MDL-16706 updated user.js 2009-07-02 04:03:04 +00:00
samhemelryk
25a2bfda22 user MDL-16706 Elimate inline scripts, replaced with PAGE methods, created user.js 2009-07-02 04:02:40 +00:00
samhemelryk
e1524dbe5c weblib MDL-16706 Elimate inline scripts, replaced with PAGE methods 2009-07-02 03:47:05 +00:00
moodlerobot
a657df7c5b Updated the HEAD build version to 20090702 2009-07-02 00:38:12 +00:00
nicolasconnault
856b6fe6d2 MDL-19676 Removed course and group visibility settings for blog 2009-07-01 08:49:47 +00:00
nicolasconnault
6e155d1c00 MDL-19677 Upgrading sites that use $CFG->bloglevel == BLOG_GROUP_LEVEL or BLOG_COURSE_LEVEL to BLOG_SITE_LEVEL, and removed these options from admin/settings/security.php 2009-07-01 08:17:53 +00:00
skodak
cdaacf753f MDL-19674 even uglier hack whcih works around the pixpath problem, the long term solution is to write a new setting 2009-07-01 08:10:06 +00:00
tjhunt
b70094743a themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.

CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)

Admin UI for choosing a theme cleaned up.

A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php

Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
2009-07-01 05:54:26 +00:00
tjhunt
0456fc1ac4 MDL-19674 - err - slighly more sensible version of the previous commit. 2009-07-01 04:17:31 +00:00
tjhunt
14ab5ca92b Grrrr!!! MDL-19674 2009-07-01 04:13:47 +00:00
dongsheng
96705c332a "MDL-19077, pixpath is broken, use initialise_deprecated_cfg_pixpath() as a temporary fix" 2009-07-01 04:11:52 +00:00
nicolasconnault
93feac1719 MDL-19673 Removed the semi-transparent underlay of YUI tooltips, they don't work in IE. Merged from MOODLE_19_STABLE 2009-07-01 03:57:05 +00:00
samhemelryk
afa2dcad43 outputlib pagelib MDL-19236 Cleaned up PHPdocs on a couple of functions 2009-07-01 03:47:52 +00:00
dongsheng
4769306136 "MDL-19180, url plugin, grab image resources only" 2009-07-01 03:46:20 +00:00
moodlerobot
19f443c936 Updated the HEAD build version to 20090701 2009-07-01 00:38:58 +00:00
iarenaza
afacbf004a CAS authentication: MDL-19671 phpCAS::getUser can return a mixed-case username, so lower-case it for comparison.
Merged from MOODLE_18_STABLE
2009-06-30 23:33:11 +00:00
skodak
adf8f3f9ad MDL-19668 improvements of _with_advanced admin setting classes finished, quiz settings updated too 2009-06-30 16:55:56 +00:00