index 2b4007458e07b55a76e87d57899126ac9ac17624..7f25ca9211d7ebc3796577b82f562eaa6d1f84bb 100644 (file)
<table summary="" width="100%">
<tr>
- <td style="vertical-align:top; width:50%;">
+ <td style="vertical-align:top; width:50%; border-right:1px solid #A0A0A0">
<table summary="">
<tr>
- <td>{t}Device name{/t}{$must}</td>
- <td><input name="cn" size=20 maxlength=60 value="{$cn}"></td>
+ <td><LABEL for="cn">{t}Device name{/t}</LABEL>{$must}</td>
+ <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}"></td>
</tr>
<tr>
<td colspan=2> </td>
</tr>
<tr>
- <td>{t}Base{/t}{$must}</td>
+ <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
<td>
- <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
+ <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}" {$baseACL}>
{html_options options=$bases selected=$base_select}
</select>
+ {if $baseACL == ""}
+ <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+ {else}
+ <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+ {/if}
+ </td>
</tr>
</table>
</td>
<td style="vertical-align:top">
<table summary="">
<tr>
- <td>{t}Description{/t}</td>
- <td><input name="description" size=25 maxlength=80 value="{$description}"></td>
+ <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+ <td><input id="description" name="description" size=25 maxlength=80 value="{$description}"></td>
</tr>
</table>
</td>
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
-{include file="$netconfig"}
+{$netconfig}
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.cn.focus();
+ focus_field('cn');
-->
</script>