[Mapbender-commits] r2982 - branches/nimix_dev/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 18 10:34:36 EDT 2008


Author: nimix
Date: 2008-09-18 10:34:36 -0400 (Thu, 18 Sep 2008)
New Revision: 2982

Modified:
   branches/nimix_dev/http/javascripts/mod_featureInfo.php
   branches/nimix_dev/http/javascripts/mod_featureInfoTunnel.php
Log:
i18n

Modified: branches/nimix_dev/http/javascripts/mod_featureInfo.php
===================================================================
--- branches/nimix_dev/http/javascripts/mod_featureInfo.php	2008-09-18 13:36:35 UTC (rev 2981)
+++ branches/nimix_dev/http/javascripts/mod_featureInfo.php	2008-09-18 14:34:36 UTC (rev 2982)
@@ -69,6 +69,7 @@
 	var ind = getMapObjIndexByName(mod_featureInfo_target);
 	var point = new Point(clickX,clickY);
 	
+//TODO that code should go to featureInfo Redirect module
 	if(document.getElementById("FeatureInfoRedirect")){
 		//fill the frames
 		for(var i=0; i<mb_mapObj[ind].wms.length; i++){
@@ -83,7 +84,7 @@
 			for(var i=0;i<urls.length;i++){
 				if(featureInfoLayerPopup == 'true'){
 					var p = new mb_popup({
-						title:"Feature Info",
+						title:<?php echo _mb("Informations");?>,
 						url:urls[i],
 						width:parseInt(featureInfoPopupWidth, 10),
 						height:parseInt(featureInfoPopupHeight, 10),

Modified: branches/nimix_dev/http/javascripts/mod_featureInfoTunnel.php
===================================================================
--- branches/nimix_dev/http/javascripts/mod_featureInfoTunnel.php	2008-09-18 13:36:35 UTC (rev 2981)
+++ branches/nimix_dev/http/javascripts/mod_featureInfoTunnel.php	2008-09-18 14:34:36 UTC (rev 2982)
@@ -71,6 +71,7 @@
 	var point = new Point(clickX,clickY);
 	var path = '../extensions/ext_featureInfoTunnel.php';
 	
+//TODO that code should go to featureInfo Redirect module
 	if(document.getElementById("FeatureInfoRedirect")){
 		//fill the frames
 		for(var i=0; i<mb_mapObj[ind].wms.length; i++){
@@ -85,7 +86,7 @@
 			for(var i=0;i<urls.length;i++){
 				if(featureInfoLayerPopup == 'true'){
 					var p = new mb_popup({
-						title:"Feature Info",
+						title:<?php echo _mb("Informations");?>,
 						url:path+"?url="+escape(urls[i]),
 						width:parseInt(featureInfoPopupWidth, 10),
 						height:parseInt(featureInfoPopupHeight, 10),



More information about the Mapbender_commits mailing list