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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Oct 18 07:43:37 EDT 2011


Author: armin11
Date: 2011-10-18 04:43:37 -0700 (Tue, 18 Oct 2011)
New Revision: 8189

Modified:
   trunk/mapbender/http/php/mod_layerISOMetadata.php
Log:
Give away both, wms and layer abstract

Modified: trunk/mapbender/http/php/mod_layerISOMetadata.php
===================================================================
--- trunk/mapbender/http/php/mod_layerISOMetadata.php	2011-10-18 11:28:34 UTC (rev 8188)
+++ trunk/mapbender/http/php/mod_layerISOMetadata.php	2011-10-18 11:43:37 UTC (rev 8189)
@@ -370,8 +370,8 @@
 	//Create part for abstract B 1.2
 	$abstract=$iso19139->createElement("gmd:abstract");
 	$abstract_cs=$iso19139->createElement("gco:CharacterString");
-	if (isset($mapbenderMetadata['wms_abstract'])) {
-		$abstractText = $iso19139->createTextNode($mapbenderMetadata['wms_abstract']);
+	if (isset($mapbenderMetadata['wms_abstract']) or isset($mapbenderMetadata['layer_abstract'])) {
+		$abstractText = $iso19139->createTextNode($mapbenderMetadata['wms_abstract'].":".$mapbenderMetadata['layer_abstract']);
 	}
 	else {
 		$abstractText = $iso19139->createTextNode("not yet defined");



More information about the Mapbender_commits mailing list