[Mapbender-commits] r4842 - trunk/mapbender/core
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Oct 20 11:59:32 EDT 2009
Author: christoph
Date: 2009-10-20 11:59:31 -0400 (Tue, 20 Oct 2009)
New Revision: 4842
Modified:
trunk/mapbender/core/i18n.php
Log:
Modified: trunk/mapbender/core/i18n.php
===================================================================
--- trunk/mapbender/core/i18n.php 2009-10-20 12:28:47 UTC (rev 4841)
+++ trunk/mapbender/core/i18n.php 2009-10-20 15:59:31 UTC (rev 4842)
@@ -16,6 +16,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ require_once(dirname(__FILE__)."/../http/php/mb_validateSession.php");
+
function _mb ($someString) {
$arg = array();
for($i = 1 ; $i < func_num_args(); $i++) {
@@ -24,7 +26,6 @@
if (USE_I18N) {
// $e = new mb_notice("Translating '" . $someString . "' to language " . Mapbender::session()->get("mb_locale") . ": '" . _($someString) . "'");
-
return vsprintf(_($someString), $arg);
}
return vsprintf($someString, $arg);
More information about the Mapbender_commits
mailing list