summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a5d4b4b)
raw | patch | inline | side by side (parent: a5d4b4b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 May 2007 08:10:20 +0000 (08:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 May 2007 08:10:20 +0000 (08:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6430 594d385d-05f5-0310-b6e9-bd551577e9d8
index 1fdbd52ff5a253412cbc9f6f8dd6f5c05fb89e6f..e041ac882622d193a28700fd6b3ff44aa2d16679 100644 (file)
var $is_dialog = false; // specifies which buttons will be shown to save or abort
var $dialog = NULL; // a dialog, e.g. new disk dialog
var $SubObjects = array(); // All leafobjects of this object
-
+ var $view_logged = FALSE;
var $FAIstate = "";
var $ui;
}
}
$this->ui = get_userinfo();
-
- @log::log("view","fai/".get_class($this),$this->dn);
}
/* Call parent execute */
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","fai/".get_class($this),$this->dn);
+ }
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
index 37b7f128a08f2c919daea22c5ef331ded99703f5..4b00f808841ee0813c361155553acc60cc36d91f 100644 (file)
var $newDialogShown =false;
var $FAIstate = "";
+ var $view_logged = FALSE;
var $FAIinstallMethods = array( "install", "ninstall", "remove",
"dselect-upgrade", "taskinst", "taskrm",
$this->ConfiguredPackages[$attr['FAIpackage'][0]][$attr['FAIvariable'][0]]=$tmp;
}
}
- @log::log("view","fai/".get_class($this),$this->dn);
}
if (isset($this->attrs['FAIdebianSection']['count'])){
function execute()
{
/* Call parent execute */
-
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","fai/".get_class($this),$this->dn);
+ }
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
diff --git a/plugins/admin/fai/class_faiPartitionTable.inc b/plugins/admin/fai/class_faiPartitionTable.inc
index cb8651c22f4affc24349027df515bf5f589d4274..7825da40d30baf24a70c0fc0d59cec6f4b191e23 100644 (file)
var $FAIstate = "";
var $ui;
+ var $view_logged = FALSE;
+
function faiPartitionTable ($config, $dn= NULL)
{
/* Load Attributes */
$this->disks[$name]['partitions'][$partition['FAIpartitionNr']] = $partition;
}
}
-
- @log::log("view","fai/".get_class($this),$this->dn);
}
ksort($this->disks);
}
function execute()
{
- /* Call parent execute */
- plugin::execute();
+ /* Call parent execute */
+ plugin::execute();
+
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","fai/".get_class($this),$this->dn);
+ }
/* Fill templating stuff */
$smarty= get_smarty();
index 52d87d9e46b39fad47069c1660e55998b17f9e18..0c8ef80a9ea99b2337b9633d7f5acfb80c861576 100644 (file)
var $FAIAllclasses = array(); // Contains all possible Classnames
var $ui ;
var $FAIstate = "";
+ var $view_logged = FALSE;
function faiProfile($config, $dn= NULL)
{
if($dn != "new"){
$this->dn =$dn;
- @log::log("view","fai/".get_class($this),$this->dn);
}
$this->old_cn = $this->cn;
}
{
/* Call parent execute */
plugin::execute();
+
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","fai/".get_class($this),$this->dn);
+ }
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
index edb3a03c8f25c5a2dd521abfc325d9f6559ed1af..58e8aed414304844bb96ebdc4b121daf75771473 100644 (file)
var $FAIstate ="";
+ var $view_logged = FALSE;
var $ui;
function faiScript ($config, $dn= NULL)
$this->SubObjects[$objects['cn']] = $objects;
}
- @log::log("view","fai/".get_class($this),$this->dn);
}
$this->ui = get_userinfo();
}
/* Call parent execute */
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","fai/".get_class($this),$this->dn);
+ }
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
index 8de436e3a7a23ad1b1d037305a8b40c6a43ccf8f..e0af9e9fee0c6369bdcd3fed3828f09804e11a91 100644 (file)
var $FAIstate = "";
var $ui;
+ var $view_logged = FALSE;
function faiTemplate ($config, $dn= NULL)
{
$objects = $this->get_object_attributes($objects,$this->subAttributes);
$this->SubObjects[$objects['cn']] = $objects;
}
-
- @log::log("view","fai/".get_class($this),$this->dn);
}
$this->ui = get_userinfo();
}
/* Call parent execute */
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","fai/".get_class($this),$this->dn);
+ }
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
index fa81784ca939f47f4a092eb89600a363000befab..b31e013177d32be576b2562c5d4d62eaeff39952 100644 (file)
var $FAIstate = "";
var $ui ;
+ var $view_logged = FALSE;
function faiVariable ($config, $dn= NULL)
{
$this->SubObjects[$object['cn'][0]]['dn'] = $object['dn'];
}
- @log::log("view","fai/".get_class($this),$this->dn);
}
$this->ui = get_userinfo();
}
/* Call parent execute */
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","fai/".get_class($this),$this->dn);
+ }
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";