From: hickert Date: Tue, 21 Mar 2006 06:50:55 +0000 (+0000) Subject: Removed passwort settings from opw template, because ogw is able to authenticate... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=afaba5ef2625b4968a06b54a466ad20664d9f477;p=gosa.git 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 --- 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}   - - -