[Mapbender-commits] r9005 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jul 28 03:18:27 PDT 2014


Author: armin11
Date: 2014-07-28 03:18:26 -0700 (Mon, 28 Jul 2014)
New Revision: 9005

Modified:
   trunk/mapbender/http/php/mod_getDownloadOptions.php
Log:
small bugfix ;-)

Modified: trunk/mapbender/http/php/mod_getDownloadOptions.php
===================================================================
--- trunk/mapbender/http/php/mod_getDownloadOptions.php	2014-07-28 10:13:05 UTC (rev 9004)
+++ trunk/mapbender/http/php/mod_getDownloadOptions.php	2014-07-28 10:18:26 UTC (rev 9005)
@@ -214,16 +214,16 @@
 			foreach ($options->{$currentUuid}->option as $option) {
 				switch ($option->type) {
 					case "wmslayergetmap":
-						$metadataList .= "  <a href='../plugins/mb_downloadFeedClient.php?url=".urlencode($mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$row["uuid"]."&type=SERVICE&generateFrom=wmslayer&layerid=".$option->resourceId)."'><img src='../img/osgeo_graphics/geosilk/raster_download.png' title='".'Download raster data from INSPIRE Download Service'."'/></a>";
+						$metadataList .= "  <a href='../plugins/mb_downloadFeedClient.php?url=".urlencode($mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$currentUuid."&type=SERVICE&generateFrom=wmslayer&layerid=".$option->resourceId)."'><img src='../img/osgeo_graphics/geosilk/raster_download.png' title='".'Download raster data from INSPIRE Download Service'."'/></a>";
 						break;
 					case "wmslayerdataurl":
-						$metadataList .= "  <a href='../plugins/mb_downloadFeedClient.php?url=".urlencode($mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$row["uuid"]."&type=SERVICE&generateFrom=dataurl&layerid=".$option->resourceId)."'><img src='../img/osgeo_graphics/geosilk/link_download.png' title='".'Download linked data from INSPIRE Download Service'."'/></a>";
+						$metadataList .= "  <a href='../plugins/mb_downloadFeedClient.php?url=".urlencode($mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$currentUuid."&type=SERVICE&generateFrom=dataurl&layerid=".$option->resourceId)."'><img src='../img/osgeo_graphics/geosilk/link_download.png' title='".'Download linked data from INSPIRE Download Service'."'/></a>";
 						break;
 					case "wfsrequest":
-						$metadataList .= "  <a href='../plugins/mb_downloadFeedClient.php?url=".urlencode($mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$row["uuid"]."&type=SERVICE&generateFrom=wfs&wfsid=".$option->serviceId)."'><img src='../img/osgeo_graphics/geosilk/vector_download.png' title='".'Download GML data from INSPIRE Download Service'."'/></a>";
+						$metadataList .= "  <a href='../plugins/mb_downloadFeedClient.php?url=".urlencode($mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$currentUuid."&type=SERVICE&generateFrom=wfs&wfsid=".$option->serviceId)."'><img src='../img/osgeo_graphics/geosilk/vector_download.png' title='".'Download GML data from INSPIRE Download Service'."'/></a>";
 						break;
 					case "downloadlink":
-						$metadataList .= "  <a href='../plugins/mb_downloadFeedClient.php?url=".urlencode($mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$row["uuid"]."&type=SERVICE&generateFrom=metadata")."'><img src='../img/osgeo_graphics/geosilk/link_download.png' title='".'Download linked data from INSPIRE Download Service'."'/></a>";
+						$metadataList .= "  <a href='../plugins/mb_downloadFeedClient.php?url=".urlencode($mapbenderUrl."/php/mod_inspireDownloadFeed.php?id=".$currentUuid."&type=SERVICE&generateFrom=metadata")."'><img src='../img/osgeo_graphics/geosilk/link_download.png' title='".'Download linked data from INSPIRE Download Service'."'/></a>";
 						break;
 				}	
 			}	



More information about the Mapbender_commits mailing list