"Eins ist toll", "zwei" => "Zwei ist noch besser"); /* attribute list for save action */ var $attributesi = array(); var $objectclasses = array("whatever"); function servkolab ($config, $dn= NULL) { plugin::plugin ($config, $dn); } function execute() { /* Fill templating stuff */ $smarty = get_smarty(); $display = ""; /* Do we need to flip is_account state? */ if (isset($_POST['modify_state'])){ $this->is_account= !$this->is_account; } /* Show tab dialog headers */ if ($this->is_account){ $display= $this->show_header(_("Remove Kolab extension"), _("This server has kolab features enabled. You can disable them by clicking below.")); } else { $display= $this->show_header(_("Add Kolab service"), _("This server has kolab features disabled. You can enable them by clicking below.")); return ($display); } $display.= $smarty->fetch(get_template_path('servkolab.tpl', TRUE)); return($display); } function remove_from_parent() { } function save_object() { plugin::save_object(); } function check() { $message= array(); return ($message); } /* Save to LDAP */ function save() { plugin::save(); } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>