Code

Removed mysql logging stuff from class log
[gosa.git] / gosa-core / include / class_management.inc
index 6f8babb4222eac399cefc5fb5f850025d6dac5e3..cab74fcb70338e86f5b6d9a5478726148d411e91 100644 (file)
@@ -60,6 +60,9 @@ class management
   // Whether to display the apply button or not
   protected $displayApplyBtn = "";
 
+  // Whether to display a footer or not.
+  protected $skipFooter = false;
+
   // Copy&Paste handler
   protected $cpHandler = null;
 
@@ -76,7 +79,7 @@ class management
   // A list of configured actions/events
   protected $actions = array();
 
-  function  __construct($config,$ui,$plugname, $headpage)
+  function  __construct(&$config,$ui,$plugname, $headpage)
   {
     $this->plugname = $plugname;
     $this->headpage = $headpage;
@@ -226,6 +229,9 @@ class management
       }
     }
 
+    // Skip footer if requested;
+    if($this->skipFooter) return("");
+
     // In case an of locked entry, we may have opened a read-only tab.
     $str = "";
     if(isset($this->tabObject->read_only) && $this->tabObject->read_only == TRUE){