aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-26 09:27:41 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-26 09:27:41 +0000
commitc7da6eb814ff9a61d477f6ccba03ffeed0d6eb20 (patch)
tree71a0ab69fb57b671169840f4196a00ae0e8119aa /views/default
parente9cc4a95ca5a6e7192a26a4dc69f62c542158085 (diff)
downloadelgg-c7da6eb814ff9a61d477f6ccba03ffeed0d6eb20.tar.gz
elgg-c7da6eb814ff9a61d477f6ccba03ffeed0d6eb20.tar.bz2
the spotlight is now only available for logged in users.
git-svn-id: https://code.elgg.org/elgg/trunk@1553 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-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); ?>