summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 830ad67)
raw | patch | inline | side by side (parent: 830ad67)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 May 2011 13:01:40 +0000 (13:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 May 2011 13:01:40 +0000 (13:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20836 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_text.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/TemplateEngine/class_TemplateWidget_text.inc
--- /dev/null
@@ -0,0 +1,6 @@
+<?php
+
+class TemplateWidget_text extends TemplateWidget_textEditor
+{
+}
+?>
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc
index 6a8aff06e2c4fd8c66f19dc10d9185cdec988943..deb9eee33e62234f522c52f42c2d8915bd105404 100644 (file)
// Add the new item
$rpc = $this->config->getRpcHandle();
- print_a(array($release, $newItemPath, $type, $values));
$res = $rpc->setConfigItem($release, $newItemPath, $type, $values);
if(!$rpc->success()){
msg_dialog::display(_("Error"), sprintf(_("Failed to save %s: %s"),$type, $rpc->get_error()),ERROR_DIALOG);
$rpc = $this->config->getRpcHandle();
$res = $rpc->setConfigItem($release, $oldItemPath, $type, $values);
if(!$rpc->success()){
- msg_dialog::display(_("Error"), sprintf(_("Failed to load distributions: %s"), $rpc->get_error()),ERROR_DIALOG);
+ msg_dialog::display(_("Error"), sprintf(_("Failed to svae config item: %s"), $rpc->get_error()),ERROR_DIALOG);
return(NULL);
}else{