svn commit: r441 - trunk/mapbender/http/javascripts/mod_home.php

uli at osgeo.org uli at osgeo.org
Wed Jun 14 05:58:44 EDT 2006


Author: uli
Date: 2006-06-14 09:58:44+0000
New Revision: 441

Added:
   trunk/mapbender/http/javascripts/mod_home.php   (contents, props changed)

Log:
a new module to open the gui-list
name and password are required and must be passed

Added: trunk/mapbender/http/javascripts/mod_home.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_home.php?view=auto&rev=441
==============================================================================
--- (empty file)
+++ trunk/mapbender/http/javascripts/mod_home.php	2006-06-14 09:58:44+0000
@@ -0,0 +1,28 @@
+<?php
+# $Id$
+# http://www.mapbender.org/index.php/mod_home
+# 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.
+?>
+function mod_home_init(){
+<?php
+include("../../conf/mapbender.conf");
+echo "var url = '".LOGIN."';";
+echo "var name = '".$_SESSION["mb_user_name"]."';";
+echo "var pw = '".$_SESSION["mb_user_password"]."';";
+
+?>	
+	window.open(url + "?name=" + name + "&password=" + pw);	
+}
\ No newline at end of file




More information about the Mapbender_commits mailing list