[Mapbender-commits] r1728 - branches/mapbender_sld/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Oct 15 10:24:42 EDT 2007


Author: mschulz
Date: 2007-10-15 10:24:42 -0400 (Mon, 15 Oct 2007)
New Revision: 1728

Modified:
   branches/mapbender_sld/http/php/mod_editGuiWms.php
Log:
changed link to raw sld document

Modified: branches/mapbender_sld/http/php/mod_editGuiWms.php
===================================================================
--- branches/mapbender_sld/http/php/mod_editGuiWms.php	2007-10-15 14:22:12 UTC (rev 1727)
+++ branches/mapbender_sld/http/php/mod_editGuiWms.php	2007-10-15 14:24:42 UTC (rev 1728)
@@ -552,8 +552,8 @@
 		echo "<td>SLD-URL: </td><td>";
 		echo "<input type='text' class='myText' name='this_gui_wms_sldurl' title='".$gui_wms_sldurl[0]."' value='".$gui_wms_sldurl[0]."'>";
 		#echo "<a href='' onclick='return window.open(\"editor-start.php\");'><img src='sld_editor.png' border=0></a>";
-		$layer_names = implode(",", $layer_name);
-        echo " <a href='../sld/sld_function_handler.php?function=getusersld&layer_names=".$layer_names."&user_id=".$mb_user_id."&forcesld=1' target='_new'>SLD laden/anzeigen</a>";
+		#$layer_names = implode(",", $layer_name);
+        echo " <a href='".$gui_wms_sldurl[0]."' target='_new'>SLD laden/anzeigen</a>";
 		echo "</td>";	
 	echo "</tr>";
 } else {
@@ -628,7 +628,7 @@
 	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."&wms_id=".$wms_id[0]."&layer_name=".$layer_name[$i]."\");' value='";
+		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='";
 			echo "SLD-Editor";
 		echo "'>";	
 	}



More information about the Mapbender_commits mailing list