svn commit: r271 - trunk/mapbender/http/javascripts/mod_saveWKT.js

vera_schulze at osgeo.org vera_schulze at osgeo.org
Fri May 12 08:31:51 EDT 2006


Author: vera_schulze
Date: 2006-05-12 12:31:51+0000
New Revision: 271

Modified:
   trunk/mapbender/http/javascripts/mod_saveWKT.js   (contents, props changed)

Log:
Code cleaning ready

Modified: trunk/mapbender/http/javascripts/mod_saveWKT.js
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_saveWKT.js?view=diff&rev=271&p1=trunk/mapbender/http/javascripts/mod_saveWKT.js&p2=trunk/mapbender/http/javascripts/mod_saveWKT.js&r1=270&r2=271
==============================================================================
--- trunk/mapbender/http/javascripts/mod_saveWKT.js	(original)
+++ trunk/mapbender/http/javascripts/mod_saveWKT.js	2006-05-12 12:31:51+0000
@@ -1,20 +1,37 @@
-//$Id: mod_saveWKT.js,v 1.4 2005/09/13 14:38:11 bjoern_heuser Exp $
-//$Header: /cvsroot/mapbender/mapbender/http/javascripts/mod_saveWKT.js,v 1.4 2005/09/13 14:38:11 bjoern_heuser Exp $
+// $Id$
+// http://www.mapbender.org/index.php/mod_saveWKT.js
+// Copyright (C) 2002 CCGIS 
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2, or (at your option)
+// any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
 var mod_saveWKT_img = new Image();
 var mod_saveWKT_win = null;
 mod_saveWKT_img.src = "../img/button_gray/save.gif";
 register_measureSubFunctions("mod_saveWKT()");
 
 function mod_saveWKT(){
-   var str =  "<div style='position:absolute;top:75px' onmouseup='parent.mod_saveWKT_go()' ";
-   str += "onmouseover='parent.mod_measure_timeout()' onmouseout='parent.mod_measure_go()'><img src='"+mod_saveWKT_img.src+"'></div>";
-   return str;
+	var str =  "<div style='position:absolute;top:75px' onmouseup='parent.mod_saveWKT_go()' ";
+	str += "onmouseover='parent.mod_measure_timeout()' onmouseout='parent.mod_measure_go()'><img src='"+mod_saveWKT_img.src+"'></div>";
+	return str;
 }
 function mod_saveWKT_go(){
-   if(mod_saveWKT_win == null || mod_saveWKT_win.closed == true){
-      mod_saveWKT_win =  window.open("../php/mod_saveWKT.php","mod_saveWKT_win","width=400, height=400, resizable=yes, dependent=yes");
-   }
-   else{
-      mod_saveWKT_win.focus();
-   }
-}
+	if(mod_saveWKT_win == null || mod_saveWKT_win.closed == true){
+		mod_saveWKT_win =  window.open("../php/mod_saveWKT.php","mod_saveWKT_win","width=400, height=400, resizable=yes, dependent=yes");
+	}
+	else{
+		mod_saveWKT_win.focus();
+	}
+}
\ No newline at end of file




More information about the Mapbender_commits mailing list