blob: 623af0faccf684c6ba4e023afb3c20fae033f923 (
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
26
27
28
29
30
31
32
33
|
{include file="header.tpl" title="Scire - Admin - Edit a ClientGroup"}
<h2>Edit a ClientGroup: {$editgroupdata[3]}</h2>
<form name="form4" method="post" action="">
{if $editgroup}
<input type="hidden" name="groupid" value="{$editgroup}">
<p>Group name:
<input name="groupname" type="text" id="groupname" value="{$editgroupdata[3]}">
is subgroup of
<select name="parentgroup" id="parentgroup">
{html_options values=$ids output=$groupnames selected="$editgroupdata[1]"}
</select>
<input type="submit" name="Submit" value="Submit">
</p>
{else}
<table width="100%" border="1">
<tr>
<th scope="col" width="10%"><div align="center">EDIT</div></th>
<th scope="col">Group Name </th>
</tr>
{foreach from=$clientgroups item=cgroup key=key}
<tr>
<td><div align="center">
<input name="editgroup" type="radio" value="{$key}">
</div></td>
<td>{$cgroup}</td>
</tr>
{/foreach}
</table>
<p>
<input type="submit" name="Submit" value="EDIT">
</p>
{/if}
</form>
|