tjhunt
3e2e421922
XHTML strict
2009-07-03 07:17:41 +00:00
tjhunt
a28c92539e
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-03 06:38:41 +00:00
tjhunt
ddedf979b4
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-03 06:19:25 +00:00
nicolasconnault
4d13d47060
MDL-19677 Reverting prematurely committed blog patch
2009-07-03 05:54:49 +00:00
jerome
600313b982
output MDL-19077 typo bug
2009-07-03 04:08:52 +00:00
stronk7
0a7e899d86
MDL-6218 TEXT/BINARY columns and default clauses - forbidden since ages, warn and autofix them if found
2009-07-03 01:12:59 +00:00
skodak
b8e99844ef
MDL-19696 undoing my previous veryveryuglyhack, I did not solve much, sorry
2009-07-02 20:29:21 +00:00
stronk7
122e7ef56c
MDL-19057 ddl tests - slowly advancing. Added some test to check for MDL-19695 behaviour
2009-07-02 16:13:30 +00:00
stronk7
2baf1380d4
MDL-19695 field dependencies - defined new exception ddl_dependency_exception that
...
will be thrown when one DDL operation (drop only for now) is attempted over one
field being part of indexes.
2009-07-02 16:08:44 +00:00
stronk7
4276a19a78
MDL-19695 field dependencies - before committing the dependency checker, fix all places in upgrade
...
that will break once running with dependencies enabled
2009-07-02 16:05:47 +00:00
stronk7
fdc391470e
Enums are out in 2.0, so we cannot introduce any in the 1.9 => 2.0 upgrade. Deleting the upgrade block.
2009-07-02 15:30:30 +00:00
skodak
c1f58efef7
MDL-19699 fixed blog upgrade trouble and one notice
2009-07-02 15:14:23 +00:00
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
66491cf130
MDL-19415 fixing deprecated use of contructors
2009-07-02 14:58:41 +00:00
skodak
f071ad0269
MDL-19696 veryveryuglyhack which partially ubreaks installation after latest pagelib changes
2009-07-02 13:39:55 +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
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
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
samhemelryk
747b85cb00
ajaxlib MDL-19077 Added strings_for_js method
2009-07-02 04:07:53 +00:00
samhemelryk
e1524dbe5c
weblib MDL-16706 Elimate inline scripts, replaced with PAGE methods
2009-07-02 03:47:05 +00:00
nicolasconnault
856b6fe6d2
MDL-19676 Removed course and group visibility settings for blog
2009-07-01 08:49:47 +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
dongsheng
96705c332a
"MDL-19077, pixpath is broken, use initialise_deprecated_cfg_pixpath() as a temporary fix"
2009-07-01 04:11:52 +00:00
samhemelryk
afa2dcad43
outputlib pagelib MDL-19236 Cleaned up PHPdocs on a couple of functions
2009-07-01 03:47:52 +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
skodak
c304d58106
MDL-19668 renaming textbox and select elements
2009-06-30 15:23:33 +00:00
skodak
0c079f1912
MDL-19668 PHPDocs improvements and minor cleanup
2009-06-30 15:19:12 +00:00
tjhunt
b2104e9799
Fix typo
2009-06-30 12:29:14 +00:00
samhemelryk
17a6649b95
output MDL-19077 Implemented periodic refresh to meta refresh by delay
...
Also created layout-popup.php for standardwhite theme to provide a simpler template
2009-06-30 07:57:41 +00:00
tjhunt
210dcb69ee
XHTML strict
2009-06-30 06:00:12 +00:00
tjhunt
7544d13c28
MDL-19077 - re-fix the problem of exceptions being thrown in $OUTPUT->header
...
Also, fix lines theme.
2009-06-30 05:34:50 +00:00
samhemelryk
b7337ab7ec
outputlib MDL-19077 Fixed a typo I made in the has_started method
2009-06-30 02:58:09 +00:00
tjhunt
42fafd4b57
debug / lang string: MDL-19467 Debugging option to show where each lang string came from.
...
New option on Administration -> Server -> Debugging called
'Show origin of languages strings' ($CFG->debugstringids).
If this is set, get_string will add the name of the lang file and the id of the string
to each string it gets, so instead of returning 'No', it will return '{No admin/checkboxno}'.
2009-06-30 01:59:48 +00:00
stronk7
fcae2e3ba3
Fixed typo that was breaking badly custom_corner deprecated uses.
2009-06-29 17:11:34 +00:00
tjhunt
48adf91aaf
MDL-19077 - fix a $CFG->pixpath problem.
2009-06-29 09:19:53 +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
e877532055
lib MDL-19077 Created output redirect method and implemented against weblib redirect method
...
This resolves the meta bug that was used when redirecting with a delay
Thanks Tim for the help with this one
2009-06-29 07:19:05 +00:00
tjhunt
c84a2dbea2
MDL-19077 - change how $OUTPUT is initialised.
...
Please read the comment at the top of bootstrap_renderer in setuplib.php
2009-06-29 05:00:45 +00:00
samhemelryk
fc4f5796cc
formslib MDL-19626 Changed JS string handling to new $PAGE methods, Thanks Dan
2009-06-29 02:10:49 +00:00
samhemelryk
9262d2d30f
formslib MDL-19626 Fixed broken show/hide advanced button
...
Updated formslib showadvanced inline JS to use new $PAGE methods
and replaced inline noscript with css handled display
2009-06-29 01:58:11 +00:00
tjhunt
fd1a792e13
themes: MDL-19640 / MDL-19077 remove other references to _print_normal_error
2009-06-29 00:34:49 +00:00