moodle/theme/custom_corners
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
..
2008-06-25 17:31:23 +00:00
2008-02-12 21:29:16 +00:00

<h3>"Custom corners", the Moodle theme with graphics for transparent custom corners and borders.</h3>

<p>
    This theme contains graphics for customising corners and borders. It makes use of a technique described by
    Roger Johansson - see
    "<a href="http://www.456bereastreet.com/archive/200506/customising_custom_corners_and_borders/">customising_custom_corners_and_borders</a>"
    However, the custom corners theme doesn't use all the JavaScript mentioned by Roger Johansson.
    Instead, divs are added when using the custom_corners_core_renderer (defined in renderers.php) instead of moodle_core renderer.
</p>

<p>
    Note: Custom corners is included in Moodle 1.9 as an experimental feature.
</p>

<p>
    Custom corners was created by <strong>Urs Hunkler, <a href="http://www.unodo.de">unodo</a></strong>.
</p>