aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/groups/profile/widgets.php
blob: 08cbf1dae9f64b5658258c8f89a58522f0a54808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
* Profile widgets/tools
* 
* @package ElggGroups
*/ 
	
// tools widget area
echo "<div id='group_tools_latest' class='clearfix'>";
	
	// enable tools to extend this area
	echo elgg_view("groups/tool_latest", array('entity' => $vars['entity']));

echo "</div>";		 
?>

<?php //@todo JS 1.8: no ?>
<script type="text/javascript">
$(function () { // subclass every other group tool widget
	$('#group_tools_latest').find('.group_tool_widget:odd').addClass('odd');
});
</script>