svn commit: r952 - trunk/mapbender/http/javascripts/mod_saveWmcKml.php
christoph at osgeo.org
christoph at osgeo.org
Thu Nov 23 09:35:06 EST 2006
Author: christoph
Date: 2006-11-23 14:35:05+0000
New Revision: 952
Modified:
trunk/mapbender/http/javascripts/mod_saveWmcKml.php
Log:
removed obsolete code
Modified: trunk/mapbender/http/javascripts/mod_saveWmcKml.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_saveWmcKml.php?view=diff&rev=952&p1=trunk/mapbender/http/javascripts/mod_saveWmcKml.php&p2=trunk/mapbender/http/javascripts/mod_saveWmcKml.php&r1=951&r2=952
==============================================================================
--- trunk/mapbender/http/javascripts/mod_saveWmcKml.php (original)
+++ trunk/mapbender/http/javascripts/mod_saveWmcKml.php 2006-11-23 14:35:05+0000
@@ -19,9 +19,8 @@
session_start();
$gui_id = $_REQUEST["gui_id"];
-require_once("../../conf/mapbender.conf");
-require_once("point.js");
-require_once("mod_savewmc.php");
+require_once(dirname(__FILE__)."/../../conf/mapbender.conf");
+require_once(dirname(__FILE__)."/mod_savewmc.php");
$con = db_connect($DBSERVER,$OWNER,$PW);
db_select_db(DB,$con);
$sql = "SELECT e_src, e_target FROM gui_element WHERE e_id = 'savewmc' AND fkey_gui_id = $1";
@@ -125,19 +124,4 @@
str += "</form>";
saveWindow.document.write(str);
saveWindow.document.close();
-}
-
-function mod_savewmc_init(obj){
- //document.getElementById("savewmc").src = mod_zoom1_img_over.src;
- //obj.onmouseover = new Function("mod_zoomIn1_over()");
- //obj.onmouseout = new Function("mod_zoomIn1_out()");
-}
-function mod_zoomIn1_over(){
- //document.getElementById("zoomIn1").src = mod_zoom1_img_over.src;
-}
-function mod_zoomIn1_out(){
- //document.getElementById("zoomIn1").src = mod_zoom1_img.src;
-}
-
-
-
+}
\ No newline at end of file
More information about the Mapbender_commits
mailing list