From 6f6847156e69a721ca0c8e5ad2c1b17cf3759e9c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 Mar 2008 07:39:03 +0000 Subject: [PATCH] Updated msgPool -Added back button -Fixed () position. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9477 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/utils/class_msgPool.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/utils/class_msgPool.inc b/gosa-core/include/utils/class_msgPool.inc index 7b55aee9f..464bca9b2 100644 --- a/gosa-core/include/utils/class_msgPool.inc +++ b/gosa-core/include/utils/class_msgPool.inc @@ -275,6 +275,12 @@ class msgPool } + public static function backButton($what= "") + { + return $what == "" ? sprintf(_("Back...")): sprintf(_("Back %s..."), $what); + } + + public static function buildList($data) { $objects= ""; @@ -289,7 +295,7 @@ class msgPool public static function noValidExtension($name) { - return sprintf(_("This account has no valid %s extensions!", $name)); + return sprintf(_("This account has no valid %s extensions!"), $name); } public static function featuresEnabled($name, $depends= "") -- 2.30.2