index 516f0b476ffd81be76e4addaf5f5a19967d34cb2..98f02cee2fa00e1f020fc4958dc88d4833b15697 100644 (file)
protected $last_dialogObject = null;
// Whether to display the apply button or not
- protected $displayApplyBtn = "";
+ protected $displayApplyBtn = FALSE;
+
+ // Whether to display a header or not.
+ protected $skipHeader = false;
// Whether to display a footer or not.
protected $skipFooter = false;
// A list of configured actions/events
protected $actions = array();
+ // Attributes managed by this plugin, can be used in post events;
+ protected $attributes = array();
+
function __construct(&$config,$ui,$plugname, $headpage)
{
$this->plugname = $plugname;
*/
protected function getHeader()
{
+ if($this->skipHeader) return("");
+
if (get_object_info() != ""){
$display= print_header(get_template_path($this->plIcon),_($this->plDescription),
"<img alt=\"\" class=\"center\" src=\"".get_template_path('images/lists/locked.png')."\">".
$this->dns = array();
$this->tabObject = null;
$this->dialogObject = null;
+ $this->skipFooter = FALSE;
set_object_info();
}