navigation MDL-21350 Implemented trim options for the navigation block, can now set trim mode (right/left/center) and trim length

This commit is contained in:
Sam Hemelryk
2010-04-21 07:05:39 +00:00
parent f77f615de6
commit a9535f7945
6 changed files with 147 additions and 24 deletions
+1 -1
View File
@@ -1149,7 +1149,7 @@ class theme_config {
$regions = array();
foreach ($this->layouts as $layoutinfo) {
foreach ($layoutinfo['regions'] as $region) {
$regions[$region] = $this->get_region_name($region, $layoutinfo['theme']);
$regions[$region] = $this->get_region_name($region, $this->name);
}
}
return $regions;