Petr Skoda
9dec75dbcc
MDL-21240 shortened urls now start with / everywhere
2010-01-18 20:57:32 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
191b267bcd
MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically
2009-12-27 12:02:04 +00:00
Petr Skoda
985d1d1d22
MDL-21187 brand new yui2 lib loading now using the official YAHOO oholoaders which properly resolves all dependencies; please note we are still suing the YUI2 CSS preloading
2009-12-25 15:27:47 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00
Petr Skoda
f44b10ed93
MDL-21139 replace all yui functions/methods with yui2 to make room for yui3
2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb
MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
2009-12-16 18:00:58 +00:00
Petr Skoda
0ac940b3bf
MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported
2009-11-04 19:24:12 +00:00
skodak
d18e0fe646
MDL-20353 adding missing data types of hidden form fields
2009-09-26 17:07:08 +00:00
dongsheng
22f6b8df6e
"MDL-16597, trim filemanager UI"
2009-09-24 09:05:41 +00:00
dongsheng
bc6f72350a
"MDL-16597, improve primary file selecting in filemanager"
2009-09-23 09:04:43 +00:00
moodler
438c2bfa68
filemanager MDL-16597 Removed TODO notices in preparation for Dongsheng's checkin soon
2009-09-17 06:54:01 +00:00
dongsheng
17295e0b03
"MDL-16597, support set primary file in resource module, add a parameter to filemanager element"
2009-09-08 07:55:22 +00:00
samhemelryk
ef8869c7fe
mod-resource MDL-19814 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents
2009-09-08 02:11:49 +00:00
nicolasconnault
a77e87bd68
MDL-19814 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:15:27 +00:00
skodak
f80563ff29
MDL-20065 updated TODO tasks with tracker numbers
2009-08-13 21:30:27 +00:00
skodak
aa54ed7b02
MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker
2009-08-13 20:45:50 +00:00
nicolasconnault
e087ee764a
MDL-19814 Migrated calls to close_window_button()
2009-08-06 02:51:41 +00:00
nicolasconnault
c91475c3a7
MDL-19814 Migrated calls to print_spacer()
2009-08-06 02:21:02 +00:00
tjhunt
084f4c15be
MDL-19882 Add remaining missing require_login-s before require_capability.
2009-07-20 09:46:53 +00:00
tjhunt
d4a03c00ea
themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
...
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)
Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)
The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.
How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.
Further refinement for how the theme and block code gets initialised.
Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)
Things that are still broken:
* some pages in lesson, quiz and resource. I'm working on it.
* lots of developer debug notices pointing out things that
need to be updated.
2009-07-09 07:35:03 +00:00
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