index 607c5907c077f31a83ac13e9f3a201d91ab63422..677297a6337b93e2e2a950dcb924443cd188a1bc 100644 (file)
{else}
<td><LABEL for="cn">{t}Terminal name{/t}</LABEL>{$must}</td>
<td>
{else}
<td><LABEL for="cn">{t}Terminal 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="base">{t}Base{/t}</LABEL>{$must}</td>
<td>
</td>
{/if}
</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}">
+ <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>
{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}">
+ {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>
</tr>
</table>
</td>
<td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
<td>
<select name="gotoSyslogServer" id="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
<td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
<td>
<select name="gotoSyslogServer" id="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>
</select>
</td>
</tr>
<td><LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL></td>
<td>
<select name="gotoTerminalPath" id="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}" {$gotoTerminalPathACL}>
<td><LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL></td>
<td>
<select name="gotoTerminalPath" id="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}" {$gotoTerminalPathACL}>
- {html_options values=$nfsservers output=$nfsservers selected=$gotoTerminalPath_select}
+ {html_options options=$nfsservers selected=$gotoTerminalPath_select}
</select>
</td>
</tr>
</select>
</td>
</tr>
<td><LABEL for="gotoSwapServer">{t}Swap server{/t}</LABEL></td>
<td>
<select name="gotoSwapServer" id="gotoSwapServer" title="{t}Choose NFS filesystem to place swap files on{/t}" {$gotoSwapServerACL}>
<td><LABEL for="gotoSwapServer">{t}Swap server{/t}</LABEL></td>
<td>
<select name="gotoSwapServer" id="gotoSwapServer" title="{t}Choose NFS filesystem to place swap files on{/t}" {$gotoSwapServerACL}>
- {html_options values=$nfsservers output=$nfsservers selected=$gotoSwapServer_select}
+ {html_options options=$nfsservers selected=$gotoSwapServer_select}
</select>
</td>
</tr>
</select>
</td>
</tr>
<table width="100%">
<tr>
<td colspan="2">
<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');
{if $inheritTimeServer } checked {/if}
onClick="javascript:
changeState('gotoNtpServerSelected');
</td>
</tr>
</table>
</td>
</tr>
</table>
-<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
+{if $cn neq 'default'}
+<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
{$netconfig}
{$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="">
<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>
</td>
</tr>
</table>
+{/if}
<input type="hidden" name="termgeneric_posted" value="1">
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
<input type="hidden" name="termgeneric_posted" value="1">
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.cn.focus();
+ focus_field('cn');
-->
</script>
-->
</script>