svn commit: r329 - trunk/mapbender/http/php/mod_updateWMS.php

uli at osgeo.org uli at osgeo.org
Tue May 23 03:59:29 EDT 2006


Author: uli
Date: 2006-05-23 07:59:29+0000
New Revision: 329

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

Log:
display last upload_url instead of capabilities online resource

Modified: trunk/mapbender/http/php/mod_updateWMS.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_updateWMS.php?view=diff&rev=329&p1=trunk/mapbender/http/php/mod_updateWMS.php&p2=trunk/mapbender/http/php/mod_updateWMS.php&r1=328&r2=329
==============================================================================
--- trunk/mapbender/http/php/mod_updateWMS.php	(original)
+++ trunk/mapbender/http/php/mod_updateWMS.php	2006-05-23 07:59:29+0000
@@ -68,7 +68,7 @@
 	$v = array();
 	$t = array();
 	$c = 1;
-	$sql = "SELECT wms_id, wms_title, wms_getcapabilities  FROM wms ";
+	$sql = "SELECT wms_id, wms_title, wms_getcapabilities, wms_upload_url  FROM wms ";
 	$sql .= "WHERE wms_id IN(";
 	for($i=0; $i<count($wms_id_own); $i++){
 		if($wms_id_own[$i] != ''){
@@ -85,7 +85,7 @@
 	$cnt = 0;
 	echo "<select name='selWMS' size='15' onchange='sel()'>";
 	while($row = db_fetch_array($res)){
-		echo "<option value='".$row['wms_id']."###".$row['wms_getcapabilities']."'>".$row['wms_title']."</option>";
+		echo "<option value='".$row['wms_id']."###".$row['wms_upload_url']."'>".$row['wms_title']."</option>";
 		$cnt++;
 	}
 	echo "</select><br /><br />";




More information about the Mapbender_commits mailing list