2009-07-07 05:42:34 -07:00
|
|
|
<?php
|
2009-07-21 07:36:12 +01:00
|
|
|
/**
|
|
|
|
* A customised version of the Setup theme
|
|
|
|
*/
|
2009-07-07 05:42:34 -07:00
|
|
|
class CustomSetupTheme extends SetupTheme {
|
2009-07-21 07:36:12 +01:00
|
|
|
/**
|
|
|
|
* Turn a SetupBlock into HTML... with rounded corners.
|
|
|
|
*/
|
2009-07-07 05:42:34 -07:00
|
|
|
protected function sb_to_html(SetupBlock $block) {
|
|
|
|
return "
|
|
|
|
<div class='rr setupblock'>
|
|
|
|
<div class='rrtop'><div></div></div>
|
|
|
|
<div class='rrcontent'><b>{$block->header}</b><br>{$block->body}</div>
|
|
|
|
<div class='rrbot'><div></div></div>
|
|
|
|
</div>
|
|
|
|
";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|