Code

Another state fix for ctx attributes
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 10 Apr 2007 14:07:35 +0000 (14:07 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 10 Apr 2007 14:07:35 +0000 (14:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5999 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/samba/samba3.tpl

index a7ae390e311ab500f5c188d70389509755b573b2..0c07033a0e9fa04189f422211ce655ed86446af8 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!="" || $tsloginstate!="" || $inheritstate!="") && $CtxInitialProgramACL!=""}
+               {if $CtxInitialProgramACL!="" || $tsloginstate!="" || $inheritstate!=""}
                        disabled 
                {/if}
+               {$tsloginstate}
                >
      </td>
     </tr>
       <input id="CtxWorkDirectory" name="CtxWorkDirectory" size=35 maxlength=60 
                {if $CtxWorkDirectoryACL==""}
                        {$CtxInitialProgramMode}
-               {else}
-                       disabled
                {/if} value="{$CtxWorkDirectory}" 
-               {if ($CtxInitialProgramACL=="disabled" || $tsloginstate=="disabled" || $inheritstate=="disabled") && $CtxWorkDirectoryACL!=""}
+               {if $CtxInitialProgramACL=="disabled" || $tsloginstate=="disabled" || $inheritstate=="disabled"}
                        disabled 
                {/if}
+               {$CtxWorkDirectoryACL}
                >
      </td>
     </tr>