summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c4b785c)
raw | patch | inline | side by side (parent: c4b785c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 5 Feb 2009 08:17:53 +0000 (08:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 5 Feb 2009 08:17:53 +0000 (08:17 +0000) |
-Javascript disabling of input fields wasn't working as expected.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13382 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13382 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/samba/personal/samba/samba3.tpl | patch | blob | history |
diff --git a/gosa-plugins/samba/personal/samba/samba3.tpl b/gosa-plugins/samba/personal/samba/samba3.tpl
index 816b75fa17fc9c2aafc80675079f8b2792f7bfac..44e30b0068e31998bf32a6739ff905c266c12b9f 100644 (file)
<td style="vertical-align:top;">
{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_inherit}
<input class="center" type=checkbox id="inherit" name="inherit" {if $inheritstate} checked {/if}
+ {$tsloginstate}
onClick="changeState('CtxInitialProgram');
changeState('CtxWorkDirectory');"
<td><label for="CtxInitialProgram">{t}Initial program{/t}</label></td>
<td>
{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_CtxInitialProgram}
- <input id="CtxInitialProgram" name="CtxInitialProgram" size=35 maxlength=60 value="{$CtxInitialProgram}" {$inheritstate}>
+ <input id="CtxInitialProgram" name="CtxInitialProgram" size=35 maxlength=60 value="{$CtxInitialProgram}" {$inheritstate} {$tsloginstate}>
{/render}
</td>
</tr>
<td><label for="CtxWorkDirectory">{t}Working directory{/t}</label></td>
<td>
{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_CtxWorkDirectory}
- <input id="CtxWorkDirectory" name="CtxWorkDirectory" size=35 maxlength=60 value='{$CtxWorkDirectory}' {$inheritstate}>
+ <input id="CtxWorkDirectory" name="CtxWorkDirectory" size=35 maxlength=60 value='{$CtxWorkDirectory}' {$inheritstate} {$tsloginstate}>
{/render}
</td>
</tr>
</td>
<td>
{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_shadow}
- <select id="shadow" size="1" name="shadow" >
+ <select id="shadow" size="1" name="shadow" {$tsloginstate}>
{html_options options=$shadow selected=$shadowmode}
</select>
{/render}
<td><label for="brokenconn">{t}On broken or timed out{/t}</label></td>
<td>
{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_brokenconn}
- <select id="brokenconn" size="1" name="brokenconn">
+ <select id="brokenconn" size="1" name="brokenconn" {$tsloginstate}>
{html_options options=$brokenconn selected=$brokenconnmode}
</select>
{/render}
<td><label for="reconn">{t}Reconnect if disconnected{/t}</label></td>
<td>
{render acl=$AllowLoginOnTerminalServerACL checkbox=$multiple_support checked=$use_reconn}
- <select id="reconn" size="1" name="reconn">
+ <select id="reconn" size="1" name="reconn" {$tsloginstate}>
{html_options options=$reconn selected=$reconnmode}
</select>
{/render}