diff --git a/index.php b/index.php
index 4fa2e0191a1..399e1266cc4 100644
--- a/index.php
+++ b/index.php
@@ -100,9 +100,6 @@
LayoutTable = array('left', 'middle', 'right');
- // $CFG->LayoutTable = array('left', 'right', 'middle');
- // $CFG->LayoutTable = array('middle', 'left', 'right');
$lt = (empty($THEME->layouttable)) ? array('left', 'middle', 'right') : $THEME->layouttable;
foreach ($lt as $column) {
switch ($column) {
@@ -110,7 +107,20 @@
// uh-changes end
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 start
+ if (!empty($THEME->roundcorners)) {
+ echo ' ';
+ }
+// uh-changes end
echo ' | ';
}
// uh-changes start
@@ -119,6 +129,14 @@
// uh-changes end
echo '';
+// uh-changes start
+ if (!empty($THEME->roundcorners)) {
+ echo '';
+ echo ' ';
+ echo ' ';
+ echo ' ';
+ }
+// uh-changes end
/// Print Section
if ($SITE->numsections > 0) {
@@ -235,6 +253,12 @@
echo ' ';
}
+// uh-changes start
+ if (!empty($THEME->roundcorners)) {
+ echo ' ';
+ }
+// uh-changes end
+
echo ' | ';
// uh-changes start
break;
@@ -243,11 +267,24 @@
// The right column
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $editing || has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM, SITEID))) {
echo '';
+// uh-changes start
+ if (!empty($THEME->roundcorners)) {
+ echo '';
+ echo ' ';
+ echo ' ';
+ echo ' ';
+ }
+// uh-changes end
if (has_capability('moodle/course:update', get_context_instance(CONTEXT_SYSTEM, SITEID))) {
echo ' '.update_course_icon($SITE->id).' ';
echo ' ';
}
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
+// uh-changes start
+ if (!empty($THEME->roundcorners)) {
+ echo ' ';
+ }
+// uh-changes end
echo ' | ';
}
// uh-changes start