aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/pageshell.php1
-rw-r--r--views/default/pageshells/pageshell.php6
2 files changed, 4 insertions, 3 deletions
diff --git a/views/default/pageshell.php b/views/default/pageshell.php
index 64e65df1a..002f41e9b 100644
--- a/views/default/pageshell.php
+++ b/views/default/pageshell.php
@@ -18,6 +18,7 @@
*/
// Set title
+
if (empty($vars['title'])) {
$title = $vars['sitename'];
} else if (empty($vars['sitename'])) {
diff --git a/views/default/pageshells/pageshell.php b/views/default/pageshells/pageshell.php
index 9250f955a..2455db5b3 100644
--- a/views/default/pageshells/pageshell.php
+++ b/views/default/pageshells/pageshell.php
@@ -29,7 +29,7 @@
?>
<!-- include the header -->
-<?php echo elgg_view('page_elements/header'); ?>
+<?php echo elgg_view('page_elements/header', $vars); ?>
<!-- main contents -->
@@ -38,7 +38,7 @@
<!-- toolbox -->
<div id="sidebar_toolbox">
- <?php echo elgg_view("navigation/toolbox"); ?><!-- include the my world toolbox -->
+ <?php echo elgg_view("navigation/toolbox", $vars); ?><!-- include the my world toolbox -->
</div>
<!-- get the main body -->
@@ -47,4 +47,4 @@
</div>
<!-- include the footer -->
-<?php echo elgg_view('page_elements/footer'); ?> \ No newline at end of file
+<?php echo elgg_view('page_elements/footer', $vars); ?> \ No newline at end of file