summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index d91386166..15795e68b 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1898,11 +1898,11 @@ function template_preprocess_page(&$variables) {
// Set up layout variable.
$variables['layout'] = 'none';
- if (!empty($variables['page']['left'])) {
- $variables['layout'] = 'left';
+ if (!empty($variables['page']['sidebar_first'])) {
+ $variables['layout'] = 'first';
}
- if (!empty($variables['page']['right'])) {
- $variables['layout'] = ($variables['layout'] == 'left') ? 'both' : 'right';
+ if (!empty($variables['page']['sidebar_second'])) {
+ $variables['layout'] = ($variables['layout'] == 'first') ? 'both' : 'second';
}
// Construct page title