From: urs_hunkler Date: Thu, 11 Jan 2007 07:29:03 +0000 (+0000) Subject: 'round corners: 4 additional divs for column corner and border graphics - MDL-8142' X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=262cb5e0985662f5d0257a69ebad3d23ede16beb;p=moodle.git 'round corners: 4 additional divs for column corner and border graphics - MDL-8142' --- diff --git a/course/format/topics/format.php b/course/format/topics/format.php index 0ce43b3d6b..15977dae62 100644 --- a/course/format/topics/format.php +++ b/course/format/topics/format.php @@ -77,7 +77,18 @@ if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $editing) { echo ''; +// uh-changes start + if (!empty($THEME->roundcorners)) { + echo '
'; + echo '
'; + echo '
'; + echo '
'; + } +// 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 ''; } @@ -86,7 +97,16 @@ case 'middle': // uh-changes end /// Start main column - echo ''; + echo ''; +// uh-changes start + if (!empty($THEME->roundcorners)) { + echo '
'; + echo '
'; + echo '
'; + echo '
'; + } + // uh-changes end + echo ''; print_heading_block(get_string('topicoutline'), 'outline'); @@ -267,7 +287,11 @@ echo '
'; } - +// uh-changes start + if (!empty($THEME->roundcorners)) { + echo '
'; + } +// uh-changes end echo ''; // uh-changes start @@ -277,7 +301,20 @@ // The right column if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing) { echo ''; +// uh-changes start + if (!empty($THEME->roundcorners)) { + echo '
'; + echo '
'; + echo '
'; + echo '
'; + } +// uh-changes end blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT); +// uh-changes start + if (!empty($THEME->roundcorners)) { + echo '
'; + } +// uh-changes end echo ''; }