[Mapbender-commits] r9851 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 30 00:13:37 PST 2018


Author: armin11
Date: 2018-01-30 00:13:37 -0800 (Tue, 30 Jan 2018)
New Revision: 9851

Modified:
   trunk/mapbender/http/classes/class_iso19139.php
Log:
Fix for html representation - right url to iso19139 representation

Modified: trunk/mapbender/http/classes/class_iso19139.php
===================================================================
--- trunk/mapbender/http/classes/class_iso19139.php	2018-01-30 07:53:48 UTC (rev 9850)
+++ trunk/mapbender/http/classes/class_iso19139.php	2018-01-30 08:13:37 UTC (rev 9851)
@@ -1141,7 +1141,7 @@
 			$html .= $tableBegin;
 			//exchange mdtype html with iso19139
 			//$queryNew = str_replace("mdtype=html","mdtype=iso19139",$_SERVER['QUERY_STRING']);
-			$html .= $t_a."<b>"._mb("ISO19139")."</b>: ".$t_b."<a href='".$this->href."' target='_blank'>"._mb("Metadata")."</a>".$t_c;
+			$html .= $t_a."<b>"._mb("ISO19139")."</b>: ".$t_b."<a href='".$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."&outputFormat=iso19139"."' target='_blank'>"._mb("Metadata")."</a>".$t_c;
 			$html .= $t_a."<b>"._mb("RDF")."</b>: ".$t_b."<a href='".$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."&outputFormat=rdf"."' target='_blank'>"._mb("Geo-DCAT Metadata")."</a>".$t_c;
 			//<a href='".$_SERVER['PHP_SELF']."?".$queryNew."&validate=true' target='_blank'><img style='border: none;' src = '../img/misc/icn_inspire_validate.png' title='"._mb("INSPIRE Validator")."'></a>
 			//push xml instead of html? But there is no real url



More information about the Mapbender_commits mailing list