samhemelryk
4d49202ffc
javascript-UFO MDL-19738 Stopped ufo.js being included in outputlib and included it in each place it was actually being used.
...
It will no only be loaded when it is being used. If something new comes along they will need to remember to require it.
At the same time cleaned up a few deprecated calls
2009-07-08 04:12:11 +00:00
samhemelryk
e11a8328b3
javascript MDL-16673 Removed all removeable uses of CFG->javascript
...
In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
2009-07-07 09:09:16 +00:00
samhemelryk
19c9f09430
filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon
2009-07-07 06:16:01 +00:00
tjhunt
d436d197d1
MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
...
Including MDL-19693
RIP $CFG->pixpath
2009-07-03 07:55:30 +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
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
stronk7
ce40c8ff2b
MDL-19579 code coverage - add more initial $includecoverage attributes
2009-06-26 18:12:05 +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
fa98e6d15a
Kill some debug code.
2009-06-25 06:56:41 +00:00
skodak
ff5fe31160
MDL-19580 cleanup of require css and js filepicker code
2009-06-24 22:34:29 +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
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
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
samhemelryk
6b60b0004e
resource MDL-18691 Implemented resource_get_name in one more place for dropdowns
2009-06-09 05:13:48 +00:00
samhemelryk
28f672b2df
mod lib MDL-19294 Added boilerplate and phpdocs
2009-05-28 05:30:46 +00:00
tjhunt
4e1132a8c5
forum: MDL-19119 missing requires now course/lib.php is not included everywhere.
...
Put in most of the obvious missing require_once($CFG->libdir . '/completionlib.php');
2009-05-08 09:00:41 +00:00
stronk7
99e8a8a838
MDL-13826 link/file resource - check maximum length ; merged from 19_STABLE
2009-05-07 20:41:33 +00:00
tjhunt
93d4a373f9
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere
2009-05-06 09:13:16 +00:00
tjhunt
ad52c04f4c
moodle_page: MDL-12212 Kill legacy url_... and blocks_... methods
...
Start calling $PAGE->set_url in all the places it will be necessary
Start of a stub implementation of $PAGE->blocks to stop other things breaking
Remove some of the special case methods in admin_page
2009-05-06 08:55:53 +00:00
stronk7
74c288a100
MDL-18577 drop enums support - step2: enums out from install.xml files
2009-05-01 14:07:43 +00:00
dongsheng
b8aa76c1a4
"MDL-19037, use getremoteaddr to get remote ip address"
2009-05-01 03:04:10 +00:00
stronk7
2a88f626f7
MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts.
2009-05-01 01:19:16 +00:00
skodak
ac3668bfae
MDL-18910 full support for module intro editor with embedded images
2009-04-22 05:10:08 +00:00
skodak
dc5c2bd9eb
MDL-18910 full support for module intro editor with embedded images
2009-04-21 21:17:21 +00:00
skodak
42f103be4c
MDL-18910 moving modedit features to modname_supports()
2009-04-21 08:57:20 +00:00
skodak
8b6c22a657
MDL-18910 normalised module intro and introformat
2009-04-20 19:42:38 +00:00
fmarier
316914bf6e
MDL-17037 ran all GIF images through gifsicle and PNG through optipng
2009-04-05 23:33:00 +00:00
fmarier
c93dae38f0
mod/resource: MDL-18641 ability for resource type plugins to specify their own icon
2009-04-03 01:13:42 +00:00
fmarier
13ca1e06b8
mod/resource: MDL-18691 allow custom resource types to specify their name in their own lang directory
...
Before this change, the full name of the resource type had to be stored in the "resource" namespace (for example in /mod/resource/lang/en_utf8/resource.php).
Now it can be put in the "resource_foo" namespace:
e.g. in /mod/resource/type/foo/lang/en_utf8/resource_foo.php:
<?php
$string['resourcetypefoo'] = 'Link to a Foo Bar document';
?>
2009-03-27 03:21:10 +00:00
mudrd8mz
081a9b0dad
MDL-18644 Bugs found by syntax checker, merged from MOODLE_19_STABLE
2009-03-23 09:53:02 +00:00
stronk7
3b348bbf4d
MDL-17934 flv player in resources - allow full screen. Credit goes to Darren Jones. Merged from 19_STABLE
2009-03-02 23:41:55 +00:00
dongsheng
d7860ff9f1
"RESOURCE/MDL-17696, remove extra div, merged from 1.9"
2009-02-18 08:10:35 +00:00
stronk7
aab0cd1851
MDL-18244 sql_length() - apply new function to resource names filter ; merged from 19_STABLE
2009-02-15 23:23:41 +00:00
skodak
0cb93a7e45
MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-)
2009-01-29 19:58:47 +00:00
skodak
9c82ff2acd
MDL-17457 migrated all modules to new db/install.php; added upgrade.txt file for devs converting contrib modules
2009-01-12 21:13:28 +00:00
skodak
c5b8b31ad5
MDL-17617 removed some uses of snoopy library
2009-01-08 15:01:19 +00:00
jerome
4d800fd210
resource: MDL-10021 upload file resource: change "keep navigation visible" into select box (No, yes with frame, yes without frame)
2009-01-08 04:27:44 +00:00
skodak
973d2660e6
MDL-16613 sesskey cleanup
2009-01-02 10:51:26 +00:00
skodak
d1aa1e4855
MDL-17758 fixed hardcoded /admin/ links
2009-01-01 14:25:29 +00:00
dongsheng
771dc7b298
"MDL-14129, fix error() in moodle2"
2008-12-12 05:45:43 +00:00
dongsheng
ff9b4ea40a
"MDL-17570,clean align property, merged from 1.9"
2008-12-10 07:24:11 +00:00
dongsheng
85db96c5b4
"MDL-17570, cleanup align property in div, merged from 1.9"
2008-12-10 06:48:54 +00:00
stronk7
e6b3d18342
MDL-17518 resource names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE
2008-12-07 17:34:37 +00:00
skodak
214b1cf7a8
MDL-17428 Do not include in the middle of file in global scope
2008-11-27 22:46:34 +00:00
iarenaza
7045cfaa02
file resources: MDL-14541 Object tag embedding PDF's and nested Flash objects does not work reliably
...
Merged from MOODLE_19_STABLE.
Credit goes to David Boyer for reporting and suggesting the fix for PDF files,
and Jon Witts & Mauno Korpelainen for proving a way to reproduce the Flash
issue and tips to fix it.
2008-11-15 12:27:26 +00:00
tjhunt
9101efd312
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
...
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
jerome
74b4fa56d0
MDL-10021: display iframe when the resource is on another domain, merged from 19
2008-11-04 05:19:01 +00:00
jerome
b54327f0b4
MDL-10021: fix xhtml/javascript + build_navigation(), merged from 1.9
2008-11-04 02:27:23 +00:00
jerome
bc0b96fc2d
MDL-10021: change frame into object tag when display a Link Resource with navigation bar, merged from 19
2008-10-31 06:04:30 +00:00