diff --git a/plugins/personal/connectivity/class_opengwAccount.inc b/plugins/personal/connectivity/class_opengwAccount.inc
index 9e9ce7f6dd424053425fcec2e43b2c7172eae901..02b075d56e93147b24c9f892f09c76ade1f972dd 100644 (file)
$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 ");
/* 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));
}
}
}
+ /*
if($this->SetPassword == false){
if($_SESSION['js'] == 1){
$smarty->assign("OGWPasswordACL"," disabled ");
$smarty->assign("OGWPassword",$this->OGWPassword);
$smarty->assign("OGWPasswordCHK"," checked ");
}
+ */
$display.= $smarty->fetch (get_template_path('opengw.tpl', TRUE, dirname(__FILE__)));
return ($display);
}
/* get post data */
if($this->is_account){
+ /*
if(isset($_POST['SetPassword'])){
$this->SetPassword =true;
}else{
unset($this->info['password']);
}
}
+ */
/* Get selected team chkboxes */
$this->info['TeamIDis'] = array();
}
}
+
+ function PrepareForCopyPaste($src){
+ // Nothing to do, because this object can't be copied ... yet
+ }
+
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>