index 636085ae286996cac1d1496a908fc889b318ab2e..b427fdd06178467bdf674ce31a81d6b50d0a9de7 100644 (file)
-<table width="100%">
+<table summary="" width="100%">
<tr>
<td style="vertical-align:top; width:50%;">
- <table>
+ <table summary="">
<tr>
- <td>{t}Server name{/t}{$must}</td>
- <td><input name="cn" size=20 maxlength=60 value="{$cn}"></td>
+ <td><LABEL for="cn">{t}Server name{/t}</LABEL>{$must}</td>
+ <td><input name="cn" id="cn" size=20 maxlength=60 value="{$cn}" {$cnACL}></td>
</tr>
<tr>
- <td colspan=2> </td>
+ <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+ <td><input name="description" id="description" size=25 maxlength=80 value="{$description}" {$descriptionACL}></td>
</tr>
<tr>
- <td>{t}Base{/t}{$must}</td>
+ <td><br><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
<td>
- <select size="1" name="base" title="{t}Choose subtree to place terminal in{/t}">
+ <br>
+ <select size="1" name="base" id="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>
- <tr>
- <td>{t}Description{/t}</td>
- <td><input name="description" size=25 maxlength=80 value="{$description}"></td>
- </tr>
+ <td style="vertical-align:top;border-left:1px solid #A0A0A0;">
+ <table summary="">
+ <tr>
+ <td>{t}Mode{/t}</td>
+ <td>
+ <select name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
+ {html_options options=$modes selected=$gotoMode}
+ </select>
+ </td>
+ </tr>
</table>
</td>
</tr>
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
-{include file="$netconfig"}
+{$netconfig}
+{if $fai_activated}
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
-<h2><img align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
-<table>
+<h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
+<table summary="">
<tr>
<td>
- <select size="1" name="action" title="{t}Select action to execute for this server{/t}">
- <option></option>
+ <select size="1" name="saction" title="{t}Select action to execute for this server{/t}">
+ <option disabled> </option>
{html_options options=$actions}
</select>
</td>
</td>
</tr>
</table>
-
+{/if}
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.cn.focus();
+ focus_field('cn');
-->
</script>