aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/spotlight.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 20:41:31 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-16 20:41:31 +0000
commit70b08afa64465f4d3457ba6e1c4cc2df1dd2069b (patch)
tree251d2559ea516ae4e23395dab4b083d079b65d24 /views/default/page_elements/spotlight.php
parentc66831fa5138a277a9729174caf14c7eb323fb07 (diff)
downloadelgg-70b08afa64465f4d3457ba6e1c4cc2df1dd2069b.tar.gz
elgg-70b08afa64465f4d3457ba6e1c4cc2df1dd2069b.tar.bz2
More views cleanup.
git-svn-id: http://code.elgg.org/elgg/trunk@3556 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/spotlight.php')
-rw-r--r--views/default/page_elements/spotlight.php35
1 files changed, 15 insertions, 20 deletions
diff --git a/views/default/page_elements/spotlight.php b/views/default/page_elements/spotlight.php
index 5b5a90ac7..670e0e4c5 100644
--- a/views/default/page_elements/spotlight.php
+++ b/views/default/page_elements/spotlight.php
@@ -1,20 +1,19 @@
<?php
-
- /**
- * Elgg spotlight
- * The spotlight area that displays across the site
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- *
- */
+/**
+ * Elgg spotlight
+ * The spotlight area that displays across the site
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ *
+ */
?>
<div id="layout_spotlight">
<div id="wrapper_spotlight">
-
+
<div class="collapsable_box no_space_after">
<div class="collapsable_box_header">
<?php
@@ -22,15 +21,15 @@
$closed = false;
if ($_SESSION['user'] instanceof ElggUser) {
if ($_SESSION['user']->spotlightclosed) {
-
+
$closed = true;
-
+
}
}
if ($closed) {
?>
<a href="javascript:void(0);" class="toggle_box_contents" onClick="$.post('<?php echo $vars['url']; ?>action/user/spotlight?closed=false')">+</a>
-<?php
+<?php
} else {
?>
<a href="javascript:void(0);" class="toggle_box_contents" onClick="$.post('<?php echo $vars['url']; ?>action/user/spotlight?closed=true')">-</a>
@@ -50,13 +49,9 @@
} else {
echo elgg_view("spotlight/default");
}
-
-
-
-
?>
</div><!-- /.collapsable_box_content -->
</div><!-- /.collapsable_box -->
-
+
</div><!-- /#wrapper_spotlight -->
</div><!-- /#layout_spotlight --> \ No newline at end of file