Merge branch 'MDL-34446-master' of git://github.com/sammarshallou/moodle

This commit is contained in:
Dan Poltawski 2012-08-13 10:44:11 +08:00
commit 2b1ddbb8af

View File

@ -8688,7 +8688,10 @@ function get_browser_version_classes() {
*/ */
function can_use_rotated_text() { function can_use_rotated_text() {
global $USER; global $USER;
return ajaxenabled(array('Firefox' => 2.0)) && !$USER->screenreader;; return (check_browser_version('MSIE', 9) || check_browser_version('Firefox', 2) ||
check_browser_version('Chrome', 21) || check_browser_version('Safari', 536.26) ||
check_browser_version('Opera', 12) || check_browser_version('Safari iOS', 533)) &&
!$USER->screenreader;
} }
/** /**