[Mapbender-commits] r1321 - trunk/mapbender/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon May 14 09:28:13 EDT 2007
Author: uli
Date: 2007-05-14 09:28:13 -0400 (Mon, 14 May 2007)
New Revision: 1321
Modified:
trunk/mapbender/http/classes/class_wms.php
Log:
handling of sections modified for attribution in layers
the attribution data should be saved sometimes....
Modified: trunk/mapbender/http/classes/class_wms.php
===================================================================
--- trunk/mapbender/http/classes/class_wms.php 2007-05-14 12:12:53 UTC (rev 1320)
+++ trunk/mapbender/http/classes/class_wms.php 2007-05-14 13:28:13 UTC (rev 1321)
@@ -346,6 +346,15 @@
}
}
+ /* attribution */
+ if(strtoupper($element[tag]) == "ATTRIBUTION"){
+ if ($element[type] == "open") {
+ $section = "attribution";
+ }
+ if ($element[type] == "close") {
+ $section = "layer";
+ }
+ }
/* styles */
if(strtoupper($element[tag]) == "STYLE"){
$section = "style";
More information about the Mapbender_commits
mailing list