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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue May 10 07:38:28 EDT 2011


Author: armin11
Date: 2011-05-10 04:38:28 -0700 (Tue, 10 May 2011)
New Revision: 7804

Modified:
   trunk/mapbender/http/php/mod_exportISOMetadata.php
   trunk/mapbender/http/php/mod_layerISOMetadata.php
Log:
Bugfix

Modified: trunk/mapbender/http/php/mod_exportISOMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_exportISOMetadata.php	2011-05-10 10:06:07 UTC (rev 7803)
+++ trunk/mapbender/http/php/mod_exportISOMetadata.php	2011-05-10 11:38:28 UTC (rev 7804)
@@ -105,7 +105,7 @@
 	$countLayer++;
 }
 echo "Number of generated Service Metadata Records (one for each layer): ".$countLayer."<br>";
-echo "Number of generated Data Metadata Records (multiple for each layer): ".$countLayer."<br>";
+echo "Number of generated Data Metadata Records (multiple for each layer): ".$countMetadataURL."<br>";
 
 
 

Modified: trunk/mapbender/http/php/mod_layerISOMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_layerISOMetadata.php	2011-05-10 10:06:07 UTC (rev 7803)
+++ trunk/mapbender/http/php/mod_layerISOMetadata.php	2011-05-10 11:38:28 UTC (rev 7804)
@@ -273,7 +273,7 @@
 	$title=$iso19139->createElement("gmd:title");
 	$title_cs=$iso19139->createElement("gco:CharacterString");
 	if (isset($mapbenderMetadata['wms_title'])) {
-		$titleText = $iso19139->createTextNode($mapbenderMetadata['wms_title']);
+		$titleText = $iso19139->createTextNode($mapbenderMetadata['wms_title']." - ".$mapbenderMetadata['layer_title']);
 	}
 	else {
 		$titleText = $iso19139->createTextNode("title not given");



More information about the Mapbender_commits mailing list