d3b503139decaf3b42dd9c429ab7b573a5196a2c
1 <?php
3 class servDNSeditZoneEntries extends plugin
4 {
5 /* CLI vars */
6 var $cli_summary= "Manage server basic objects";
7 var $cli_description= "Some longer text\nfor help";
8 var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
10 /* attribute list for save action */
11 var $ignore_account= TRUE;
12 var $attributes= array();
13 var $objectclasses= array("whatever");
15 function servDNSeditZoneEntries ($config, $dn= NULL)
16 {
17 plugin::plugin ($config, $dn);
18 }
20 function execute()
21 {
22 plugin::execute();
24 /* Fill templating stuff */
25 $smarty= get_smarty();
26 $display= "";
27 $display.= $smarty->fetch(get_template_path('servDNSeditZoneEntries.tpl', TRUE));
28 return($display);
29 }
31 function remove_from_parent()
32 {
33 }
35 function save_object()
36 {
37 plugin::save_object();
38 }
40 function check()
41 {
42 $message= array();
43 return ($message);
44 }
46 function save()
47 {
48 plugin::save();
49 }
50 }
52 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
53 ?>