[Mapbender-commits] r2171 - in branches/2.4.5/http: javascripts php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Mar 5 10:22:15 EST 2008


Author: christoph
Date: 2008-03-05 10:22:15 -0500 (Wed, 05 Mar 2008)
New Revision: 2171

Modified:
   branches/2.4.5/http/javascripts/mod_addWMSfromfilteredList.php
   branches/2.4.5/http/javascripts/mod_addWMSfromfilteredListDB.php
   branches/2.4.5/http/javascripts/mod_poi.php
   branches/2.4.5/http/javascripts/mod_wfs_gazetteer_client.php
   branches/2.4.5/http/javascripts/mod_zoomCoords.php
   branches/2.4.5/http/php/mb_listWMCs.php
   branches/2.4.5/http/php/mod_editElements.php
   branches/2.4.5/http/php/mod_editFilteredGroup.php
Log:
replaced PHP_SELF by $self

Modified: branches/2.4.5/http/javascripts/mod_addWMSfromfilteredList.php
===================================================================
--- branches/2.4.5/http/javascripts/mod_addWMSfromfilteredList.php	2008-03-05 14:08:04 UTC (rev 2170)
+++ branches/2.4.5/http/javascripts/mod_addWMSfromfilteredList.php	2008-03-05 15:22:15 UTC (rev 2171)
@@ -315,7 +315,7 @@
 
 
 /*INSERT HTML*/
-echo "<form name='form1' action='" . $PHP_SELF . "?".SID."' method='post'>";
+echo "<form name='form1' action='" . $self . "' method='post'>";
 # Button
 echo "<table border='0' cellpadding='3'  rules='rows'>";
 echo "<tr>";

Modified: branches/2.4.5/http/javascripts/mod_addWMSfromfilteredListDB.php
===================================================================
--- branches/2.4.5/http/javascripts/mod_addWMSfromfilteredListDB.php	2008-03-05 14:08:04 UTC (rev 2170)
+++ branches/2.4.5/http/javascripts/mod_addWMSfromfilteredListDB.php	2008-03-05 15:22:15 UTC (rev 2171)
@@ -167,7 +167,7 @@
 
 
 /*INSERT HTML*/
-echo "<form name='form1' action='" . $PHP_SELF . "?".SID."' method='post'>";
+echo "<form name='form1' action='" . $self."' method='post'>";
 
 if (empty($wms_show)){ #gui
 	echo $selectGuiText;

Modified: branches/2.4.5/http/javascripts/mod_poi.php
===================================================================
--- branches/2.4.5/http/javascripts/mod_poi.php	2008-03-05 14:08:04 UTC (rev 2170)
+++ branches/2.4.5/http/javascripts/mod_poi.php	2008-03-05 15:22:15 UTC (rev 2171)
@@ -314,7 +314,7 @@
 		}
 	}
 	if($has_result == false){echo "Kein Ergebnis!";}
-	echo "<form action='" . $PHP_SELF . "?".SID."' method='post'>";
+	echo "<form action='" . $self."' method='post'>";
 	echo "</form>";
 }
 ?>

Modified: branches/2.4.5/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- branches/2.4.5/http/javascripts/mod_wfs_gazetteer_client.php	2008-03-05 14:08:04 UTC (rev 2170)
+++ branches/2.4.5/http/javascripts/mod_wfs_gazetteer_client.php	2008-03-05 15:22:15 UTC (rev 2171)
@@ -98,7 +98,7 @@
 
 
 function initModWfsGazetteer() {
-	parent.mb_ajax_json("../php/mod_wfs_gazetteer_server.php", {command:"getWfsConf",wfsConfIdString:wfsConfIdString}, function(json, status) {
+	parent.mb_ajax_json("../php/mod_wfs_gazetteer_server.php?<?php echo SID;?>", {command:"getWfsConf",wfsConfIdString:wfsConfIdString}, function(json, status) {
 		global_wfsConfObj = json;
 		var wfsCount = 0;
 		for (var wfsConfId in global_wfsConfObj) {

Modified: branches/2.4.5/http/javascripts/mod_zoomCoords.php
===================================================================
--- branches/2.4.5/http/javascripts/mod_zoomCoords.php	2008-03-05 14:08:04 UTC (rev 2170)
+++ branches/2.4.5/http/javascripts/mod_zoomCoords.php	2008-03-05 15:22:15 UTC (rev 2171)
@@ -131,7 +131,7 @@
 <body bgcolor='#ffffff' onload=''>
 
 <?php
-echo "<form name='form1' action='" . $PHP_SELF . "?".SID."' method='post'>";
+echo "<form name='form1' action='" . $self."' method='post'>";
 #coordinates
    
    # Deutsche Version

Modified: branches/2.4.5/http/php/mb_listWMCs.php
===================================================================
--- branches/2.4.5/http/php/mb_listWMCs.php	2008-03-05 14:08:04 UTC (rev 2170)
+++ branches/2.4.5/http/php/mb_listWMCs.php	2008-03-05 15:22:15 UTC (rev 2171)
@@ -27,9 +27,6 @@
 $delWmcId = $_POST["del_wmc_id"];
 $clientFilename = $_FILES['local_wmc_filename']['tmp_name'];
 
-$self = $PHP_SELF . "?".SID."&guiID=".$_REQUEST["guiID"]."&elementID=".$_REQUEST["elementID"];
-
-
 require_once("../../conf/mapbender.conf");
 require_once("../classes/class_administration.php");
 require_once("../classes/class_mb_exception.php");

Modified: branches/2.4.5/http/php/mod_editElements.php
===================================================================
--- branches/2.4.5/http/php/mod_editElements.php	2008-03-05 14:08:04 UTC (rev 2170)
+++ branches/2.4.5/http/php/mod_editElements.php	2008-03-05 15:22:15 UTC (rev 2171)
@@ -26,7 +26,6 @@
 db_select_db(DB,$con);
 
 $sParams = SID."&guiID=".$_REQUEST["guiID"]."&elementID=".$_REQUEST["elementID"];
-$self = $PHP_SELF . "?".$sParams;
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 

Modified: branches/2.4.5/http/php/mod_editFilteredGroup.php
===================================================================
--- branches/2.4.5/http/php/mod_editFilteredGroup.php	2008-03-05 14:08:04 UTC (rev 2170)
+++ branches/2.4.5/http/php/mod_editFilteredGroup.php	2008-03-05 15:22:15 UTC (rev 2171)
@@ -25,7 +25,6 @@
 $con = db_connect(DBSERVER,OWNER,PW);
 db_select_db(DB,$con);
 
-$self = $PHP_SELF . "?".SID."&guiID=".$_REQUEST["guiID"]."&elementID=".$_REQUEST["elementID"];
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>



More information about the Mapbender_commits mailing list