From f4a9c8b2136f53812c968f13f5726d70e92e3ebc Mon Sep 17 00:00:00 2001
From: nfreear <nfreear>
Date: Fri, 11 May 2007 11:29:46 +0000
Subject: [PATCH] Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in
 stock IE6". Merged.

---
 theme/standard/config.php        |  2 +-
 theme/standard/styles_layout.css | 14 +++++---------
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/theme/standard/config.php b/theme/standard/config.php
index ffe2c2679c..13465c54fd 100644
--- a/theme/standard/config.php
+++ b/theme/standard/config.php
@@ -155,7 +155,7 @@ $THEME->custompix = false;
 
 ///$THEME->rarrow = '&#x25BA;' //OR '&rarr;';
 ///$THEME->larrow = '&#x25C4;' //OR '&larr;';
-///$CFG->block_search_button = $THEME->rarrow .'<span class="accesshide">'.get_string('search').'</span>';
+///$CFG->block_search_button = link_arrow_right(get_string('search'), $url='', $accesshide=true);
 ///
 /// Accessibility: Right and left arrow-like characters are
 /// used in the breadcrumb trail, course navigation menu 
diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css
index ace4333727..4d9a472706 100644
--- a/theme/standard/styles_layout.css
+++ b/theme/standard/styles_layout.css
@@ -1541,8 +1541,10 @@ table.minicalendar th {
 
 /*Accessibility: controls now div and span, 20:58:20% or 12:74:12% */
 .calendar-controls .previous,
-.calendar-controls .next
-{
+.calendar-controls .next,
+.calendar-controls .current {
+  display: block;
+  float: left;
   width: 12%;
 }
 .calendar-controls .previous {
@@ -1550,17 +1552,11 @@ table.minicalendar th {
 }
 .calendar-controls .current {
   text-align: center;
+  width: 76%;
 }
 .calendar-controls .next {
   text-align: right;
 }
-span.previous, span.current, span.next {
-  display: block;
-  float: left;
-}
-span.current {
-  width: 76%;
-}
 
 #calendar .maincalendar .calendar-controls .previous,
 #calendar .maincalendar .calendar-controls .next
-- 
2.39.5