svn commit: r920 - trunk/mapbender/http/javascripts/map.php

christoph at osgeo.org christoph at osgeo.org
Tue Nov 21 06:48:20 EST 2006


Author: christoph
Date: 2006-11-21 11:48:19+0000
New Revision: 920

Modified:
   trunk/mapbender/http/javascripts/map.php

Log:
include via dirname(__FILE__)

Modified: trunk/mapbender/http/javascripts/map.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/map.php?view=diff&rev=920&p1=trunk/mapbender/http/javascripts/map.php&p2=trunk/mapbender/http/javascripts/map.php&r1=919&r2=920
==============================================================================
--- trunk/mapbender/http/javascripts/map.php	(original)
+++ trunk/mapbender/http/javascripts/map.php	2006-11-21 11:48:19+0000
@@ -18,7 +18,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 ob_start();
-include('../../conf/mapbender.conf');
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 session_start();
 header('Content-type: application/x-javascript');
 ?>
@@ -697,7 +697,7 @@
 			}
 		}
 	}
-   	if(cnt_fi == 0){alert("Please select a layer! \n Bitte wählen Sie eine Ebene zur Abfrage aus!");}
+   	if(cnt_fi == 0){alert(unescape("Please select a layer! \n Bitte waehlen Sie eine Ebene zur Abfrage aus!"));}
 }
 function writeTag(frameName, elName, tagSource) {
   if(frameName && frameName != ""){
@@ -833,7 +833,7 @@
                 mb_restateLayers(mapObj, array_wms[j]);
                 //alert('restate');
                 /*
-                * hier noch checken, welche wms sich geändert haben und disctinct eine singleRequest aufrufen:
+                * hier noch checken, welche wms sich geaendert haben und disctinct eine singleRequest aufrufen:
                 */ 
                 if(check == true){					
                     
@@ -1282,12 +1282,6 @@
 	}	
 }
 
-function mb_execWfsSubFunctions(geom) {
-	for(var i=0; i<mb_WfsRequestSubFunctions.length; i++){
-		mb_WfsRequestSubFunctions[i](geom);
-	}	
-}
-
 function mb_getConjunctionCharacter(onlineresource){
 	if(onlineresource.indexOf("?") > -1){ 
 		if(onlineresource.charAt(onlineresource.length-1) == "?"){ 




More information about the Mapbender_commits mailing list