From: nfreear Date: Fri, 11 May 2007 11:29:46 +0000 (+0000) Subject: Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6". Merged. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f4a9c8b2136f53812c968f13f5726d70e92e3ebc;p=moodle.git Fixes bug MDL-9753, "THEME->larrow, rarrow don't work in stock IE6". Merged. --- 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 = '►' //OR '→'; ///$THEME->larrow = '◄' //OR '←'; -///$CFG->block_search_button = $THEME->rarrow .''.get_string('search').''; +///$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