index 6413570ff0f654a008251e4fb53bd5657126af55..ce9442dd8c3be813bb07e691ce462c9dd86dc7d6 100644 (file)
<!-- Headline container -->
<tr>
<td colspan="2" style="width:50%; vertical-align:top;">
- <h2><p class="center"><img class="center" alt="" align="middle" src="images/rightarrow.png"/> {t}Generic{/t}</p></h2>
+ <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"/> {t}Generic{/t}</h2>
</td>
</tr>
<tr>
<p class="seperator"> </p>
-<h2><p class="center"><img class="center" alt="" align="middle" src="images/display.png" /> {t}Terminal Server{/t}</p></h2>
+<h2><img class="center" alt="" align="middle" src="images/display.png" /> {t}Terminal Server{/t}</h2>
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
<tr>
<td style="vertical-align:top;width:50%">
<input type=checkbox name="tslogin" id="tslogin" value="1" {$tslogin} {$tsloginACL}
onclick="
- changeState('CtxWFHomeDir');
- changeState('CtxWFHomeDirDrive');
- changeState('CtxWFProfilePath');
- changeState('inherit');
+
+ {if $connectclientdrivesACL==""} changeState('CtxWFHomeDir'); {/if}
+ {if $CtxWFHomeDirDriveACL==""} changeState('CtxWFHomeDirDrive'); {/if}
+ {if $CtxWFProfilePathACL==""} changeState('CtxWFProfilePath'); {/if}
+
+ {if $inheritACL==""}
+ changeState('inherit');
changeTripleSelectState_2nd_neg('tslogin','inherit','CtxInitialProgram');
changeTripleSelectState_2nd_neg('tslogin','inherit','CtxWorkDirectory');
- changeState('CtxMaxConnectionTimeF');
- changeState('CtxMaxDisconnectionTimeF');
- changeState('CtxMaxIdleTimeF');
+ {/if}
+
+ {if $CtxMaxConnectionTimeACL==""} changeState('CtxMaxConnectionTimeF'); {/if}
+ {if $CtxMaxDisconnectionTimeACL==""} changeState('CtxMaxDisconnectionTimeF');{/if}
+ {if $CtxMaxIdleTimeACL==""} changeState('CtxMaxIdleTimeF'); {/if}
+
+
changeTripleSelectState('tslogin','CtxMaxConnectionTimeF','CtxMaxConnectionTime');
changeTripleSelectState('tslogin','CtxMaxDisconnectionTimeF','CtxMaxDisconnectionTime');
changeTripleSelectState('tslogin','CtxMaxIdleTimeF','CtxMaxIdleTime');
- changeState('connectclientdrives');
- changeState('connectclientprinters');
- changeState('defaultprinter');
- changeState('shadow');
- changeState('brokenconn');
- changeState('reconn');
+
+ {if $connectclientdrivesACL==""} changeState('connectclientdrives'); {/if}
+ {if $connectclientprintersACL==""} changeState('connectclientprinters'); {/if}
+ {if $defaultprinterACL==""} changeState('defaultprinter'); {/if}
+
+ {if $shadowACL == "" } changeState('shadow'); {/if}
+ {if $brokenconnACL == "" } changeState('brokenconn'); {/if}
+ {if $reconnACL == "" } changeState('reconn'); {/if}
">
<i>{t}Allow login on terminal server{/t}</i>
<table summary="">
</td>
<td style="vertical-align:top;">
- <input type=checkbox id="inherit" name="inherit" {$inherit} {$inheritACL} onclick="changeState('CtxInitialProgram'); changeState('CtxWorkDirectory')" {$tsloginstate}>
+ <input type=checkbox id="inherit" name="inherit" {$inherit} {$inheritACL}
+ onclick="{if $CtxInitialProgramACL ==""}changeState('CtxInitialProgram');{/if}
+ {if $CtxWorkDirectoryACL ==""}changeState('CtxWorkDirectory');{/if}" {$tsloginstate}>
<i>{t}Inherit client config{/t}</i>
<table summary="">
<tr>
<td><label for="CtxInitialProgram">{t}Initial program{/t}</label></td>
<td>
- <input id="CtxInitialProgram" name="CtxInitialProgram" size=35 maxlength=60 {if $CtxInitialProgramACL==""}{$CtxInitialProgramMode}{/if} value="{$CtxInitialProgram}" {$CtxInitialProgramACL} {$tsloginstate} {$inheritstate}>
+ <input id="CtxInitialProgram" name="CtxInitialProgram" size=35 maxlength=60 {if $CtxInitialProgramACL==""}{$CtxInitialProgramMode}{/if} value="{$CtxInitialProgram}"
+ {if ($CtxInitialProgramACL!="" || $tsloginstate!="" || $inheritstate!="") && $CtxInitialProgramACL!=""}
+ disabled
+ {/if}
+ >
</td>
</tr>
<tr>
<td><label for="CtxWorkDirectory">{t}Working directory{/t}</label></td>
<td>
- <input id="CtxWorkDirectory" name="CtxWorkDirectory" size=35 maxlength=60 {if $CtxWorkDirectoryACL==""}{$CtxInitialProgramMode}{/if} value="{$CtxWorkDirectory}" {$CtxInitialProgramACL} {$tsloginstate} {$inheritstate}>
+ <input id="CtxWorkDirectory" name="CtxWorkDirectory" size=35 maxlength=60
+ {if $CtxWorkDirectoryACL==""}
+ {$CtxInitialProgramMode}
+ {/if} value="{$CtxWorkDirectory}"
+ {if ($CtxInitialProgramACL=="disabled" || $tsloginstate=="disabled" || $inheritstate=="disabled") && $CtxWorkDirectoryACL!=""}
+ disabled
+ {/if}
+ >
</td>
</tr>
</table>
<p class="seperator"> </p>
-<h2><p class="center"><img class="center" alt="" align="middle" src="images/certs.png" /> {t}Access options{/t}</p></h2>
+<h2><img class="center" alt="" align="middle" src="images/certs.png" /> {t}Access options{/t}</h2>
<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
<tr>