]> git.mjollnir.org Git - moodle.git/commitdiff
Nicolas' changes to custom_corners has broken the theme. I decided to use the same...
authorurs_hunkler <urs_hunkler>
Sun, 5 Aug 2007 10:31:57 +0000 (10:31 +0000)
committerurs_hunkler <urs_hunkler>
Sun, 5 Aug 2007 10:31:57 +0000 (10:31 +0000)
lib/custom_corners_lib.php
lib/weblib.php
theme/custom_corners/user_styles.css

index 5c88c12d1354f25a69d79e1979a60caa24041d34..63e9cedd7dbbafaac2cd47e819b83d65fb264a83 100755 (executable)
@@ -17,7 +17,7 @@
  */
 function print_custom_corners_start($clearfix=false, $return=false) {
     $output = '<div class="wrap">'."\n";
-    $output .= '<div class="bt"><div>&nbsp;</div></div>';
+    $output .= '<div class="bt"><div>.</div></div>';
     $output .= "\n";
     $output .= '<div class="i1"><div class="i2">';
     $output .= (!empty($clearfix)) ? '<div class="i3 clearfix">' : '<div class="i3">';
@@ -38,7 +38,7 @@ function print_custom_corners_start($clearfix=false, $return=false) {
 function print_custom_corners_end($return=false) {
     $output = '</div></div></div>';
     $output .= "\n";
-    $output .= '<div class="bb"><div>&nbsp;</div></div>'."\n";
+    $output .= '<div class="bb"><div>.</div></div>'."\n";
     $output .= '</div>';
 
     if ($return) {
index b0f15f83aa907fefcab62f4b017e08345f10aa70..5370302eb79782e95923f94d84569491f459efd8 100644 (file)
@@ -5874,7 +5874,7 @@ function print_side_block_start($heading='', $attributes = array()) {
         // echo '<div class="header">'.$heading.'</div>';
         echo '<div class="header">';
         if (!empty($THEME->customcorners)) {
-            echo '<div class="bt"><div>&nbsp;</div></div>';
+            echo '<div class="bt"><div>.</div></div>';
             echo '<div class="i1"><div class="i2">';
             echo '<div class="i3">';
         }
@@ -5885,7 +5885,7 @@ function print_side_block_start($heading='', $attributes = array()) {
         echo '</div>';
     } else {
         if (!empty($THEME->customcorners)) {
-            echo '<div class="bt"><div>&nbsp;</div></div>';
+            echo '<div class="bt"><div>.</div></div>';
         }
     }
 
index 5fd626e35893fb41473994d2331894a4c35b085b..78ac1f306214f3d0eef211672bf6cda9987873e7 100644 (file)
@@ -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;