Code

w3c
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Dec 2005 10:47:39 +0000 (10:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Dec 2005 10:47:39 +0000 (10:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2333 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/samba/samba3.tpl

index b66b469130c87971420639c599f2ed19b16e7465..ce9442dd8c3be813bb07e691ce462c9dd86dc7d6 100644 (file)
      <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}" 
-               {if $CtxInitialProgramACL=="disabled" || $tsloginstate=="disabled" || $inheritstate=="disabled"}
+               {if ($CtxInitialProgramACL!="" || $tsloginstate!="" || $inheritstate!="") && $CtxInitialProgramACL!=""}
                        disabled 
                {/if}
                >
                {if $CtxWorkDirectoryACL==""}
                        {$CtxInitialProgramMode}
                {/if} value="{$CtxWorkDirectory}" 
-               {if $CtxInitialProgramACL=="disabled" || $tsloginstate=="disabled" || $inheritstate=="disabled"}
+               {if ($CtxInitialProgramACL=="disabled" || $tsloginstate=="disabled" || $inheritstate=="disabled") && $CtxWorkDirectoryACL!=""}
                        disabled 
                {/if}
                >