[Mapbender-commits] r4599 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Sep 4 11:22:05 EDT 2009


Author: arnulf
Date: 2009-09-04 11:22:03 -0400 (Fri, 04 Sep 2009)
New Revision: 4599

Modified:
   trunk/mapbender/http/php/mod_editGuiWms.php
   trunk/mapbender/http/php/mod_editWMS_Metadata.php
   trunk/mapbender/http/php/mod_loadCapabilities.php
Log:
usability edits

Modified: trunk/mapbender/http/php/mod_editGuiWms.php
===================================================================
--- trunk/mapbender/http/php/mod_editGuiWms.php	2009-09-04 10:35:30 UTC (rev 4598)
+++ trunk/mapbender/http/php/mod_editGuiWms.php	2009-09-04 15:22:03 UTC (rev 4599)
@@ -351,8 +351,10 @@
 $t = array('s');
 $res = db_prep_query($sql,$v,$t);
 $count_wms = 0;
-echo "<select size='8' name='wmsList' style='width:200px' onchange='submit()'>";
 
+# WMS select box on right side
+echo "<select size='8' name='wmsList' style='width:600px' onchange='submit()'>";
+
 while($row = db_fetch_array($res)){
 	echo "<option value='".$row["wms_id"]."' ";
 	if(isset($wmsList) && $wmsList == $row["wms_id"]){
@@ -480,7 +482,8 @@
    $cnt_le++;
 }
 
-echo "<div style='position:absolute;left:590px; top:180px;' ><input type='button' style='width:100px;height:100px;background-color:#0066cc' value='save' onclick='checkBoxValue()'></div>";
+# Save button
+echo "<div style='position:absolute;left:500px; top:225px;' ><input type='button' style='width:130px;height:80px;background-color:#ffeded' value='Save Settings' onclick='checkBoxValue()'></div>";
 echo "<table class='table_top'>";
 echo "<tr>";
 echo "<td colspan='2'>";

Modified: trunk/mapbender/http/php/mod_editWMS_Metadata.php
===================================================================
--- trunk/mapbender/http/php/mod_editWMS_Metadata.php	2009-09-04 10:35:30 UTC (rev 4598)
+++ trunk/mapbender/http/php/mod_editWMS_Metadata.php	2009-09-04 15:22:03 UTC (rev 4599)
@@ -1,7 +1,7 @@
 <?php
 # $Id$
 # http://www.mapbender.org/index.php?title=Edit_WMS_Metadata
-# Copyright (C) 2002 CCGIS 
+# Copyright (C) 2009 OSGeo
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -480,7 +480,7 @@
         </tr>
     <?php
     }
-    #editWMSByWMSID(961);
+
     ?>
     </table>
     <input type='hidden' name='update_content' value=''/>

Modified: trunk/mapbender/http/php/mod_loadCapabilities.php
===================================================================
--- trunk/mapbender/http/php/mod_loadCapabilities.php	2009-09-04 10:35:30 UTC (rev 4598)
+++ trunk/mapbender/http/php/mod_loadCapabilities.php	2009-09-04 15:22:03 UTC (rev 4599)
@@ -130,7 +130,7 @@
 		$t = array('s');
 		$res = db_prep_query($sql,$v,$t);
 		$count=0;
-		echo"<select size='8' name='wmsList' style='width:200px'>";
+		echo"<select size='8' name='wmsList' style='width:600px'>";
 	
 		while($row = db_fetch_array($res)){
 			if ($row["wms_title"]!=""){
@@ -142,7 +142,7 @@
 	    echo "</select><br><br>";
 	}
 	else{
-		echo"<select size='8' name='wmsList' style='width:200px' on Click='submit()'>";
+		echo"<select size='8' name='wmsList' style='width:600px' on Click='submit()'>";
 		echo "</select><br><br>";
 	}
 	echo "</td>";



More information about the Mapbender_commits mailing list