From: hickert Date: Wed, 14 Jan 2009 10:45:10 +0000 (+0000) Subject: Updated samba tab X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d8397b0b01e5b7dfbe0fb81285fe88d18134eafe;p=gosa.git Updated samba tab - Hide logon / off modification boxes, fixed information style. - Damn JS... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13347 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc index d082d00d9..2f3df17e3 100644 --- a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc +++ b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc @@ -924,8 +924,8 @@ class sambaAccount extends plugin } $str = + "\n
". "\n". - "\n". "\n". "\n". "\n". @@ -937,7 +937,7 @@ class sambaAccount extends plugin "\n". "\n". "\n". - "\n". + "\n
 
"._("Domain attributes")."
"._("Min password length").": ".$sambaMinPwdLength."
"._("Min password length").": ".$sambaMinPwdLength."
"._("Bad lockout attempt").": ".$sambaLockoutThreshold."
"._("Disconnect time").": ".$sambaForceLogoff."
"._("Refuse machine password change").":".$sambaRefuseMachinePwdChange."
 
". "\n". "\n". "\n". @@ -947,7 +947,7 @@ class sambaAccount extends plugin "\n". "\n". "\n". - "\n
"._("User attributes")."
"._("Last failed login").": ".$sambaBadPasswordTime."
"._("Logon attempts").": ".$sambaBadPasswordCount."
"._("Automatic logoff").": ".$sambaKickoffTime."
"._("Password expires").": ".$sambaPwdMustChange."
"._("Password change available").": ".$sambaPwdCanChange."
"; + "\n
"; return($str); } diff --git a/gosa-plugins/samba/personal/samba/samba3.tpl b/gosa-plugins/samba/personal/samba/samba3.tpl index 02e9bac05..250639b85 100644 --- a/gosa-plugins/samba/personal/samba/samba3.tpl +++ b/gosa-plugins/samba/personal/samba/samba3.tpl @@ -33,23 +33,6 @@ {/render} - - {t}Information{/t} - - {if $display_information} - - {else} - - {/if} - - - - - {if $display_information} - {$samba_information} - {/if} - - @@ -78,6 +61,26 @@ +

 

+

  {t}Information{/t}

+ + + + + {if $display_information} + + + + {/if} +
{t}Show information{/t} + {if $display_information} + + {else} + + {/if} +
+ {$samba_information} +

 

 {t}Terminal Server{/t}