[Mapbender-commits] r1112 - trunk/mapbender/http/extensions

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Feb 9 10:19:16 EST 2007


Author: christoph
Date: 2007-02-09 10:18:54 -0500 (Fri, 09 Feb 2007)
New Revision: 1112

Modified:
   trunk/mapbender/http/extensions/ext_featureInfoTunnel.php
Log:
Herr Becker hat featureuinfo tunnel dahin gehen angepa?\195?\159t, dass leere Fenster ohne ergebnis gkleich wieder geschliossen werden.


Modified: trunk/mapbender/http/extensions/ext_featureInfoTunnel.php
===================================================================
--- trunk/mapbender/http/extensions/ext_featureInfoTunnel.php	2007-02-09 14:13:54 UTC (rev 1111)
+++ trunk/mapbender/http/extensions/ext_featureInfoTunnel.php	2007-02-09 15:18:54 UTC (rev 1112)
@@ -1,28 +1,32 @@
-<?php
-# $Id$
-# http://www.mapbender.org/index.php/ext_featureInfoTunnel.php
-# 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.
-
-require_once(dirname(__FILE__)."/../classes/class_stripRequest.php");
-require_once(dirname(__FILE__)."/../classes/class_connector.php");
-import_request_variables("PG");
-session_start();
-$mr = new stripRequest(urldecode($_REQUEST["url"]));
-$nmr = $mr->encodeGET();
-$x = new connector($nmr);
-echo $x->file;
+<?php
+# $Id$
+# http://www.mapbender.org/index.php/ext_featureInfoTunnel.php
+# 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.
+
+require_once("../classes/class_stripRequest.php");
+require_once("../classes/class_connector.php");
+import_request_variables("PG");
+session_start();
+$mr = new stripRequest(urldecode($_REQUEST["url"]));
+$nmr = $mr->encodeGET();
+
+$x = new connector($nmr);
+if (empty($x->file)) {
+     echo "<html><head><title>Kein Abfrageergebnis</title></head><body
+onload='window.close();'></body></html>";
+} 
 ?>
\ No newline at end of file



More information about the Mapbender_commits mailing list