summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 510e2dd)
raw | patch | inline | side by side (parent: 510e2dd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 May 2007 08:35:36 +0000 (08:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 May 2007 08:35:36 +0000 (08:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6432 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/plugins/admin/mimetypes/class_mimetypeGeneric.inc b/plugins/admin/mimetypes/class_mimetypeGeneric.inc
index 4f53f6b066bd56be93430f133b31a4d15fba7091..882c2b8625551f1e8eea9a3a4109972eec20fac3 100644 (file)
var $CopyPasteVars = array("use_gotoMimeFilePattern","use_gotoMimeApplication","use_gotoMimeEmbeddedApplication","iconData",
"gotoMimeLeftClickAction_I","gotoMimeLeftClickAction_E","gotoMimeLeftClickAction_Q","use_gotoMimeIcon");
+ var $view_logged = FALSE;
+
/* Select options */
var $MimeGroups = array("application","audio","chemical","image","inode","message","model",
"multipart","text","video","x-conference","x-world");
$this->base= dn2base($ui->dn);
}
} else {
- @log::log("view","mimetypes/".get_class($this),$this->dn);
$this->base= preg_replace ("/^[^,]+,[^,]+,/", "", $this->dn);
}
{
$smarty = get_smarty();
+ if(!$this->view_logged){
+ $this->view_logged =TRUE;
+ @log::log("view","mimetypes/".get_class($this),$this->dn);
+ }
+
$tmp = $this->plInfo();
foreach($tmp['plProvidedAcls'] as $name => $translation){
$smarty->assign($name."ACL",$this->getacl($name));
diff --git a/plugins/admin/ogroups/class_mailogroup.inc b/plugins/admin/ogroups/class_mailogroup.inc
index 7ffe77da6a51dcefd57e6dddbdb62ee81db170fd..933dbb62abdb98979e9bb25cdd1a43cb1223c314 100644 (file)
var $attributes= array("mail");
var $objectclasses= array("kolabGroupOfNames");
var $members= array();
-
+ var $view_logged = FALSE;
function mailogroup ($config, $dn= NULL, $parent= NULL)
{
/* Save initial account state */
$this->initially_was_account= $this->is_account;
-
- if($this->is_account){
- @log::log("view","ogroups/".get_class($this),$this->dn);
- }
}
/* Call parent execute */
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","ogroups/".get_class($this),$this->dn);
+ }
+
+
/* Do we need to flip is_account state? */
if(isset($_POST['modify_state'])){
if($this->is_account && $this->acl_is_removeable()){
index 7c13eedc6023de2a6b726925713c9e204b040d3f..d9114eb4edaff2c9f40607d609611a0bf7a656ce 100644 (file)
var $member= array();
var $orig_dn= "";
var $group_dialog= FALSE;
+ var $view_logged = FALSE;
/* attribute list for save action */
var $attributes= array("cn", "description", "gosaGroupObjects","member");
$this->base= preg_replace("/^[^,]+,".get_groups_ou()."/","",$this->dn);
}
- if($this->is_account && $dn != "new"){
- @log::log("view","ogroup/".get_class($this),$this->dn);
- }
-
/* Load member data */
$this->reload();
}
function execute()
{
- /* Call parent execute */
- plugin::execute();
+ /* Call parent execute */
+ plugin::execute();
+
+ if(!$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","ogroups/".get_class($this),$this->dn);
+ }
-// $this->reload();
/* Do we represent a valid group? */
if (!$this->is_account){
diff --git a/plugins/admin/ogroups/class_phonequeue.inc b/plugins/admin/ogroups/class_phonequeue.inc
index c47bd3ce3d1244315d54209e8d2ab2b371e4d867..66933896e956295f2adf2f9fb2a97402ed94ad8f 100644 (file)
var $init_HomeServer = "0";
var $goFonHomeServers = array();
+ var $view_logged = FALSE;
+
/* attribute list for save action */
var $attributes= array( "goFonTimeOut","goFonMaxLen","goFonAnnounceFrequency","goFonDialOptiont","goFonDialOptionT",
"goFonDialOptionh","goFonDialOptionr","cn","goFonHomeServer",
$this->goFonQueueStrategy= $tmp[$this->goFonQueueStrategy];
$this->old_cn = $this->cn;
$this->old_phone_numbers = $this->telephoneNumber;
-
- if($this->is_account){
- @log::log("view","ogroups/".get_class($this),$this->dn);
- }
}
/* Call parent execute */
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","ogroups/".get_class($this),$this->dn);
+ }
+
if(isset($_POST['modify_state'])){
if($this->is_account && $this->acl_is_removeable()){
$this->is_account= FALSE;
index 2c8239a3976999a0f6be752dafa4659a8a0dcbbd..b8c1d68dd71aaafd4d2fe7d6c361bbb8944dd13e 100644 (file)
var $attributes = array("gotoMode","gotoSyslogServer", "gotoNtpServer");
var $objectclasses = array("gotoWorkstationTemplate");
var $CopyPasteVars = array("gotoNtpServers","modes","inheritTimeServer","members");
+ var $view_logged = FALSE;
+
function termgroup ($config, $dn= NULL, $parent= NULL)
{
unset($this->gotoNtpServers[$key]);
}
}
-
- if($this->is_account && $dn != "new"){
- @log::log("view","ogroups/".get_class($this),$this->dn);
- }
}
function check()
/* Call parent execute */
plugin::execute();
+ if(!$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","ogroups/".get_class($this),$this->dn);
+ }
/***************
Handle requested action