From 3961fd0057b16a339514481da164f45a72847310 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 12 Mar 2008 17:14:06 +0000 Subject: [PATCH] Added upload message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9721 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/utils/class_msgPool.inc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/utils/class_msgPool.inc b/gosa-core/include/utils/class_msgPool.inc index 368ea13e3..9b95b96f8 100644 --- a/gosa-core/include/utils/class_msgPool.inc +++ b/gosa-core/include/utils/class_msgPool.inc @@ -49,7 +49,6 @@ class msgPool return (_("You have no permission to delete the object:")."

$name"); } - msgPool::buildList($name); if (count($name) == 1){ return (_("You have no permission to delete the object:")."
".msgPool::buildList($name)); } @@ -420,6 +419,15 @@ class msgPool } + function incorrectUpload($reason= "") + { + if ($reason == ""){ + return _("Upload failed!"); + } + + return sprintf(_("Upload failed: %s"), "

$reason"); + } + } ?> -- 2.30.2