MDL-38347 - Calendar - Fixing arrow output on Android devices

This commit is contained in:
Jason Fowler
2013-05-28 15:28:30 +08:00
parent 7621b70368
commit ce7e354ae5
+4 -1
View File
@@ -483,7 +483,10 @@ class theme_config {
$this->rarrow = '▶';
$this->larrow = '◀';
}
elseif (false !== strpos($uagent, 'Konqueror')) {
elseif ((false !== strpos($uagent, 'Konqueror'))
|| (false !== strpos($uagent, 'Android'))) {
// The fonts on Android don't include the characters required for this to work as expected.
// So we use the same ones Konqueror uses.
$this->rarrow = '→';
$this->larrow = '←';
}