index f277f815bd7c0d5455838d15bfdee31ced4c82de..e1a2954bb3d3b6d8162382a976bd2b8553a68c7b 100644 (file)
var $acl_category;
var $multiple_support_active = FALSE;
+ var $parent = null; // A parent object if available, e.g. a management class.
+
var $read_only = FALSE; // Used when the entry is opened as "readonly" due to locks.
var $hide_refs = FALSE;
var $hide_acls = FALSE;
function gen_tabs($disabled = FALSE)
{
- $display= "<input type=\"hidden\" name=\"arg\" value=\"\">";
+ $display ="";
+ if(!$disabled){
+ $display.= "<input type=\"hidden\" name=\"arg\" value=\"\">";
+ }
$display.= "<table summary=\"\" cellpadding=0 cellspacing=0 border=0 style=\"width:100%;\"><tr>";
$index= 0;
$style= array("tab_left", "tab_active", "tab_near_active", "tab_right");
$obj->dn= $this->dn;
- if(!$obj instanceof plugin){
+ if(!$obj instanceof plugin && !$obj instanceOf management){
trigger_error("Something went wrong while saving ".$obj->dn.". Object class '".get_class($obj)."'.");
}else{