[{INCLUDE templates/header.html}]
<script type="text/javascript">
$(document).ready(function(){
$("#selectall").click(function(){
selectAll(this, "selected_groups[]");
});
});
</script>
[{IFDEF INFO}]<div class="infomsg">${INFOMSG}</div>[{/IFDEF}]
[{IFDEF WARNING}]<div class="warningmsg">${WARNINGMSG}</div>[{/IFDEF}]
[{IFDEF ERROR}]<div class="errormsg">${ERRORMSG}</div>[{/IFDEF}]
<h1>TR{Group management}}</h1>
<p class="hdesc">TR{Here you can see a list of all groups, which are defined in your subversion configuration.}}</p>
<div class="datatablesearch">
TR{Filter}}:
<input type="text" class="filterbox" onkeyup="filterDataTable('grouplist',1,this.value);">
</div>
<form id="grouplist" action="grouplist.php" method="POST">
<table class="datatable">
<thead>
<tr>
<th width="20">[{IFDEF GROUP_EDIT_ACTIVE && ACL_groups_delete}]<input type="checkbox" id="selectall">[{/IFDEF}]</th>
<th>TR{Group}}</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2">
<table class="datatableinline">
<colgroup>
<col width="50%">
<col width="50%">
</colgroup>
<tr>
<td>
[{IFDEF GROUP_EDIT_ACTIVE && ACL_groups_delete}]
<input type="submit" name="delete" value="TR{Delete}}" class="delbtn" onclick="return deletionPrompt('TR{Are you sure?}}');">
[{/IFDEF}]
</td>
<td align="right">
</td>
</tr>
</table>
</td>
</tr>
</tfoot>
<tbody>
[{LOOP groups}]
<tr>
<td>[{IFDEF GROUP_EDIT_ACTIVE && ACL_groups_delete}]<input type="checkbox" name="selected_groups[]" value="${groups}{name}">[{/IFDEF}]</td>
<td><a href="groupview.php?groupname=${groups}{encodedName}">${groups}{name}</a></td>
</tr>
[{/LOOP}]
</tbody>
</table>
</form>
[{INCLUDE templates/footer.html}]