From c4138aa11c7a1d77278bd57821f32e13617295a1 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 4 Mar 2008 09:59:19 +0000 Subject: [PATCH] Headers, msgPools git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9297 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../services/class_ServiceAddDialog.inc | 20 ++++++++++++++ .../systems/services/class_goService.inc | 27 ++++++++++++++----- 2 files changed, 41 insertions(+), 6 deletions(-) diff --git a/gosa-plugins/systems/admin/systems/services/class_ServiceAddDialog.inc b/gosa-plugins/systems/admin/systems/services/class_ServiceAddDialog.inc index 47e97012d..c3140eb16 100644 --- a/gosa-plugins/systems/admin/systems/services/class_ServiceAddDialog.inc +++ b/gosa-plugins/systems/admin/systems/services/class_ServiceAddDialog.inc @@ -1,4 +1,24 @@ "Eins ist toll", "zwei" => "Zwei ist noch besser"); - /* This plugin only writes its objectClass */ var $objectclasses = array(); var $attributes = array(); @@ -209,8 +225,7 @@ class goService extends plugin{ exec($command); } else { - $message= sprintf(_("Command '%s', specified as ACTION_HOOK for plugin '%s' doesn't seem to exist."), $command, get_class($this)); - print_red ($message); + msg_dialog::display(_("Configuration error"), msgPool::cmdnotfound("ACTION_HOOK", get_class($this)), ERROR_DIALOG); } } } -- 2.30.2