Commit graph

499 commits

Author SHA1 Message Date
nicolasconnault
20486a5a21 MDL-19787 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:22 +00:00
nicolasconnault
73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
nicolasconnault
2fff8846f2 MDL-19787 Migrated calls to print_heading 2009-08-06 08:17:12 +00:00
nicolasconnault
a85975848b MDL-19787 Changed Yes button to using GET instead of POST 2009-08-03 07:15:21 +00:00
nicolasconnault
74623e0a3a MDL-19756 Improved API of OUTPUT->confirm() 2009-07-30 06:09:45 +00:00
nicolasconnault
816086f1b8 MDL-19787 Migrated choose_from_menu to the new $OUTPUT->select_menu() function 2009-07-28 09:36:32 +00:00
tjhunt
ee73b1ffc2 admin: MDL-19787 $PAGE->set_url on admin/index.php 2009-07-28 04:00:33 +00:00
tjhunt
45c6de041b Remove unnecessary 'none' passed to footer. 2009-07-10 05:37:36 +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
e29380f3c4 themes: MDL-19077 fix install regression 2009-06-26 09:38:14 +00:00
tjhunt
31a9987770 install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function. 2009-06-24 09:17:56 +00:00
skodak
c3d0e1492e MDL-17458 fixing installation regressions - no output and timeout 2009-06-07 08:46:13 +00:00
skodak
4fe2250a1f MDL-19352 maintenance mode reiplemented 2009-05-31 14:42:29 +00:00
skodak
3316fe24d5 MDL-15249 more cleanup and refactoring - towards cli upgrade 2009-05-26 17:44:25 +00:00
skodak
bc76b3c02f MDL-15249 more cleanup, removing unused code, adding some TODOs 2009-05-26 10:21:56 +00:00
skodak
00be19165f MDL-15249 whitespaces and comments cleanup, no other changes 2009-05-26 09:56:35 +00:00
skodak
8580535b81 MDL-15249 refactoring towards cli install script 2009-05-26 09:52:38 +00:00
tjhunt
e88462a055 moodle_page: MDL-12212 eliminate the two different interpretations of
pagetype
2009-05-06 08:41:02 +00:00
tjhunt
0c34c7eb50 translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.
I'll commit the patch to contrib in case anyone wishes to experiment further.
2009-04-02 02:42:11 +00:00
tjhunt
b4cf937102 translation: MDL-18766 Prototype automatic translation system for Moodle.
If Google can do something like http://translate.google.com/, surely we
can do something just as good in Moodle. Here is a first attempt. It is
a bit rough around the edges, and only a couple of target lananguages
have been implemented so far. (More and better attempts welcome!)

In order to ensure that this gets adequate testing, I have made sure that
it gets turn on by default. However, if you really don't like it, you can
turn it off under Administration > Development -> Experimental settings.
2009-04-01 00:39:17 +00:00
tjhunt
b5f2275111 upgrade: Make the environment page a bit less rediculously long. I still can't make it fit on one screen. 2009-02-23 02:59:34 +00:00
skodak
013376dec4 MDL-18293 exception and DML cleanup 2009-02-17 17:23:56 +00:00
stronk7
493c3651bf MDL-9796 environment - make install & upgrade to ignore dataroot xml file (ENV_SELECT_RELEASE) 2009-02-14 23:12:04 +00:00
stronk7
a4ac30c0e4 MDL-18195 installer - improve CFG->dirroot error message 2009-02-09 17:46:29 +00:00
stronk7
c454b86c64 MDL-18195 installer - ignore differences in slashes when checking $CFG->dirroot 2009-02-09 17:30:11 +00:00
skodak
551fe0e535 MDL-17458 standardised lang upgrade code + updating also parent language 2009-02-08 23:14:13 +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
ccba465e78 MDL-18112 making the php version error less harsh - now displayed only if php < 5.2.0, versions < 5.2.8 are detected during environment test 2009-02-02 19:59:53 +00:00
skodak
770f0cea30 MDL-17458 fixed headers used during installation 2009-02-01 17:45:32 +00:00
skodak
844d58f737 MDL-17458 more installation improvements and cleanup 2009-02-01 17:04:34 +00:00
skodak
712b48cc69 MDL-17427 more cleanup 2009-02-01 16:50:29 +00:00
skodak
ce35950786 MDL-17427 fixed regressions 2009-02-01 16:42:56 +00:00
skodak
fbf2c91e43 MDL-10275 added fatal PHP config setting test on each page, replaces some tests done in installer 2009-02-01 13:37:42 +00:00
skodak
9050958240 MDL-10275 moving all installation time environment tests into /admin/index.php - this will simplify install.php a LOT and will make installation/upgrade more consistent + fixed a bug in enviroment if docroot not set 2009-02-01 12:52:30 +00:00
skodak
795a08adb7 MDL-17458 upgrade logging implemented + a lot more refactoring + exceptions implemented in install/upgrade code + lang pack cleanup + some more improvements 2009-01-31 20:07:32 +00:00
skodak
88582df496 MDL-17458 refactored guest and admin user creation + refactored roles install + added protection for installation hijacking + added reliable session test right before editting of admin account 2009-01-29 22:54:41 +00:00
skodak
db9d4a3d0a MDL-17427 moving upgrade code from adminlib to upgradelib + new upgrade logging functions 2009-01-29 21:17:52 +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
08ff9f81db MDL-17458 fixed lang selection in sessionless db installer 2009-01-28 06:44:41 +00:00
tjhunt
cbe2a956eb admin: xhtml strict problems. 2009-01-23 02:11:27 +00:00
tjhunt
cf7093e4f0 upgrade reload icon MDL-17924 unobfuscate Martin's reload icon. 2009-01-20 06:56:38 +00:00
tjhunt
d61f7b7641 backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.
* Use this to fix a question restore bug.
* Replace older code that does something similar with the new test.
* Refactor initialisation of $CFG->siteidentifier into a function. There were about 4 copies of this code ;-)
2009-01-20 03:16:30 +00:00
skodak
ac173d3ebe MDL-17267 simplified create_role - not adding assign and override perm to admin accounts, they have it now always 2009-01-17 23:16:20 +00:00
skodak
35d6a2a43d MDL-17617 - installation session related improvements; logout fixes + other improvements 2009-01-17 20:25:58 +00:00
skodak
0e8aa7acc4 MDL-17458 minor coding style improvements 2009-01-16 13:54:44 +00:00
moodler
1779f5b97d upgrade reload icon MDL-17924 Replaced form with an icon 2009-01-16 02:29:33 +00:00
skodak
53bf751e9e MDL-17458 minor cleanup 2009-01-15 22:41:20 +00:00
skodak
fe17580604 MDL-17458 removed obsoleted example.com check from admin/index.php - now handled in default config or new setup.php code 2009-01-15 22:19:35 +00:00
skodak
1c82b3f2d9 MDL-17458 fixed some buttons and upgrade strings 2009-01-13 11:40:43 +00:00
skodak
61f9c4b4f4 MDL-17868 detection of incorrect hadnling of floats in version numbers - this should prevent dataloss in case it does not work as expected; merged from MOODLE_19_STABLE 2009-01-13 09:04:09 +00:00