blob: 0275035601c942756919a5e63be0deae4ae632dc (
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="groups-tools" class="mtl 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
$('#groups-tools').find('.elgg-module:odd').addClass('odd');
});
</script>
|