summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfubhy2011-07-27 19:09:55 +0200
committerfubhy2011-07-27 19:09:55 +0200
commit746785e75acea3cea9373953223dcec70c33c6e3 (patch)
treeed05011cd45ed2018575db492475cb4052d4c457
parente577324427d64bfdfb3c07983f6213cc421b80f8 (diff)
Accidently everted a previous patch. Bringing it back now.7.x-3.0-rc2
-rw-r--r--alpha/template.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/alpha/template.php b/alpha/template.php
index ddff9ff..2966522 100644
--- a/alpha/template.php
+++ b/alpha/template.php
@@ -167,9 +167,12 @@ function alpha_page_alter(&$vars) {
}
}
- if (!module_implements('alpha_page_structure')) {
+ if (!module_implements('alpha_page_structure_alter')) {
alpha_alter('alpha_page_structure', $vars, $theme->theme);
}
+ else {
+ drupal_alter('alpha_page_structure', $vars, $theme->theme);
+ }
}
/**