<!-- displays all groups -->

<table class="list">
<tr><th>Group Name </th><th>Group Owner </th><th>Created </th></tr>
{BEGIN:all_groups}
<tr><td><a href="{site_path}/group.php?id={group_id}"><b>{group_name}</b></a>
{group_body}</td>
<td><a href="{site_path}/user.php?id={group_owner_id}">{group_user_name}</a></td>
<td>{!date '{site_date_format}' '{group_created}'!}</td>
</tr>
{END:all_groups}
</table>

{!if defined(user_id)
 '<p class="action"><a href="{site_path}/editgroup.php">Create a new group</a></p>'
!}