aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/groups/profile/widgets.php
blob: b72932ab3f34911519cf488357a6c3ceff4c7988 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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>";		 
?>
<script type="text/javascript">
$(document).ready(function () { // subclass every other group tool widget
	$('#group_tools_latest').find('.group_tool_widget:odd').addClass('odd');
});
</script>