index dd5fffe564f648c5f58ad59357d13e1e0f57ff93..8b4e9a878f59c41dd2a5f7f8937c2206a35308f1 100644 (file)
var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
/* attribute list for save action */
+ var $ignore_account= TRUE;
var $attributes= array();
var $objectclasses= array("whatever");
function execute()
{
+ /* Call parent execute */
+ plugin::execute();
+
/* Fill templating stuff */
$smarty= get_smarty();
$display= "";
/* Show tab dialog headers */
if ($this->is_account){
- $display= $this->show_header(_("Remove DHCP service"),
+ $display= $this->show_disable_header(_("Remove DHCP service"),
_("This server has DHCP features enabled. You can disable them by clicking below."));
} else {
- $display= $this->show_header(_("Add DHCP service"),
+ $display= $this->show_enable_header(_("Add DHCP service"),
_("This server has DHCP features disabled. You can enable them by clicking below."));
return ($display);
}
/* Check supplied data */
function check()
{
- $message= array();
-
+ /* Call common method to give check the hook */
+ $message= plugin::check();
+
return ($message);
}