tjhunt
4262a2f806
lesson: MDL-19890 Fix block-printing code in lesson (I hope)
...
This got broken by one of the commits for MDL-19077 & MDL-19010
2009-07-23 10:01:19 +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
tjhunt
4096752d1d
MDL-19690 - first 53 $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 10:06:39 +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
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
nicolasconnault
6dbcaceef1
MDL-19418 Replaced ereg* by preg*
2009-06-22 01:22:37 +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
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
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
8cc8611142
mod lib MDL-19294 Added boilerplate and phpdocs
2009-05-28 03:51:39 +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
Moodle HQ git importer
a54bf344c8
Fixing drift between CVS and git
2009-05-07 00:35:40 +00:00
skodak
c9a433cdd6
MDL-18670 adding proper permissions for mkdir(); merged from MOODLE_19_STABLE
2009-05-06 16:10:45 +00:00
tjhunt
40d6de1af6
pagelib: MDL-12212 eliminate data_lesson
2009-05-06 09:31:08 +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
tjhunt
4873f5f709
moodle_page: MDL-12212 Eliminate legacy blocks_ methods
...
moving blocks will now be broken until the new bockslib is done
2009-05-06 08:53:14 +00:00
tjhunt
d529807a65
moodle_page: MDL-12212 kill $CFG->pagepath (use $PAGE->set_pagetype)
...
deprecate $PAGE->get_format_name (use $PAGE->pagetype)
deprecate page_id_and_class (use $PAGE->pagetype)
2009-05-06 08:38:55 +00:00
tjhunt
31940ba622
moodle_page: MDL-12212 remove code in legacy page types that stores a course record
2009-05-06 08:35:39 +00:00
tjhunt
f230ce19ea
moodle_page: MDL-12212 implement ->pagetype
2009-05-06 08:34:32 +00:00
skodak
bd36925a97
MDL-19067 removed obsoleted string (never used in any STABLE branch)
2009-05-05 09:10:53 +00:00
skodak
6d40f12e5b
MDL-19067 removed obsoleted string (never used in any STABLE branch)
2009-05-05 09:05:27 +00:00
skodak
739ee4e679
MDL-19067 removed obsoleted string (never used in any STABLE branch)
2009-05-05 09:05:27 +00:00
skodak
b78267b641
MDL-19067 removed obsoleted string (never used in any STABLE branch)
2009-05-05 09:00:24 +00:00
stronk7
74c288a100
MDL-18577 drop enums support - step2: enums out from install.xml files
2009-05-01 14:07:43 +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
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
fmarier
316914bf6e
MDL-17037 ran all GIF images through gifsicle and PNG through optipng
2009-04-05 23:33:00 +00:00
mudrd8mz
081a9b0dad
MDL-18644 Bugs found by syntax checker, merged from MOODLE_19_STABLE
2009-03-23 09:53:02 +00:00
mark-nielsen
ab1e7c397f
shortanswer grading: MDL-18347 shortanswer was not grading correctly with custom scoring set to No, merged from 19
2009-03-17 16:27:40 +00:00
tjhunt
15b60b640f
lesson upgrade: My guess at how to fix the regressions from MDL-17101.
2009-03-09 03:11:29 +00:00
mark-nielsen
13b92708d2
lesson grading: MDL-17101 The lesson module was sending the incorrect raw grade values. Correcting the values by calculating the actual raw grade before sending to gradebook. Merged from MOODLE_19_STABLE and updated for trunk.
2009-03-06 19:03:46 +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
Jonathan Newman
4d933beb8a
cvsimport fixups
2009-01-20 23:53:34 +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
1045a0074c
MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead
2009-01-12 16:52:53 +00:00
tjhunt
19f5b2dbee
accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page.
2009-01-09 06:16:36 +00:00
skodak
d4a1fcaf11
MDL-16613 sesskey cleanup
2009-01-02 10:36:25 +00:00
dongsheng
771dc7b298
"MDL-14129, fix error() in moodle2"
2008-12-12 05:45:43 +00:00
thepurpleblob
5448544271
MDL-11090
...
Added absent trim - Thanks Tim :-)
Merged from STABLE_19
2008-12-10 09:39:02 +00:00
dongsheng
85db96c5b4
"MDL-17570, cleanup align property in div, merged from 1.9"
2008-12-10 06:48:54 +00:00
skodak
f63d6374a1
MDL-11090 merging forgotten version.php which breaks upgrade badly
2008-11-28 09:15:16 +00:00
thepurpleblob
79ae8789bb
MDL-17125
...
Fix as suggested by Jonathan Kemp.
Merged from STABLE_19
2008-11-26 15:15:58 +00:00
thepurpleblob
4d22ec8144
MDL-11090
...
Passwords are now held in clear text so you can see what the password
is on the config screen.
Still backward compatible with old md5 passwords (which are still not displayed
of course)
Merged from STABLE_19
2008-11-26 14:34:40 +00:00
thepurpleblob
508fe4d8b5
MDL-17411
...
defaultquestion() now reflects the one in the question bank code, thus supressing
lots of notices
Merged from STABLE_19
2008-11-26 13:10:18 +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
mudrd8mz
a51a5ee009
MDL-16506 Fixed error when deleting the only page in the Lesson. Credit goes to Chris Bertagne for the patch. Merged from 1.9
2008-10-09 11:07:34 +00:00
scyrma
2e7938bb9f
Lesson/MDL-13311: make it possible to have a short answer question using 0 has answer. (merge)
2008-10-07 05:20:05 +00:00