MDL-39871 Blocks,Themes: Swap block regions in RTL mode (using pre-defined array)

This commit is contained in:
Nadav Kavalerchik
2013-08-26 01:06:55 +03:00
parent d2aa53be1b
commit e89dfdbce6
5 changed files with 38 additions and 48 deletions
+5
View File
@@ -487,6 +487,11 @@ class theme_config {
}
}
// Use parent theme's "blockrtlmanipulations" if it was defined and if it was not defined on current theme.
if (empty($this->blockrtlmanipulations) and !empty($parent_config->blockrtlmanipulations)) {
$this->blockrtlmanipulations = $parent_config->blockrtlmanipulations;
}
//fix arrows if needed
$this->check_theme_arrows();
}