blob: 3e28c00914a5fc52dda66dd1facfc8bf67f62fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
/**
* Profile widgets/tools
*
* @package ElggGroups
*/
// tools widget area
echo "<div id='group_tools_latest' class='clearfix'>";
// activity latest
echo "<div class='group_tool_widget activity clearfix'>";
echo elgg_view("groups/profile/activity_widget", array('entity' => $vars['entity']));
echo "</div>";
// 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>
|