[Mapbender-commits] r7902 - trunk/mapbender/http/geoportal

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jul 4 05:32:34 EDT 2011


Author: armin11
Date: 2011-07-04 02:32:34 -0700 (Mon, 04 Jul 2011)
New Revision: 7902

Modified:
   trunk/mapbender/http/geoportal/mod_readOpenSearchResultsDetail.php
Log:
Little Bugfix.

Modified: trunk/mapbender/http/geoportal/mod_readOpenSearchResultsDetail.php
===================================================================
--- trunk/mapbender/http/geoportal/mod_readOpenSearchResultsDetail.php	2011-07-04 09:27:47 UTC (rev 7901)
+++ trunk/mapbender/http/geoportal/mod_readOpenSearchResultsDetail.php	2011-07-04 09:32:34 UTC (rev 7902)
@@ -1099,7 +1099,9 @@
 		$html .= '<p>';
 		$html .= '<fieldset><legend>'._mb("Metadata").'</legend>';
 		$html .= $tableBegin;
-		$html .= $t_a."<b>"._mb("ISO19139")."</b>: <a href='".$url."' target='_blank'>"._mb("Metadata")."</a><a href='".$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."&validate=true' target='_blank'><img style='border: none;' src = '../img/misc/icn_inspire_validate.png' title='"._mb("INSPIRE Validator")."'></a>".$t_c;
+		//exchange mdtype html with iso19139
+		$queryNew = str_replace("mdtype=html","mdtype=iso19139",$_SERVER['QUERY_STRING']);
+		$html .= $t_a."<b>"._mb("ISO19139")."</b>: <a href='".$url."' target='_blank'>"._mb("Metadata")."</a><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>".$t_c;
 		$html .= $tableEnd;
 		$html .= '</fieldset>';
 		



More information about the Mapbender_commits mailing list