summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c25304f)
raw | patch | inline | side by side (parent: c25304f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 May 2007 08:46:21 +0000 (08:46 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 May 2007 08:46:21 +0000 (08:46 +0000) |
Added logging to asterisk service
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6383 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6383 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_goFonServer.inc | patch | blob | history | |
plugins/admin/systems/class_inventory.inc | [deleted file] | patch | blob | history |
diff --git a/plugins/admin/systems/class_goFonServer.inc b/plugins/admin/systems/class_goFonServer.inc
index b8878786f0fb0aa35ba990f34e9fd0027ac6d5c2..37f4b8ac9caa09c09e1ed6239ba1458fb634142b 100644 (file)
function goFonServer($config,$dn)
{
- plugin::plugin($config,$dn);
+ goService::goService($config,$dn);
$this->DisplayName = _("VoIP service");
}
diff --git a/plugins/admin/systems/class_inventory.inc b/plugins/admin/systems/class_inventory.inc
+++ /dev/null
@@ -1,67 +0,0 @@
-<?php
-
-class inventory extends plugin
-{
- /* CLI vars */
- var $cli_summary= "Manage server basic objects";
- var $cli_description= "Some longer text\nfor help";
- 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 inventory ($config, $dn= NULL, $parent= NULL)
- {
- plugin::plugin ($config, $dn, $parent);
- }
-
- function execute()
- {
- /* Call parent execute */
- plugin::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_disable_header(_("Remove DNS service"),
- _("This server has DNS features enabled. You can disable them by clicking below."));
- } else {
- $display= $this->show_enable_header(_("Add DNS service"),
- _("This server has DNS features disabled. You can enable them by clicking below."));
- return ($display);
- }
-
- $display.= $smarty->fetch(get_template_path('servdns.tpl', TRUE));
- return($display);
- }
-
- function remove_from_parent()
- {
- }
-
- function save_object()
- {
- }
-
- function check()
- {
- }
-
- function save()
- {
- }
-
-}
-
-// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
-?>