From: cajus Date: Wed, 12 Mar 2008 17:14:06 +0000 (+0000) Subject: Added upload message X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3961fd0057b16a339514481da164f45a72847310;p=gosa.git Added upload message git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9721 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"); + } + } ?>