48 lines
1.4 KiB
Smarty
48 lines
1.4 KiB
Smarty
<table cellspacing="10">
|
|
<tr><td valign="top">
|
|
|
|
{foreach from=$masters item=hlsw}
|
|
<table class="lgraybox" cellspacing="0">
|
|
<caption>HLSW: {$hlsw->name|escape}</caption>
|
|
|
|
<form action="{$smarty.server.PHP_SELF}?action=mod_hlsw&hlswid={$hlsw->id}" method="post">
|
|
|
|
<tr><td width="100" class="descla">Name:</td>
|
|
<td><input type="text" maxlenght="32" name="hlsw[name]" value="{$hlsw->name|escape}"></td>
|
|
</tr>
|
|
|
|
<tr><td width="100" class="descla">Source IP:</td>
|
|
<td><input type="text" maxlenght="16" name="hlsw[ip]" value="{$hlsw->ip|escape}"></td>
|
|
</tr>
|
|
|
|
<tr><td width="100" class="descla">Interface:</td>
|
|
<td>{html_options name=hlsw[vlanid] options=$ifarr selected=$hlsw->vlanid}</td>
|
|
</tr>
|
|
|
|
<tr><td colspan="2"> </td></tr>
|
|
|
|
<tr><td colspan="2" align="center">
|
|
<input type="button" value="Delete Master" onClick="javascript:window.location.href='{$smarty.server.PHP_SELF}?action=del_hlsw&hlswid={$hlsw->id}'">
|
|
<input type="submit" value="Save Changes">
|
|
</td></tr>
|
|
|
|
</form>
|
|
|
|
<tr><td colspan="2"><hr></td></tr>
|
|
|
|
<tr><td colspan="2" align="center"><img src="stat_hlsw.php?hlswid={$hlsw->id}&mode=overview"></td></tr>
|
|
|
|
</table>
|
|
<br><br>
|
|
{/foreach}
|
|
|
|
<form action="{$smarty.server.PHP_SELF}?action=add_hlsw" method="post">
|
|
<table class="lgraybox" cellspacing="0">
|
|
<caption>HLSW Master: -</caption>
|
|
<tr><td><input type="submit" value="Add new HLSW Master"></td></tr>
|
|
</table>
|
|
</form>
|
|
|
|
</td></tr>
|
|
</table>
|