diff --git a/plugins/admin/systems/workstationService.tpl b/plugins/admin/systems/workstationService.tpl
index 87f45142beceeab71f8658db4279086c522055fc..fe10a2efe7efabe8318a98035fa005d007088000 100644 (file)
+{if $member_of_ogroup}
+<input type='submit' name='inheritAll' value='{t}Inherit all{/t}'>
+{/if}
<table style="width:100%;" summary="">
<tr>
<td style="width:33%; vertical-align:top;">
<table style="width:100%;" summary="">
<tr>
<td style="width:33%; vertical-align:top;">
<td><LABEL for="gotoXMouseType">{t}Type{/t}</LABEL></td>
<td>
<select name="gotoXMouseType" id="gotoXMouseType" title="{t}Choose mouse type{/t}" {$gotoXMouseTypeACL}>
<td><LABEL for="gotoXMouseType">{t}Type{/t}</LABEL></td>
<td>
<select name="gotoXMouseType" id="gotoXMouseType" title="{t}Choose mouse type{/t}" {$gotoXMouseTypeACL}>
- {html_options values=$MouseTypes output=$MouseTypes selected=$gotoXMouseType_select}
+ {html_options options=$MouseTypes selected=$gotoXMouseType_select}
</select>
</td>
</tr>
</select>
</td>
</tr>
<td><LABEL for="gotoXMouseport">{t}Port{/t}</LABEL></td>
<td>
<select id="gotoXMouseport" name="gotoXMouseport" title="{t}Choose mouse port{/t}" {$gotoXMouseportACL}>
<td><LABEL for="gotoXMouseport">{t}Port{/t}</LABEL></td>
<td>
<select id="gotoXMouseport" name="gotoXMouseport" title="{t}Choose mouse port{/t}" {$gotoXMouseportACL}>
- {html_options values=$MousePorts output=$MousePorts selected=$gotoXMouseport_select}
+ {html_options options=$MousePorts selected=$gotoXMouseport_select}
</select>
</td>
</tr>
</select>
</td>
</tr>
<td>{if $gotoXMonitor==""}{t}unknown{/t}{/if}{$gotoXMonitor}</td>
</tr>
<tr>
<td>{if $gotoXMonitor==""}{t}unknown{/t}{/if}{$gotoXMonitor}</td>
</tr>
<tr>
- <td><input type="checkbox" name="AutoSync" value="1" {$AutoSyncACL} {$AutoSyncCHK}>
- </td>
- <td>{t}Automatic modelines{/t}
- </td>
+ <td><input type="checkbox" name="AutoSync" value="1" {$AutoSyncACL} {$AutoSyncCHK} onChange="changeState('gotoXHsync');changeState('gotoXVsync');"></td>
+ <td>{t}Use DDC for automatic detection{/t}</td>
</tr>
<tr>
<td><LABEL for="gotoXHsync">{t}HSync{/t}</LABEL></td>
</tr>
<tr>
<td><LABEL for="gotoXHsync">{t}HSync{/t}</LABEL></td>
- <td><input id="gotoXHsync" name="gotoXHsync" size=10 maxlength=60 {$gotoXHsyncACL}
+ <td><input id="gotoXHsync" name="gotoXHsync" size=10 maxlength=60 {$gotoXHsyncACL} {$hiddenState}
value="{$gotoXHsync}" title="{t}Horizontal refresh frequency for installed monitor{/t}"> kHz</td>
</tr>
<tr>
<td><LABEL for="gotoXVsync">{t}VSync{/t}</LABEL></td>
value="{$gotoXHsync}" title="{t}Horizontal refresh frequency for installed monitor{/t}"> kHz</td>
</tr>
<tr>
<td><LABEL for="gotoXVsync">{t}VSync{/t}</LABEL></td>
- <td><input id="gotoXVsync" name="gotoXVsync" size=10 maxlength=60 {$gotoXVsyncACL}
+ <td><input id="gotoXVsync" name="gotoXVsync" size=10 maxlength=60 {$gotoXVsyncACL} {$hiddenState}
value="{$gotoXVsync}" title="{t}Vertical refresh frequency for installed monitor{/t}"> Hz</td>
</tr>
</table>
value="{$gotoXVsync}" title="{t}Vertical refresh frequency for installed monitor{/t}"> Hz</td>
</tr>
</table>
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
- document.mainform.gotoXKbModel.focus();
+ focus_field('gotoXKbModel');
-->
</script>
-->
</script>