aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/shells/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/shells/default.php')
-rw-r--r--views/default/page/shells/default.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/default/page/shells/default.php b/views/default/page/shells/default.php
index e089d11b6..775eb4acc 100644
--- a/views/default/page/shells/default.php
+++ b/views/default/page/shells/default.php
@@ -35,11 +35,15 @@ header("Content-type: text/html; charset=UTF-8");
<div class="elgg-page-messages">
<?php echo elgg_view('page/elements/messages', array('object' => $vars['sysmessages'])); ?>
</div>
+
+ <?php if (elgg_is_logged_in()): ?>
<div class="elgg-page-topbar">
<div class="elgg-inner">
<?php echo elgg_view('page/elements/topbar', $vars); ?>
</div>
</div>
+ <?php endif; ?>
+
<div class="elgg-page-header">
<div class="elgg-inner">
<?php echo elgg_view('page/elements/header', $vars); ?>
@@ -56,5 +60,6 @@ header("Content-type: text/html; charset=UTF-8");
</div>
</div>
</div>
+<?php echo elgg_view('footer/analytics'); ?>
</body>
</html> \ No newline at end of file