Ok - basically we added code to 2 functions in Weblib - if you want to send me your weblib.php we can add the code for you?
Once it's been added I'll you'll be able to use the attached theme.
Changes made to weblib
Our main programmer Dan Clarke added code to 2 ftns in weblib.php in order to get the rounded blocks - below I'll show the functions in full.
function print_side_block($heading='', $content='', $list=NULL, $icons=NULL, $footer='', $attributes = array()) {
print_side_block_start($heading, $attributes);
if ($content) {
echo $content;
if ($footer) {
echo '<div class="footer">'. $footer .'</div>';
}
} else {
if ($list) {
$row = 0;
echo '<table class="list">';
foreach ($list as $key => $string) {
echo '<tr class="r'.$row.'">';
if ($icons) {
echo '<td class="c0" valign="top" width="16">'. $icons[$key] .'</td>';
}
echo '<td class="c1" valign="top">'. $string .'</td>';
echo '</tr>';
$row = $row ? 0:1;
}
echo '</table>';
}
if ($footer) {
echo '<div class="footer">'. $footer .'</div>';
}
}
print_side_block_end($attributes);
}
/**
* Starts a nice side block with an optional header.
*
* @param string $heading ?
* @param array $attributes ?
* @todo Finish documenting this function
*/
function print_side_block_start($heading='', $attributes = array()) {
global $CFG;
// If there are no special attributes, give a default CSS class
if (empty($attributes) || !is_array($attributes)) {
$attributes = array('class' => 'sideblock');
} else if(!isset($attributes['class'])) {
$attributes['class'] = 'sideblock';
} else if(!strpos($attributes['class'], 'sideblock')) {
$attributes['class'] .= ' sideblock';
}
// OK, the class is surely there and in addition to anything
// else, it's tagged as a sideblock
/*
// IE misery: if I do it this way, blocks which start hidden cannot be "unhidden"
// If there is a cookie to hide this thing, start it hidden
if (!empty($attributes['id']) && isset($_COOKIE['hide:'.$attributes['id']])) {
$attributes['class'] = 'hidden '.$attributes['class'];
}
*/
$attrtext = '';
foreach ($attributes as $attr => $val) {
$attrtext .= ' '.$attr.'="'.$val.'"';
}
echo '<div '.$attrtext.'>';
$themename = current_theme();
if (strstr($themename, 'gloscat'))
$isgloscat = true;
else
$isgloscat = false;
if ($isgloscat)
{
echo '<table width="100%" cellspacing="0" cellpadding="0">
<tr height="30">
<td><img src="'."$CFG->wwwroot/theme/$themename".'/frametopleft.gif"></td>
<td background="'."$CFG->wwwroot/theme/$themename".'/frametopgradiant.gif" width="100%" height="30" style="font-size: 10pt; font-weight: bold;">';
if ($heading)
echo $heading;
echo '</td>
<td><a href="#" onclick="elementToggleHide(this, true, function(el) {return findParentNode(el, 'DIV', 'sideblock'); } ); return false;"><img src="'."$CFG->wwwroot/theme/$themename".'/close.gif"></td>
</tr>
</table>';
}
else
{
if ($heading) {
echo '<div class="header">'.$heading.'</div>';
}
}
echo '<div class="content">';
if ($isgloscat)
{
echo '<table width="100%" height="100%" cellspacing="0" cellpadding="0">
<tr>
<td style="background-image: url('."$CFG->wwwroot/theme/$themename".'/leftborder.gif); background-repeat: repeat-y;"><img src="'."$CFG->wwwroot/theme/$themename".'/leftborder.gif"></td><td width="100%">';
}
}
Again if you send me your web lib I can add the code in for you if you like. 