From 4e7919fdd17f57421156dd447218329d4a97b630 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 May 2005 12:21:04 +0000 Subject: [PATCH] w3c git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@377 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/connectivity/class_connectivity.inc | 2 +- plugins/personal/connectivity/main.inc | 6 +++--- plugins/personal/samba/class_sambaAccount.inc | 3 +++ plugins/personal/samba/samba3.tpl | 10 +++++----- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/plugins/personal/connectivity/class_connectivity.inc b/plugins/personal/connectivity/class_connectivity.inc index ed5943db3..6c760ad67 100644 --- a/plugins/personal/connectivity/class_connectivity.inc +++ b/plugins/personal/connectivity/class_connectivity.inc @@ -56,7 +56,7 @@ class connectivity extends plugin } } if (!$enabled){ - $display= " ". + $display= "\"\" ". _("This account has no connectivity extensions.").""; $display.= back_to_main(); return ($display); diff --git a/plugins/personal/connectivity/main.inc b/plugins/personal/connectivity/main.inc index f511faf67..d8ab9df48 100644 --- a/plugins/personal/connectivity/main.inc +++ b/plugins/personal/connectivity/main.inc @@ -116,13 +116,13 @@ if (!$remove_lock){ $display.= "\n"; $display.= " "; $display.= "\n"; - $info= " ".$ui->dn." "; } else { - $info= " ".$ui->dn." "; if ($editacl != "#none#"){ - $info.= ""._("Click the 'Edit' button below to change informations in this dialog"); $display.= "\n"; } diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc index 60d6977b3..23b11d53b 100644 --- a/plugins/personal/samba/class_sambaAccount.inc +++ b/plugins/personal/samba/class_sambaAccount.inc @@ -466,8 +466,11 @@ class sambaAccount extends plugin /* Set checkboxes to checked or unchecked state */ $smarty->assign("tslogin", $this->mungedObject->getTsLogin()?"checked":""); $smarty->assign("tsloginACL", chkacl($this->acl,"tslogin")); + $smarty->assign("inherit", $this->mungedObject->getInheritMode()?"checked":""); $smarty->assign("inheritACL", chkacl($this->acl,"inherit")); + + $smarty->assign("connectclientdrives", $this->mungedObject->getConnectClientDrives()?"checked":""); $smarty->assign("connectclientdrivesACL", chkacl($this->acl,"connectclientdrives")); diff --git a/plugins/personal/samba/samba3.tpl b/plugins/personal/samba/samba3.tpl index fa69000ed..6fa18b403 100644 --- a/plugins/personal/samba/samba3.tpl +++ b/plugins/personal/samba/samba3.tpl @@ -89,13 +89,13 @@ {t}Initial program{/t} - + {t}Working directory{/t} - + @@ -116,7 +116,7 @@ {t}Connection{/t} - + @@ -125,7 +125,7 @@ {t}Disconnection{/t} - + @@ -134,7 +134,7 @@ {t}IDLE{/t} - + -- 2.30.2