From: urs_hunkler Date: Wed, 18 Jul 2007 15:41:26 +0000 (+0000) Subject: added a wrapper div to be able to handle content shorter than the side columns X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=53c914f8e26bbc2d49e39afe1d3954b795a4bb16;p=moodle.git added a wrapper div to be able to handle content shorter than the side columns --- diff --git a/lib/custom_corners_lib.php b/lib/custom_corners_lib.php index 382e096a21..373f657169 100755 --- a/lib/custom_corners_lib.php +++ b/lib/custom_corners_lib.php @@ -16,7 +16,7 @@ * @param boolean $return, return as string or just print it */ function print_custom_corners_start($clearfix=false, $return=false) { - $output = '
'; + $output = '
'; $output .= "\n"; $output .= '
'; $output .= (!empty($clearfix)) ? '
' : '
'; @@ -37,7 +37,7 @@ function print_custom_corners_start($clearfix=false, $return=false) { function print_custom_corners_end($return=false) { $output = '
'; $output .= "\n"; - $output .= '
'; + $output .= '
'; if ($return) { return $output; diff --git a/lib/weblib.php b/lib/weblib.php index d6dcf06e0b..38d05cfe9d 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5830,12 +5830,12 @@ function print_side_block_start($heading='', $attributes = array()) { if (!empty($THEME->customcorners)) print_custom_corners_start(); echo $heading; if (!empty($THEME->customcorners)) { - echo '
'; + echo ''; } echo ''; } else { if (!empty($THEME->customcorners)) { - echo '
'; + echo '
'; } }