svn commit: r574 - trunk/mapbender/http/php/mod_editGuiWms.php

astrid_emde at osgeo.org astrid_emde at osgeo.org
Tue Jun 20 05:13:30 EDT 2006


Author: astrid_emde
Date: 2006-06-20 09:13:29+0000
New Revision: 574

Modified:
   trunk/mapbender/http/php/mod_editGuiWms.php

Log:
some style changes
new css for mod_editGUIWMS called edit_gui.css

Modified: trunk/mapbender/http/php/mod_editGuiWms.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_editGuiWms.php?view=diff&rev=574&p1=trunk/mapbender/http/php/mod_editGuiWms.php&p2=trunk/mapbender/http/php/mod_editGuiWms.php&r1=573&r2=574
==============================================================================
--- trunk/mapbender/http/php/mod_editGuiWms.php	(original)
+++ trunk/mapbender/http/php/mod_editGuiWms.php	2006-06-20 09:13:29+0000
@@ -308,7 +308,7 @@
 	$count++;
 }
 
-echo"<select size='8' name='guiList' style='width:200px' onchange='document.form1.wmsList.selectedIndex = -1;submit()'>";
+echo"<select size='8' name='guiList' onchange='document.form1.wmsList.selectedIndex = -1;submit()'>";
 $selected_gui_id="";
 
 for ($i=0; $i<$count;$i++){
@@ -543,14 +543,14 @@
 
 echo "</table><br>";
 
-echo "<table border='1' cellpadding='2'>";
-echo "<tr><td>Nr.</td><td>ID</td><td>Parent</td><td>Name</td><td>Title</td><td>on/off</td><td>sel</td><td>sel_default</td><td>info</td><td>info_default</td><td>minScale 1:</td><td>maxScale 1:</td><td>Prio</td></tr>";
+echo "<table border='1' cellpadding='1'>";
+echo "<tr><td>Nr.</td><td>ID</td><td>Parent</td><td>Name</td><td>Title</td><td>on/off</td><td>sel</td><td>sel_default</td><td>info</td><td>info_default</td><td>minScale 1:</td><td>maxScale 1:</td><td>Prio</td><td>setWFS</td></tr>";
 echo "<tr><td></td><td></td><td></td><td></td><td></td><td>";
-echo "<input type='button' class='LButton' style='width:65px' value='Sublayer off' onclick='setSubs()'>";
+echo "<input type='button' class='LButton' value='Sublayer off' onclick='setSubs()'>";
 echo "</td><td></td><td>";
-echo "<nobr><input type='button' class='LButton' value='off' onclick='setLayer(\"visible\",false)'>&nbsp;<input type='button' class='LButton' value='on' onclick='setLayer(\"visible\",true)'></nobr>";
+echo "<nobr><input type='button' class='button2' value='off' onclick='setLayer(\"visible\",false)'>&nbsp;<input type='button' class='button2' value='on' onclick='setLayer(\"visible\",true)'></nobr>";
 echo"</td><td></td><td>";
-echo "<nobr><input type='button' class='LButton' value='off' onclick='setLayer(\"querylayer\",false)'>&nbsp;<input type='button' class='LButton' value='on' onclick='setLayer(\"querylayer\",true)'></nobr>";
+echo "<nobr><input type='button' class='button2' value='off' onclick='setLayer(\"querylayer\",false)'>&nbsp;<input type='button' class='button2' value='on' onclick='setLayer(\"querylayer\",true)'></nobr>";
 echo "</td><td></td><td></td><td></td></tr>";
 for($i=0; $i<count($layer_id); $i++){
  echo "<tr align='center'>";
@@ -558,7 +558,7 @@
   echo "<td style='background:lightgrey'><input type='text' size='2' name='L_".$layer_id[$i]."___layer_id' value='".$layer_id[$i]."' readonly></td>";
   echo "<td><input type='text' size='1' name='L_".$layer_id[$i]."___layer_parent' value='".$layer_parent[$i]."' readonly></td>";
   echo "<td style='background:lightgrey'><input type='text' size='7' value='".$layer_name[$i]."' readonly></td>";
-  echo "<td><input type='text' size='12' value='".$layer_title[$i]."' readonly></td>";
+  echo "<td><input type='text' name='".$layer_title[$i]."' size='12' value='".$layer_title[$i]."' ></td>";
 
   echo "<td style='background:lightgrey'><input name='L_".$layer_id[$i]."___gui_layer_status' type='checkbox' ";
   if($gui_layer_status[$i] == 1){ echo "checked";}
@@ -585,7 +585,7 @@
   echo "<td><input name='L_".$layer_id[$i]."___gui_layer_minscale' type='text' size='5' value='".$gui_layer_minscale[$i]."'></td>";
   echo "<td style='background:lightgrey'><input name='L_".$layer_id[$i]."___gui_layer_maxscale' type='text' size='5' value='".$gui_layer_maxscale[$i]."'></td>";
   /**/
-  echo "<td><select name='L_".$layer_id[$i]."___gui_layer_priority'>";
+  echo "<td><select class='select_short' name='L_".$layer_id[$i]."___gui_layer_priority'>";
   for($j=0; $j<count($gui_layer_priority); $j++){
      echo "<option value='".$j."'";
      if($j == $gui_layer_priority[$i]){echo "selected";}
@@ -596,7 +596,7 @@
   /* wfs configuration */
 	echo "<td>";
 	if ($i > 0) {
-		echo "<input name='gui_layer_gaz' type='button' onclick='edit_gaz(\"".$guiList."\",".$wmsList.",".$layer_id[$i].")' value='";
+		echo "<input class='button3'name='gui_layer_gaz' type='button' onclick='edit_gaz(\"".$guiList."\",".$wmsList.",".$layer_id[$i].")' value='";
 		if($gui_layer_wfs_featuretype[$i] == ""){
 			echo "setWFS";
 		}
@@ -607,7 +607,7 @@
 	}
 	echo "</td>";
  echo "</tr>\n";
- if($i == 0){ echo "<tr><td colspan='11'><hr></td></tr>";}
+ if($i == 0){ echo "<tr><td colspan='14'><hr></td></tr>";}
 }
 echo "</table>\n";
 echo "<input type='hidden' name='this_gui' value='".$guiList."'>\n";




More information about the Mapbender_commits mailing list