From a7cadc76522a1461f7df23abfc811b3bca710d7b Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 21 May 2007 08:09:15 +0000 Subject: [PATCH] Fixed logging for open groupware account git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6411 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../connectivity/class_opengwAccount.inc | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/plugins/personal/connectivity/class_opengwAccount.inc b/plugins/personal/connectivity/class_opengwAccount.inc index 9be419d92..f40453605 100644 --- a/plugins/personal/connectivity/class_opengwAccount.inc +++ b/plugins/personal/connectivity/class_opengwAccount.inc @@ -32,7 +32,7 @@ class opengwAccount extends plugin var $initialy_was_account = false; var $OGWPassword = ""; var $ReadOnly = false; - + var $view_logged = FALSE; var $uid = ""; function opengwAccount ($config, $dn= NULL) @@ -118,20 +118,32 @@ class opengwAccount extends plugin /* Transmit data back to ogw handle */ $this->handle->SetInfos($this->info); } + } + function execute() + { /* Log view */ - if($this->is_account){ + if($this->is_account && !$this->view_logged){ + $this->view_logged = TRUE; @log::log("view","users/".get_class($this),$this->dn); } - } - - function execute() - { /* Show tab dialog headers */ $display= ""; $smarty= get_smarty(); + $smarty->assign("validTeams",""); + $smarty->assign("is_account", " "); + $smarty->assign("OGWstate"," disabled "); + $smarty->assign("validLocationTeam",array(" ")); + $smarty->assign("validLocationTeams",array(" ")); + $smarty->assign("LocationTeam",0); + $smarty->assign("validTemplateUser",array(" ")); + $smarty->assign("validTemplateUsers",array(" ")); + $smarty->assign("TemplateUser",0); + $smarty->assign("is_lockedCHK", " "); + $smarty->assign("is_locked", " "); + /* set default values */ $tmp = $this->plInfo(); foreach($tmp['plProvidedAcls'] as $acl => $desc){ -- 2.30.2