diff options
Diffstat (limited to 'views/default/page_elements/spotlight.php')
-rw-r--r-- | views/default/page_elements/spotlight.php | 35 |
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 |