Code

Update samba tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Jan 2009 09:40:26 +0000 (09:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Jan 2009 09:40:26 +0000 (09:40 +0000)
-Updated samba info

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13343 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/samba/personal/samba/class_sambaAccount.inc
gosa-plugins/samba/personal/samba/samba3.tpl

index 919d4581fc9d355aee6f6467402640cc014c929f..a17170cd1713506d3315a8251b84188ff21ab147 100644 (file)
@@ -792,7 +792,7 @@ class sambaAccount extends plugin
     }elseif($sambaLockoutDuration == -1){
       $sambaLockoutDuration = _("forever");
     }else{
-      $sambaLockoutDuration .= _("minutes");
+      $sambaLockoutDuration .= " "._("minutes");
     }
 
     /* Time of the last bad password attempt
@@ -825,7 +825,6 @@ class sambaAccount extends plugin
       $sambaRefuseMachinePwdChange = _("on");
     }
     
-
     $str =
       "\n<table>".
       "\n<tr><td>"._("Min password length").":           </td><td>".$sambaMinPwdLength."</td></tr>". 
index 2ae4d66e26cbd83230ebfc1489aebddcea7cdbea..4b2d43713cb1399425e132f3d880ae1efdf65c59 100644 (file)
@@ -26,7 +26,8 @@
      <td><label for="sambaDomainName">{t}Domain{/t}</label></td>
      <td>
 {render acl=$sambaDomainNameACL  checkbox=$multiple_support checked=$use_sambaDomainName}
-      <select id="sambaDomainName" size="1" name="sambaDomainName">
+      <select id="sambaDomainName" size="1" name="sambaDomainName"
+       {if $display_informations} onChange="document.mainform.submit();" {/if}>
        {html_options values=$domains output=$domains selected=$sambaDomainName}
       </select>
 {/render}