From afaba5ef2625b4968a06b54a466ad20664d9f477 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 21 Mar 2006 06:50:55 +0000 Subject: [PATCH] Removed passwort settings from opw template, because ogw is able to authenticate via ldap git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2866 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/connectivity/class_opengwAccount.inc | 8 ++++++-- plugins/personal/connectivity/opengw.tpl | 15 --------------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/plugins/personal/connectivity/class_opengwAccount.inc b/plugins/personal/connectivity/class_opengwAccount.inc index 9e9ce7f6d..b7ea6b6c3 100644 --- a/plugins/personal/connectivity/class_opengwAccount.inc +++ b/plugins/personal/connectivity/class_opengwAccount.inc @@ -128,7 +128,7 @@ class opengwAccount extends plugin $smarty->assign($ar,array()); } $smarty->assign("OGWstate"," disabled "); - foreach(array("LocationTeam","TemplateUser","is_locked","validTeams","opengwAccount","is_account","OGWPassword") as $ar){ + foreach(array("LocationTeam","TemplateUser","is_locked","validTeams","opengwAccount","is_account"/*,"OGWPassword"*/) as $ar){ $smarty->assign($ar,""); $smarty->assign($ar."CHK",""); $smarty->assign($ar."ACL"," disabled "); @@ -154,7 +154,7 @@ class opengwAccount extends plugin /* Show main page */ $smarty->assign("OGWstate"," disabled "); - foreach(array("LocationTeam","TemplateUser","is_locked","validTeams","opengwAccount","OGWPassword") as $ar){ + foreach(array("LocationTeam","TemplateUser","is_locked","validTeams","opengwAccount"/*,"OGWPassword"*/) as $ar){ $smarty->assign($ar."ACL",chkacl($this->acl,$ar)); } @@ -219,6 +219,7 @@ class opengwAccount extends plugin } } + /* if($this->SetPassword == false){ if($_SESSION['js'] == 1){ $smarty->assign("OGWPasswordACL"," disabled "); @@ -232,6 +233,7 @@ class opengwAccount extends plugin $smarty->assign("OGWPassword",$this->OGWPassword); $smarty->assign("OGWPasswordCHK"," checked "); } + */ $display.= $smarty->fetch (get_template_path('opengw.tpl', TRUE, dirname(__FILE__))); return ($display); } @@ -253,6 +255,7 @@ class opengwAccount extends plugin /* get post data */ if($this->is_account){ + /* if(isset($_POST['SetPassword'])){ $this->SetPassword =true; }else{ @@ -269,6 +272,7 @@ class opengwAccount extends plugin unset($this->info['password']); } } + */ /* Get selected team chkboxes */ $this->info['TeamIDis'] = array(); diff --git a/plugins/personal/connectivity/opengw.tpl b/plugins/personal/connectivity/opengw.tpl index fbda05dac..5744875a9 100644 --- a/plugins/personal/connectivity/opengw.tpl +++ b/plugins/personal/connectivity/opengw.tpl @@ -37,21 +37,6 @@ - - - - - - {t}Set password{/t}   - - - -- 2.30.2