[Mapbender-commits] r9109 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Oct 28 00:46:35 PDT 2014


Author: armin11
Date: 2014-10-28 00:46:35 -0700 (Tue, 28 Oct 2014)
New Revision: 9109

Modified:
   trunk/mapbender/http/javascripts/mod_exportMapImage.php
Log:
i18 for exportMapimage module

Modified: trunk/mapbender/http/javascripts/mod_exportMapImage.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_exportMapImage.php	2014-10-28 07:46:09 UTC (rev 9108)
+++ trunk/mapbender/http/javascripts/mod_exportMapImage.php	2014-10-28 07:46:35 UTC (rev 9109)
@@ -30,7 +30,7 @@
 <?php
 echo '<meta http-equiv="Content-Type" content="text/html; charset='.CHARSET.'">';	
 ?>
-<title>Export Mapimage</title>
+<title><?php echo _mb('Export mapimage'); ?></title>
 <?php
  include '../include/dyn_css.php';
 ?>
@@ -101,7 +101,7 @@
 	}
 	
 	if (choosen == "") {
-		alert("Keine Wahl getroffen, per DEFAULT wird die Karte als PNG exportiert");
+		alert("<?php echo _mb('No format choosen, as default the image will be exported as PNG graphic!'); ?>");
 		choosen = document.form1.imageformat[0].value;
 	}
 	else {
@@ -133,10 +133,9 @@
 	var myLocation = "../php/mod_exportMapImage_server.php?target="+target+"&imagetype="+choosen+"&wms_urls="+wms_string;
 	//mynewwin = window.open("../php/mod_exportMapImage_server.php?target="+target+"&imagetype="+choosen+"&wms_urls="+wms_string+"","exportMapImage","width=180, height=200, resizable=yes ");
 	document.location.href = myLocation; 
+	//alert('ImageExport done');
+	//window.close();
 	
-//	alert('ImageExport done');
-//	window.close();
-	
 }
 
 function close_exportMapimage(){
@@ -147,7 +146,7 @@
 <body>
 <form name='form1' method='POST' action='' target="_blank" onSubmit="return FormCheck()">
 <table border='0'>
-<div>Please select a format for the exported image!</div><br>
+<div><?php echo _mb('Please select a format for the exported image!'); ?></div><br>
 
 <script type="text/javascript"> generateExportOptions();
 </script>



More information about the Mapbender_commits mailing list