Code

Fixed w3c problems, and found a DOCTYPE that supports scrollTop attribute in JS.-
[gosa.git] / plugins / admin / systems / terminalService.tpl
index 50d4645d36482a21a5fd6182fe44eb12be8ec16d..24de0165e8919ce4d182d46d7ae293c475e7aa30 100644 (file)
@@ -42,7 +42,7 @@
      <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>
@@ -50,7 +50,7 @@
      <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>
      <td>{t}Type{/t}</td>
      <td>{$gotoXMonitor}</td>
     </tr>
+    <tr>
+     <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>
-     <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>
-     <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>