aboutsummaryrefslogtreecommitdiff
path: root/views/default/pageshells
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/pageshells')
-rw-r--r--views/default/pageshells/pageshell.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/views/default/pageshells/pageshell.php b/views/default/pageshells/pageshell.php
index 815f12c7c..798e1bb3c 100644
--- a/views/default/pageshells/pageshell.php
+++ b/views/default/pageshells/pageshell.php
@@ -44,11 +44,14 @@
<div class="clearfloat"></div>
</div><!-- /#layout_canvas -->
-
-
-<!-- spotlight -->
-<?php echo elgg_view('page_elements/spotlight', $vars); ?>
-
+<?php
+ if(isloggedin()){
+?>
+ <!-- spotlight -->
+ <?php echo elgg_view('page_elements/spotlight', $vars); ?>
+<?php
+ }
+?>
<!-- footer -->
<?php echo elgg_view('page_elements/footer', $vars); ?>