index 27f3c00b112c3167616f5408afbb181133c8d6a9..9d6b9f85d0d3078e06be2f20dfd9e779e0a260fa 100644 (file)
{else}
<td><LABEL for="cn">{t}Workstation name{/t}</LABEL>{$must}</td>
<td>
- <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
+ <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}" {$cnACL}>
</td>
{/if}
</tr>
<tr>
<td><LABEL for="cn">{t}Location{/t}</LABEL></td>
<td>
- <input name="l" id="l" size=18 maxlength=60 value="{$l}">
+ <input name="l" id="l" size=18 maxlength=60 value="{$l}" {$lACL}>
</td>
</tr>
+ <tr>
+ <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
+ <td>
+ <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}
+ </tr>
</table>
</td>
<td style="vertical-align:top;border-left:1px solid #A0A0A0;">
<td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
<td>
<select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
- {html_options values=$syslogservers output=$syslogservers selected=$gotoSyslogServer_select}
+ {html_options options=$syslogservers selected=$gotoSyslogServer_select}
</select>
</td>
</tr>
</table>
- </td>
- </tr>
-</table>
<p class="seperator"> </p>
-<table summary="" style="width:100%;">
- <tr>
- <td style="width:50%; vertical-align:top;">
- <table width="100%">
- <tr>
- <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
- <td>
- <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}">
- {html_options options=$bases selected=$base_select}
- </select>
- <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
- </tr>
- </table>
- </td>
- <td style="vertical-align:top;border-left:1px solid #A0A0A0;">
<table width="100%">
<tr>
<td colspan="2">
- <input type="checkbox" value="1" name="inheritTimeServer"
+ <input type="checkbox" value="1" name="inheritTimeServer" {$gotoNtpServerACL}
{if $inheritTimeServer } checked {/if}
onClick="javascript:
changeState('gotoNtpServerSelected');
</select>
<br>
<select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if} >
- {html_options output=$gotoNtpServers values=$gotoNtpServers}
+ {html_options options=$gotoNtpServers}
</select>
<input type="submit" name="addNtpServer" value="{t}Add{/t}" id="addNtpServer" {$gotoNtpServerACL}
{if $inheritTimeServer} disabled {/if}>
</td>
</tr>
</table>
+
+{if $cn neq 'wdefault'}
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
{$netconfig}
+{/if}
+{if $fai_activated}
<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
<h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
<table summary="">
</td>
</tr>
</table>
+{/if}
<input type="hidden" name="workgeneric_posted" value="1">
{if $cn eq 'wdefault'}
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.l.focus();
+ focus_field('l');
-->
</script>
{else}
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.cn.focus();
+ focus_field('cn');
-->
</script>
{/if}