mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
'more flexible round corner version'
This commit is contained in:
parent
3e7853f0e5
commit
f7ff1909fd
@ -79,16 +79,17 @@
|
||||
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">';
|
||||
echo '<div class="bt"><div></div></div>';
|
||||
echo '<div class="i1"><div class="i2"><div class="i3">';
|
||||
}
|
||||
// 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
|
||||
if (!empty($THEME->roundcorners)) {
|
||||
echo '</div></div></div>';
|
||||
echo '<div class="bb"><div></div></div>';
|
||||
}
|
||||
// uh-changes end
|
||||
echo '</td>';
|
||||
}
|
||||
|
||||
@ -100,10 +101,8 @@
|
||||
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">';
|
||||
echo '<div class="bt"><div></div></div>';
|
||||
echo '<div class="i1"><div class="i2"><div class="i3">';
|
||||
}
|
||||
// uh-changes end
|
||||
echo '<a name="startofcontent"></a>';
|
||||
@ -289,7 +288,8 @@
|
||||
|
||||
// uh-changes start
|
||||
if (!empty($THEME->roundcorners)) {
|
||||
echo '</div></div></div></div>';
|
||||
echo '</div></div></div>';
|
||||
echo '<div class="bb"><div></div></div>';
|
||||
}
|
||||
// uh-changes end
|
||||
echo '</td>';
|
||||
@ -303,16 +303,15 @@
|
||||
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">';
|
||||
echo '<div class="bt"><div></div></div>';
|
||||
echo '<div class="i1"><div class="i2"><div class="i3">';
|
||||
}
|
||||
// uh-changes end
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
||||
// uh-changes start
|
||||
if (!empty($THEME->roundcorners)) {
|
||||
echo '</div></div></div></div>';
|
||||
echo '</div></div></div>';
|
||||
echo '<div class="bb"><div></div></div>';
|
||||
}
|
||||
// uh-changes end
|
||||
echo '</td>';
|
||||
|
27
index.php
27
index.php
@ -109,16 +109,15 @@
|
||||
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">';
|
||||
echo '<div class="bt"><div></div></div>';
|
||||
echo '<div class="i1"><div class="i2"><div class="i3">';
|
||||
}
|
||||
// uh-changes end
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
|
||||
// uh-changes start
|
||||
if (!empty($THEME->roundcorners)) {
|
||||
echo '</div></div></div></div>';
|
||||
echo '</div></div></div>';
|
||||
echo '<div class="bb"><div></div></div>';
|
||||
}
|
||||
// uh-changes end
|
||||
echo '</td>';
|
||||
@ -131,10 +130,8 @@
|
||||
|
||||
// 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">';
|
||||
echo '<div class="bt"><div></div></div>';
|
||||
echo '<div class="i1"><div class="i2"><div class="i3">';
|
||||
}
|
||||
// uh-changes end
|
||||
|
||||
@ -255,7 +252,8 @@
|
||||
|
||||
// uh-changes start
|
||||
if (!empty($THEME->roundcorners)) {
|
||||
echo '</div></div></div></div>';
|
||||
echo '</div></div></div>';
|
||||
echo '<div class="bb"><div></div></div>';
|
||||
}
|
||||
// uh-changes end
|
||||
|
||||
@ -269,10 +267,8 @@
|
||||
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">';
|
||||
echo '<div class="bt"><div></div></div>';
|
||||
echo '<div class="i1"><div class="i2"><div class="i3">';
|
||||
}
|
||||
// uh-changes end
|
||||
if (has_capability('moodle/course:update', get_context_instance(CONTEXT_SYSTEM, SITEID))) {
|
||||
@ -282,7 +278,8 @@
|
||||
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
|
||||
// uh-changes start
|
||||
if (!empty($THEME->roundcorners)) {
|
||||
echo '</div></div></div></div>';
|
||||
echo '</div></div></div>';
|
||||
echo '<div class="bb"><div></div></div>';
|
||||
}
|
||||
// uh-changes end
|
||||
echo '</td>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user