index d6ea1c5395d208e417726de7c4b3252637bf8470..378c7c1266d66caed7b0781601fcb5e8be03e063 100644 (file)
<table summary="" style="width:100%;">
<tr>
<td style="width:50%; vertical-align:top;">
-
<table summary="">
<tr>
- {if $cn eq 'wdefault'}
+{if $cn eq 'wdefault'}
<td colspan=2>{t}Workstation template{/t}</td>
- {else}
+{else}
<td><LABEL for="cn">{t}Workstation name{/t}</LABEL>{$must}</td>
<td>
+{render acl=$cnACL}
<input name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
+{/render}
</td>
- {/if}
+{/if}
</tr>
<tr>
<td><LABEL for="cn">{t}Location{/t}</LABEL></td>
<td>
+{render acl=$lACL}
<input name="l" id="l" size=18 maxlength=60 value="{$l}">
+{/render}
</td>
</tr>
- <tr>
- <td colspan=2> </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}">
+{render acl=$baseACL}
+ <select id="base" size="1" name="base" title="{t}Choose subtree to place group 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}">
+{/render}
+{render acl=$baseACL disable_picture='images/folder_gray.png'}
+ <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+{/render}
+ </td>
</tr>
</table>
-
- </td>
-
- <td rowspan=2 style="border-left:1px solid #A0A0A0">
-
</td>
-
- <td style="vertical-align:top;">
-
+ <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}>
+{render acl=$gotoModeACL}
+ <select name="gotoMode" title="{t}Select terminal mode{/t}">
{html_options options=$modes selected=$gotoMode_select}
</select>
+{/render}
</td>
</tr>
- <tr><td colspan=2><div style="height:15px;"></div></td></tr>
<tr>
<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}
+{render acl=$gotoSyslogServerACL}
+ <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}">
+ {html_options options=$syslogservers selected=$gotoSyslogServer_select}
</select>
+{/render}
</td>
</tr>
+ </table>
+<p class="seperator"> </p>
+ <table width="100%">
<tr>
- <td><LABEL for="gotoNtpServer">{t}NTP server{/t}</LABEL></td>
- <td>
- <select id="gotoNtpServer" name="gotoNtpServer" title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL}>
- {html_options values=$ntpservers output=$ntpservers selected=$gotoNtpServer_select}
+ <td colspan="2">
+{render acl=$gotoNtpServerACL}
+ <input type="checkbox" value="1" name="inheritTimeServer"
+ {if $inheritTimeServer } checked {/if}
+ onClick="javascript:
+ changeState('gotoNtpServerSelected');
+ changeState('gotoNtpServers');
+ changeState('addNtpServer');
+ changeState('delNtpServer');">{t}Inherit time server attributes{/t}
+{/render}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
+{render acl=$gotoNtpServerACL}
+ <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
+ title="{t}Choose server to use for synchronizing time{/t}" {if $inheritTimeServer} disabled {/if}>
+ {html_options options=$gotoNtpServer_select}
</select>
+{/render}
+ <br>
+{render acl=$gotoNtpServerACL}
+ <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if} >
+ {html_options options=$gotoNtpServers}
+ </select>
+{/render}
+{render acl=$gotoNtpServerACL}
+ <input type="submit" name="addNtpServer" value="{t}Add{/t}" id="addNtpServer"
+ {if $inheritTimeServer} disabled {/if}>
+{/render}
+{render acl=$gotoNtpServerACL}
+ <input type="submit" name="delNtpServer" value="{t}Delete{/t}" id="delNtpServer"
+ {if $inheritTimeServer} disabled {/if}>
+{/render}
</td>
</tr>
</table>
<table summary="">
<tr>
<td>
- <select size="1" name="saction" {$actionACL} title="{t}Select action to execute for this terminal{/t}">
+{render acl=$FAIstateACL}
+ <select size="1" name="saction" title="{t}Select action to execute for this terminal{/t}">
<option> </option>
{html_options options=$actions}
</select>
+{/render}
</td>
<td>
<input type=submit name="action" value="{t}Execute{/t}">
</td>
</tr>
</table>
-
+<input type="hidden" name="workgeneric_posted" value="1">
{if $cn eq 'wdefault'}
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">