'round corners: 4 additional divs for column corner and border graphics - MDL-8142'

This commit is contained in:
urs_hunkler 2007-01-11 07:29:03 +00:00
parent 86df6cc6ee
commit 262cb5e098

View File

@ -77,7 +77,18 @@
if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) {
echo '<td style="width:'.$preferred_width_left.'px" id="left-column">';
// uh-changes start
if (!empty($THEME->roundcorners)) {
echo '<div class="bl clearfix">';
echo '<div class="br clearfix">';
echo '<div class="tl clearfix">';
echo '<div class="tr clearfix">';
}
// uh-changes end
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
// uh-changes end
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
// uh-changes start
echo '</td>';
}
@ -86,7 +97,16 @@
case 'middle':
// uh-changes end
/// Start main column
echo '<td id="middle-column"><a name="startofcontent"></a>';
echo '<td id="middle-column">';
// uh-changes start
if (!empty($THEME->roundcorners)) {
echo '<div class="bl clearfix">';
echo '<div class="br clearfix">';
echo '<div class="tl clearfix">';
echo '<div class="tr clearfix">';
}
// uh-changes end
echo '<a name="startofcontent"></a>';
print_heading_block(get_string('topicoutline'), 'outline');
@ -267,7 +287,11 @@
echo '</div>';
}
// uh-changes start
if (!empty($THEME->roundcorners)) {
echo '</div></div></div></div>';
}
// uh-changes end
echo '</td>';
// uh-changes start
@ -277,7 +301,20 @@
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) {
echo '<td style="width:'.$preferred_width_right.'px" id="right-column">';
// uh-changes start
if (!empty($THEME->roundcorners)) {
echo '<div class="bl clearfix">';
echo '<div class="br clearfix">';
echo '<div class="tl clearfix">';
echo '<div class="tr clearfix">';
}
// uh-changes end
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
// uh-changes start
if (!empty($THEME->roundcorners)) {
echo '</div></div></div></div>';
}
// uh-changes end
echo '</td>';
}