[Mapbender-commits] r2194 - branches/2.4.5/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Mar 6 08:35:20 EST 2008
Author: christoph
Date: 2008-03-06 08:35:20 -0500 (Thu, 06 Mar 2008)
New Revision: 2194
Modified:
branches/2.4.5/http/php/mod_renameGUI.php
Log:
replaced gui_id by gui_id_
Modified: branches/2.4.5/http/php/mod_renameGUI.php
===================================================================
--- branches/2.4.5/http/php/mod_renameGUI.php 2008-03-06 13:19:08 UTC (rev 2193)
+++ branches/2.4.5/http/php/mod_renameGUI.php 2008-03-06 13:35:20 UTC (rev 2194)
@@ -18,8 +18,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
-$con = db_connect(DBSERVER,OWNER,PW);
-db_select_db(DB,$con);
import_request_variables("PG");
?>
@@ -188,16 +186,16 @@
$res = db_prep_query($sql,$v,$t);
$count=0;
while($row = db_fetch_array($res)){
- $gui_id[$count]=$row["gui_id"];
+ $gui_id_[$count]=$row["gui_id"];
$count++;
}
echo "<select class='guiList' size='20' name='guiList' onchange='document.form1.guiList.value = this.value;submit();'>";
for ($i=0; $i<$count;$i++){
- echo "<option value='".$gui_id[$i]."' ";
- if($guiList && $guiList == $gui_id[$i]){
+ echo "<option value='".$gui_id_[$i]."' ";
+ if($guiList && $guiList == $gui_id_[$i]){
echo "selected";
}
- echo ">".$gui_id[$i]."</option>";
+ echo ">".$gui_id_[$i]."</option>";
}
echo "</select><br><br><br>";
}
More information about the Mapbender_commits
mailing list