<?php /** * Elgg spotlight * The spotlight area that displays across the site * * @package Elgg * @subpackage Core * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 * @author Curverider Ltd * @copyright Curverider Ltd 2008 * @link http://elgg.org/ * */ ?> <div id="layout_spotlight"> <div id="wrapper_spotlight"> <div class="collapsable_box no_space_after"> <div class="collapsable_box_header"> <a href="javascript:void(0);" class="toggle_box_contents">-</a> <h1><?php echo elgg_echo("spotlight"); ?></h1> </div> <div class="collapsable_box_content"> <?php $context = get_context(); if (!empty($context) && elgg_view_exists("spotlight/{$context}")) { echo elgg_view("spotlight/{$context}"); } else { echo elgg_view("spotlight/default"); } ?> </div><!-- /.collapsable_box_content --> </div><!-- /.collapsable_box --> </div><!-- /#wrapper_spotlight --> </div><!-- /#layout_spotlight -->