[Mapbender-commits] r1814 - branches/mapbender_sld/http/sld/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Nov 15 11:09:20 EST 2007


Author: mschulz
Date: 2007-11-15 11:09:20 -0500 (Thu, 15 Nov 2007)
New Revision: 1814

Modified:
   branches/mapbender_sld/http/sld/classes/Halo.php
Log:
activated halo object (for geoserver)

Modified: branches/mapbender_sld/http/sld/classes/Halo.php
===================================================================
--- branches/mapbender_sld/http/sld/classes/Halo.php	2007-11-15 16:08:40 UTC (rev 1813)
+++ branches/mapbender_sld/http/sld/classes/Halo.php	2007-11-15 16:09:20 UTC (rev 1814)
@@ -60,16 +60,21 @@
 	 */
 	function generateHtmlForm($id, $offset = "")
 	{
-		$temp = "";
-		$temp .= $offset."<table style=\"border: 1px solid black;\">\n";
+		$temp = "<hr class=\"sep\">\n";
+		$temp .= $offset."<table>\n";
 		$temp .= $offset." <tr valign=\"top\">\n";
-		$temp .= $offset."  <td>\n";
+		$temp .= $offset."  <td style=\"width: 100px;\">\n";
 		$temp .= $offset."   Halo\n";
-		$temp .= $offset."   <input type=\"hidden\" name=\"".$id."\" value=\"halo\">\n";
+		$temp .= $offset."   <input type=\"hidden\" name=\"".$id."\" value=\"halo\">\n<br />";
+		$temp .= $offset."   <a class='edit' href=\"sld_function_handler.php?function=deletehalo&id=".$this->parent."\">l&ouml;schen</a>\n";		
 		$temp .= $offset."  </td>\n";
 		$temp .= $offset."  <td>\n";
 		$temp .= $offset."   Radius: <input name=\"".$id."_radius\" value=\"".htmlspecialchars($this->radius)."\"><br>\n";
-		if ($this->fill != "") $temp .= $this->fill->generateHtmlForm($id."_fill", $offset."   ");
+		if ($this->fill != "") { 
+			$temp .= $this->fill->generateHtmlForm($id."_fill", $offset."   "); }
+		else {
+			$temp .= $offset."<a class='edit' href=\"sld_function_handler.php?function=addfill&id=".$this->id."\">Fill hinzuf&uuml;gen</a><br>\n";
+		}
 		$temp .= $offset."  </td>\n";
 		$temp .= $offset." </tr>\n";
 		$temp .= $offset."</table>\n";



More information about the Mapbender_commits mailing list