From: hickert Date: Mon, 21 May 2007 08:09:15 +0000 (+0000) Subject: Fixed logging for open groupware account X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a7cadc76522a1461f7df23abfc811b3bca710d7b;p=gosa.git Fixed logging for open groupware account git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6411 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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){