134 Commits

Author SHA1 Message Date
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
318f05193e MDL-19714 Fatal errors when installing HEAD This is my attempt to fix things by copying code from setup.php to install.php. Seems to work now. 2009-07-05 02:16:56 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
skodak
082157a8b8 MDL-15249 refactoring normal installer in preparation for new cli installer + coding style changes 2009-05-25 17:18:31 +00:00
skodak
95feaf965f MDL-19235 updated license header in installer - completely rewritten for 2.0 + more inline docs 2009-05-21 10:08:58 +00:00
skodak
d764d4cae4 MDL-19235 updated license header in installer - completely rewritten for 2.0 2009-05-21 09:58:18 +00:00
stronk7
f571f5f554 MDL-18195 installer - always suggest/write paths using forward slashes 2009-02-11 17:00:39 +00:00
stronk7
08261d3ac1 MDL-18219 installer - respect $distro->dbtype after downloading langs 2009-02-11 16:39:49 +00:00
stronk7
cf89052aae MDL-18200 installer - create dataroot dir if possible 2009-02-11 16:16:52 +00:00
stronk7
768408e8dd MDL-18198 installer - change distro to distrolib.php and delete distro hack from installlib 2009-02-09 19:35:57 +00:00
skodak
64c368e3df MDL-18167 more distro hooks refactoring - agreed with Eloy 2009-02-07 20:03:25 +00:00
skodak
cc8727451f MDL-17565 automatic download of parent lang + parent lang cleanup 2009-02-07 18:55:21 +00:00
skodak
9ace50944f MDL-14924 the same title now used on each upgrade/install page (Moodle - 2.0...) + the same footer with moodle logo now used during installation and upgrade - links to admin docs 2009-02-07 17:56:40 +00:00
skodak
6724b0598b MDL-18167 more hooks for distros 2009-02-07 17:07:05 +00:00
skodak
4f9dba35a3 MDL-18167 let distros set default dataroot 2009-02-07 15:23:30 +00:00
skodak
5167827bbb MDL-18167 allow distro packs skip dbtype selection 2009-02-07 15:06:20 +00:00
skodak
5c1fb7d4d1 MDL-18167 towareds reimplementing of win installer support 2009-02-07 14:08:44 +00:00
skodak
4d928665b9 MDL-14924 language autorefresh and starting to reimplement welcome.html support + strings.txt cleanup 2009-02-07 13:35:01 +00:00
skodak
fa53493e48 MDL-14924 fixed typo - thanks Eloy 2009-02-07 11:49:56 +00:00
skodak
3b09331066 MDL-17458 rewritten installer 2009-02-07 10:20:33 +00:00
skodak
fe27230c34 MDL-10275 temporarily disabling old installer, stay tuned - new one will be ready soon ;-) 2009-02-01 16:33:09 +00:00
stronk7
7251d63d3d MDL-18072 installer - define CLI_SCRIPT (false) to avoid notices here and there. 2009-01-28 22:54:39 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
skodak
627d326ade MDL-17274 security: register globals not supported- now we are preventing upgrades and installs too 2008-11-19 09:46:09 +00:00
skodak
2f17b76d4b MDL-17057 dml: fixed regression changed by removed dbpersist parameter - sorrrry 2008-10-29 09:24:45 +00:00
skodak
beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
stronk7
0022d112ab Remove hack not needed anymore. Now enviroment check handles this properly. MDL-16008 & MDL-16188 2008-08-24 16:39:06 +00:00
skodak
bba0beaee2 MDL-15716 Tightened dataroot security checks and and 'loud' administrator warning 2008-08-21 15:29:42 +00:00
skodak
7e1825b415 MDL-16008 fixed $CFG->release warning in isntaller 2008-08-12 15:39:18 +00:00
skodak
16a5642c69 MDL-14679 var_export now used instead of addsingleslashes in installer; refactored the database setting initialisation 2008-06-22 22:53:40 +00:00
skodak
55946ffda6 MDL-15071 new sqlite pdo driver by Andrei Bautu (with minor changes) 2008-06-22 21:35:07 +00:00
stronk7
b553527e99 Use some more $DB in installer. Like rest of db accesses. Just a sintax thing. 2008-06-16 16:20:45 +00:00
skodak
9d068cd64a MDL-15249 improving cli installer 2008-06-15 12:23:53 +00:00
skodak
3dce78e125 MDL-15247 lib/dmllib.php is now obsolete 2008-06-15 11:35:25 +00:00
skodak
4a5164ba53 MDL-15094 added some overlook conversions - thanks to Eloy's script ;-) 2008-06-15 09:32:36 +00:00
skodak
251387d087 MDL-14956 basic exception support in Moodle + other minor related refactoring 2008-06-13 17:51:34 +00:00
nicolasconnault
08d9fb369c MDL-14864 Removed old $db variable, replaced by global $DB. This was breaking install on pgsql database. 2008-06-13 14:45:11 +00:00
skodak
e4c033a9dd MDL-15194 adodb separation, dml database creation support 2008-06-09 20:22:11 +00:00
jerome
4630016797 MDL-14819 changed main table size, merged from 19 2008-05-22 02:26:54 +00:00
stronk7
6d5a22b208 Installer fixed, prefixes improved, moved conn settings to connect() and some more improvements. MDL-14864 2008-05-19 18:02:33 +00:00
jerome
2253a296c1 MDL-14716 Install script: icon image are now displayed on the Server Checks page, merged from19 2008-05-08 03:08:13 +00:00
jerome
dc71bb7d4f MDL-14656 Make install.php XHTML compliant, merged from 19 2008-05-08 02:21:53 +00:00
skodak
b4ac62457e MDL-14645 PHP 5.2.0 now required for new installation - installer lang packs will be updated automatically later by cron job on cvs.moodle.org 2008-05-01 21:40:34 +00:00
skodak
56ca1c60de MDL-12927 installer should detect the magic quotes settings and undo the slashes if necessary; merged from MOODLE_19_STABLE 2008-02-26 19:51:13 +00:00
moodler
e4b89caac8 MDL-13489 Merged fixes from 1.9 2008-02-19 06:57:51 +00:00
skodak
6a525ce289 MDL-12983 Installation stops after trying to download Language-Pack - patch by Dan Poltawski; merged from MOODLE_19_STABLE 2008-01-20 17:59:26 +00:00
skodak
f49312b6a6 MDL-12869 fixed minor security problem in installer - reported by hanno; merged from MOODLE_19_STABLE 2008-01-08 07:16:18 +00:00
stronk7
f85236dc76 Change some constants to avoid name collisions. MDL-12698 ; Merged from MOODLE_19_STABLE 2007-12-31 01:07:49 +00:00
skodak
a7d43f0d15 MDL-12698, MDL-12569 - componentlib & langimport improvements and fixes; merged from MOODLE_19_STABLE 2007-12-30 22:19:36 +00:00
stronk7
47bf57d657 Added note about automatic DB creation. MDL-9609
Merged from MOODLE_19_STABLE
2007-12-29 11:54:24 +00:00