[Mapbender-commits] r1927 - branches/mapbender_sld/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Dec 18 08:43:06 EST 2007
Author: mschulz
Date: 2007-12-18 08:43:06 -0500 (Tue, 18 Dec 2007)
New Revision: 1927
Modified:
branches/mapbender_sld/http/php/mod_editGuiWms.php
Log:
merge: added missing sld layer button
Modified: branches/mapbender_sld/http/php/mod_editGuiWms.php
===================================================================
--- branches/mapbender_sld/http/php/mod_editGuiWms.php 2007-12-17 12:00:38 UTC (rev 1926)
+++ branches/mapbender_sld/http/php/mod_editGuiWms.php 2007-12-18 13:43:06 UTC (rev 1927)
@@ -698,7 +698,19 @@
}
echo "'>";
}
- echo "</td>";
+ echo "</td>";
+ if($wms_supportsld[0]) {
+ echo "<td>";
+ if ($i > 0) {
+ echo "<input class='button3' name='gui_layer_sld' type='button' onclick='window.open(\"../sld/sld_main.php?".SID."&gui_id=".$guiList."&wms_id=".$wms_id[0]."&layer_name=".$layer_name[$i]."\");' value='";
+ if ($sld_user_layer_id[$i] != "")
+ echo "sld:".$sld_user_layer_id[$i]."(".$use_sld[$i].")";
+ else
+ echo "SLD";
+ echo "'>";
+ }
+ echo "</td>";
+ }
echo "</tr>\n";
if($i == 0){ echo "<tr><td colspan='14'><hr></td></tr>";}
}
More information about the Mapbender_commits
mailing list