From 48bfa2e0c9a722224eddab070841324a8242774f Mon Sep 17 00:00:00 2001 From: urs_hunkler Date: Sun, 5 Aug 2007 10:31:57 +0000 Subject: [PATCH] Nicolas' changes to custom_corners has broken the theme. I decided to use the same method as clearfix by adding a "." and not a " ". Some additional CSS is needed either way. --- lib/custom_corners_lib.php | 4 ++-- lib/weblib.php | 4 ++-- theme/custom_corners/user_styles.css | 12 ++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/lib/custom_corners_lib.php b/lib/custom_corners_lib.php index 5c88c12d13..63e9cedd7d 100755 --- a/lib/custom_corners_lib.php +++ b/lib/custom_corners_lib.php @@ -17,7 +17,7 @@ */ function print_custom_corners_start($clearfix=false, $return=false) { $output = '
'."\n"; - $output .= '
 
'; + $output .= '
.
'; $output .= "\n"; $output .= '
'; $output .= (!empty($clearfix)) ? '
' : '
'; @@ -38,7 +38,7 @@ function print_custom_corners_start($clearfix=false, $return=false) { function print_custom_corners_end($return=false) { $output = '
'; $output .= "\n"; - $output .= '
 
'."\n"; + $output .= '
.
'."\n"; $output .= '
'; if ($return) { diff --git a/lib/weblib.php b/lib/weblib.php index b0f15f83aa..5370302eb7 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5874,7 +5874,7 @@ function print_side_block_start($heading='', $attributes = array()) { // echo '
'.$heading.'
'; echo '
'; if (!empty($THEME->customcorners)) { - echo '
 
'; + echo '
.
'; echo '
'; echo '
'; } @@ -5885,7 +5885,7 @@ function print_side_block_start($heading='', $attributes = array()) { echo '
'; } else { if (!empty($THEME->customcorners)) { - echo '
 
'; + echo '
.
'; } } diff --git a/theme/custom_corners/user_styles.css b/theme/custom_corners/user_styles.css index 5fd626e358..78ac1f3062 100644 --- a/theme/custom_corners/user_styles.css +++ b/theme/custom_corners/user_styles.css @@ -438,6 +438,18 @@ div.homelink { div.logininfo { white-space: nowrap; } +div.bt div { + font-size: 1px; + line-height: 0; + height: 0; + color: transparent; +} +div.bb div { + font-size: 1px; + line-height: 0; + height: 0; + color: transparent; +} div.sideblock div.bt div { background-image: url(pix/box.png); background-repeat: no-repeat; -- 2.39.5