Commit Graph

16 Commits

Author SHA1 Message Date
samhemelryk 523d30942d standardwhite MDL-20221 added embedded type to standardwhite as it was overriding standard config
Checked other themes and currently all others fine
2009-09-08 03:28:56 +00:00
skodak ea87845660 MDL-16089 new general page type needed for framed resources, this is not accessible but unfortunately it works much better than object embedding; it will be also used by phpmyadmin integration 2009-07-14 06:33:34 +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 69d3cd7f67 themes: MDL-19077 - take out test code I did not mean to include in my last commit. 2009-07-07 05:06:38 +00:00
tjhunt fdeb7fa192 themes: MDL-19077 - more work on the theme_config class.
* Writing lots more PHPdoc comments for all the settings.
* Strip the comments from the standard theme config.php (see below)
* Move finding the layout template from moodle_core_renderer to the theme_config class
* Move loading meta.php files from moodle_core_renderer to the theme_config class
* MDL-19719 Remove support for $THEME->langsheets, and lang/.../styles.php
* MDL-19719 Put the Vietnamese-specific code into the standard theme
* Support for styles.php in all plugin types (at the theme's discretion). (c/f MDL-16438)
* More PHP doc comments for moodle_core_renderer methods.

About stripping comments from config.php: I'm not sure if this
is a good idea, and I may revert this bit. I am hoping that once
http://phpdocs.moodle.org/HEAD/moodlecore/theme_config.html has
been updated, that will be better than copying and pasting these
comments into every theme. I intend to post in the themes forum
to canvas opinions.
2009-07-07 05:05:06 +00:00
jamiesensei 909ec807cb moved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css and removed theme\standard\styles_form.css and all references to it. In line with discussion here : http://moodle.org/mod/forum/discuss.php?d=54907 2006-09-28 10:32:23 +00:00
jamiesensei da6f876395 This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.
This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.
2006-09-24 17:04:51 +00:00
moodler 61bff7e5ec Varous tweaks, mostly navbar 2005-04-02 12:44:04 +00:00
moodler 38f96c7a65 This shows how a theme can use the mozilla rounded corners. 2005-03-25 17:16:18 +00:00
moodler ed8e6931d9 blocks/mod scanning for styles.php is now enabled
by default
2005-03-25 16:05:26 +00:00
moodler 86eb085d24 Standard white now looks like standard used to look. It's exactly the
same but it has the white gradients in the headers and navbar
2005-03-18 14:46:58 +00:00
moodler dfe052fcfd Some additions to standard styles 2003-10-21 06:39:05 +00:00
moodler 6f27717759 Autolinks added 2003-10-16 03:38:26 +00:00
moodler 81ed361792 Added new style for hidden topics as well as some docs about
all the changes in this version
2003-05-04 07:58:15 +00:00
moodler 9d2dda0f85 Added new custompix parameter 2003-04-28 04:45:15 +00:00
moodler c07e87c6ee New standard white theme 2003-01-05 11:02:51 +00:00