From: cajus Date: Tue, 9 Dec 2008 14:09:31 +0000 (+0000) Subject: Made buildList build lists X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ee9056f0d707913300e480a949c52d2d69853982;p=gosa.git Made buildList build lists git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13208 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/utils/class_msgPool.inc b/gosa-core/include/utils/class_msgPool.inc index b736208f0..e8d3900df 100644 --- a/gosa-core/include/utils/class_msgPool.inc +++ b/gosa-core/include/utils/class_msgPool.inc @@ -44,15 +44,15 @@ class msgPool } if (count($name) == 1){ if($type == ""){ - return (_("This object will be deleted:")."
".msgPool::buildList($name)."

"); + return (_("This object will be deleted:")."
".msgPool::buildList($name)); }else{ - return (sprintf(_("This '%s' object will be deleted:"),$type). "
".msgPool::buildList($name)."

"); + return (sprintf(_("This '%s' object will be deleted:"),$type). "
".msgPool::buildList($name)); } } if($type == ""){ - return (sprintf(_("These objects will be deleted: %s"), "
".msgPool::buildList($name)."

")); + return (sprintf(_("These objects will be deleted: %s"), "
".msgPool::buildList($name))); }else{ - return (sprintf(_("These '%s' objects will be deleted: %s"),$type, "
".msgPool::buildList($name)."

")); + return (sprintf(_("These '%s' objects will be deleted: %s"),$type, "
".msgPool::buildList($name))); } } @@ -359,14 +359,15 @@ class msgPool public static function buildList($data) { - $objects= ""; + $objects= ""; return($objects); } @@ -491,12 +492,12 @@ class msgPool return sprintf(_("This '%s' is still in use by this object: %s"), $type, "

".$objects); } if (count($objects) == 1){ - return sprintf(_("This '%s' is still in use by this object: %s"), $type, "

".msgPool::buildList($objects)); + return sprintf(_("This '%s' is still in use by this object: %s"), $type, "
".msgPool::buildList($objects)); } if (count($objects) == 0){ return sprintf(_("This '%s' is still in use."), $type); } - return sprintf(_("This '%s' is still in use by these objects: %s"), $type, "

".msgPool::buildList($objects)); + return sprintf(_("This '%s' is still in use by these objects: %s"), $type, "
".msgPool::buildList($objects)); }