[Mapbender-commits] r2348 - branches/2.5/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Apr 7 05:54:39 EDT 2008


Author: christoph
Date: 2008-04-07 05:54:38 -0400 (Mon, 07 Apr 2008)
New Revision: 2348

Removed:
   branches/2.5/http/php/mod_switchLocale.php
   branches/2.5/http/php/mod_switchLocale_noreload.php
Log:
switchLocale has been removed

switchLocale_noreload has been moved to javascripts

Deleted: branches/2.5/http/php/mod_switchLocale.php
===================================================================
--- branches/2.5/http/php/mod_switchLocale.php	2008-04-06 10:54:47 UTC (rev 2347)
+++ branches/2.5/http/php/mod_switchLocale.php	2008-04-07 09:54:38 UTC (rev 2348)
@@ -1,69 +0,0 @@
-<?php
-# $Id$
-# http://www.mapbender.org/index.php/localeSwitch
-# 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__)."/../php/mb_validateSession.php");
-require_once(dirname(__FILE__)."/../classes/class_administration.php");
-
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<meta name="author" content="V. Diewald">
-<meta http-equiv="cache-control" content="no-cache">
-<meta http-equiv="pragma" content="no-cache">
-<meta http-equiv="expires" content="0">
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<meta name="DC.Rights" content="WhereGroup GmbH & Co.KG, Bonn">
-<title>Metadata search</title>
-<?
-include_once(dirname(__FILE__) . "/../include/dyn_css.php");
-?>
-<script type="text/javascript">
-<!--
-
-function validate(){
-	var index = document.getElementById("language").selectedIndex;
-	var lang = document.getElementById("language").options[index].value;
-	parent.mb_ajax_post("../php/mod_setLocale.php", {"lang":lang}, function(status,result) {
-		parent.window.location.reload();	
-	});
-}
-
-// -->
-</script>
-</head>
-<body leftmargin="2" topmargin="0" bgcolor="#ffffff">
-<form name='form1' target='parent'>
-<p>
-<select id='language' name='language' onchange='validate()'>
-<?php
-$languageArray = explode(",", $languages);
-for ($i = 0; $i < count($languageArray); $i++) {
-	echo "<option";
-	if ($_SESSION["mb_lang"] == $languageArray[$i]) {
-		echo " selected";
-	}
-	echo ">" . $languageArray[$i] . "</option>";
-}
-?>
-</select>
-</p>
-</form>
-</body>
-</html>
\ No newline at end of file

Deleted: branches/2.5/http/php/mod_switchLocale_noreload.php
===================================================================
--- branches/2.5/http/php/mod_switchLocale_noreload.php	2008-04-06 10:54:47 UTC (rev 2347)
+++ branches/2.5/http/php/mod_switchLocale_noreload.php	2008-04-07 09:54:38 UTC (rev 2348)
@@ -1,62 +0,0 @@
-<?php
-# $Id$
-# http://www.mapbender.org/index.php/localeSwitch
-# 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__)."/../php/mb_validateSession.php");
-require_once(dirname(__FILE__)."/../classes/class_administration.php");
-
-?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<title>Metadata search</title>
-<?php
-include(dirname(__FILE__) . "/../include/dyn_css.php");
-?>
-<script type="text/javascript">
-<!--
-
-function validate(){
-	var index = document.getElementById("language").selectedIndex;
-	var lang = document.getElementById("language").options[index].value;
-	parent.mb_ajax_post("../php/mod_setLocale.php", {"lang":lang}, function(result, status) {
-		parent.mapbender.locale = result;
-		parent.localize();	
-	});
-}
-
-// -->
-</script>
-</head>
-<body leftmargin="2" topmargin="0" bgcolor="#ffffff">
-<form name='form1' target='parent'>
-<select id='language' name='language' onchange='validate()'>
-<?php
-$languageArray = explode(",", $languages);
-for ($i = 0; $i < count($languageArray); $i++) {
-	echo "<option";
-	if ($_SESSION["mb_lang"] == $languageArray[$i]) {
-		echo " selected";
-	}
-	echo ">" . $languageArray[$i] . "</option>";
-}
-?>
-</select>
-</form>
-</body>
-</html>
\ No newline at end of file



More information about the Mapbender_commits mailing list