[Mapbender-commits] r5427 - branches/2.6/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 25 04:40:51 EST 2010


Author: christoph
Date: 2010-01-25 04:40:51 -0500 (Mon, 25 Jan 2010)
New Revision: 5427

Modified:
   branches/2.6/http/php/mod_createJSLayerObjFromXML.php
Log:


Modified: branches/2.6/http/php/mod_createJSLayerObjFromXML.php
===================================================================
--- branches/2.6/http/php/mod_createJSLayerObjFromXML.php	2010-01-25 09:40:33 UTC (rev 5426)
+++ branches/2.6/http/php/mod_createJSLayerObjFromXML.php	2010-01-25 09:40:51 UTC (rev 5427)
@@ -44,7 +44,12 @@
 		"}";
 }
 else {
-	$output .= $mywms->createJsLayerObjFromWMS("TRUE", $layerName);
+	if ($noHtml) {
+		$output .= $mywms->createJsLayerObjFromWMS(false, $layerName);
+	}
+	else {
+		$output .= $mywms->createJsLayerObjFromWMS(true, $layerName);
+	}
 }
 
 $js = administration::convertOutgoingString($output);



More information about the Mapbender_commits mailing list