[Mapbender-commits] r7601 - in branches/2.7: . conf core http/classes http/extensions http/extensions/FirePHP-0.3 http/extensions/fpdf http/geoportal http/html http/img/gnome http/img/trafficlights http/javascripts http/php http/plugins http/print lib resources/db resources/db/pgsql resources/db/pgsql/UTF-8/update resources/locale/de_DE/LC_MESSAGES tools/wms_extent

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Feb 14 11:52:49 EST 2011


Author: kmq
Date: 2011-02-14 08:52:49 -0800 (Mon, 14 Feb 2011)
New Revision: 7601

Added:
   branches/2.7/http/classes/class_lzw_decompress.php
   branches/2.7/http/classes/class_weldMaps2JPEG.php
   branches/2.7/http/img/gnome/loadExternalWms.png
   branches/2.7/http/img/trafficlights/go.png
   branches/2.7/http/img/trafficlights/nopicture.png
   branches/2.7/http/img/trafficlights/picture.png
   branches/2.7/http/img/trafficlights/stop.png
   branches/2.7/http/img/trafficlights/wait.png
   branches/2.7/http/javascripts/lzw.js
   branches/2.7/http/javascripts/mod_changeEPSG.php
   branches/2.7/http/javascripts/mod_legendDiv.php
   branches/2.7/http/php/mod_subscribersServiceList.php
   branches/2.7/http/plugins/mb_print.php
   branches/2.7/resources/db/geoportal_gui.sql
   branches/2.7/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
   branches/2.7/tools/wms_extent/include_metadata_layer.map
   branches/2.7/tools/wms_extent/include_metadata_wms.map
Removed:
   branches/2.7/http/plugins/mb_print.js
   branches/2.7/http/plugins/mb_print.php
   branches/2.7/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
Modified:
   branches/2.7/
   branches/2.7/conf/mapbender.conf-dist
   branches/2.7/core/system.php
   branches/2.7/http/classes/class_elementVar.php
   branches/2.7/http/classes/class_gml2.php
   branches/2.7/http/classes/class_metadata_new.php
   branches/2.7/http/classes/class_wfs_conf.php
   branches/2.7/http/classes/class_wmc.php
   branches/2.7/http/classes/class_wms.php
   branches/2.7/http/extensions/FirePHP-0.3/FirePHP.class.php
   branches/2.7/http/extensions/FirePHP-0.3/fb.php
   branches/2.7/http/extensions/fpdf/mb_fpdi.php
   branches/2.7/http/extensions/jqjson.min.js
   branches/2.7/http/geoportal/mod_initialStartWmc.php
   branches/2.7/http/geoportal/mod_showPreview.php
   branches/2.7/http/html/mod_treefolderPlain.php
   branches/2.7/http/javascripts/geometry.js
   branches/2.7/http/javascripts/initWmcObj.php
   branches/2.7/http/javascripts/map_obj.js
   branches/2.7/http/javascripts/mod_addWMSfromTree.js
   branches/2.7/http/javascripts/mod_addWMSgeneralFunctions.js
   branches/2.7/http/javascripts/mod_coordsLookup.php
   branches/2.7/http/javascripts/mod_digitize_tab.php
   branches/2.7/http/javascripts/mod_loadwmc.js
   branches/2.7/http/javascripts/mod_sandclock.js
   branches/2.7/http/javascripts/mod_savewmc.js
   branches/2.7/http/javascripts/mod_savewmc.php
   branches/2.7/http/javascripts/mod_tab.js
   branches/2.7/http/javascripts/mod_tab_expandable.js
   branches/2.7/http/javascripts/mod_tooltip.php
   branches/2.7/http/javascripts/mod_wfsGazetteerEditor_client.php
   branches/2.7/http/php/mod_abo_show.php
   branches/2.7/http/php/mod_deleteWFS.php
   branches/2.7/http/php/mod_editElements.php
   branches/2.7/http/php/mod_filteredUser_filteredGroup.php
   branches/2.7/http/php/mod_getServiceDisclaimer.php
   branches/2.7/http/php/mod_getWmcDisclaimer.php
   branches/2.7/http/php/mod_loadwmc_server.php
   branches/2.7/http/php/mod_meetingPoint.php
   branches/2.7/http/php/mod_monitorCapabilities_read_single.php
   branches/2.7/http/php/mod_savewmc_server.php
   branches/2.7/http/php/mod_showMetadata.php
   branches/2.7/http/php/mod_wfs_conf_interface.js
   branches/2.7/http/php/mod_wfs_conf_server.php
   branches/2.7/http/plugins/feedTree.js
   branches/2.7/http/plugins/mb_button.js
   branches/2.7/http/plugins/mb_i18n.js
   branches/2.7/http/plugins/mb_measure_widget.php
   branches/2.7/http/plugins/mb_metadata_edit.js
   branches/2.7/http/plugins/mb_metadata_edit.php
   branches/2.7/http/plugins/mb_metadata_layerPreview.php
   branches/2.7/http/plugins/mb_metadata_saveLayerPreview.js
   branches/2.7/http/plugins/mb_metadata_select.js
   branches/2.7/http/plugins/mb_metadata_server.php
   branches/2.7/http/plugins/mb_metadata_wfs_edit.php
   branches/2.7/http/plugins/mb_metadata_wmcPreview.php
   branches/2.7/http/plugins/mb_resultList_DetailPopup.js
   branches/2.7/http/plugins/mb_sessionWmc.js
   branches/2.7/http/plugins/wfsConfTree.js
   branches/2.7/http/print/A3_landscape_template.json
   branches/2.7/http/print/A3_portrait_template.json
   branches/2.7/http/print/A4_landscape_template.json
   branches/2.7/http/print/A4_portrait_template.json
   branches/2.7/http/print/mapbender_template.json
   branches/2.7/lib/button.js
   branches/2.7/lib/class_GetApi.php
   branches/2.7/lib/mb.ui.displayFeatures.js
   branches/2.7/resources/db/install.sh
   branches/2.7/resources/db/new_admin_gui.sql
   branches/2.7/resources/db/new_admin_gui_de.sql
   branches/2.7/resources/db/pgsql/UTF-8/update/update_2.6.2_to_2.7rc1_pgsql_UTF-8.sql
   branches/2.7/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6_pgsql_UTF-8.sql
   branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7rc1_to_2.7rc2_pgsql_UTF-8.sql
   branches/2.7/resources/db/pgsql/gui_digitize.sql
   branches/2.7/resources/db/update.bat
   branches/2.7/resources/db/update.sh
   branches/2.7/tools/wms_extent/extent_service.conf
   branches/2.7/tools/wms_extent/extents.map
Log:
merging from trunk


Property changes on: branches/2.7
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/kmq_dev:4021-4487
/trunk/mapbender:7363-7474
   + /branches/kmq_dev:4021-4487
/trunk/mapbender:7363-7600

Modified: branches/2.7/conf/mapbender.conf-dist
===================================================================
--- branches/2.7/conf/mapbender.conf-dist	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/conf/mapbender.conf-dist	2011-02-14 16:52:49 UTC (rev 7601)
@@ -36,8 +36,12 @@
 # URL to login
 # --------------------------------------------
 define("LOGIN", "http://localhost/mapbender/frames/login.php");
-define("MAXLOGIN", 3);
 $login = LOGIN;
+
+# --------------------------------------------
+# MAXLOGIN - this parameter is not in use anymore, but still needed for compatibility
+# --------------------------------------------
+define("MAXLOGIN", 3);
 
 # --------------------------------------------
 # URL to owsproxy

Modified: branches/2.7/core/system.php
===================================================================
--- branches/2.7/core/system.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/core/system.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -111,6 +111,7 @@
  *	@security_patch Helper
  */
 function security_patch_log($file,$line) {
+    /*
 	$h = fopen(dirname(__FILE__)."/../log/security_patch.log","a+");
 	if($h) {
                 $post_out = '
@@ -123,6 +124,7 @@
 		fwrite($h,"\n".date("Y.m.d H:i")." FILE : ".$file." | LINE : ".$line." | POST : ".implode(",",array_keys($_POST))." | GET : ".implode(",",array_keys($_GET))." | FILE : ".implode(",",array_keys($_FILE))." |\n".$post_out);
 		fclose($h);
 	}
+   */
 }
 
 //

Modified: branches/2.7/http/classes/class_elementVar.php
===================================================================
--- branches/2.7/http/classes/class_elementVar.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/classes/class_elementVar.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -37,7 +37,7 @@
 				$this->load();
 			}
 			catch (Exception $e) {
-				throw new Exception ("Could not initialize element var.");
+				throw new Exception ("Could not initialize element var, because: " . $e);
 			}
 		}
 	}	

Modified: branches/2.7/http/classes/class_gml2.php
===================================================================
--- branches/2.7/http/classes/class_gml2.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/classes/class_gml2.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -944,7 +944,7 @@
 				}
 			}
 			$cnt++;
-			new mb_exception("create multipolygon " . serialize($this->innerRingArray));
+			new mb_notice("create multipolygon " . serialize($this->innerRingArray));
 		}		
 	}
 	

Copied: branches/2.7/http/classes/class_lzw_decompress.php (from rev 7548, trunk/mapbender/http/classes/class_lzw_decompress.php)
===================================================================
--- branches/2.7/http/classes/class_lzw_decompress.php	                        (rev 0)
+++ branches/2.7/http/classes/class_lzw_decompress.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,127 @@
+<?php
+//class_lzw_decompress.php
+//
+/*function uniord($ch) {
+
+    $n = ord($ch{0});
+
+    if ($n < 128) {
+        return $n; // no conversion required
+    }
+
+    if ($n < 192 || $n > 253) {
+        return false; // bad first byte || out of range
+    }
+
+    $arr = array(1 => 192, // byte position => range from
+                 2 => 224,
+                 3 => 240,
+                 4 => 248,
+                 5 => 252,
+                 );
+
+    foreach ($arr as $key => $val) {
+        if ($n >= $val) { // add byte to the 'char' array
+            $char[] = ord($ch{$key}) - 128;
+            $range  = $val;
+        } else {
+            break; // save some e-trees
+        }
+    }
+
+    $retval = ($n - $range) * pow(64, sizeof($char));
+
+    foreach ($char as $key => $val) {
+        $pow = sizeof($char) - ($key + 1); // invert key
+        $retval += $val * pow(64, $pow);   // dark magic
+    }
+
+    return $retval;
+}
+*/
+/*function unichr($dec) {
+  if ($dec < 128) {
+    $utf = chr($dec);
+  } else if ($dec < 2048) {
+    $utf = chr(192 + (($dec - ($dec % 64)) / 64));
+    $utf .= chr(128 + ($dec % 64));
+  } else {
+    $utf = chr(224 + (($dec - ($dec % 4096)) / 4096));
+    $utf .= chr(128 + ((($dec % 4096) - ($dec % 64)) / 64));
+    $utf .= chr(128 + ($dec % 64));
+  }
+  return $utf;
+*/
+
+/*function uniord($c) {
+    $h = ord($c{0});
+    if ($h <= 0x7F) {
+        return $h;
+    } else if ($h < 0xC2) {
+        return false;
+    } else if ($h <= 0xDF) {
+        return ($h & 0x1F) << 6 | (ord($c{1}) & 0x3F);
+    } else if ($h <= 0xEF) {
+        return ($h & 0x0F) << 12 | (ord($c{1}) & 0x3F) << 6
+                                 | (ord($c{2}) & 0x3F);
+    } else if ($h <= 0xF4) {
+        return ($h & 0x0F) << 18 | (ord($c{1}) & 0x3F) << 12
+                                 | (ord($c{2}) & 0x3F) << 6
+                                 | (ord($c{3}) & 0x3F);
+    } else {
+        return false;
+    }
+}
+*/
+/**
+ * Return unicode char by its code
+ *
+ * @param int $u
+ * @return char
+ */
+/*function unichr($u) {
+    return mb_convert_encoding('&#' . intval($u) . ';', 'UTF-8', 'HTML-ENTITIES');
+}*/
+
+  function unichr($u) {
+    return mb_convert_encoding(pack("N",$u), mb_internal_encoding(), 'UCS-4BE');
+ }
+
+function lzw_decompress($compressed) {
+	// Build the dictionary.
+	$dictSize = 256;
+	$dictionary = array();
+	for ($i=0; $i < $dictSize; $i++)
+        {
+            $dictionary[$i] = unichr($i);
+	    //$e = new mb_exception('dictionary['.$i.']:'.$dictionary[$i]);
+ 	}
+	$w = (string)unichr($compressed[0]);
+        $result = $w;
+	for ($i=1; $i < count($compressed); $i++) {
+            $entry = "";
+            $k = $compressed[$i];
+            if (isset($dictionary[$k])) { //whats with null?
+		 
+        	$entry = $dictionary[$k];
+		
+	    }
+            else if ($k == $dictSize) { 
+                $entry = $w.$w[0];
+	    }
+            else {
+                
+            }
+	    
+            $result = $result.$entry;
+            
+            $dictionary[$dictSize++] = $w.$entry[0]; //for the first time 256 after that it will be increased
+	    
+            
+            $w = $entry;
+	    
+        }
+	
+        return $result;
+}
+?>

Modified: branches/2.7/http/classes/class_metadata_new.php
===================================================================
--- branches/2.7/http/classes/class_metadata_new.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/classes/class_metadata_new.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -423,7 +423,7 @@
 		        	}	
 				$this->wfsJSON->wfs->srv[$i-$j]->ftype[$l-$m]->modul[$m]->srsProblem = $isEqual;
 				//generate Link to show metadata
-				$this->wfsJSON->wfs->srv[$i-$j]->ftype[$l-$m]->modul[$m]->mdLink = "http://".$this->hostName."/mapbender/x_geoportal/showWFSConfMetadata.php?id=".$wfsMatrix[$i]['wfs_conf_id'];
+				$this->wfsJSON->wfs->srv[$i-$j]->ftype[$l-$m]->modul[$m]->mdLink = "http://".$this->hostName."/mapbender/php/mod_showMetadata.php?resource=featuretype&id=".$wfsMatrix[$i]['featuretype_id'];
 				$perText = $this->getPermissionValueForWFS($wfsMatrix[$i]['wfs_id'], $wfsMatrix[$i]['wfs_conf_id']);
 				$this->wfsJSON->wfs->srv[$i-$j]->ftype[$l-$m]->modul[$m]->permission = $perText;
 				if ($wfsMatrix[$i]['wfs_id'] == $wfsMatrix[$i+1]['wfs_id']){

Copied: branches/2.7/http/classes/class_weldMaps2JPEG.php (from rev 7548, trunk/mapbender/http/classes/class_weldMaps2JPEG.php)
===================================================================
--- branches/2.7/http/classes/class_weldMaps2JPEG.php	                        (rev 0)
+++ branches/2.7/http/classes/class_weldMaps2JPEG.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,82 @@
+<?php
+# $Id: class_weldMaps2PNG.php 5529 2010-02-19 15:54:30Z christoph $
+# http://www.mapbender.org/index.php/class_weldMaps2JPEG.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.
+
+/*
+* class_weldMaps2JPEG
+* @version 1.0.0
+* get/post '___' separated maprequests
+*
+**/
+require_once(dirname(__FILE__)."/../../core/globalSettings.php");
+require_once(dirname(__FILE__)."/class_stripRequest.php");
+require_once(dirname(__FILE__)."/class_connector.php");
+
+class weldMaps2JPEG{
+
+	function weldMaps2JPEG($urls,$filename, $encode = true){
+		if(!$urls || $urls == ""){
+			$e = new mb_exception("weldMaps2JPEG: no maprequests delivered");
+		}
+		$url = explode("___", $urls);
+		$obj1 = new stripRequest($url[0]);
+		$width = $obj1->get("width");
+		$height = $obj1->get("height");
+		
+		$image = imagecreatetruecolor($width, $height	);
+		$white = ImageColorAllocate($image,255,255,255); 
+		ImageFilledRectangle($image,0,0,$width,$height,$white); 
+
+		for($i=0; $i<count($url); $i++){
+			$obj = new stripRequest($url[$i]);
+
+			$url[$i] = $obj->setPNG();
+			$url[$i] = $obj->encodeGET($encode);
+			$img = $this->loadpng($url[$i]);
+			if($img != false){
+				imagecopy($image, $img, 0, 0, 0, 0, $width, $height);
+				@imagedestroy($img); 
+			}
+			else{
+				$e = new mb_exception("weldMaps2JPEG: unable to load image: " . $url[$i]);
+			}
+		}
+		imagejpeg($image,$filename);
+		imagedestroy($image); 
+
+	}
+	
+	function loadpng ($imgurl) {
+		$obj = new stripRequest($imgurl);
+		$x = new connector($imgurl);
+		
+		//
+		$f = $obj->get("format");
+		
+		$im = @imagecreatefromstring($x->file);
+		if(!$im){
+			$im = false;
+			$e = new mb_exception("weldMaps2JPEG: unable to load image: ".$imgurl);
+		}  
+		return $im;
+		
+	}
+	
+}
+
+?>

Modified: branches/2.7/http/classes/class_wfs_conf.php
===================================================================
--- branches/2.7/http/classes/class_wfs_conf.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/classes/class_wfs_conf.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -153,7 +153,8 @@
 									"f_auth_varname" => $row["f_auth_varname"],
 									"f_detailpos" => $row["f_detailpos"],
 									"f_operator" => $row["f_operator"],
-									"f_show_detail" => $row["f_show_detail"]
+									"f_show_detail" => $row["f_show_detail"],
+									"f_helptext" => $row["f_helptext"] == null? "":$row["f_helptext"]
 									);
 			array_push($elementArray, $currentElement);
 		}
@@ -187,7 +188,7 @@
 	/**
 	 * get WFS conf data from database
 	 */
-	private function getWfsConfFromDB ($idArray) {
+	public function getWfsConfFromDB ($idArray) {
 		
 		// if a user has access to some WFS confs...
 		if (count($idArray) > 0) {

Modified: branches/2.7/http/classes/class_wmc.php
===================================================================
--- branches/2.7/http/classes/class_wmc.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/classes/class_wmc.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -18,7 +18,7 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 require_once(dirname(__FILE__) . "/../classes/class_wms.php");
-require_once(dirname(__FILE__) . "/../classes/class_wfs_configuration.php");
+require_once(dirname(__FILE__) . "/../classes/class_wfs_conf.php");
 require_once(dirname(__FILE__) . "/../classes/class_layer_monitor.php");
 require_once(dirname(__FILE__) . "/../classes/class_point.php");
 require_once(dirname(__FILE__) . "/../classes/class_bbox.php");
@@ -183,6 +183,18 @@
 	// get the map objects "overview" and "mapframe1"
 		$this->mainMap = map::selectMainMapByApplication($appId);
 		$this->overviewMap = map::selectOverviewMapByApplication($appId);
+
+		// a  wWFS is basically just a vectorlayer, and a WFSconf is just a configured WFS,
+		// so it makes sense to attach the WFSCONFIDstring to to the mapobject
+		// this clearly needs a better solution though...
+		try{
+			$ev = new ElementVar($appId,"mapframe1","wfsConfIdString");
+			$this->generalExtensionArray['WFSCONFIDSTRING'] = $ev->value;
+		}catch(Exception $E){
+			// ... exceprtions are a terribkle way to do this, but I am not going to rewrite the ElementVar class
+			$this->generalExtensionArray['WFSCONFIDSTRING'] = "";
+		}
+
 		$this->createXml();
 		$this->saveAsFile();
 	}
@@ -260,16 +272,17 @@
 		return array_keys( array_flip(array_merge($wmcOwnerArray, $publicWmcIdArray)));
 	}
 
-	public function selectByUser ($user) {
+	public function selectByUser ($user, $showPublic=0) {
 		$wmcArray = array();
 
 		// get WMC ids
 		$wmcOwnerArray = $user->getWmcByOwner();
-
-		$publicWmcIdArray = self::getPublicWmcIds();
-
-		$wmcIdArray = array_keys( array_flip(array_merge($wmcOwnerArray, $publicWmcIdArray)));
-
+		if ($showPublic==1) {
+			$publicWmcIdArray = self::getPublicWmcIds();
+			$wmcIdArray = array_keys( array_flip(array_merge($wmcOwnerArray, $publicWmcIdArray)));
+		} else {
+			$wmcIdArray=$wmcOwnerArray;
+		}
 		// get WMC data
 		$v = array();
 		$t = array();
@@ -1021,11 +1034,12 @@
 
 	public function featuretypeConfToJavaScript() {
 		$wfsConfIds = $this->generalExtensionArray['WFSCONFIDSTRING'];
+		new mb_exception("app AAAA idstr $wfsConfIds");
 		$featuretypeConfs = array();
 		$featuretypeConfArray = is_string($wfsConfIds) ?
 			explode(",", $wfsConfIds) : array();
 		for ($i = 0; $i < count($featuretypeConfArray); $i++) {
-			$featuretypeConf = WfsConfiguration::createFromDb($featuretypeConfArray[$i]);
+			$featuretypeConf = WfsConf::getWfsConfFromDb($featuretypeConfArray[$i]);
 			array_push($featuretypeConfs,$featuretypeConf);
 		}
 		$featuretypeConfObj = new Mapbender_JSON();

Modified: branches/2.7/http/classes/class_wms.php
===================================================================
--- branches/2.7/http/classes/class_wms.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/classes/class_wms.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -194,7 +194,6 @@
 			$this->updateOwsProxyUrl($this->wms_getlegendurl);
 		
 		for ($i = 0; $i < count($this->objLayer); $i++) {
-			new mb_exception(serialize($this->objLayer[$i]->layer_style));
 			for ($j = 0; $j < count($this->objLayer[$i]->layer_style); $j++) {
 				$this->objLayer[$i]->layer_style[$j]["legendurl"] = 
 					$this->updateOwsProxyUrl($this->objLayer[$i]->layer_style[$j]["legendurl"]);
@@ -2083,6 +2082,9 @@
 		}
 	}
 	function updateObjInDB($myWMS){
+		if (!isset($this->wms_network_access) || ($this->wms_network_access == '')) {
+			$this->wms_network_access = intval('0');
+		}
 		$admin = new administration();
 		db_begin();
 		
@@ -2099,14 +2101,15 @@
 		$sql .= "wms_supportsld = $10, ";
 		$sql .= "wms_userlayer = $11, ";
 		$sql .= "wms_userstyle = $12, ";
-		$sql .= "wms_remotewfs = $13 ";
-		$sql .= " WHERE wms_id = $14";
+		$sql .= "wms_remotewfs = $13, ";
+		$sql .= "wms_network_access = $14 ";
+		$sql .= " WHERE wms_id = $15";
 	
 		$v = array($this->wms_version,$this->wms_getcapabilities,
 			$this->wms_getmap,$this->wms_getfeatureinfo,$this->wms_getlegendurl,
 			$admin->char_encode($this->wms_getcapabilities_doc),$this->wms_upload_url,Mapbender::session()->get("mb_user_id"),strtotime("now"),
-			$this->wms_supportsld,$this->wms_userlayer,$this->wms_userstyle,$this->wms_remotewfs,$myWMS);
-		$t = array('s','s','s','s','s','s','s','i','i','s','s','s','s','i');
+			$this->wms_supportsld,$this->wms_userlayer,$this->wms_userstyle,$this->wms_remotewfs,$this->wms_network_access, $myWMS);
+		$t = array('s','s','s','s','s','s','s','i','i','s','s','s','s','i','i');
 	
 		$res = db_prep_query($sql,$v,$t);
 		if(!$res){
@@ -2129,14 +2132,15 @@
 			$sql .= "country = $12, ";
 			$sql .= "contactvoicetelephone = $13, ";
 			$sql .= "contactfacsimiletelephone = $14, ";
-			$sql .= "contactelectronicmailaddress = $15 ";
-			$sql .= " WHERE wms_id = $16";
+			$sql .= "contactelectronicmailaddress = $15, ";
+			$sql .= "wms_network_access = $16 ";
+			$sql .= " WHERE wms_id = $17";
 		
 			$v = array($this->wms_title,$this->wms_abstract,$this->fees,$this->accessconstraints,
 				$this->contactperson,$this->contactposition,$this->contactorganization,$this->address,
 				$this->city,$this->stateorprovince,$this->postcode,$this->country,$this->contactvoicetelephone,
-				$this->contactfacsimiletelephone,$this->contactelectronicmailaddress,$myWMS);
-			$t = array('s','s','s','s','s','s','s','s','s','s','s','s','s','s','s','i');
+				$this->contactfacsimiletelephone,$this->contactelectronicmailaddress,$this->wms_network_access,$myWMS);
+			$t = array('s','s','s','s','s','s','s','s','s','s','s','s','s','s','s','i','i');
 			$res = db_prep_query($sql,$v,$t);
 			if(!$res){
 				db_rollback();	
@@ -2737,6 +2741,7 @@
 			$this->postcode = $row2["postcode"];
 			$this->country = $row2["country"];
 			$this->contactelectronicmailaddress = $row2["contactelectronicmailaddress"];
+			$this->wms_network_access = $row2["wms_network_access"];
 			
 			#some default
 			$this->gui_wms_visible = 1;


Property changes on: branches/2.7/http/extensions/FirePHP-0.3/FirePHP.class.php
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/kmq_dev/http/extensions/FirePHP.class.php:4021-4487
   + /branches/kmq_dev/http/extensions/FirePHP.class.php:4021-4487
/trunk/mapbender/http/extensions/FirePHP-0.3/FirePHP.class.php:7363-7600


Property changes on: branches/2.7/http/extensions/FirePHP-0.3/fb.php
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/kmq_dev/http/extensions/fb.php:4021-4487
   + /branches/kmq_dev/http/extensions/fb.php:4021-4487
/trunk/mapbender/http/extensions/FirePHP-0.3/fb.php:7363-7600

Modified: branches/2.7/http/extensions/fpdf/mb_fpdi.php
===================================================================
--- branches/2.7/http/extensions/fpdf/mb_fpdi.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/extensions/fpdf/mb_fpdi.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -5,7 +5,7 @@
 class mb_fpdi extends FPDI {
 
     function mb_fpdi($orientation='L',$unit='mm',$format='A4') {
-        parent::FPDI($orientation,$unit,$format);
+        parent::__construct($orientation,$unit,$format);
         $this->SetAutoPageBreak(false,0);
     }	
 
@@ -527,4 +527,4 @@
     
 }
 
-?>
\ No newline at end of file
+?>


Property changes on: branches/2.7/http/extensions/jqjson.min.js
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk/mapbender/http/extensions/jqjson.min.js:7363-7474
   + /trunk/mapbender/http/extensions/jqjson.min.js:7363-7600

Modified: branches/2.7/http/geoportal/mod_initialStartWmc.php
===================================================================
--- branches/2.7/http/geoportal/mod_initialStartWmc.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/geoportal/mod_initialStartWmc.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -57,7 +57,7 @@
 	$classJSON = new Mapbender_JSON;
 }
 if ($languageCode == 'en'){
-	$pathToLoadScript = '/portal/maps.html?WMC=';
+	$pathToLoadScript = '/portal/en/maps.html?WMC=';
 }
 //define sql for selecting informations from database:
 $sql = "";

Modified: branches/2.7/http/geoportal/mod_showPreview.php
===================================================================
--- branches/2.7/http/geoportal/mod_showPreview.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/geoportal/mod_showPreview.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -26,38 +26,38 @@
 }
 
 if ($resource == 'layer'){
-	if (file_exists(PREVIEW_DIR."/".$id."_layer_map_preview.png")) {
+	if (file_exists(PREVIEW_DIR."/".$id."_layer_map_preview.jpg")) {
 		header("Expires: -1");
 		header("Cache-Control: no-cache; must-revalidate");
 		header("Pragma: no-cache");
-		header('Content-Type: image/png');
-		readfile(PREVIEW_DIR."/".$id."_layer_map_preview.png");
+		header('Content-Type: image/jpeg');
+		readfile(PREVIEW_DIR."/".$id."_layer_map_preview.jpg");
 	} else {
-		if (file_exists(PREVIEW_DIR."/"."keinevorschau.png")) {
+		if (file_exists(PREVIEW_DIR."/"."keinevorschau.jpg")) {
 			header("Expires: -1");
 			header("Cache-Control: no-cache; must-revalidate");
 			header("Pragma: no-cache");
-			header('Content-Type: image/png');
-			readfile(PREVIEW_DIR."/"."keinevorschau.png");
+			header('Content-Type: image/jpeg');
+			readfile(PREVIEW_DIR."/"."keinevorschau.jpg");
 		} else {
 			echo "No preview dummy found!";
 		}
 	}
 }
 elseif ($resource == 'wmc') {
-	if (file_exists(PREVIEW_DIR."/".$id."_wmc_preview.png")) {
+	if (file_exists(PREVIEW_DIR."/".$id."_wmc_preview.jpg")) {
 		header("Expires: -1");
 		header("Cache-Control: no-cache; must-revalidate");
 		header("Pragma: no-cache");
-		header('Content-Type: image/png');
-		readfile(PREVIEW_DIR."/".$id."_wmc_preview.png");
+		header('Content-Type: image/jpeg');
+		readfile(PREVIEW_DIR."/".$id."_wmc_preview.jpg");
 	} else {
-		if (file_exists(PREVIEW_DIR."/"."keinevorschau.png")) {
+		if (file_exists(PREVIEW_DIR."/"."keinevorschau.jpg")) {
 			header("Expires: -1");
 			header("Cache-Control: no-cache; must-revalidate");
 			header("Pragma: no-cache");
-			header('Content-Type: image/png');
-			readfile(PREVIEW_DIR."/"."keinevorschau.png");
+			header('Content-Type: image/jpeg');
+			readfile(PREVIEW_DIR."/"."keinevorschau.jpg");
 		} else {
 			echo "No preview dummy found!";
 		}
@@ -65,19 +65,19 @@
 
 }
 elseif ($resource == 'layerlegend') {
-	if (file_exists(PREVIEW_DIR."/".$id."_layer_legend_preview.png")) {
+	if (file_exists(PREVIEW_DIR."/".$id."_layer_legend_preview.jpg")) {
 		header("Expires: -1");
 		header("Cache-Control: no-cache; must-revalidate");
 		header("Pragma: no-cache");
-		header('Content-Type: image/png');
-		readfile(PREVIEW_DIR."/".$id."_layer_legend_preview.png");
+		header('Content-Type: image/jpeg');
+		readfile(PREVIEW_DIR."/".$id."_layer_legend_preview.jpg");
 	} else {
-		if (file_exists(PREVIEW_DIR."/"."keinevorschau.png")) {
+		if (file_exists(PREVIEW_DIR."/"."keinevorschau.jpg")) {
 			header("Expires: -1");
 			header("Cache-Control: no-cache; must-revalidate");
 			header("Pragma: no-cache");
-			header('Content-Type: image/png');
-			readfile(PREVIEW_DIR."/"."keinevorschau.png");
+			header('Content-Type: image/jpeg');
+			readfile(PREVIEW_DIR."/"."keinevorschau.jpg");
 		} else {
 			echo "No preview dummy found!";
 		}

Modified: branches/2.7/http/html/mod_treefolderPlain.php
===================================================================
--- branches/2.7/http/html/mod_treefolderPlain.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/html/mod_treefolderPlain.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -38,8 +38,8 @@
 msgObj.tooltipMoveSelectionDown = '<?php echo _mb("Moves the selection down");?>';
 msgObj.tooltipMetadata = '<?php echo _mb("Show metadata");?>';
 
+if (typeof(localizetree) === 'undefined')localizetree = 'false';
 
-
 function localizeTree () {
 	var treefolderTitleArray = [];
 	var map = Mapbender.modules[mod_treeGDE_map];
@@ -89,16 +89,18 @@
 	});
 	req.send();
 }
-
+/*
 eventInit.register(function () {
 	localizeTree();
 });
+*/
 
-eventLocalize.register(function () {
-	localizeTree();
-});
+if (localizetree == 'true') {
+	eventLocalize.register(function () {
+		localizeTree();
+	});
+}
 
-
 var jst_container = "document.getElementById('treeContainer')";
 var jst_image_folder = imagedir;
 var jst_display_root = false;

Copied: branches/2.7/http/img/gnome/loadExternalWms.png (from rev 7548, trunk/mapbender/http/img/gnome/loadExternalWms.png)
===================================================================
(Binary files differ)

Copied: branches/2.7/http/img/trafficlights/go.png (from rev 7595, trunk/mapbender/http/img/trafficlights/go.png)
===================================================================
(Binary files differ)

Copied: branches/2.7/http/img/trafficlights/nopicture.png (from rev 7595, trunk/mapbender/http/img/trafficlights/nopicture.png)
===================================================================
(Binary files differ)

Copied: branches/2.7/http/img/trafficlights/picture.png (from rev 7595, trunk/mapbender/http/img/trafficlights/picture.png)
===================================================================
(Binary files differ)

Copied: branches/2.7/http/img/trafficlights/stop.png (from rev 7595, trunk/mapbender/http/img/trafficlights/stop.png)
===================================================================
(Binary files differ)

Copied: branches/2.7/http/img/trafficlights/wait.png (from rev 7595, trunk/mapbender/http/img/trafficlights/wait.png)
===================================================================
(Binary files differ)

Modified: branches/2.7/http/javascripts/geometry.js
===================================================================
--- branches/2.7/http/javascripts/geometry.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/geometry.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1862,7 +1862,7 @@
 						"fill": col,
 						"stroke": col,
 						"stroke-width": lineWidth,
-						"fill-opacity": 0.5
+						"fill-opacity": 0.1
 					});
 				}
 				else {

Modified: branches/2.7/http/javascripts/initWmcObj.php
===================================================================
--- branches/2.7/http/javascripts/initWmcObj.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/initWmcObj.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -24,30 +24,21 @@
 
 $resultObj = array(
 	"noPermission" => array(
-		"message" => "Sie als Nutzer '" .
+		"message" => _mb("You as User")." '" .
 			Mapbender::session()->get("mb_user_name") . "' " .
-			"haben keine Berechtigung auf folgende Layer zuzugreifen.",
+			_mb("have no authorization to access following layers."),
 		"wms" => array()
 	),
 	"withoutId" => array(
-		"message" => "Folgende Layer stammen aus einer dem " .
-			"Geoportal.rlp unbekannten Quelle. Es kann daher nicht " .
-			"überprüft werden, ob die Links verwaist sind oder ob " .
-			"die Dienste überhaupt Daten liefern.",
+		"message" => _mb("Following layers come from an unkown origin. There is no information about the links. They may be broken and the underlaying services may not exist anymore!"),
 		"wms" => array(),
 	),
 	"unavailable" => array(
-		"message" => "Bei folgenden Diensten kam es während " .
-			"des letzten Monitorings zu Problemen. Es ist möglich, dass " .
-			"diese Dienste derzeit keine Informationen zur Verfügung stellen " .
-			"können.",
+		"message" => _mb("The last monitoring had problems with the following layers. Maybe the underlying services will not be able to answer the requests for sometime."),
 		"wms" => array()
 	),
 	"invalidId" => array(
-		"message" => "Folgende Dienste/Layer sind aus der " .
-			"Registrierungsstelle gelöscht worden. Es kann daher nicht " .
-			"überprüft werden, ob die Links verwaist sind oder ob " .
-			"die Dienste überhaupt Daten liefern.",
+		"message" => _mb("Following layers have been removed from the registry. They may be broken and the underlaying services may not exist anymore!"),
 		"wms" => array()
 	),
 	"wmcTou" => array(
@@ -316,12 +307,12 @@
 		array_push($wfsConfIds, $input["id"]);
 	}
 
-	$wmcGetApi->generalExtensionArray['WFSCONFIDSTRING'] = implode(",", array_merge(
+	$wmcGetApi->generalExtensionArray['WFSCONFIDSTRING'] = implode(",", array_unique(array_merge(
 		$wmcGetApi->generalExtensionArray['WFSCONFIDSTRING'] ?
 		explode(",", $wmcGetApi->generalExtensionArray['WFSCONFIDSTRING']) :
 		array(),
 		$wfsConfIds
-	));
+	)));
 }
 
 $inputGeoRSSArray = $getApi->getGeoRSSFeeds();
@@ -409,7 +400,7 @@
 //get terms of use from wms objects which are in the remaining wmc and are not already accepted for this session
 
 $validWMS = $wmcGetApi->getValidWms();
-$translation['wms'] = "Kartendienst";
+$translation['wms'] = _mb("MapService");
 $resourceSymbol = "<img src='../img/osgeo_graphics/geosilk/server_map.png' alt='".$translation['wms']." - picture' title='".$translation['wms']."'>";
 $languageCode = 'de';
 $hostName = $_SERVER['HTTP_HOST'];
@@ -419,7 +410,7 @@
 	//check if tou has already been read - if not show them in the message
 	$resultOfCheck = $classTou->check('wms',$WMS['id']);
 	if ($resultOfCheck['accepted'] == 0) {
-		$tou .= $resourceSymbol." <a href='../php/mod_showMetadata.php?resource=wms&layout=tabs&id=".$WMS['id']."&languageCode=".$languageCode."' target='_blank'>".$WMS['title']."</a><br>";
+		$touHeader = $resourceSymbol." <a href='../php/mod_showMetadata.php?resource=wms&layout=tabs&id=".$WMS['id']."&languageCode=".$languageCode."' target='_blank'>".$WMS['title']."</a><br>";
 
 		if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {
 			$mapbenderProtocol = "https://";
@@ -429,22 +420,20 @@
 			$mapbenderProtocol = "http://";
 			$mapbenderBaseUrl = "http://".$hostName;
 		}
-
-
-
-
-
-
-
 		$touServiceConnector = new connector($mapbenderProtocol."localhost".$_SERVER['SCRIPT_NAME']."/../../php/mod_getServiceDisclaimer.php?resource=wms&id=".$WMS['id']."&languageCode=".$languageCode."&asTable=true");
-		$tou .= $touServiceConnector->file;
+		$touForWMS = $touServiceConnector->file;
+		//add only those who have no special tou defined - 
+		if ($touForWMS != ''){
+			$tou .= $touHeader.$touForWMS;
+		}
 		//set the tou to be accepted - TODO maybe do this after the button which deletes the message window - from a ajax request.
+
 		$classTou->set('wms',$WMS['id']);
-	}
+	} 
 }
+	
 if ($tou != "") {
-	$tou = "Die zu ladende Konfiguration enthält verschiedene Dienste " .
-			"mit folgenden Nutzungsbedigungen:<br>".$tou;
+	$tou = _mb("The configuration, which should be loaded, consists of different services which have the following terms of use:")."<br>".$tou;
 }
 $resultObj["wmcTou"]["message"] = $tou;
 
@@ -492,13 +481,17 @@
 }
 
 $wmcFeaturetypeJson = $wmc->featuretypeConfToJavaScript();
-$wmcFeaturetypeStr = <<<JS
-	Mapbender.events.afterInit.register(function () {
-		$('#body').trigger('addFeaturetypeConfs', [
-			{featuretypeConfObj : $wmcFeaturetypeJson}
-		]);
-	});
+$wfsConfIdString = $wmcGetApi->generalExtensionArray['WFSCONFIDSTRING'];
+if($wfsConfIdString != ""){
+	$wmcFeaturetypeStr = <<<JS
+		Mapbender.events.afterInit.register(function () {
+			$('#body').trigger('addFeaturetypeConfs', [
+				{ featuretypeConfObj : $wmcFeaturetypeJson,
+					wfsConfIdString: "$wfsConfIdString"}
+			]);
+		});
 JS;
+}
 $outputString .= $wmcFeaturetypeStr;
 
 $GeoRSSStr = " Mapbender.events.afterInit.register(function () {";

Copied: branches/2.7/http/javascripts/lzw.js (from rev 7548, trunk/mapbender/http/javascripts/lzw.js)
===================================================================
--- branches/2.7/http/javascripts/lzw.js	                        (rev 0)
+++ branches/2.7/http/javascripts/lzw.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,65 @@
+//LZW Compression/Decompression for Strings
+//http://rosettacode.org/wiki/LZW_compression#JavaScript
+function LZWCompress(uncompressed) 
+    {
+        // Build the dictionary.
+        var dictSize = 256;
+        var dictionary = {};
+        for (var i = 0; i < 256; i++)
+        {
+            dictionary[String.fromCharCode(i)] = i;
+        }
+ 
+        var w = "";
+        var result = [];
+        for (var i = 0; i < uncompressed.length; i++) 
+        {
+        	var c = uncompressed.charAt(i);
+            var wc = w + c;
+            if (dictionary[wc])
+                w = wc;
+            else {
+                result.push(dictionary[w]);
+                // Add wc to the dictionary.
+                dictionary[wc] = dictSize++;
+                w = "" + c;
+            }
+        }
+ 
+        // Output the code for w.
+        if (w != "")
+            result.push(dictionary[w]);
+        return result;
+    }
+ 
+ 
+function LZWDecompress(compressed) {
+        // Build the dictionary.
+        var dictSize = 256;
+        var dictionary = [];
+        for (var i = 0; i < 256; i++)
+        {
+            dictionary[i] = String.fromCharCode(i);
+ 	}
+ 
+        var w = String.fromCharCode(compressed[0]);
+        var result = w;
+        for (var i = 1; i < compressed.length; i++) {
+            var entry = "";
+            var k = compressed[i];
+            if (dictionary[k]) {
+                entry = dictionary[k];}
+            else if (k == dictSize)
+                entry = w + w.charAt(0);
+            else
+                return null;
+            result += entry;
+            dictionary[dictSize++] = w + entry.charAt(0);
+            w = entry;
+        }
+        return result;
+}
+
+
+
+

Modified: branches/2.7/http/javascripts/map_obj.js
===================================================================
--- branches/2.7/http/javascripts/map_obj.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/map_obj.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -41,9 +41,9 @@
         localizeMap();
     });
     
-    eventInit.register(function(){
+/*    eventInit.register(function(){
         localizeMap();
-    });
+    });*/
     
     var localizeMap = function(){
         $.post("../php/mod_map_messages.php", {
@@ -387,10 +387,10 @@
                 msg += "<b>" + ignoredWms[key].title + "</b><br>";
             }
             try {
-                Mapbender.modules.dialogManager.openDialog({
-                    content: msg,
-                    modal: false,
-                    effectShow: 'puff'
+            	
+            	var $msg= $("<div>" + msg + "</div>");
+            	$msg.dialog({
+                    modal: false
                 });
             } 
             catch (e) {
@@ -1107,14 +1107,16 @@
 			
 	        $("#" + that.elementName + "_maps").append($currentRequest);
 			for (i = 0; i < requestCnt; i++) {
-		        $("#" + that.elementName + "_request_" + i).hide().each(function () {
+				// setting the visibility to hidden is a workaround to fix the ... that is Internet Explorer
+		        $("#" + that.elementName + "_request_" + i).hide().css("visibility","hidden").each(function () {
 					$(this).children().each(function () {
 						this.style.zIndex = this.style.zIndex - 1;
 					});
 				});
 			}
 		}
-		$("#" + that.elementName + "_request_" + index).show();
+		// for the reason for setting the visibility, see above
+		$("#" + that.elementName + "_request_" + index).show().css("visibility","visible");
 		
     };
     

Modified: branches/2.7/http/javascripts/mod_addWMSfromTree.js
===================================================================
--- branches/2.7/http/javascripts/mod_addWMSfromTree.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_addWMSfromTree.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -50,7 +50,7 @@
  */
 
 (function () {
-
+	
 	var addwms_showWMS = typeof options.addwms_showWMS !== "undefined" ? 
 		options.addwms_showWMS : 0;
 	var applicationName = options.applicationName;
@@ -79,16 +79,24 @@
 							
 							if (addwms_showWMS > 0) {
 								try {
+									
+									
 									var msg = "Der hinzugeladene Kartendienst " + 
 										"verfügt über mehr als " + addwms_showWMS + 
 										" Ebenen. Die Ebenen des Dienstes werden " + 
 										"<b>nicht</b> aktiviert.";
-										
-									Mapbender.modules.dialogManager.openDialog({
-										content: msg,
+									
+									var $msg= $("<div>" + msg + "</div>");
+									$msg.dialog({
+										bgiframe: true,
+										autoOpen: true,
 										modal: false,
-										effectShow: 'puff'
-									});
+										width: 300,
+										height: 200,
+										pos: [100,50]
+									});	
+																						
+									
 								}
 								catch (e) {
 									new Mb_warning(e.message + ". " + msg);
@@ -150,10 +158,9 @@
 				}
 			}
 			try {
-				Mapbender.modules.dialogManager.openDialog({
-					content: msg,
+				var $msg= $("<div>" + msg + "</div>");
+				$msg.dialog({
 					modal: false,
-					effectShow: 'puff'
 				});
 			}
 			catch (e) {
@@ -173,16 +180,14 @@
 				},
 				behaviour: {
 					click: function (opt) {
-						var metadataPopup = new mb_popup({
+					var $metadataPopup = $("<div><iframe frameborder=0 style='width:100%;height:100%;' src='../php/mod_layerMetadata.php?wmsid=" + opt.treeNode.wmsId + "'></iframe></div>");
+					$metadataPopup.dialog({
 							title : "Metadata",
-							url : "../php/mod_layerMetadata.php?wmsid=" + 
-								opt.treeNode.wmsId,
 							width : 450, 
-							height : 600,
-							left : 400, 
+							height :600,
+							left : 250, 
 							top : 100
 						});
-						metadataPopup.show();
 					}
 				}
 			},

Modified: branches/2.7/http/javascripts/mod_addWMSgeneralFunctions.js
===================================================================
--- branches/2.7/http/javascripts/mod_addWMSgeneralFunctions.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_addWMSgeneralFunctions.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -11,6 +11,8 @@
 //			wms[wms.length-1].wms_id = parseInt(mb_mapObj[ind].wms[i].wms_id, 10) + 1;
 //		}
 //	} 
+	
+
 	mb_mapObj[ind].wms[mb_mapObj[ind].wms.length] = wms[wms.length-1];
 	mb_mapObj[ind].layers[mb_mapObj[ind].layers.length] = layers;
 	mb_mapObj[ind].styles[mb_mapObj[ind].styles.length] = styles;
@@ -149,19 +151,30 @@
 	// abort if WMS is already loaded
 	var map = getMapObjByName('mapframe1');
 	var wms = map.getWmsById(wms_id);
+
+	var originalI18nObject = {
+			"messageHint": "Hint",
+			"messageMsg": "The selected service is already activated in your application and will not be included again:"
+	};	
+
+	var translatedI18nObject = Mapbender.cloneObject(originalI18nObject);	
+	
 	if (wms !== null) {
 		try {
-			var msg = "Der folgende Dienst befindet sich bereits unter " + 
-				"'Aktive Dienste', und wird nicht erneut hinzugefügt:" + 
-				"<br><br><b>" + wms.wms_title + "</b>";
-			Mapbender.modules.dialogManager.openDialog({
-				content: msg,
-				modal: false,
-				effectShow: 'puff'
-			});
+				
+			var $msg = $('<div>' + translatedI18nObject.messageMsg + '<br /><b>' + wms.wms_title + '</b></div>');
+			$msg.dialog({
+					title: translatedI18nObject.messageHint,
+					bgiframe: true,
+					autoOpen: true,
+					modal: false,
+					width: 300,
+					height: 200,
+					pos: [100,50]
+				});			
 		}
 		catch (e) {
-			new Mb_warning(e.message + ". " + msg);
+			new Mb_warning(e.message + ". " + translatedI18nObject.messageMsg);
 		}
 		return;		
 	}
@@ -186,8 +199,17 @@
 		}
 		mod_addWms_general(js, opt);
 	});
+	
+	Mapbender.events.localize.register(function(){
+		Mapbender.modules.i18n.queue(options.id, originalI18nObject, function(translatedI18nObject){
+			$('.labelLoadError').text(translatedI18nObject.labelLoadError); 
+			$('.labelUrlBox').text(translatedI18nObject.labelUrlBox); 
+		});
+	});
 }
 
+
+
 function mod_addWMS_refresh(){
 	mb_mapObjaddWMS('mapframe1');
 	mb_execloadWmsSubFunctions();

Copied: branches/2.7/http/javascripts/mod_changeEPSG.php (from rev 7548, trunk/mapbender/http/javascripts/mod_changeEPSG.php)
===================================================================
--- branches/2.7/http/javascripts/mod_changeEPSG.php	                        (rev 0)
+++ branches/2.7/http/javascripts/mod_changeEPSG.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,346 @@
+/**
+ * Package: changeEPSG
+ *
+ * Description:
+ * Select a spatial reference system EPSG code. All maps are transformed to 
+ * that system.
+ * 
+ * Files:
+ *  - http/javascripts/mod_changeEPSG.php
+ *  - http/php/mod_changeEPSG_server.php
+ *
+ * SQL:
+ * > INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, 
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, 
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, 
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES ('<gui_id>','changeEPSG',
+ * > 2,1,'change EPSG, Postgres required, overview is targed for full extent',
+ * > 'Change Projection','select','','',432,25,107,24,1,'',
+ * > '','select',
+ * > 'mod_changeEPSG.php','','overview','','');
+ * >
+ * > INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name, 
+ * > var_value, context, var_type) VALUES('<app_id>', 'changeEPSG', 
+ * > 'projections',
+ * > 'EPSG:4326;Geographic Coordinates,
+ * > EPSG:31466;Gauss-Krueger 2,EPSG:31467;Gaus-Krueger 3', '' ,
+ * > 'php_var');
+ *
+ * Help:
+ * http://www.mapbender.org/ChangeEpsg
+ *
+ * Maintainer:
+ * http://www.mapbender.org/User:Christoph_Baudson
+ * 
+ * License:
+ * Copyright (c) 2009, Open Source Geospatial Foundation
+ * This program is dual licensed under the GNU General Public License 
+ * and Simplified BSD license.  
+ * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
+ */
+<?php
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+include '../include/dyn_php.php';
+//generate array
+$projections = explode(',',$projections);
+$projectionsValue =  array();
+$projectionsName = array();
+for ($i=0; $i < count($projections); $i++){
+	$projectionList = explode(';',$projections[$i]);
+	if (count($projectionList) > 1) {
+		$projectionsValue[$i] = $projectionList[0];
+		$projectionsName[$i] = _mb($projectionList[1]);
+	} else {
+		$projectionsValue[$i] = $projectionList[0];
+		$projectionsName[$i] = $projectionList[0];
+	}
+}
+?>
+(function ($) {
+	$.fn.ajaxChange = function () {
+		var args = arguments;
+		return this.each(function () {
+			if (this.tagName.toUpperCase() !== "SELECT") {
+				return;
+			}
+			
+			var $this = $(this);
+	
+			if (args.length >= 1 && $.isFunction(args[0])) {
+				var f = args[0];
+				
+				var options = {};
+				if (args.length >= 2 && typeof args[1] === "object") {
+					options = args[1];
+				}
+				options = $.extend({
+					disable: true,
+					undo: true
+				}, options);
+				$this
+					.data("ajaxChangeDisable", options.disable)
+					.data("ajaxChangeUndo", options.undo)
+					.data("ajaxChangeSelectedIndex", null)
+					.change(function () {
+						if ($this.data("ajaxChangeDisable") === true) {
+							$this.attr("disabled", "disabled");
+						}
+						f.apply(this, arguments);
+					})
+					.mousedown(function () {
+						if ($this.data("ajaxChangeSelectedIndex") === null
+							&& $this.data("ajaxChangeUndo")
+						) {
+							$this.data("ajaxChangeSelectedIndex", this.selectedIndex);
+						}
+					});
+			}
+			// control
+			else if (args.length >= 1 && typeof args[0] === "string") {
+				var command = args[0];
+				switch (command) {
+					case "abort":
+						if ($this.data("ajaxChangeDisable") === true) {
+							$this.removeAttr("disabled");
+						}
+						if ($this.data("ajaxChangeUndo")) {
+							this.selectedIndex = $this.data("ajaxChangeSelectedIndex");
+							$this.data("ajaxChangeSelectedIndex", null);
+						}
+						break;
+					case "done":
+						if ($this.data("ajaxChangeDisable") === true) {
+							$this.removeAttr("disabled");
+						}
+						if ($this.data("ajaxChangeUndo")) {
+							$this.data("ajaxChangeSelectedIndex", null);
+						}
+						break;
+				}
+			}
+		});
+	};
+}(jQuery));
+
+var $changeEpsg = $(this);
+$changeEpsg.ajaxChange(function () {
+
+	var srsValue = this.value;
+	if (srsValue === "") {
+		$(this).ajaxChange("abort");
+		return;
+	}
+	$changeEpsg.mapbender(function () {
+		this.setSrs(srsValue);
+	});
+});
+
+var ChangeEpsg = function () {
+	
+	var compileSrsArray = function () {
+
+		var srsArray = [];
+		var wmsArray = [];
+
+		// this is kind of inconsistent...for WMS, only the new extent of
+		// the FIRST main map is calculated
+		var mainMap = $(":mainMaps").eq(0).mapbender();
+
+		$("div:maps").mapbender(function () {
+			srsArray.push({
+				frameName: this.elementName,
+				epsg: this.epsg,
+				extent: this.extent.toString(),
+				width: this.width,
+				height: this.height
+			});
+
+			for (var i = 0; i < this.wms.length; i++) {
+				var wms = this.wms[i];
+				// unique entries only
+				if ($.inArray(wms.wms_id, wmsArray) !== -1) {
+					continue;
+				}
+				// only wms with bounding box in current SRS
+				var ext = wms.getBoundingBoxBySrs(this.epsg);
+				if (ext === null) {
+					continue;
+				}
+
+				srsArray.push({
+					wms: wms.wms_id,
+					epsg: mainMap.epsg,
+					extent: ext.toString(),
+					width: mainMap.width,
+					height: mainMap.height
+				});
+				wmsArray.push(wms.wms_id);
+			}
+		});
+		return srsArray;
+	};
+
+	var setSrsCallback = function (obj, success, message) {
+		if (!success) {
+			$changeEpsg.ajaxChange("abort");
+			new Mapbender.Exception(message);
+			return;
+		}
+		$changeEpsg.ajaxChange("done");
+		
+		var newExtent = obj;
+		var mapObjNames = [];
+		var myTarget = options.target[0];
+		var exists = false;
+
+
+		var i, j;
+		for (i = 0; i < newExtent.length; i++) {
+			if (newExtent[i].frameName) {
+				mapObjNames.push("#" + newExtent[i].frameName);
+			}
+		}
+
+		for (i = 0; i < newExtent.length; i++) {
+			if (newExtent[i].wms) {
+				// global wms object is deprecated.
+				// this loop can be removed once the
+				// wms object has been removed.
+				// redundant.
+				
+				for (j = 0; j < wms.length; j++) {
+					if (wms[j].wms_id == newExtent[i].wms) {
+						wms[j].setBoundingBoxBySrs(
+							newExtent[i].newSrs, 
+							new Extent(
+								parseFloat(newExtent[i].minx), 
+								parseFloat(newExtent[i].miny), 
+								parseFloat(newExtent[i].maxx), 
+								parseFloat(newExtent[i].maxy)
+							)
+						);
+					}
+				}
+				
+				$(mapObjNames.join(",")).mapbender(function(){
+					for (j = 0; j < this.wms.length; j++) {
+						if (this.wms[j].wms_id == newExtent[i].wms) {
+							this.wms[j].setBoundingBoxBySrs(
+								newExtent[i].newSrs, 
+								new Extent(
+									parseFloat(newExtent[i].minx), 
+									parseFloat(newExtent[i].miny), 
+									parseFloat(newExtent[i].maxx), 
+									parseFloat(newExtent[i].maxy)
+								)
+							);
+						}
+						break;
+					}
+				});
+			}			
+			//
+			// Overview map
+			//
+			if (newExtent[i].frameName === myTarget){
+				var map = $("#" + myTarget).mapbender();
+				
+				for (var ii = 0; ii < map.mb_MapHistoryObj.length; ii++) {
+					if (map.mb_MapHistoryObj[ii].epsg == newExtent[i].newSrs) {
+						exists = ii;
+						var goback = true;
+					}
+				}
+
+				if (goback) {
+					var extArray = map.mb_MapHistoryObj[exists].extent.toString().split(",");
+					var newExt = new Extent(
+						parseFloat(extArray[0]),
+						parseFloat(extArray[1]),
+						parseFloat(extArray[2]),
+						parseFloat(extArray[3])
+					);
+					map.setSrs({
+						srs: newExtent[i].newSrs,
+						extent: newExt,
+						displayWarning: false
+					});
+				}
+				else{
+					map.setSrs({
+						srs: newExtent[i].newSrs,
+						extent: new Extent(
+							parseFloat(newExtent[i].minx),
+							parseFloat(newExtent[i].miny),
+							parseFloat(newExtent[i].maxx),
+							parseFloat(newExtent[i].maxy)
+						),
+						displayWarning: false
+					});
+				}
+			}
+			//
+			// Main maps
+			//
+			else {
+				$("#" + newExtent[i].frameName).mapbender(function () {
+					this.setSrs({
+						srs: newExtent[i].newSrs,
+						extent: new Extent(
+							parseFloat(newExtent[i].minx),
+							parseFloat(newExtent[i].miny),
+							parseFloat(newExtent[i].maxx),
+							parseFloat(newExtent[i].maxy)
+						),
+						displayWarning: false
+					});
+				});
+			}
+		}
+		setTimeout(function () {
+			$(":maps").mapbender(function () {
+				this.setMapRequest();
+			});
+		}, 200);
+	};
+
+	this.setSrs = function (val) {
+		var srsArray = compileSrsArray();
+		$.ajaxSetup({async:false});
+		var req = new Mapbender.Ajax.Request({
+			method: "changeEpsg",
+			url: "../php/mod_changeEPSG_server.php",
+			callback: setSrsCallback,
+			parameters:{
+				srs: srsArray,
+				newSrs: val
+			}
+		});
+		req.send();
+		$.ajaxSetup({async:true});
+	};
+	// initialization
+	<?php
+		for ($i=0; $i < count($projections); $i++){
+			echo "\$changeEpsg.append('<option value=\"".$projectionsValue[$i]."\">".$projectionsName[$i]."</option>');\n";
+		}
+	?>
+
+	// update epsg in select box after any map request
+	Mapbender.events.init.register(function () {
+		$("div:mainMaps").mapbender(function () {
+			var map = this;
+			map.events.afterMapRequest.register(function () {
+				$changeEpsg.children("option").each(function () {
+					if (this.value === map.epsg) {
+						$(this).attr("selected", "selected");
+					}
+				});
+			});
+			
+		});
+	}); 
+
+};
+
+$changeEpsg.mapbender(new ChangeEpsg());

Modified: branches/2.7/http/javascripts/mod_coordsLookup.php
===================================================================
--- branches/2.7/http/javascripts/mod_coordsLookup.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_coordsLookup.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -25,8 +25,10 @@
  * >
  * > INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name, 
  * > var_value, context, var_type) VALUES('<app_id>', 'coordsLookup', 
- * > 'projections', '[''EPSG:31467'',''EPSG:31468'',''EPSG:31469'']', '' ,
- * > 'var');
+ * > 'projections',
+ * > 'EPSG:4326;Geographic Coordinates,
+ * > EPSG:31466;Gauss-Krueger 2,EPSG:31467;Gaus-Krueger 3', '' ,
+ * > 'php_var');
  *
  * Help:
  * http://www.mapbender.org/coordsLookup
@@ -49,15 +51,31 @@
 // http://trac.osgeo.org/proj4js/wiki/UserGuide
 //
 // 3802000 / 5825000
+//import some php vars to allow translation of objects in select boxes
+<?php
+require_once(dirname(__FILE__)."/../php/mb_validateSession.php");
+include '../include/dyn_php.php';
+//generate array
+$projections = explode(',',$projections);
+$projectionsValue =  array();
+$projectionsName = array();
+for ($i=0; $i < count($projections); $i++){
+	$projectionList = explode(';',$projections[$i]);
+	if (count($projectionList) > 1) {
+		$projectionsValue[$i] = $projectionList[0];
+		$projectionsName[$i] = _mb($projectionList[1]);
+	} else {
+		$projectionsValue[$i] = $projectionList[0];
+		$projectionsName[$i] = $projectionList[0];
+	}
+}
+?>
 var CoordsLookup = function() {
 	var that = this;
 	if(
 		typeof options.target      === 'undefined' || options.target.length      === 0 || 
-		typeof options.projections === 'undefined' || options.projections.length === 0 || 
 		typeof options.perimeters  === 'undefined' || options.perimeters.length  === 0
 	) {
-		
-		return;
 	}
 
 	this.buildForm = function() {
@@ -83,10 +101,11 @@
 	
 	this.initForm = function() {
 //		Fill projection select with options
-		for(var i = 0; i < options.projections.length; i++) {
-			$(this.projectionSelect).append('<option value=' + options.projections[i] + ' >' + options.projections[i] + '</option>');
+<?php
+		for ($i=0; $i < count($projections); $i++){
+			echo "$(this.projectionSelect).append('<option value=\"".$projectionsValue[$i]."\">".$projectionsName[$i]."</option>');\n";
 		}
-		//$(new Option('Projektionssystem','Projektionssystem',true,true)).prependTo(this.projectionSelect);
+?>
 		$(this.projectionSelect).prepend('<option value="Projektionssystem" selected=selected><?php echo _mb("Spatial Reference System");?></option>');
 
 //		Fill perimeter select with options	
@@ -237,4 +256,4 @@
 
 Mapbender.events.init.register(function() {
 	Mapbender.modules[options.id] = $.extend(new CoordsLookup(),Mapbender.modules[options.id]);	
-});
\ No newline at end of file
+});

Modified: branches/2.7/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.7/http/javascripts/mod_digitize_tab.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_digitize_tab.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -787,13 +787,13 @@
 	if(mod_digitizeEvent == button_move){
 		mod_digitize_timeout();
 		basepointObject.style.cursor = 'move';
-		basepointObject.onmousedown = parent.frames[mod_digitize_elName].selectBasepoint;
+		parent.$(basepointObject).bind("mousedown", parent.frames[mod_digitize_elName].selectBasepoint);
 	}
 
 	if(mod_digitizeEvent == button_delete){
 		mod_digitize_timeout();
 		basepointObject.style.cursor = 'crosshair';
-		basepointObject.onmousedown = parent.frames[mod_digitize_elName].deleteBasepoint;
+		parent.$(basepointObject).bind("mousedown", parent.frames[mod_digitize_elName].deleteBasepoint);
 	}
 }
 
@@ -873,8 +873,8 @@
 			basepointObject.style.backgroundColor = 'transparent';
 		}
 
-		basepointObject.onmouseup = releaseBasepoint;
-		basepointObject.onmousemove = dragBasepoint;
+		parent.$(basepointObject).bind("mouseup", releaseBasepoint);
+		parent.$(basepointObject).bind("mousemove", dragBasepoint);
 	}
 }
 
@@ -905,7 +905,7 @@
 	
 	var currentPos = getMousePosition(e);
 	var basepointDragEnd = currentPos;
-	basepointObject.onmousedown = null;
+	parent.$(basepointObject).unbind("mousedown");
 	var ind = parent.getMapObjIndexByName(mod_digitize_target);
 	var p = parent.mb_mapObj[ind].convertPixelToReal(new Point(basepointDragEnd.x, basepointDragEnd.y));
 
@@ -2331,11 +2331,16 @@
 	str += ">\n\t\t";
 
 	var wfsConfIndices = getAvailableWfsForGeom(d.get(geometryIndex), wfsConf);
-//	alert(wfsConfIndices.join(","));
 	var selected = false;
+	// set the current wfs_conf as the selected
+	// if wfs_conf is not yet set (for example when creating a new feature, just select the first one)
+	var selectedIndex = d.get(geometryIndex).wfs_conf || 0;
 	for (var i = 0; i < wfsConfIndices.length ; i++) {
+		for (var j in wfsConf[i].element){
+
+		}
 		str += "<option value='" + wfsConfIndices[i] + "'";
-		if (!selected) {
+		if (i == selectedIndex ) {
 			str += " selected";
 			selected = true;
 			defaultIndex = parseInt(wfsConfIndices[i]);

Copied: branches/2.7/http/javascripts/mod_legendDiv.php (from rev 7548, trunk/mapbender/http/javascripts/mod_legendDiv.php)
===================================================================
--- branches/2.7/http/javascripts/mod_legendDiv.php	                        (rev 0)
+++ branches/2.7/http/javascripts/mod_legendDiv.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,142 @@
+<?php
+# $Id: mod_legend.php 6887 2010-09-03 14:51:46Z christoph $
+# http://www.mapbender.org/index.php/Legend
+# Copyright (C) 2005 CCGIS / terrestris 
+#
+# 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.
+#
+/*
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Geoportal-RLP','legend',2,1,'legend','Legend','div','','',0,0,NULL ,NULL ,600,'','','div','../javascripts/mod_legendDiv.php','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Geoportal-RLP', 'legend', 'checkbox_on_off', 'false', 'display or hide the checkbox to set the legend on/off' ,'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Geoportal-RLP', 'legend', 'css_file_legend', '../css/legend.css', '' ,'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Geoportal-RLP', 'legend', 'legendlink', 'false', '' ,'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Geoportal-RLP', 'legend', 'showgroupedlayertitle', 'true', 'show the title of the grouped layers in the legend' ,'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Geoportal-RLP', 'legend', 'showlayertitle', 'true', 'show the layer title in the legend' ,'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Geoportal-RLP', 'legend', 'showwmstitle', 'true', 'show the wms title in the legend' ,'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Geoportal-RLP', 'legend', 'stickylegend', 'false', 'parameter to decide wether the legend should stick on the mapframe1' ,'var');
+
+*/
+# 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.
+
+$e_target = "mapframe1";
+$e_top = '10';
+$e_left = '10';
+
+
+echo "var mod_legend_target = '".$e_target."';\n";
+echo "var mod_legend_target_left = ".intval($e_left).";\n";
+echo "var mod_legend_target_top = ".intval($e_top).";\n";
+//echo "var mod_legend_target_width = ".db_result($res2,0,"e_width").";\n";
+//echo "var mod_legend_target_height = ".db_result($res2,0,"e_height").";\n";
+?>
+mod_legend_offsetLeft = 25;
+mod_legend_offsetTop = -10;
+showlayertitle = true;
+showwmstitle = true;
+legendlink = false;
+
+var checkbox_on_off = typeof checkbox_on_off === "undefined" ? 'false' : checkbox_on_off;
+var stickylegend = typeof stickylegend === "undefined" ? "false" : stickylegend;
+
+function mod_legend_pos(frameName){
+	if(frameName == mod_legend_target){
+		var ind = getMapObjIndexByName(mod_legend_target);
+		var obj = document.getElementById("legend");
+	
+		if(stickylegend == 'true'){
+			obj.style.left = (parseInt(mb_mapObj[ind].width) + mod_legend_target_left + mod_legend_offsetLeft) + "px";
+		}
+	
+		
+		var str = "";
+		var str_tmp = "";
+						
+		for(var i=0; i<mb_mapObj[ind].wms.length; i++){
+			
+			 	var layerNames = mb_mapObj[ind].wms[i].getLayers(mb_mapObj[ind]);
+				for(var j=0; j<layerNames.length; j++){
+					var layerParent = mb_mapObj[ind].wms[i].checkLayerParentByLayerName(layerNames[j]); 
+					var layerTitle = mb_mapObj[ind].wms[i].getTitleByLayerName(layerNames[j]);
+					var layerStyle = mb_mapObj[ind].wms[i].getCurrentStyleByLayerName(layerNames[j]);
+					var legendUrl = false;
+					if(layerStyle == false){
+						legendUrl = mb_mapObj[ind].wms[i].getLegendUrlByGuiLayerStyle(layerNames[j],"");	
+					}
+					else{
+						legendUrl = mb_mapObj[ind].wms[i].getLegendUrlByGuiLayerStyle(layerNames[j],layerStyle);
+					}
+			         
+					if (legendUrl !== false){
+						
+//	 					if(layerParent == 0){
+		 					if(showlayertitle == 'true'){
+								str_tmp += "<div><span class='titles'>" + layerTitle+ "</span></div>";
+							}
+							str_tmp += "<div>";
+		                    if(legendlink == 'true'){
+		                    	str_tmp += "<a href='../php/result.php?lingo=deutsch&layer="+layerNames[j]+"' class='link_metadata' title='Zeigt Liste zum Thema: "+layerTitle+"' target='result'>";
+		                    }
+		                    str_tmp += "<img border=0 src = '";			
+							str_tmp += legendUrl;
+							str_tmp += "'></img>";
+							if (legendlink == 'true'){
+		                    	str_tmp += "</a>";
+		                    }
+		                    str_tmp += "</div>";
+//	                	}
+					} 
+				}
+			if(str_tmp !=''){
+				if (showwmstitle == 'true'){
+					str += "<div><span class='header'>" +mb_mapObj[ind].wms[i].wms_title+ "</span></div>";
+				}
+				str += str_tmp;
+				str_tmp ='';
+			}		
+		}
+	    if(str != ""){
+			writeTag("", "legend", str);
+		}
+		else{
+			writeTag("", "legend", "");
+		}
+		return true;
+	}
+} 
+
+// Todo: return-value may change in the next version....
+eventAfterMapRequest.register(function (obj) {
+	mod_legend_pos(obj.map.elementName)
+});
+
+
+function mod_legend_init(){
+	var obj = document.getElementById("legend");
+//	obj.style.top = mod_legend_target_top  + mod_legend_offsetTop;
+//	obj.style.left = mod_legend_target_left + mod_legend_target_width + mod_legend_offsetLeft; 
+//	var checkobj = document.getElementById("checkboxstyle");
+//	if (checkbox_on_off == 'false'){
+//		checkobj.style.display = "none";
+//		checkobj.style.width = 0;
+//		checkobj.style.height = 0;
+//	}
+	if (Mapbender.events.init.done) {
+		mod_legend_pos(mod_legend_target);
+	}
+	else {
+		Mapbender.events.init.register(function () {
+			mod_legend_pos(mod_legend_target);
+		});
+	}
+}
+

Modified: branches/2.7/http/javascripts/mod_loadwmc.js
===================================================================
--- branches/2.7/http/javascripts/mod_loadwmc.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_loadwmc.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -15,6 +15,7 @@
 options.listWmc = typeof options.listWmc === "number" ? options.listWmc : 1;
 options.saveWmcTarget = typeof options.saveWmcTarget === "string" ? options.saveWmcTarget : "savewmc";
 options.editWmc = typeof options.editWmc === "number" ? options.editWmc : 1;
+options.showPublic = typeof options.showPublic === "number" ? options.showPublic : 0;
 
 Mapbender.events.init.register(function () {
 	if(Mapbender.modules[options.saveWmcTarget] && Mapbender.modules[options.saveWmcTarget].overwrite === 1) {
@@ -22,7 +23,17 @@
 	}
 	else {
 		options.editWmc = 0;
-	}	
+	}
+	/*if(Mapbender.modules.i18n){	
+	Mapbender.modules.i18n.queue(options.id, originalI18nObject, function (translatedObject) {
+		if (typeof translatedObject !== "object") {
+			return;
+		}
+		translatedI18nObject = translatedObject;
+	});
+	//Mapbender.modules.i18n.localize(Mapbender.languageId);*/
+//}
+	
 });
 
 var originalI18nObject = {
@@ -56,7 +67,17 @@
 };
 
 var translatedI18nObject = Mapbender.cloneObject(originalI18nObject);
-	
+
+if(Mapbender.modules.i18n){	
+	Mapbender.modules.i18n.queue(options.id, originalI18nObject, function (translatedObject) {
+		if (typeof translatedObject !== "object") {
+			return;
+		}
+		translatedI18nObject = translatedObject;
+	});
+	//Mapbender.modules.i18n.localize(Mapbender.languageId);
+}
+
 var $loadWmc = $(this);
 
 var LoadWmcApi = function () {
@@ -236,9 +257,13 @@
 	};
 	//end of the link-handle popup	
 	this.refreshList = function () {
+		//alert("Options showPublic: "+options.showPublic);
 		var req = new Mapbender.Ajax.Request({
 			url: serverSideFileName,
 			method: "getWmc",
+			parameters: {
+				showPublic: options.showPublic
+			},
 			callback: function(obj, result, message){
 				if (!result) {
 					new Mapbender.Exception(obj.message);


Property changes on: branches/2.7/http/javascripts/mod_sandclock.js
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk/mapbender/http/javascripts/mod_sandclock.js:7363-7474
   + /trunk/mapbender/http/javascripts/mod_sandclock.js:7363-7600

Modified: branches/2.7/http/javascripts/mod_savewmc.js
===================================================================
--- branches/2.7/http/javascripts/mod_savewmc.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_savewmc.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -16,9 +16,15 @@
  * > e_mb_mod, e_target, e_requires, e_url) VALUES('<gui_id>','savewmc',2,1,
  * > 'save workspace as WMC','Save workspace as web map context document',
  * > 'img','../img/button_blink_red/wmc_save_off.png','',870,60,24,24,1,'',
- * > '','','mod_savewmc.php','','mapframe1','mapframe1',
+ * > '','','mod_savewmc.php','','mapframe1','jq_ui_dialog,lzw_compression',
  * > 'http://www.mapbender.org/index.php/SaveWMC');
  * >
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title,
+ * > e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index,
+ * > e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,
+ * > e_url) VALUES('gui1','lzw_compression',3,1,'','','','','',NULL ,NULL ,NULL ,NULL ,
+ * > NULL ,'','','','','lzw.js','','','');
+ * >
  * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
  * > context, var_type) VALUES('<gui_id>', 'savewmc', 'overwrite', '1', '',
  * > 'var');
@@ -26,6 +32,9 @@
  * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
  * > context, var_type) VALUES('<gui_id>', 'savewmc', 'saveInSession', '1', 
  * > '' ,'var');
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<gui_id>', 'savewmc', 'lzwCompressed', 'false', 
+ * > '' ,'var');
  *
  * Help:
  * http://www.mapbender.org/index.php/SaveWMC
@@ -55,9 +64,13 @@
 // init element_vars
 //
 var overwrite = options.overwrite || false;
+
 var saveInSession = typeof options.saveInSession === "undefined" ?
 	0 : options.saveInSession;
 
+var lzwCompressed = typeof options.lzwCompressed === "undefined" ?
+	false : options.lzwCompressed;
+
 var browserCompatibilityMode = typeof options.browserCompatibilityMode === "undefined" ?
 	0 : options.browserCompatibilityMode;
 
@@ -66,8 +79,9 @@
 var pattern1=/Chrome/gi;
 var pattern2=/Konqueror/gi;
 var pattern3=/Opera/gi;
+var pattern4=/Firefox/gi;
 //alert(userAgent.match(pattern));
-if (userAgent.match(pattern1) || userAgent.match(pattern2) || userAgent.match(pattern3)) {
+if (userAgent.match(pattern1) || userAgent.match(pattern2) || userAgent.match(pattern3) || userAgent.match(pattern4)) {
 	//alert("Identified Browser don't support beforeunload sufficiently - the application will be slower than normal!");
 	browserCompatibilityMode = 1;
 }
@@ -98,7 +112,8 @@
 	this.extensionData = {};
 	
 	this.overwrite = overwrite;
-	
+	this.saveInSession = saveInSession;
+	this.lzwCompressed = lzwCompressed;
 	this.events = {
 		saved: new Mapbender.Event()
 	};
@@ -116,25 +131,26 @@
 			return this;
 		}
 		if (obj.session === true) {
-			sendMapDataToServer("session", 1, function(result, status) {});
+			sendMapDataToServer("session", 1, function(result, status) {}, lzwCompressed);
 			return this;
 		}
 		if (typeof obj.attributes === "object" && typeof obj.callback === "function") {
-			sendMapDataToServer(obj.attributes, 0, obj.callback);
+			sendMapDataToServer(obj.attributes, 0, obj.callback, lzwCompressed);
 		}
 		return this;
 	};
 
-	var sendMapDataToServer = function (attributes, storeInSession, callbackFunction) {
+	var sendMapDataToServer = function (attributes, storeInSession, callbackFunction, beLzwCompressed) {
 		var	extensionDataString = "";
 		if (that.extensionData !== null) {
 			extensionDataString = $.toJSON(that.extensionData);
 		}
 	
-		if (storeInSession) {
+		if (storeInSession == 1 && browserCompatibilityMode == 0) {
+			//alert('AJAX will be set to asyncron!');
 			$.ajaxSetup({async:false}); 
 		}
-	
+		
 		//
 		// WORKAROUND....cannot serialize map object,
 		// as it contains a jQuery collection, which is
@@ -147,7 +163,12 @@
 			$target.push(mb_mapObj[i].$target);
 			delete mb_mapObj[i].$target;
 		}
-	    
+	    	var mapObjectToSend = $.toJSON(mb_mapObj);
+		//if compression is demanded see http://rosettacode.org/wiki/LZW_compression#JavaScript
+		if (beLzwCompressed == 'true') { //
+			mapObjectToSend=LZWCompress(mapObjectToSend);
+			//alert(LZWDecompress(mapObjectToSend));
+		}
 		// actual save request
 		var req = new Mapbender.Ajax.Request({
 	        url: "../php/mod_savewmc_server.php",
@@ -155,9 +176,10 @@
 			parameters : {
 			  saveInSession:storeInSession, 
 			  attributes:attributes,
-			  overwrite: overwrite,
+			  overwrite:overwrite,
 			  extensionData:extensionDataString, 
-			  mapObject:$.toJSON(mb_mapObj)
+			  lzwCompressed:beLzwCompressed,
+			  mapObject:mapObjectToSend
 			},
 	        callback: function(result, status, message) {
 				callbackFunction(result, status, message);
@@ -334,71 +356,72 @@
 			this.src = options.src;
 		}
 	});
-
 	Mapbender.events.afterInit.register(function(){
+		//check if wmc should be saved into session
 		if (saveInSession === 1) {
+			//if onbeforeunload should be supported use it!
 			if (browserCompatibilityMode === 0) {
+				//options.$target.each(function () {
+				var supportsOnbeforeunload = true; //TODO: The problem is the time for a job on onunload - there is not much. Therefor only simple things work - not saving a huge amount of data thru ajax
+				/*for (var prop in window) {
+    					if (prop === 'onbeforeunload') {
+    						supportsOnbeforeunload = true;
+    						break;
+    					}
+				}*/
+				//alert("Support of onBeforeUnload: "+supportsOnbeforeunload+" Browser:"+navigator.userAgent);
+				if (supportsOnbeforeunload) { 
+					//$(window).bind('beforeunload', function(){//after hint in web http://stackoverflow.com/questions/4376596/jquery-unload-or-beforeunload
+					window.onbeforeunload = function(e){//after hint in web http://stackoverflow.com/questions/4376596/jquery-unload-or-beforeunload
+						var e = e || window.event;
+						//alert("Write WMC to session - onBeforeUnload!");
+						if (!window.resetSession) {
+							that.save({
+								session : true
+							});
+							//pausecomp(1000); //hope that fix the synro problem
+							//alert("onbeforeunload: no reset of session stored wmc requested - wmc will be saved into session!");
+							alert(translatedI18nObj.labelSaveInSession);
+						}
+												// For IE and Firefox
+  						//if (e) {
+    						//	e.returnValue = 'Any string';
+  						//}
+  						// For Safari
+  						//return 'Any string';
+					};
+				} else {
+					$(window).bind('unload', function(){ 
+						//alert("Write WMC to session - onUnload!");
+						if (!window.resetSession) {
+							that.save({
+								session : true
+							});
+							//pausecomp(1000);
+							//alert("onunload: no reset of session stored wmc requested - wmc will be saved into session!");
+							alert(translatedI18nObj.labelSaveInSession);
+						}
+					}); 
+				}
+		} else {
+			//alert("Your are in a browser compatibility mode - this make the application slow!");
+			// hack to attach the eventhandler after all initial wms have been added to the map
+			setTimeout(function(){
 				options.$target.each(function () {
-					var supportsOnbeforeunload = true; //TODO: The problem is the time for a job on onunload - there is not much. Therefor only simple things work - not saving a huge amount of data thru ajax
-					/*for (var prop in window) {
-    						if (prop === 'onbeforeunload') {
-    							supportsOnbeforeunload = true;
-						
-    							break;
-    						}
-					}*/
-					//alert("Support of onBeforeUnload: "+supportsOnbeforeunload+" Browser:"+navigator.userAgent);
-					if (supportsOnbeforeunload) { 
-						//$(window).bind('beforeunload', function(){//after hint in web http://stackoverflow.com/questions/4376596/jquery-unload-or-beforeunload
-						window.onbeforeunload = function(e){//after hint in web http://stackoverflow.com/questions/4376596/jquery-unload-or-beforeunload
-							var e = e || window.event;
-							//alert("Write WMC to session - onBeforeUnload!");
-							if (!window.resetSession) {
-								that.save({
-									session : true
-								});
-								//alert("Save Context!");
-							}
-							pausecomp(1000); //hope that fix the synro problem
-							/*// For IE and Firefox
-  							if (e) {
-    								e.returnValue = 'Any string';
-  							}
-  							// For Safari
-  							return 'Any string';*/
-						}; 
-					} else {
-						$(window).bind('unload', function(){ 
-							//alert("Write WMC to session - onUnload!");
-							if (!window.resetSession) {
-								that.save({
-									session : true
-								});
-								//alert("no reset of session stored wmc requested - wmc will be saved into session!");
-							}
-						}); 
-					}
+					$(this).mapbender().events.afterMapRequest.register(function () {
+						if (!window.resetSession) {
+							that.save({
+								session : true
+							});
+							//alert('afterMapRequest Saving!');
+						}
+					});
 				});
-			} else {
-				//alert("Your are in a browser compatibility mode - this make the application slow!");
-				// hack to attach the eventhandler after all initial wms have been added to the map
-				setTimeout(function(){
-					options.$target.each(function () {
-						$(this).mapbender().events.afterMapRequest.register(function () {
-							if (!window.resetSession) {
-								that.save({
-									session : true
-								});
-								//alert("no reset of session stored wmc requested - wmc will be saved into session!");
-							}
-						});
-					});
-				},5000);
-			}
-			
-		}
-
+			},3500);	
+		}	
+	}
 	});
+	
 	Mapbender.events.init.register(function () {
 	
 		var t = translatedI18nObj;
@@ -428,20 +451,22 @@
 		});
 	});
 	
-	Mapbender.events.localize.register(function () {
+//	Mapbender.events.localize.register(function () {
+if(Mapbender.modules.i18n){	
 		Mapbender.modules.i18n.queue(options.id, originalI18nObj, function (translatedObj) {
 			if (typeof translatedObj !== "object") {
 				return;
 			}
 			translatedI18nObj = translatedObj;
-			try {
-				localize();
-			}
-			catch (exc) {
-				new Mapbender.Warning("Error when translating: " . exc.message);
-			}
+//			try {
+//				localize();
+//			}
+//			catch (exc) {
+//				new Mapbender.Warning("Error when translating: " . exc.message);
+//			}
 		});
-	});
+}
+//	});
 };
 
 $this.mapbender(new SaveWmcApi());

Modified: branches/2.7/http/javascripts/mod_savewmc.php
===================================================================
--- branches/2.7/http/javascripts/mod_savewmc.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_savewmc.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -9,6 +9,22 @@
 require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 require_once(dirname(__FILE__)."/../classes/class_json.php");
 
+//get language parameter out of mapbender session if it is set else set default language to de_DE
+if (isset($_SESSION['mb_lang']) && ($_SESSION['mb_lang']!='')) {
+	$e = new mb_exception("javascripts/mod_savewmc.php: language found in session: ".$_SESSION['mb_lang']);
+	$language = $_SESSION["mb_lang"];
+	$langCode = explode("_", $language);
+	$langCode = $langCode[0]; # Hopefully de or s.th. else
+	$languageCode = $langCode; #overwrite the GET Parameter with the SESSION information
+	$languageCode = str_replace(" ", "", $languageCode);
+} else {
+	$languageCode = "en";//default to en for iso categories
+}
+//echo $languageCode;
+if ($languageCode != "de" && $languageCode != "en") { // only those are defined in the database
+	$languageCode = "en";
+}
+
 //get INSPIRE categories
 
 // On server:
@@ -18,11 +34,13 @@
 /*
 * @return String containing checkboxes and labels as HTML
 */
-function createIsoTopicCategoryString($prefix) {
+function createIsoTopicCategoryString($prefix, $languageCode) {
 	$str = "";
 	$htmlrows = "";
-	$sql = "SELECT md_topic_category_id, md_topic_category_code_en FROM md_topic_category";
-	$res = db_query($sql);
+	$sql = "SELECT md_topic_category_id, md_topic_category_code_".$languageCode." FROM md_topic_category";
+	$v = array();
+	$t = array();
+	$res = db_prep_query($sql, $v, $t);
 	if(db_error()){ return "Could not get Categories from db";}
 	$i = 0;
 	while($row = db_fetch_array($res)) {
@@ -43,7 +61,8 @@
 	"labelCategories" => "Categories",
 	"labelCancel" => "Abort",
 	"labelSave" => "Save",
-	"title" => $e_title
+	"title" => $e_title,
+	"labelSaveInSession" => "Save configuration"
 );
 
 $translatedI18nObj = array();
@@ -53,7 +72,7 @@
 
 $json = new Mapbender_JSON();
 
-$saveWmcCategoryString = createIsoTopicCategoryString($e_id);
+$saveWmcCategoryString = createIsoTopicCategoryString($e_id, $languageCode);
 $originalI18nObjJson = $json->encode($originalI18nObj);
 $translatedI18nObjJson = $json->encode($translatedI18nObj);
 
@@ -88,4 +107,4 @@
 HTML;
 
 include(dirname(__FILE__) . "/../javascripts/mod_savewmc.js");
-?>
\ No newline at end of file
+?>

Modified: branches/2.7/http/javascripts/mod_tab.js
===================================================================
--- branches/2.7/http/javascripts/mod_tab.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_tab.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -21,7 +21,7 @@
 
 eventInit.register(function () {
 	tab_init();
-	localizeTabs();
+//	localizeTabs();
 
 });
 

Modified: branches/2.7/http/javascripts/mod_tab_expandable.js
===================================================================
--- branches/2.7/http/javascripts/mod_tab_expandable.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_tab_expandable.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -276,9 +276,9 @@
     };
     
 	var getDocumentHeight = function () {
-		if ($.browser.msie) {
-			return $(document).height() - 5;
-		}		
+		if($.browser.msie){
+			return $(document).height() -5;
+		}
 		return $(document).height();
 	};
 	

Modified: branches/2.7/http/javascripts/mod_tooltip.php
===================================================================
--- branches/2.7/http/javascripts/mod_tooltip.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_tooltip.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -93,7 +93,7 @@
 	});
 }
 
-eventInit.register(mod_tooltipInit);
+eventInit.register(mod_tooltipInit); //initialize tooltips!
 
 function mod_tooltip_run(point){
 	mouseMoves++;
@@ -428,4 +428,4 @@
 		resultHighlight.paint();
 	}
 	return true;
-}
\ No newline at end of file
+}

Modified: branches/2.7/http/javascripts/mod_wfsGazetteerEditor_client.php
===================================================================
--- branches/2.7/http/javascripts/mod_wfsGazetteerEditor_client.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/javascripts/mod_wfsGazetteerEditor_client.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -159,7 +159,36 @@
 var geomArray = null;
 
 var frameIsReady = function () {
+	var req = parent.Mapbender.Ajax.Request({
+		url: 	"../php/mod_wfs_conf_server.php",
+		method:	"getWfsConfsFromId",
+		parameters: {
+			wfsConfIdString: global_selectedWfsConfId 
+		},
+		callback: function(result,success,message){
+		console.debug("b");
+		console.debug(result);
 
+			// the rest of the script doesn't expect an array, but an object, so the result must be converted
+			global_wfsConfObj = {};
+			for(var i in result){
+				if(!result.hasOwnProperty(i)){ continue;}
+				global_wfsConfObj[result[i].id] = result[i];
+
+			}
+			init_wfsSpatialRequest();
+			appendWfsForm();
+			appendStyles();
+		
+			setWfsInfo();
+			
+			// creates a Highlight object for the request geometry
+			var styleProperties = {"position":"absolute", "top":"0px", "left":"0px", "z-index":100};
+			requestGeometryHighlight = new parent.Highlight(targetArray, "requestGeometryHighlight", styleProperties, 2);
+			parent.mb_registerSubFunctions("window.frames['" + frameName +"'].requestGeometryHighlight.paint()");
+		}
+	});
+//	req.send();
 	parent.mb_ajax_json("../php/mod_wfs_gazetteer_server.php", {command:"getWfsConf",wfsConfIdString: global_selectedWfsConfId }, function(json,status){
 		global_wfsConfObj = json;
 		init_wfsSpatialRequest();
@@ -220,7 +249,7 @@
 }
 
 function openwindow(Adresse) {
-	Fenster1 = window.open(Adresse, "Informationen", "width=500,height=500,left=100,top=100,scrollbars=yes,resizable=no");
+	Fenster1 = window.open(Adresse, "<?php echo _mb("Informations"); ?>", "width=500,height=500,left=100,top=100,scrollbars=yes,resizable=no");
 	Fenster1.focus();
 }
 
@@ -231,10 +260,10 @@
 	var bulbNode = document.getElementById("wfsInfo"); 	
 	var imgNode = document.createElement("img");
 	imgNode.id = "wfsInfoImg";
-	imgNode.src = "../x_geoportal/img/info.png";
+	imgNode.src = "../img/button_blue/getArea_off.png";
 	imgNode.border = 0;
 	bulbNode.appendChild(imgNode);
-	bulbNode.href = "javascript:openwindow('../x_geoportal/mod_featuretypeMetadata.php?wfs_conf_id=" + global_selectedWfsConfId.toString() + "');";
+	bulbNode.href = "javascript:openwindow('../php/mod_showMetadata.php?resource=wfs-conf&id=" + global_selectedWfsConfId.toString() + "');";
 	bulbNode.style.display = "inline";
 	
 	//
@@ -249,12 +278,12 @@
 		}
 	}
 	if (preConfigured) {
-		wfsPreConfiguredOrEditor.src = "../x_geoportal/img/modul_suche.png";
-		wfsPreConfiguredOrEditor.title = "Modultyp: Suche";
+		wfsPreConfiguredOrEditor.src = "../img/gnome/icn_suchmodul.png";
+		wfsPreConfiguredOrEditor.title = "<?php echo _mb("Moduletype: Search"); ?>";
 	}
 	else {
-		wfsPreConfiguredOrEditor.src = "../x_geoportal/img/modul_download.png";
-		wfsPreConfiguredOrEditor.title = "Modultyp: Download";
+		wfsPreConfiguredOrEditor.src = "../img/gnome/document-save.png";
+		wfsPreConfiguredOrEditor.title = "<?php echo _mb("Moduletype: Download"); ?>";
 	}
 	wfsPreConfiguredOrEditor.style.display = 'inline';
 	
@@ -269,19 +298,19 @@
 		}
 	}
 	if (wfsGeomType.match(/Point/)) {
-		wfsGeomTypeNode.src = "../x_geoportal/img/wfs_pkt.gif";
+		wfsGeomTypeNode.src = "../img/button_digitize_blue_red/point.png";
 		wfsGeomTypeNode.style.display = 'inline';
-		wfsGeomTypeNode.title = 'Geometrietyp: Punkt';
+		wfsGeomTypeNode.title = '<?php echo _mb("Geometrytype: point"); ?>';
 	}
 	else if (wfsGeomType.match(/Line/)) {
-		wfsGeomTypeNode.src = "../x_geoportal/img/wfs_l.gif";
+		wfsGeomTypeNode.src = "../img/button_digitize_blue_red/line.png";
 		wfsGeomTypeNode.style.display = 'inline';
-		wfsGeomTypeNode.title = 'Geometrietyp: Linie';
+		wfsGeomTypeNode.title = '<?php echo _mb("Geometrytype: line"); ?>';
 	}
 	else if (wfsGeomType.match(/Polygon/)) {
-		wfsGeomTypeNode.src = "../x_geoportal/img/wfs_p.gif";
+		wfsGeomTypeNode.src = "../img/button_digitize_blue_red/polygon.png";
 		wfsGeomTypeNode.style.display = 'inline';
-		wfsGeomTypeNode.title = 'Geometrietyp: Fläche';
+		wfsGeomTypeNode.title = '<?php echo _mb("Geometrytype: area"); ?>';
 	}
 	else {
 		var e = new parent.Mb_exception("WFS gazetteer: geometry type unknown.");		
@@ -551,13 +580,13 @@
 					helptext.innerHTML += '<a href="#" class="close" onclick="hideHelptext(' + i + ')">close</a>';
 					helptextDisplay.appendChild(helptext);
 					
-					helptextNode.innerHTML = ' <a href="#" onclick="showHelptext(' + i + ')"><img src="img/help.png" width="16" height="16" alt="?" /></a> ';
+					helptextNode.innerHTML = ' <a href="#" onclick="showHelptext(' + i + ')"><img src="../img/help.png" width="16" height="16" alt="?" /></a> ';
 				}
 				
 				form.appendChild(spanNode);
 				form.appendChild(inputNode);
-				//if(wfsConfElementArray[i].f_helptext.length > 0) { form.appendChild(helptextNode); }
-				//if(wfsConfElementArray[i].f_helptext.length > 0) { form.appendChild(helptextDisplay); }
+				if(wfsConfElementArray[i].f_helptext.length > 0) { form.appendChild(helptextNode); }
+				if(wfsConfElementArray[i].f_helptext.length > 0) { form.appendChild(helptextDisplay); }
 				form.appendChild(document.createElement("br"));
 			}
 		}
@@ -579,7 +608,7 @@
 	var submit = document.getElementById("wfsForm_Submit");
 	var submit_attr = document.getElementById("attrPanel_Submit");
 	if(global_wfsConfObj[global_selectedWfsConfId].featuretype_srs!=parent.mb_mapObj[ind].getSRS()){
-		var msg = "Das Projektionssystem von Karte und WFS-Featuretype ist unterschiedlich, Abfrage nicht moeglich!\n";
+		var msg = "<?php echo _mb("The coordinate reference system (crs) of the objects differ from the crs of the viewer. A query will not be possible. Please change the crs of the viewer first."); ?>\n";
 		msg += parent.mb_mapObj[ind].getSRS()+" und "+global_wfsConfObj[global_selectedWfsConfId].featuretype_srs;
 		alert(msg);
 			
@@ -920,7 +949,7 @@
 						}
 					}
 		       		else {
-						alert("Kein Ergebnis.");
+						alert("<?php echo _mb("No result"); ?>");
 					}
 	       		}
 	       		else {
@@ -931,7 +960,7 @@
 						downloadPopup.hide();
 					}
 		       		else {
-						alert("Beim Export ist ein Fehler aufgetreten.");
+						alert("<?php echo _mb("An error occured when start download."); ?>");
 		       		}
 				}
 				document.getElementById("progressWheel").innerHTML = "";
@@ -1049,7 +1078,7 @@
 	resultList.show();
 	return;
 
-	var contentHtml = "Kein Ergebnis";
+	var contentHtml = "<?php echo _mb("No result"); ?>";
 	if (geomArray != null && geomArray.count() > 0){
 		contentHtml = createListOfGeometries();
 	}
@@ -1061,7 +1090,10 @@
 			title: searchPopupTitle,
 			width:searchPopupWidth,
 			height: searchPopupHeight,
-			position: [ searchPopupX,searchPopupY]
+			position: [ searchPopupX,searchPopupY],
+			onclose: function(){
+				resultList.hide();
+			}
 		}); 
 	}
 	else {
@@ -1091,7 +1123,7 @@
 		}
 	}
 //	if(details != 1){
-//		resultHtml +="<tr><td>Keine Informationen</td></tr>\n";
+//		resultHtml +="<tr><td><?php echo _mb("No information available."); ?></td></tr>\n";
 //	}
 	resultHtml += "</table>\n";
 	
@@ -1173,18 +1205,18 @@
 	<!-- WFS conf info -->
 	<img src = "" name='wfsPreConfiguredOrEditor' id='wfsPreConfiguredOrEditor' style='display:none'>
 	<img src = "" name='wfsGeomType' id='wfsGeomType' style='display:none'>
-	<a name='wfsInfo' title='Informationen anzeigen' id='wfsInfo' style='display:none'></a><form name='attrPanel' id='attrPanel' onsubmit='return makeRequest();'>
+	<a name='wfsInfo' title='<?php echo _mb("Show information"); ?>' id='wfsInfo' style='display:none'></a><form name='attrPanel' id='attrPanel' onsubmit='return makeRequest();'>
 
 
 	<div class='mainDiv' id='mainDiv' style="display:none">
-	<b>Räumliche Auswahl</b>
+	<b><?php echo _mb("Set spatial filter"); ?></b>
 	<div name='displaySpatialButtons' id='displaySpatialButtons' style='width:180px'></div>
 	<input type="button" id="deleteRequestGeometry" name="deleteRequestGeometry" value="löschen" style="position:absolute;top:70px;left:120px;display:none">
 	<br><br>
-	<b>Attributauswahl</b>
+	<b><?php echo _mb("Set attribute filter"); ?></b>
 	  <table>
 	  	<tr valign='top'>
-	  		<td width='30%'>&nbsp;</td><td width='35%'>&nbsp;</td><td width='35%' style='font-size:12px;'>Beispielinhalte (erste 20 Einträge)</td>
+	  		<td width='30%'>&nbsp;</td><td width='35%'>&nbsp;</td><td width='35%' style='font-size:12px;'><?php echo _mb("Examples (first 20 entries):"); ?></td>
 	  	</tr>
 	    <tr valign='top'>
 	      	<td width='30%'>
@@ -1216,16 +1248,14 @@
 	    </tr> 
 	    <tr >
 	      	<td>	      		
-	      		 <input type='submit' id='attrPanel_Submit' value='Anfrage
-starten'>
+	      		 <input type='submit' id='attrPanel_Submit' value='<?php echo _mb("Start query"); ?>'>
 	      	</td>	      		
 			<td>
-				<input onClick='deleteFilterText();' type='button' value='Filter
-zur&uuml;cksetzen'>
+				<input onClick='deleteFilterText();' type='button' value='<?php echo _mb("Reset filter"); ?>'>
 			</td>
 	      	<td>	      		
 				<div name='displayCheckbox' id='displayCheckbox' style='width:180px'>
-					<input type='checkbox' name='exportToShape' id='exportToShape'>Daten exportieren
+					<input type='checkbox' name='exportToShape' id='exportToShape'><?php echo _mb("Export data"); ?>
 				</div>
 	      	</td>	      		
 	    </tr> 

Modified: branches/2.7/http/php/mod_abo_show.php
===================================================================
--- branches/2.7/http/php/mod_abo_show.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_abo_show.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -99,7 +99,7 @@
 		if (preg_match("/^[0-9]+(,[0-9]+)*$/", $_POST['wmslist'])) {
 			$wms_array = explode(',',$_POST['wmslist']);
 
-			$metadataUrl = preg_replace("/(.*)frames\/login.php/", "$1php/mod_layerMetadata.php?id=", LOGIN);
+			$metadataUrl = preg_replace("/(.*)frames\/login.php/", "$1php/mod_showMetadata.php?resource=layer&id=", LOGIN);
 
 			for ($i=0; $i<count($wms_array); $i++) {
 				// get layer id
@@ -285,7 +285,7 @@
 		$str .= "\n\t\t\t<td><input name='cb".$cnt."' value='" . $wms_id[$k] . "' type=checkbox  />";
 	#<input type=hidden name='upl_id".$cnt."' value='".$upload_id[$k]."'>
 		$str .= "</td>";
-	$str .= "\n\t\t\t<td valign='top'><a href='../php/mod_layerMetadata.php?id=" . $layer_id[$k] ."' onclick='window.open(this.href,'Metadaten','width=500,height=600,left=100,top=200,scrollbars=yes ,dependent=yes'); return false' target='_blank' >Dienst ID: ". $wms_id[$k] ."</a><br>" . $admin->getWmsTitleByWmsId($wms_id[$k]) . "</td>";
+	$str .= "\n\t\t\t<td valign='top'><a href='../php/mod_showMetadata.php?resource=layer&id=" . $layer_id[$k] ."' onclick='window.open(this.href,'Metadaten','width=500,height=600,left=100,top=200,scrollbars=yes ,dependent=yes'); return false' target='_blank' >Dienst ID: ". $wms_id[$k] ."</a><br>" . $admin->getWmsTitleByWmsId($wms_id[$k]) . "</td>";
 		#$str .= "\n\t\t\t<td valign='top'><b>" . $wms_id[$k] . "</b><br>" . $admin->getWmsTitleByWmsId($wms_id[$k]) . "</td>";
 		$str .= "\n\t\t\t<td valign='top'><a href='".$upload_url[$k]."' target=_blank><img title='Connect to service' border=0 src = '../img/trafficlights/". $img. "'></a></td>";
 		$str .= "\n\t\t\t<td valign='top'>" . $comment[$k] . "<br><div style='font-size:12'>".date("F j, Y, G:i:s", $upload_id[$k])."</div></td>";

Modified: branches/2.7/http/php/mod_deleteWFS.php
===================================================================
--- branches/2.7/http/php/mod_deleteWFS.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_deleteWFS.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -133,22 +133,28 @@
 $logged_user_id=Mapbender::session()->get("mb_user_id");
 
 ###delete
-if($_REQUEST['del']!='-1'){
-	 $sql = "DELETE FROM wfs WHERE wfs_id = '".$_REQUEST['del']."'";
+
+if($del!='-1'){
+	 $sql = "DELETE FROM wfs WHERE wfs_id = '".$del."'";
 	 $res = db_query($sql);
 }
+
+
+
 //adopted for owned wfs and not all!!!!!!
+
 $sql_wfs = "SELECT * FROM wfs ";
 $sql_wfs .= " where wfs_owner=".$_SESSION["mb_user_id"]." ORDER BY wfs_name";
 $res_wfs = db_query($sql_wfs);
 $cnt_wfs = 0;
 
-echo "<form name='form1' action='" . $_SERVER["SCRIPT_NAME"] . "?".SID."' method='post'>"; 
+echo "<form name='form1' action='' method='post'>"; //" . $_SERVER["SCRIPT_NAME"] . "?".SID."
 echo "<br><b>WFS List: <b><br><br>";
 echo "<select class='wfsList' size='20' name='wfsList'  onchange='sel();'>";
 //var wfsInfo = this.value.split(\"###\");document.form1.wfsList.value=wfsInfo[0];
 //morgen zu kontrollieren
 
+
 while($row1 = db_fetch_array($res_wfs)){
 	
 	$wfs_conf_gui=array();
@@ -192,10 +198,14 @@
 	$str_wfs_gui=ltrim($str_wfs_gui, ",");
 
 	//output to table
-	echo "<option value='".$row1["wfs_id"]."###".$str_wfs_conf."###".$str_wfs_gui."'>".$row1["wfs_name"]." - ".$row1["wfs_title"]."</option>";
+	echo "<option value='".$row1["wfs_id"]."###".$str_wfs_conf."###".$str_wfs_gui."'>".$row1["wfs_id"]." ".$row1["wfs_name"]." - ".$row1["wfs_title"]."</option>";
 	$cnt_wfs++;
 }
+
 echo "</select><br><br>";
+
+
+
 ?>
 <!--Line for showing wfs metadata-->
 	View wfs metadata: <a id='metadatalink' href='' onclick="window.open(this.href,'Metadata','width=500,height=600,left=100,top=200,scrollbars=yes ,dependent=yes'); return false" target="_blank"><span id="metadatatext">no WFS selected</span></a><br><br>
@@ -204,6 +214,7 @@
 
 
 List of GUIs where dependend wfs_conf are used:<span id="guilist"> no WFS selected</span><br><br>
+<input type='hidden' name='del' value='-1'>
 <?php
 
 //kann ja nur beim neu laden passieren. Man sollte hier dynamisch was hineinsetzen lassen(javascript) dafuer muss es aber schon vorher ausgewaehlt worden sein, d.h. die options um titel_list, abstarct_list, wfs_conf_id_list, sowie GUI_list erweitern lassen. is aufwand!
@@ -218,7 +229,7 @@
 
 echo "<input class='button_del' type='button' value='delete' onclick='validate()'>";
 ?>
-<input type='hidden' name='del' value='-1'>
+
 </form>
 
 

Modified: branches/2.7/http/php/mod_editElements.php
===================================================================
--- branches/2.7/http/php/mod_editElements.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_editElements.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -307,7 +307,7 @@
 	$v = array($e_id_,$guiList1);
 	$t = array('s','s');
 	$res = db_prep_query($sql,$v,$t);
-	$e_id_ = ""; $e_pos = ""; $e_public = ""; $e_comment = ""; $e_element = "";
+	$e_id_ = ""; $e_pos = ""; $e_public = ""; $e_comment = "";  $e_title = ""; $e_element = "";
 	$e_src = ""; $e_attributes = ""; $e_left = ""; $e_top = ""; $e_width = ""; $e_height = ""; $e_z_index = "";
 	$e_more_styles = ""; $e_content = ""; $e_closetag = ""; $e_js_file = ""; $e_mb_mod = ""; 
 	$e_target = ""; $e_requires = ""; $e_url = "";

Modified: branches/2.7/http/php/mod_filteredUser_filteredGroup.php
===================================================================
--- branches/2.7/http/php/mod_filteredUser_filteredGroup.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_filteredUser_filteredGroup.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -25,9 +25,11 @@
  * @security_patch irv done
  */
 $filter1 = $_POST["filter1"];
+$selected_group = $_POST["selected_group"];
 $selected_user = $_POST["selected_user"];
 $insert = $_POST["insert"];
 $remove = $_POST["remove"];
+$remove_group = $_POST["remove_group"];
 
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Modified: branches/2.7/http/php/mod_getServiceDisclaimer.php
===================================================================
--- branches/2.7/http/php/mod_getServiceDisclaimer.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_getServiceDisclaimer.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -241,7 +241,7 @@
 			$accessConstraints .= display_text($row['accessconstraints']);
 			echo $t_a.$htmlHeader['accessConstraintsHeader'].$t_b.$accessConstraints.$t_c;
 		}
-		if (isset($row['termsofuse_id']) or (strtoupper($row['fees']) != "NONE" or ($row['fees'] != '')) or ($type == "wms" & isset($row['wms_pricevolume']) & $row['wms_pricevolume'] != 0) ) {
+		if (isset($row['termsofuse_id']) or (strtoupper($row['fees']) != "NONE" & (str_replace(" ", "", $row['fees']) != "")) or ($type == "wms" & isset($row['wms_pricevolume']) & $row['wms_pricevolume'] != 0) ) {
 			$feesPart = $t_a.$htmlHeader['feesHeader'].$t_b;
 			if (isset($row['termsofuse_id'])) {
 				$fees = $htmlHeader['licences'];
@@ -285,7 +285,7 @@
 			echo "<h2>".$htmlHeader['accessConstraintsHeader']."</h2>";
 			echo $accessConstraints."<br>";
 		}
-		if (isset($row['termsofuse_id']) or (strtoupper($row['fees']) != "NONE") or ($type == "wms" & isset($row['wms_pricevolume']) & $row['wms_pricevolume'] != 0) ) {
+		if (isset($row['termsofuse_id']) or (strtoupper($row['fees']) != "NONE" & (str_replace(" ", "", $row['fees']) != "")) or ($type == "wms" & isset($row['wms_pricevolume']) & $row['wms_pricevolume'] != 0) ) {
 			echo "<h2>".$htmlHeader['feesHeader']."</h2>";
 			if (isset($row['termsofuse_id'])) {
 				$fees = $htmlHeader['licences'];
@@ -308,14 +308,15 @@
 		}
 	}
 } else {
-	//if nothing about restrictions is defined
+	/*//if nothing about restrictions is defined
 	if ($asTable){
 		echo $tableBegin;
 		echo $t_a.$htmlHeader['noInformation'].$t_b.$t_c."<br>";
 		echo $tableEnd;
 	} else {
 		echo $htmlHeader['noInformation']."<br>" ;
-	}
+	}*/
+	echo "";//since it is not neccessary to give information about nothing ;-)
 }
 
 ?>

Modified: branches/2.7/http/php/mod_getWmcDisclaimer.php
===================================================================
--- branches/2.7/http/php/mod_getWmcDisclaimer.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_getWmcDisclaimer.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -62,16 +62,19 @@
 		$translation['wmcDisclaimerHeader'] = 'Das vorliegende Dokument enthält Datenquellen von unterschiedlichen Stellen. Diese unterliegen den im folgenden aufgeführten Nutzungsbedingungen:';
 		$translation['wms'] = "Kartendienst";
 		$translation['wfs'] = "Datendienst";
+		$translation['noTouInformation'] = 'Es sind keine Informationen über Nutzungsbedingungen verfügbar!';
 		break;
 	case "en":
 		$translation['wmcDisclaimerHeader'] = 'The document includes data resources from different organizations. The following parapgraph shows the different terms of use for the includes resources:';
 		$translation['wms'] = "Web Map Service";
 		$translation['wfs'] = "Web Feature Service";
+		$translation['noTouInformation'] = 'No informations about terms of use are available!';
 		break;
 	default: #to english
 		$translation['wmcDisclaimerHeader'] = 'The document includes data resources from different organizations. The following parapgraph shows the different terms of use for the includes resources:';
 		$translation['wms'] = "Web Map Service";
 		$translation['wfs'] = "Web Feature Service";
+		$translation['noTouInformation'] = 'No informations about terms of use are available!';
 }
 
 
@@ -106,8 +109,16 @@
 foreach($validWMS as $WMS) {
 	
 	echo $resourceSymbol." <a href='".$mapbenderBaseUrl.$_SERVER['SCRIPT_NAME']."/../mod_showMetadata.php?resource=wms&layout=tabs&id=".$WMS['id']."&languageCode=".$languageCode."'>".$WMS['title']."</a><br>";
+
 	$touServiceConnector = new connector($mapbenderProtocol."localhost".$_SERVER['SCRIPT_NAME']."/../mod_getServiceDisclaimer.php?type=wms&id=".$WMS['id']."&languageCode=".$languageCode."&asTable=true");
-	$wmstou = $touServiceConnector->file;
+	$touForWMS = $touServiceConnector->file;
+	// 
+	if ($touForWMS == ''){
+		$wmstou = $translation['noTouInformation'];
+	} else {
+		$wmstou = $touForWMS;
+	}
+	//$wmstou = $touServiceConnector->file;
 	#$wmstou = file_get_contents("http://localhost/mapbender/php/mod_getServiceDisclaimer.php?resource=wms&id=".$WMS['id']."&languageCode=".$languageCode."&asTable=true");
 	echo $wmstou."<br>";
 }

Modified: branches/2.7/http/php/mod_loadwmc_server.php
===================================================================
--- branches/2.7/http/php/mod_loadwmc_server.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_loadwmc_server.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -19,7 +19,9 @@
 
 	// gets available WMCs
 	case "getWmc":
-		$resultObj["wmc"] = $wmc->selectByUser($currentUser);
+		$showPublic = $ajaxResponse->getParameter("showPublic");
+		//$e = new mb_notice("mod_loadwmc_server.php: showPublic: ".$showPublic);
+		$resultObj["wmc"] = $wmc->selectByUser($currentUser,$showPublic);
 		$ajaxResponse->setResult($resultObj);
 		$ajaxResponse->setSuccess(true);		
 	break;

Modified: branches/2.7/http/php/mod_meetingPoint.php
===================================================================
--- branches/2.7/http/php/mod_meetingPoint.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_meetingPoint.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -36,7 +36,8 @@
 echo "var meetingPoint_write_to = 'meetingPoint';";
 ?>
 
-window.alert = parent.alert;
+// causes an error, read for discussion:  http://stackoverflow.com/questions/1007340/javascript-function-aliasing-doesnt-seem-to-work
+// window.alert = parent.alert;
 
 try{
 	if (meetingPoint_export_subject){}

Modified: branches/2.7/http/php/mod_monitorCapabilities_read_single.php
===================================================================
--- branches/2.7/http/php/mod_monitorCapabilities_read_single.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_monitorCapabilities_read_single.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -76,15 +76,15 @@
 }
 	
 
-$str = "<span style='font-size:30'>monitoring results</span><hr><br>\n";
+$str = "<span style='font-size:30'>"._mb("Monitoring results")."</span><hr><br>\n";//Monitoring Ergebnisse
 $str .= "<b>" . $wms_id . "</b><br>" . $admin->getWmsTitleByWmsId($wms_id) . "<br><br><br>\n";
 $str .= "<table cellpadding=10 cellspacing=0 border=0>";
-$str .= "<tr bgcolor='#dddddd'><th align='left'>date</th><th align='left' colspan = 2>status</th><th align='center'>response time</th></tr>";
+$str .= "<tr bgcolor='#dddddd'><th align='left'>date</th><th align='left' colspan = 2>"._mb("Status")."</th><th align='center'>"._mb("Response time")."</th></tr>";//Status Antwortzeit
 
 for ($k=0; $k<count($upload_id); $k++) {
-	$img = "stop.bmp";
-	if ($status[$k]==0) $img = "wait.bmp";
-	elseif ($status[$k]==1) $img = "go.bmp";
+	$img = "stop.png";
+	if ($status[$k]==0) $img = "wait.png";
+	elseif ($status[$k]==1) $img = "go.png";
 
 	if (fmod($k, 2) == 1) {
 		$str .= "\n\t\t<tr bgcolor='#e6e6e6'>";
@@ -103,4 +103,4 @@
 echo $str;
 
 ?>
-</body></html>
\ No newline at end of file
+</body></html>

Modified: branches/2.7/http/php/mod_savewmc_server.php
===================================================================
--- branches/2.7/http/php/mod_savewmc_server.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_savewmc_server.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -11,6 +11,7 @@
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 require_once(dirname(__FILE__)."/../classes/class_wmc.php");
 require_once(dirname(__FILE__)."/../classes/class_json.php");
+require_once(dirname(__FILE__)."/../classes/class_lzw_decompress.php");
 
 $ajaxResponse = new AjaxResponse($_POST);
 if($ajaxResponse->getMethod() != "saveWMC") {
@@ -25,14 +26,31 @@
 // get data from POST and SESSION
 $userId = Mapbender::session()->get("mb_user_id");
 $mapObject = $ajaxResponse->getParameter('mapObject'); 
+$lzwCompressed = $ajaxResponse->getParameter('lzwCompressed');
 $saveInSession = $ajaxResponse->getParameter('saveInSession'); 
 $extensionData = $json->decode($ajaxResponse->getParameter('extensionData'));
 $attributes =  $ajaxResponse->getParameter('attributes');
 $overwrite = $ajaxResponse->getParameter('overwrite');
 $overwrite = $overwrite == "1" ? true : false;
+//for debugging, write mapObject to file
 
+if ($lzwCompressed == 'true') {
+	//$e = new mb_exception('mod_savewmc_server.php: mapObject: '.implode(',',$mapObject));
+	$mapObject = lzw_decompress($mapObject);
+	
+	//$e = new mb_exception('mod_savewmc_server.php: mapObject uncompressed: '.$mapObject);
+	//$filename = TMPDIR."/formerly_compressed_json.txt";//will be set to new one cause ?
+} else {
+	//$filename = TMPDIR."/formerly_uncompressed_json.txt";//will be set to new one cause ?
+}
+//file_put_contents($filename, $mapObject);
+
+
+//$e = new mb_exception('mod_savewmc_server.php: mapObject is here ;-)');
 $mapObject = $json->decode($mapObject);
 
+$e = new mb_exception('mod_savewmc_server.php: mapObject has been decoded from json');
+
 // create WMC object
 $wmc = new wmc();
 if($overwrite) {
@@ -60,7 +78,7 @@
     if(Mapbender::session()->get("mb_wmc")) {
         $filename = Mapbender::session()->get("mb_wmc");
     } else {
-        $filename = TMPDIR."/".time()."_".uniqid();
+        $filename = TMPDIR."/".time()."_".uniqid();//will be set to new one cause ?
     }
     file_put_contents($filename, $wmc->xml);
 	Mapbender::session()->set("mb_wmc",$filename);

Modified: branches/2.7/http/php/mod_showMetadata.php
===================================================================
--- branches/2.7/http/php/mod_showMetadata.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_showMetadata.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -91,8 +91,21 @@
 	$layout = $testMatch;
 	$testMatch = NULL;
 }
-$subscribe = intval($_GET["subscribe"]);
 
+if (isset($_REQUEST["subscribe"]) & $_REQUEST["subscribe"] != "") {
+	//validate to csv integer list
+	$testMatch = $_REQUEST["subscribe"];
+	if (!($testMatch == '1' or $testMatch == '0')){ 
+		echo 'layout: <b>'.$testMatch.'</b> is not valid.<br/>'; 
+		die(); 		
+ 	}
+	$subscribe = $testMatch;
+	$testMatch = NULL;
+}
+
+
+$subscribe = intval($subscribe);
+
 $hostName = $_SERVER['HTTP_HOST'];
 
 if (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") {
@@ -169,6 +182,7 @@
 		$translation['graphicUnavailable'] = 'Grahische Ãœbersicht nicht aktiviert';
 		$translation['notMonitored'] = 'Informationen über die Qualität sind nur verfügbar, wenn das Service Monitoring aktiv ist!';
 		$translation['wmcQualityText'] = 'Für Web Map Context Dokumente entfällt die Angabe zur Qualität!';
+		$translation['noTouInformation'] = 'Es sind keine Informationen über Nutzungsbedingungen verfügbar!';
 		break;
 	case "en":
 		$translation['overview'] = 'Overview';
@@ -232,6 +246,7 @@
 		$translation['graphicUnavailable'] = 'Graphical Overview not active';
 		$translation['notMonitored'] = 'Information about Quality is only available if the service monitoring is activated!';
 		$translation['wmcQualityText'] = 'In case of Web Map Context Documents the Quality part is not applicable!';
+		$translation['noTouInformation'] = 'No informations about terms of use are available!';
 		break;
 	default: #to english
 		$translation['overview'] = 'Overview';
@@ -295,6 +310,7 @@
 		$translation['graphicUnavailable'] = 'Graphical Overview not active';
 		$translation['notMonitored'] = 'Information about Quality is only available if the service monitoring is activated!';
 		$translation['wmcQualityText'] = 'In case of Web Map Context Documents the Quality part is not applicable!';
+		$translation['noTouInformation'] = 'No informations about terms of use are available!';
 }
 
 //Array with infos about the different elements which are shown in the tabs
@@ -346,7 +362,7 @@
 	case "wfs":
 		$wfsId = $id;
 		$sql = "SELECT ";
-		$sql .= "wfs.wfs_title as servicetitle, wfs.wfs_abstract as serviceabstract, wfs.wfs_id as serviceid,  wfs.wfs_id as contentid,wfs.fees, wfs.accessconstraints, wfs.individualname as contactperson, wfs.wfs_getcapabilities,";
+		$sql .= "wfs.wfs_title as servicetitle, wfs.wfs_version as serviceversion, wfs.wfs_abstract as serviceabstract, wfs.wfs_id as serviceid,  wfs.wfs_id as contentid,wfs.fees, wfs.accessconstraints, wfs.individualname as contactperson, wfs.wfs_getcapabilities,";
 		$sql .= "wfs.positionname as contactposition, wfs.providername as contactorganization, wfs.deliverypoint as address, wfs.city, wfs_timestamp as timestamp, wfs_owner as owner, wfs.wfs_owsproxy as owsproxy, wfs.fkey_mb_group_id,";
 		$sql .= "wfs.administrativearea as stateorprovince, wfs.postalcode as postcode, wfs.voice as contactvoicetelephone, wfs.facsimile as contactfacsimiletelephone, ";
 		$sql .= "wfs.electronicmailaddress as contactelectronicmailaddress, wfs.country ";
@@ -360,7 +376,7 @@
 		$featuretypeId = $id;
 		$sql = "SELECT ";
 		$sql .= "wfs_featuretype.featuretype_id as contentid, wfs_featuretype.featuretype_title as contenttitle, wfs_featuretype.featuretype_abstract as contentabstract, wfs_featuretype.featuretype_name as contentname,wfs_featuretype.featuretype_srs, ";
-		$sql .= "wfs.wfs_title as servicetitle, wfs.wfs_abstract as serviceabstract, wfs.wfs_id as serviceid, wfs.fees, wfs.accessconstraints, wfs.individualname as contactperson, wfs.wfs_getcapabilities, wfs.wfs_describefeaturetype, ";
+		$sql .= "wfs.wfs_title as servicetitle, wfs.wfs_version as serviceversion, wfs.wfs_abstract as serviceabstract, wfs.wfs_id as serviceid, wfs.fees, wfs.accessconstraints, wfs.individualname as contactperson, wfs.wfs_getcapabilities, wfs.wfs_describefeaturetype, ";
 		$sql .= "wfs.positionname as contactposition, wfs.providername as contactorganization, wfs.deliverypoint as address, wfs.city, wfs_timestamp as timestamp, wfs_owner as owner, wfs.wfs_owsproxy as owsproxy, wfs.fkey_mb_group_id,";
 		$sql .= "wfs.administrativearea as stateorprovince, wfs.postalcode as postcode, wfs.voice as contactvoicetelephone, wfs.facsimile as contactfacsimiletelephone, ";
 		$sql .= "wfs.electronicmailaddress as contactelectronicmailaddress, wfs.country ";
@@ -687,33 +703,32 @@
 }
 
 $user = new User();
+
 //
 // Monitoring is only available if the user is allowed to access this service
 //
 
 if ($resource == 'wms' or $resource == 'layer'){
-	if ($user->isLayerAccessible($layerId)) {
-		if ($subscribe === 1) {
-			$user->addSubscription($resourceMetadata['serviceid']);
-		}
-		else if ($subscribe === 0) {
-			$user = new User();
-			$user->cancelSubscription($resourceMetadata['serviceid']);
-		}
-		$currentUser = new User();
-		$is_subscribed = $currentUser->hasSubscription($resourceMetadata['serviceid']);
-		$is_public = $currentUser->isPublic();
+	if ($user->isLayerAccessible($layerId)) {		
+		$is_public = $user->isPublic();
 		//show abo function to registred and authorized users
-		//if ($is_subscribed && !$is_public) {
-		if ($is_subscribed) {
-			$aboStr = "<tr><th>Abo</th><td><a href = '../php/mod_showMetadata.php?id=" . 
-					$layerId . "&resource=layer&user_id=" . $currentUser->id . "&subscribe=0'><img  style='border: none;' src = '../img/mail_delete.png' title='"._mb("Monitoring Abo l&ouml;schen")."'></a></td></tr>"; //TODO check wherefor user_id should be given as parameter?
-		}
-		//else if (!$is_subscribed && !$is_public) {
-		else if (!$is_subscribed) {
-			$aboStr = "<tr><th>Abo</th><td><a href = '../php/mod_showMetadata.php?id=" . $layerId . 
-					"&resource=layer&user_id=" . $currentUser->id . "&subscribe=1'><img style='border: none;' src = '../img/mail_send.png' title='"._mb("Monitoring abonnieren")."'></a></td></tr>";
-		}
+		if (!$is_public) {
+			if ($subscribe == 1) {
+				$user->addSubscription($resourceMetadata['serviceid']);
+			}
+			else if ($subscribe == 0) {
+				$user->cancelSubscription($resourceMetadata['serviceid']);
+			}
+			$is_subscribed = $user->hasSubscription($resourceMetadata['serviceid']);
+			if ($is_subscribed) {
+				$aboStr = "<tr><th>Abo</th><td><a href = '../php/mod_showMetadata.php?id=" . 
+					$layerId . "&resource=layer&user_id=" . $user->id . "&subscribe=0'><img  style='border: none;' src = '../img/mail_delete.png' title='"._mb("Monitoring Abo l&ouml;schen")."'></a></td></tr>"; //TODO check wherefor user_id should be given as parameter?
+			}
+			else if (!$is_subscribed) {
+				$aboStr = "<tr><th>Abo</th><td><a href = '../php/mod_showMetadata.php?id=" . $layerId . 
+					"&resource=layer&user_id=" . $user->id . "&subscribe=1'><img style='border: none;' src = '../img/mail_send.png' title='"._mb("Monitoring abonnieren")."'></a></td></tr>";
+			}
+		}	
 	}
 	$html .= $aboStr;
 }
@@ -821,7 +836,8 @@
 	}
 }
 if (isset($resourceMetadata['wfs_describefeaturetype']) && ($resourceMetadata['wfs_describefeaturetype'] != '')) {
-	$html .= $t_a.$translation['describeFeaturetype'].$t_b."<a href='".$resourceMetadata['wfs_describefeaturetype']."REQUEST=DescribeFeaturetype&typename=".$resourceMetadata['contentname']."' >Link</a>".$t_c;
+	$html .= $t_a.$translation['describeFeaturetype'].$t_b."<a href='".$resourceMetadata['wfs_describefeaturetype']."SERVICE=WFS&VERSION=".$resourceMetadata['serviceversion']."&REQUEST=DescribeFeaturetype&typename=".$resourceMetadata['contentname']."' >Link</a>".$t_c;
+	#$html .= $t_a.$translation['describeFeaturetype'].$t_b."<a href='".$resourceMetadata['wfs_describefeaturetype']."&REQUEST=DescribeFeaturetype&typename=".$resourceMetadata['contentname']."' >Link</a>".$t_c;
 }
 
 
@@ -898,8 +914,11 @@
 	$touWmcConnector = new connector($mapbenderProtocol."localhost".$_SERVER['SCRIPT_NAME']."/../mod_getWmcDisclaimer.php?&id=".$resourceMetadata['contentid']."&languageCode=".$languageCode."&hostName=".$hostName);
 	$tou = $touWmcConnector->file;
 }
-
-$html .= $tou;
+if ($tou == ''){
+	$html .= $translation['noTouInformation'];
+} else {
+	$html .= $tou;
+}
 $html .= '</p>';
 $html .= '</div>';
 //**************************termsOfUse part end******************************

Copied: branches/2.7/http/php/mod_subscribersServiceList.php (from rev 7595, trunk/mapbender/http/php/mod_subscribersServiceList.php)
===================================================================
--- branches/2.7/http/php/mod_subscribersServiceList.php	                        (rev 0)
+++ branches/2.7/http/php/mod_subscribersServiceList.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,218 @@
+
+<?php
+# $Id: mod_monitorCapabilities_read.php 517 2006-11-21 12:37:01Z christoph $
+# http://www.mapbender.org/index.php/Monitor_Capabilities
+# 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");
+require_once(dirname(__FILE__)."/../classes/class_user.php");
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
+<html>
+<head>
+<meta http-equiv="cache-control" content="no-cache">
+<meta http-equiv="pragma" content="no-cache">
+<meta http-equiv="expires" content="0">
+<style type="text/css">
+*{margin:0;padding:0;font-size:1em;font-family:Arial,Helvetica,"Sans Serif" !important;}
+a:link {
+COLOR: #000000;
+text-decoration:none;
+font-weight:bold;
+}
+a:visited {
+COLOR: #000000;
+text-decoration:none;
+font-weight:bold;
+}
+a:hover {
+COLOR: #871d33;
+text-decoration:underline;
+font-weight:bold;
+}
+a:active {
+COLOR: #000000;
+text-decoration:none;
+font-weight:bold;
+}
+</style> 
+<?php
+echo '<meta http-equiv="Content-Type" content="text/html; charset='.CHARSET.'">';	
+?>
+</head>
+<body>
+<?php
+if (isset($_REQUEST["languageCode"]) & $_REQUEST["languageCode"] != "") {
+	//validate to csv integer list
+	$testMatch = $_REQUEST["languageCode"];
+	if (!($testMatch == 'de' or $testMatch == 'fr' or $testMatch == 'en')){ 
+		echo 'languageCode: <b>'.$testMatch.'</b> is not valid.<br/>'; 
+		die(); 		
+ 	}
+	$languageCode = $testMatch;
+	$testMatch = NULL;
+	Mapbender::session()->set("mb_lang",$languageCode);
+	//set session var to languageCode
+	$localeObj = new Mb_locale(Mapbender::session()->get("mb_lang"));
+}
+
+$admin = new administration();
+$user = new User();
+//echo $user->id."<br>";
+//only logged in user can see their subscribed services
+$sql = "SELECT DISTINCT mb_wms_availability.fkey_wms_id FROM mb_wms_availability,mb_user_abo_ows WHERE mb_wms_availability.fkey_wms_id=mb_user_abo_ows.fkey_wms_id AND mb_user_abo_ows.fkey_mb_user_id=$1";
+$res = db_prep_query($sql, array($user->id), array("i"));
+$cnt = 0;
+$wms = array();
+
+while(db_fetch_row($res)){
+	$wms[$cnt] = db_result($res,$cnt,"fkey_wms_id");
+	
+	$cnt++;
+}
+
+$status = array();
+$upload_id = array();
+for ($i=0; $i<count($wms); $i++) {
+	$wms_id[$wms[$i]] = $wms[$i];
+        // get layer id
+        $sql = "select layer_id from layer where fkey_wms_id= $1 and layer_pos=0";
+        $v = array($wms[$i]);
+        $t = array('i');
+        $res = db_prep_query($sql,$v,$t);
+        $layer_id[$wms[$i]] = db_result($res,0,0);
+	$sql = "SELECT fkey_upload_id,last_status, status_comment, upload_url,availability ,average_resp_time, map_url, image FROM mb_wms_availability ";
+	$sql .= "WHERE fkey_wms_id = $1";
+	$v = array($wms_id[$wms[$i]]);
+	$t = array('i');
+	$res = db_prep_query($sql,$v,$t);
+        $avg_response_time[$wms[$i]] = round(db_result($res,0,"average_resp_time"),1);
+	$status[$wms[$i]] = intval(db_result($res,0,"last_status"));
+	$comment[$wms[$i]] = db_result($res,0,"status_comment");
+	$upload_url[$wms[$i]] = db_result($res,0,"upload_url");
+	$percentage[$wms[$i]]=db_result($res,0,"availability");
+	$upload_id[$wms[$i]] = db_result($res,0,"fkey_upload_id");
+	$image[$wms[$i]] =db_result($res,0,"image");
+	$map_url[$wms[$i]] =db_result($res,0,"map_url");
+}
+
+$newArray = $status;
+if ($_GET['sortby']) {
+	if ($_GET['sortby'] == "wms") {
+		$newArray = $wms_id;
+		asort($newArray);
+	}
+	elseif ($_GET['sortby'] == "status") {
+		$newArray = $status;
+		asort($newArray);
+	}
+	elseif ($_GET['sortby'] == "avgresp") {
+		$newArray = $avg_response_time;
+		asort($newArray);
+	}
+	elseif ($_GET['sortby'] == "image") {
+		$newArray = $image;
+		asort($newArray);
+	}
+	elseif ($_GET['sortby'] == "avail") {
+		$newArray = $percentage;
+		arsort($newArray);
+	}
+	elseif ($_GET['sortby'] == "last") {
+		$newArray = $upload_id;
+		arsort($newArray);
+	}
+}
+
+$str .= "<form name = 'form1' method='post' action='".$_SERVER["SCRIPT_NAME"]."?sortby=".$_GET['sortby']."'>\n\t";
+$str .= "<table cellpadding=10 cellspacing=0 border=0 style='font-family:verdana;font-size:0.8em;'>";
+$str .= "<tr bgcolor='#f0f0f0'><th align='left'><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=wms'>"._mb("WebMapService")."</a></th>";
+$str .= "<th align='left' colspan = 2><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=status'>"._mb("Availability of Capabilities")."</a></th>";//Verfügbarkeit Dienstebeschreibung
+$str .= "<th align='left'><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=avgresp'>"._mb("Average Response Time for GetCapabilities")."</a></th>";//Durchschnittliche Antwortzeit Beschreibung
+$str .= "<th align='left'><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=image'>"._mb("Availability of GetMap")."</a></th>";//Verfügbarkeit Kartenbild
+$str .= "<th align='left'><a href='".$_SERVER["SCRIPT_NAME"]."?sortby=avail'>"._mb("Availability (2 month)")."</a></th><th></th></tr>";//Verfügbarkeit (2 Monate)
+$cnt = 0;
+
+foreach ($newArray as $k => $value) {
+	$img = "stop.png";
+	$img_map = "nopicture.png";
+	if ($status[$k]==0) $img = "wait.png";
+	elseif ($status[$k]==1) $img = "go.png";
+	if ($image[$k]==1) $img_map = "picture.png";
+
+	if ($updated[$k] == "0" && $status[$k] == 0) $fill = "checked"; else $fill = "disabled";
+
+	if (fmod($cnt, 2) == 1) {
+		$str .= "\n\t\t<tr bgcolor='#e6e6e6'>";
+	}
+	else {
+		$str .= "\n\t\t<tr bgcolor='#f0f0f0'>";
+	}
+
+$str .= "\n\t\t\t<td valign='top'><a href='../php/mod_showMetadata.php?resource=layer&id=".$layer_id[$k]."&subscribe=1' onclick='var metadataWindow=window.open(this.href,'"._mb("Metadata")."','width=500,height=600,left=100,top=200,scrollbars=yes ,dependent=yes'); metadataWindow.focus();newWindow.href.location='test.php';  >"._mb("Service ID").": ".$wms_id[$k]."</a><br>".$admin->getWmsTitleByWmsId($wms_id[$k])."</td>";
+	$str .= "\n\t\t\t<td valign='top'><a href='".$upload_url[$k]."' target=_blank><img title='"._mb("Request GetCapabilities")."' border=0 src = '../img/trafficlights/". $img. "'></a></td>";//Aufruf des Capabilities Dokument
+	$str .= "\n\t\t\t<td valign='top'>" . $comment[$k] . "<br><div style='font-size:12'>".date("F j, Y, G:i:s", $upload_id[$k])."</div></td>";
+	$str .= "\n\t\t\t<td valign='top' align = 'left'>";
+	if ($avg_response_time[$k] == NULL) {
+		$str .= "n/a";
+	}
+	else {  	
+		if($avg_response_time[$k] == 0){
+		$str .= "< 1 s";
+		}
+		else
+		{
+			$str .= $avg_response_time[$k] . " s";
+		}
+	}
+	$str .= "</td>";
+	$str .= "\n\t\t\t<td valign='top'>";
+
+	$str .= "<a href='".$map_url[$k]."' target=_blank><img title='"._mb("Tested GetMap Request")."' border=0 src = '../img/trafficlights/". $img_map. "'></a>";//Getesteter GetMap Aufruf
+
+	$str .= "</td>";
+	//$str .= "\n\t\t\t<td valign='top'><b>" . $percentage[$k] . " %</b>&nbsp;&nbsp;<span style='font-size:12'>(" . $total[$k] . " "._mb('cycles').")</span><br>";
+	$str .= "\n\t\t\t<td valign='top'><b>" . $percentage[$k] . " %</b>&nbsp;&nbsp;<br>";
+	$str .= "<table bgcolor='black' border=1 cellspacing=1 cellpadding=0><tr>";
+	$val = $percentage[$k];
+	for ($i=0; $i<10; $i++) {
+		if ($val>=10) {
+			$str .= "<td height=10 width='10' bgcolor='red'></td>";
+			$val-=10;
+		}
+		elseif($val>0){
+			$str .= "<td height=10 width='" . round($val) . "' bgcolor='red'></td>";
+			if (round($val) < 10) {
+				$str .= "<td height=10 width='" . (9-round($val)) . "' bgcolor='white'></td>";
+			}
+			$val=-1;
+		}
+		else {
+			$str .= "<td height=10 width='10' bgcolor='white'></td>";
+		}
+	}
+	$str .= "</tr></table></td>";
+	
+	$str .= "\n\t\t<td><input type=button value='details' onclick=\"var newWindow = window.open('../php/mod_monitorCapabilities_read_single.php?wmsid=".$wms_id[$k]."','wms','width=500,height=700,scrollbars');newWindow.href.location='test.php'\"></td></tr>";
+	$cnt++;
+}
+$str .= "\n\t</table>\n\t<br/>\n</form>";
+echo $str;
+
+?>
+</body></html>

Modified: branches/2.7/http/php/mod_wfs_conf_interface.js
===================================================================
--- branches/2.7/http/php/mod_wfs_conf_interface.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_wfs_conf_interface.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -498,7 +498,7 @@
 				if (value !== "") {
 					var $select = $td.children(":first");
 					$select.children("option").each(function () {
-						if (this.value === value) {
+						if (this.value == value) {
 							$(this).attr("selected", "selected");
 						}
 					});
@@ -588,7 +588,7 @@
 			$("#" + prefix + "wfs_conf_form table:gt(0) tr:gt(0)").each(function () {
 				var currentFtElement = {
 					"id" : parseInt($(this).children("TD.wfs_conf_id").text(), 10),
-					"name" : $(this).children("TD.wfs_conf_name").get(0).firstChild.data,
+					"NAME" : $(this).children("TD.wfs_conf_name").get(0).firstChild.data,
 					"type" : $(this).children("TD.wfs_conf_name").children("div").text()
 				};
 				for (var attr in ALL_WFS_CONF_ATTRIBUTES) {

Modified: branches/2.7/http/php/mod_wfs_conf_server.php
===================================================================
--- branches/2.7/http/php/mod_wfs_conf_server.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/php/mod_wfs_conf_server.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -27,6 +27,29 @@
 $command = $ajaxResponse->getMethod();
 
 switch ($command) {
+
+
+	case "getWfsConfsFromId":
+		$wfsConfIdString = $ajaxResponse->getParameter("wfsConfIdString");
+
+		if(!$wfsConfIdString){ 
+			$ajaxResponse->setSuccess($false);
+			$ajaxResponse->setMessage("missing wfsConfIdString");
+			$ajaxResponse->send();
+			break;
+		}
+		$wfsConfIdString = trim($wfsConfIdString,',');
+		$wfsConfIds = explode(',',$wfsConfIdString);
+		$result = array();
+		foreach($wfsConfIds as $wfsId){
+			$currentWfsConf = WfsConfiguration::createFromDb($wfsId);
+			if ($currentWfsConf !== null) {
+				$result[]= $currentWfsConf;
+			}
+		}
+		$ajaxResponse->setResult($result);
+		$ajaxResponse->send();
+	break;
 	case "getWfsConfs" : 
 		$currentUser = new User(Mapbender::session()->get("mb_user_id"));
 		$wfsConfIds = $currentUser->getWfsConfByWfsOwner();
@@ -130,4 +153,4 @@
 $ajaxResponse->setMessage("Invalid command.");
 $ajaxResponse->setSuccess(false);
 $ajaxResponse->send();
-?>
\ No newline at end of file
+?>

Modified: branches/2.7/http/plugins/feedTree.js
===================================================================
--- branches/2.7/http/plugins/feedTree.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/feedTree.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,3 +1,39 @@
+ /**
+  * Package: feedTree
+  *
+  * Description:
+  * Module to load GeoRSS or KML temporary in a tree
+  * 
+  * Files:
+  *  - mapbender/http/plugins/feedTree.js
+  *  - mapebnder/lib/mb.ui.displayFeatures.js
+  *  - mapbender/http/css/feedtree.css
+  *
+  * SQL:
+  * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, 
+  * > e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, 
+  * > e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('<app_id>',
+  * > 'feedTree',2,1,'Displays a GeoRSS feed on the map','GeoRss','ul','','',1,1,200,200,NULL ,
+  * > 'visibility:visible','','ul','../plugins/feedTree.js','../../lib/mb.ui.displayFeatures.js',
+  * > 'mapframe1','jq_ui_widget','http://www.mapbender.org/Loadkmlgeorss');
+  * > 
+  * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) 
+  * > VALUES('gui', 'feedTree', 'styles', '../css/feedtree.css', '' ,'file/css');
+  *
+  * Help:
+  * http://www.mapbender.org/Loadkmlgeorss
+  *
+  * Maintainer:
+  * http://www.mapbender.org/User:Karim_Malhas
+  * 
+  *
+  * License:
+  * Copyright (c) 2009, Open Source Geospatial Foundation
+  * This program is dual licensed under the GNU General Public License 
+  * and Simplified BSD license.  
+  * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
+  */
+
 var $feedTree = $(this);
 var FeedTree = function(o){
 	$feedTree.children().remove();
@@ -61,7 +97,7 @@
 
 			title = obj.data.features[i].properties.title;
 			abbrevTitle = title.length < 20 ?  title : title.substr(0,17) + "...";
-			$feature = $('<li title="'+ title +'"><a href="#" >'+ abbrevTitle + '</li>');
+			$feature = $('<li title="'+ title +'"><a href="#" >'+ abbrevTitle + '</a></li>');
 			$featureList.append($feature);
 			title = obj.data.features[i].properties.title;
 			$feature.bind('click',(function(jsonFeature){return function(){

Modified: branches/2.7/http/plugins/mb_button.js
===================================================================
--- branches/2.7/http/plugins/mb_button.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_button.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -18,7 +18,11 @@
  * > e_target, e_requires, e_url) VALUES('<appId>','printButton',1,1,'',
  * > 'Print','img','../img/button_blue_red/print_off.png','',NULL ,NULL ,24,24,
  * > NULL ,'','','','../plugins/mb_button.js','','printPDF','','');
- *
+ * >
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 
+ * > 'printButton', 'position', '[600,100]', '' ,'var');
+ * 
  * Maintainer:
  * http://www.mapbender.org/User:Christoph_Baudson
  *
@@ -34,6 +38,7 @@
 var $button = $(this);
 
 var ButtonApi = function (o) {
+    o.position = o.position || 'center';
 	var that = this;
 	var target = (o.$target && o.$target.jquery && o.$target.size() === 1) ?
 		o.$target : $([]);
@@ -44,7 +49,8 @@
 		top: "auto",
 		left: "auto"
 	}).hide().dialog({
-		autoOpen: false
+		autoOpen: false,
+		position: o.position
 	});
 
 	var openDialog = function () {

Modified: branches/2.7/http/plugins/mb_i18n.js
===================================================================
--- branches/2.7/http/plugins/mb_i18n.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_i18n.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -76,7 +76,7 @@
 					}
 				}
 				translationObj = {};
-				Mapbender.events.localize.trigger();
+				//Mapbender.events.localize.trigger();
 			}
 		});
 		req.send();
@@ -84,3 +84,6 @@
 };
 
 Mapbender.modules[options.id] = $.extend(new I18n(options), Mapbender.modules[options.id]);
+Mapbender.events.init.register(function () {
+	Mapbender.modules.i18n.localize(Mapbender.languageId);
+});

Modified: branches/2.7/http/plugins/mb_measure_widget.php
===================================================================
--- branches/2.7/http/plugins/mb_measure_widget.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_measure_widget.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -9,16 +9,49 @@
  *  - http/widgets/w_measure.js
  *
  * SQL:
- * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
- * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height,
- * > e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod,
- * > e_target, e_requires, e_url) VALUES('<appId>','measure_widget',2,1,
- * > 'Measure','Measure distance','img',
- * > '../img/button_blink_red/measure_off.png','',515,60,24,24,1,'','','',
- * > '../plugins/mb_measure_widget.js',
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, 
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, 
+ * > e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, 
+ * > e_requires, e_url) VALUES('<appId>','measure_widget',2,1,'Measure',
+ * > 'Measure distance','img','../img/button_blue_red/measure_off.png','',
+ * > NULL ,NULL ,NULL ,NULL ,1,'','','','../plugins/mb_measure_widget.php',
  * > '../widgets/w_measure.js,../extensions/RaphaelJS/raphael-1.4.7.min.js',
- * > 'mapframe1','jq_ui_dialog,jq_ui_widget',
- * > 'http://www.mapbender.org/index.php/Measure');
+ * > 'mapframe1','jq_ui_dialog,jq_ui_widget','http://www.mapbender.org/index.php/Measure');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'lineStrokeDefault', '#C9F', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'lineStrokeSnapped', '#F30', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'lineStrokeWidthDefault', '3', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'lineStrokeWidthSnapped', '5', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'measurePointDiameter', '7', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'opacity', '0.4', '' ,'var');
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'pointFillDefault', '#CCF', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'pointFillSnapped', '#F90', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'polygonFillDefault', '#FFF', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'polygonFillSnapped', '#FC3', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'polygonStrokeWidthDefault', '1', '' ,'var');
+ * > 
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, 
+ * > context, var_type) VALUES('<appId>', 'measure_widget', 'polygonStrokeWidthSnapped', '5', '' ,'var');
  *
  * Help:
  * http://www.mapbender.org/Measure_widget
@@ -168,7 +201,7 @@
 
 		}
 		else {
-			measureDialog.find(".mb-measure-perimeter").parent().hide();
+			//measureDialog.find(".mb-measure-perimeter").parent().hide();
 		}
 	};
 

Modified: branches/2.7/http/plugins/mb_metadata_edit.js
===================================================================
--- branches/2.7/http/plugins/mb_metadata_edit.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_metadata_edit.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -109,7 +109,7 @@
 		if (!formReady) {
 			$metadataForm.load("../plugins/mb_metadata_edit.php", function () {
 				$metadataForm.find(".help-dialog").helpDialog();
-				$metadataForm.find(".original-metadata-wms").bind("click", function() {
+				$metadataForm.find(".original-metadata-wms").bind("click", 					function() {
 					showOriginalMetadata();
 				});				
 				validator = $metadataForm.validate({

Modified: branches/2.7/http/plugins/mb_metadata_edit.php
===================================================================
--- branches/2.7/http/plugins/mb_metadata_edit.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_metadata_edit.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -56,6 +56,10 @@
 		</select>
     	<img class="help-dialog" title="<?php echo _mb("Help");?>" help="{text:'<?php echo _mb("Auswahl von vordefinierten Lizenzen hinsichtlich Gebühren und Zugriffsbeschränkungen.");?>'}" src="../img/questionmark.png" alt="" />
 	</p>
+	<p>
+		<label for="wms_network_access"><?php echo _mb("Restricted Network Access (Registry)");?>:</label>
+      		<input name="wms_network_access" id="wms_network_access" type="checkbox"/>
+	</p>
 </fieldset>
 <fieldset>
 	<legend><?php echo _mb("WMS Provider Section (OWS)");?></legend>

Modified: branches/2.7/http/plugins/mb_metadata_layerPreview.php
===================================================================
--- branches/2.7/http/plugins/mb_metadata_layerPreview.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_metadata_layerPreview.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -2,19 +2,24 @@
 require_once(dirname(__FILE__)."/../../core/globalSettings.php");
 require_once(dirname(__FILE__)."/../../http/classes/class_connector.php");
 require_once(dirname(__FILE__)."/../../http/classes/class_administration.php");
-
+require_once(dirname(__FILE__)."/../classes/class_weldMaps2JPEG.php");
 //define("LAYER_PREVIEW_BASE","../tmp/layerpreviews/");
-define("LAYER_PREVIEW_BASE","../tmp/");
+//define("LAYER_PREVIEW_BASE","../tmp/");
 
-$layerPreviewMapFileName = LAYER_PREVIEW_BASE . sha1(uniqid(rand()));
-$layerPreviewLegendFileName = LAYER_PREVIEW_BASE . sha1(uniqid(rand()));
 
+
 $ajaxResponse  = new AjaxResponse($_REQUEST);
 $mapurl =  $ajaxResponse->getParameter("mapurl");
 $layerName =  $ajaxResponse->getParameter("layerName");
 $legendUrl =  $ajaxResponse->getParameter("legendUrl");
 $wmsId =  $ajaxResponse->getParameter("wmsId");
+$layerId = $ajaxResponse->getParameter("layerId");
 
+$layerPreviewMapFileName = PREVIEW_DIR ."/".$layerId."_layer_map_preview.jpg";
+$layerPreviewLegendFileName = PREVIEW_DIR ."/".$layerId."_layer_legend_preview.jpg";
+
+
+
 if(!$mapurl){
 	$ajaxResponse->setSuccess(false);
 	$ajaxResponse->setMessage('mapURL not set');
@@ -41,29 +46,38 @@
 
 switch ($ajaxResponse->getMethod()) {
 	case "saveLayerPreview":
-		$con = new connector();
-		$admin = new administration();
-		$mapImage = $con->load($mapurl);
-		if (!$mapImage) {
+		$mapImg = new weldMaps2JPEG($mapurl, $layerPreviewMapFileName);
+		if(!$mapImg) {
 			$ajaxResponse->setSuccess(false);
-			$ajaxResponse->setMessage('Could not save preview: Unable to load map image.');
-			$ajaxResponse->send();			
+			$ajaxResponse->setMessage('Map preview could not be created');
+			$ajaxResponse->send();
+		} 
+		else {
+			$ajaxResponse->setSuccess(true);
+			$ajaxResponse->setMessage('Preview saved as '.$layerPreviewMapFileName);
+			$ajaxResponse->send();
 		}
-		$admin->saveFile($layerPreviewMapFileName,$mapImage);
-
+		
 		if ($legendUrl) {
-			$legendImage = $con->load($legendUrl);
-			if (!$legendImage) {
+			$legendImg = new weldMaps2JPEG($legendUrl, $layerPreviewLegendFileName);
+			/*if(!$legendImg) {
 				$ajaxResponse->setSuccess(false);
-				$ajaxResponse->setMessage('Could not save preview: Unable to load map image.');
-				$ajaxResponse->send();			
-			}
-			$admin->saveFile($layerPreviewLegendFileName,$legendImage);
+				$ajaxResponse->setMessage('Legend preview could not be created');
+				$ajaxResponse->send();
+			} 
+			else {
+				$ajaxResponse->setSuccess(true);
+				$ajaxResponse->setMessage('Preview saved');
+				$ajaxResponse->send();
+			}*/
 		}
 		else {
 			$legendUrl = null;
 		}
 
+		
+		break;
+
 		$updateSQL = <<<SQL
 
 UPDATE layer_preview SET 
@@ -112,4 +126,4 @@
 		$ajaxResponse->setMessage("invalid method");
 }
 $ajaxResponse->send();
-?>
\ No newline at end of file
+?>

Modified: branches/2.7/http/plugins/mb_metadata_saveLayerPreview.js
===================================================================
--- branches/2.7/http/plugins/mb_metadata_saveLayerPreview.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_metadata_saveLayerPreview.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -15,9 +15,12 @@
 			var wms = map.wms[map.wms.length-1];
 			var url = wms.mapURL;
 			var wmsId = wms.wms_id;
+			var layerId = layer.layer_id;
 			if (!layer || !layer.layer_name) {
+				alert("No layer defined or layer is not named and cannot be requested!");
 				return;
 			}
+			var layerId = layer.layer_id;
 			var layerName = layer.layer_name;
 			
 			var layerParent = wms.checkLayerParentByLayerName(layerName); 
@@ -36,7 +39,8 @@
 				method: "saveLayerPreview",
 				parameters : { 
 					mapurl: url, 
-					wmsId: wmsId, 
+					wmsId: wmsId,
+					layerId: layerId, 
 					legendUrl: legendUrl, 
 					layerName: layerName
 				},

Modified: branches/2.7/http/plugins/mb_metadata_select.js
===================================================================
--- branches/2.7/http/plugins/mb_metadata_select.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_metadata_select.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -100,4 +100,4 @@
 
 $metadataSelect.mapbender(new MetadataSelectApi(options));
 
-$metadataSelect.mapbender("getData");
\ No newline at end of file
+$metadataSelect.mapbender("getData");

Modified: branches/2.7/http/plugins/mb_metadata_server.php
===================================================================
--- branches/2.7/http/plugins/mb_metadata_server.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_metadata_server.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -45,7 +45,7 @@
 		$wmsList = implode(",", $wmsIdArray);
 		$sql = <<<SQL
 	
-SELECT wms.wms_id, wms.wms_title, wms.wms_timestamp, wms_version, m.status_comment
+SELECT wms.wms_id, wms.wms_title, to_timestamp(wms.wms_timestamp),to_timestamp(wms.wms_timestamp_create), wms_version, m.status_comment, wms_id
 FROM wms LEFT JOIN mb_wms_availability AS m
 ON wms.wms_id = m.fkey_wms_id 
 WHERE wms_id IN ($wmsList);
@@ -54,11 +54,13 @@
 		$res = db_query($sql);
 		$resultObj = array(
 			"header" => array(
-				"WMS ID",
-				"Titel",
-				"Timestamp",
-				"Version",
-				"Status"
+				_mb("WMS ID"),
+				_mb("title"),
+				_mb("last change"),
+				_mb("creation"),
+				_mb("version"),
+				_mb("status"),
+				_mb("wms id")
 			), 
 			"data" => array()
 		);
@@ -97,7 +99,8 @@
 			"country", 
 			"contactelectronicmailaddress",
 			"wms_timestamp", 
-			"wms_timestamp_create"
+			"wms_timestamp_create",
+			"wms_network_access"
 		);
 
 		$resultObj = array();
@@ -152,7 +155,7 @@
 			$resultObj["wms_termsofuse"] = null;
 		}
 		
-
+		$resultObj['wms_network_access'] = $resultObj['wms_network_access'] == 1 ? true : false;
 		$ajaxResponse->setResult($resultObj);
 		$ajaxResponse->setSuccess(true);
 
@@ -340,7 +343,8 @@
 			"postcode", 
 			"country", 
 			"contactelectronicmailaddress",
-			"wms_termsofuse"
+			"wms_termsofuse",
+			"wms_network_access"
 		);
 		foreach ($columns as $c) {
 			$value = $data->wms->$c;
@@ -411,9 +415,12 @@
 				}
 			}
 		}
-
+		if ($wms->wms_network_access == "on") {
+			$wms->wms_network_access = intval('1');
+		} else {
+			$wms->wms_network_access = intval('0');
+		}
 		$wms->updateObjInDB($wmsId);
-
 		
 		$ajaxResponse->setMessage("Updated WMS metadata for ID " . $wmsId);
 		$ajaxResponse->setSuccess(true);		

Modified: branches/2.7/http/plugins/mb_metadata_wfs_edit.php
===================================================================
--- branches/2.7/http/plugins/mb_metadata_wfs_edit.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_metadata_wfs_edit.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -115,4 +115,8 @@
       	<td><input readonly="readonly" name="wfs_timestamp" id="wfs_timestamp"/>
       	<img class="metadata_img" title="<?php echo _mb("Inspire");?>" src="../img/misc/inspire_eu_klein.png" alt="" />
 	</p>
+<p>
+	  	<label for="wfs_network_access"><?php echo _mb("Restricted Network Access (Registry)");?>:</label>
+      	<input name="wfs_network_access" id="wfs_network_access" type="checkbox"/>
+	</p>
 </fieldset>

Modified: branches/2.7/http/plugins/mb_metadata_wmcPreview.php
===================================================================
--- branches/2.7/http/plugins/mb_metadata_wmcPreview.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_metadata_wmcPreview.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -3,7 +3,7 @@
 require_once(dirname(__FILE__)."/../classes/class_connector.php");
 require_once(dirname(__FILE__)."/../classes/class_administration.php");
 require_once(dirname(__FILE__)."/../classes/class_stripRequest.php");
-require_once(dirname(__FILE__)."/../classes/class_weldMaps2PNG.php");
+require_once(dirname(__FILE__)."/../classes/class_weldMaps2JPEG.php");
 
 $ajaxResponse  = new AjaxResponse($_REQUEST);
 
@@ -24,7 +24,7 @@
 
 switch ($ajaxResponse->getMethod()) {
 	case "saveWmcPreview":			
-		$img = new weldMaps2PNG(implode("___",$mapUrls), PREVIEW_DIR."/".$wmcId."_wmc_preview.png");
+		$img = new weldMaps2JPEG(implode("___",$mapUrls), PREVIEW_DIR."/".$wmcId."_wmc_preview.jpg");
 		if(!$img) {
 			$ajaxResponse->setSuccess(false);
 			$ajaxResponse->setMessage('Preview could not be created');
@@ -43,4 +43,4 @@
 		$ajaxResponse->setMessage("invalid method");
 }
 $ajaxResponse->send();
-?>
\ No newline at end of file
+?>

Deleted: branches/2.7/http/plugins/mb_print.js
===================================================================
--- branches/2.7/http/plugins/mb_print.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_print.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,565 +0,0 @@
-/**
- * Package: printPDF
- *
- * Description:
- * Mapbender print PDF with PDF templates module.
- * 
- * Files:
- *  - http/plugins/mb_print.php
- *  - http/print/classes
- *  - http/print/printFactory.php
- *  - http/print/printPDF_download.php
- *  - lib/printbox.js
- *
- * SQL:
- * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, 
- * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, 
- * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, 
- * > e_mb_mod, e_target, e_requires, e_url) VALUES('<appId>','printPDF',
- * > 2,1,'pdf print','Print','div','','',1,1,2,2,5,'',
- * > '<div id="printPDF_working_bg"></div><div id="printPDF_working"><img src="../img/indicator_wheel.gif" style="padding:10px 0 0 10px">Generating PDF</div><div id="printPDF_input"><form id="printPDF_form" action="../print/printFactory.php"><div id="printPDF_selector"></div><div class="print_option"><input type="hidden" id="map_url" name="map_url" value=""/><input type="hidden" id="legend_url" name="legend_url" value=""/><input type="hidden" id="overview_url" name="overview_url" value=""/><input type="hidden" id="map_scale" name="map_scale" value=""/><input type="hidden" name="measured_x_values" /><input type="hidden" name="measured_y_values" /><br /></div><div class="print_option" id="printPDF_formsubmit"><input id="submit" type="submit" value="Print"><br /></div></form><div id="printPDF_result"></div></div>',
- * > 'div','../plugins/mb_print.php',
- * > '../../lib/printbox.js,../extensions/jquery-ui-1.7.2.custom/development-bundle/external/bgiframe/jquery.bgiframe.min.js,../extensions/jquery.form.min.js',
- * > 'mapframe1','','http://www.mapbender.org/index.php/Print');
- * >
- * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, 
- * > var_value, context, var_type) VALUES('<appId>', 'printPDF', 
- * > 'mbPrintConfig', '{"Standard": "mapbender_template.json"}', '' ,'var');
- * >
- * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, 
- * > var_value, context, var_type) VALUES('<appId>', 'body', 
- * > 'print_css', '../css/print_div.css', '' ,'file/css');
- * 
- * Help:
- * http://www.mapbender.org/PrintPDF_with_template
- *
- * Maintainer:
- * http://www.mapbender.org/User:Michael_Schulz
- * http://www.mapbender.org/User:Christoph_Baudson
- * 
- * Parameters:
- * mbPrintConfig      - *[optional]* object with name and filename of template,
- * 							like 	{
- * 										"Standard": "a_template.json",
- * 										"Different": "another_template.json"
- * 									}
- *
- * License:
- * Copyright (c) 2009, Open Source Geospatial Foundation
- * This program is dual licensed under the GNU General Public License 
- * and Simplified BSD license.  
- * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
- */
-
-var myTarget = options.target ? options.target[0] : "mapframe1";
-var myId = options ? options.id : "printPDF";
-
-var mbPrintConfig = options.mbPrintConfig;
-
-/* the array of json print config files */
-
-if (typeof mbPrintConfig === "object") {
-	mbPrintConfigFilenames = [];
-	mbPrintConfigTitles = [];
-	for (var i in mbPrintConfig) {
-		mbPrintConfigFilenames.push(mbPrintConfig[i]);
-		mbPrintConfigTitles.push(i);
-	}
-}
-if (typeof mbPrintConfigFilenames === "undefined") {
-	mbPrintConfigFilenames = ["mapbender_template.json"];
-}
-
-if (typeof mbPrintConfigTitles === "undefined") {
-	mbPrintConfigTitles = ["Default"];
-}
-
-
-var mbPrintConfigPath = "../print/";
-
-
-/* ------------- printbox addition ------------- */
-
-var PrintPDF = function (options) {
-
-	var that = this;
-	
-	/**
- 	 * Property: actualConfig
-	 * 
-	 * object, holds the actual configuration after loading the json file
-	 */
-	var actualConfig;
-
-	/**
- 	 * constructor
-	 */
-	eventInit.register(function () {
-		mod_printPDF_init();
-	});
-	
-	/**
- 	 * Property: printBox
-	 * 
-	 * the movable printframe
-	 */	
-	var printBox = null;
-	
-	eventAfterMapRequest.register(function () {
-		if (printBox !== null) {
-			printBox.repaint();
-		}
-	});
-	/**
- 	 * Method: createPrintBox
-	 * 
-	 * creates a printBox in the current view, calculates the scale 
-	 * (tbd. if not set from the config) so that the printbox fits in the mapframe.
-	 * Width and height are taken from the configuration.
-	 */
-	this.createPrintBox = function () {
-		size = "A4";
-		//document.form1.size.value = size;
-		format = "portrait";
-		var w, h;
-		//validate();
-		var map = getMapObjByName(myTarget);
-		var map_el = map.getDomElement();
-		var jqForm = $("#"+myId+"_form");
-		var $scaleInput = $("#scale");
-
-		if (printBox !== null) {
-			printBox.destroy();
-			printBox = null;
-			jqForm[0].scale.value = "";
-			jqForm[0].coordinates.value = "";
-			jqForm[0].angle.value = "";
-		}
-		else {
-			printBox = new Mapbender.PrintBox({
-				target : myTarget,
-				printWidth : getPDFMapSize("width")/10,
-				printHeight : getPDFMapSize("height")/10,
-				scale : $scaleInput.size() > 0 && !isNaN(parseInt($scaleInput.val(), 10)) ? 
-					parseInt($scaleInput.val(), 10) : 
-					Math.pow(10, Math.floor(Math.log(map.getScale())/Math.LN10)),
-				afterChangeAngle : function (obj) {
-					if (typeof(obj) == "object") {
-						if (typeof(obj.angle) == "number") {
-							jqForm[0].angle.value = obj.angle;
-						}
-						if (obj.coordinates) {
-							jqForm[0].coordinates.value = String(obj.coordinates);
-						}
-					}
-				},
-				afterChangeSize : function (obj) {
-					if (typeof(obj) == "object") {
-						if (obj.scale) {
-							jqForm[0].scale.value = parseInt(obj.scale / 10, 10) * 10;
-						}
-						if (obj.coordinates) {
-							jqForm[0].coordinates.value = String(obj.coordinates);
-						}
-					}
-				}
-			});
-			printBox.paintPoints();
-			printBox.paintBox();
-
-		}
-	};
-
-	/**
- 	 * Method: getPDFMapSize
-	 * 
-	 * checks the actual config for the size w/h values.
-	 *
-	 * Parameters:
-	 * key      - string, the key which value to retrieve (currently width or height)
-	 */	
-	var getPDFMapSize = function (key) {
-		for (var page in actualConfig.pages) {
-			for (var pageElement in actualConfig.pages[page].elements) {
-				if (actualConfig.pages[page].elements[pageElement].type == "map") {
-					return actualConfig.pages[page].elements[pageElement][key];
-				}
-			}
-		} 
-	};
-
-	/**
- 	 * Method: destroyPrintBox
-	 * 
-	 * removes an existing printBox.
-	 */	
-	var destroyPrintBox = function () {
-		if (printBox) {
-			printBox.destroy();
-		}
-	};
-	
-	/**
- 	 * Method: mod_printPDF_init
-	 * 
-	 * initializes the print modules, generates template chooser and loads first configuration.
-	 */	
-	var mod_printPDF_init = function () {
-		/* first we'd need to build the configuration selection */
-		buildConfigSelector();	
-		/* second we'd need to read the json configuration */
-		that.loadConfig(mbPrintConfigFilenames[0]);
-	};
-
-	/**
- 	 * Method: loadConfig
-	 * 
-	 * GETs the config, build corresponding form, remove an existing printBox
-	 */		
-	this.loadConfig = function (configFilename, callback) {
-		$.get(mbPrintConfigPath + configFilename, function(json, status){
-		    actualConfig = $.parseJSON(json);
-		    buildForm(); 
-		    hookForm();
-			if (typeof callback === "function") {
-				printBox = null;
-				callback();
-			}
-		});
-		destroyPrintBox();
-	};
-
-	/**
- 	 * Method: hookForm
-	 * 
-	 * utility method to connect the form plugin to the print form.
-	 */	
-	var hookForm = function () {
-		var o = {
-	   		url:			'../print/printFactory.php', 
-	   		type:			'post',
-	   		dataType:		'json',
-	   		beforeSubmit: 	validate,
-	   		success:    	showResult
-		};
-		$("#"+myId+"_form").ajaxForm(o);
-	};
-	
-	/**
-	 * Change status of the working elements. These should begin with "$myId_working" 
-	 *
-	 * @param {String} newStatus either "hide or "show"
-	 */
-	var showHideWorking = function (newStatus) {
-		if (newStatus=="hide") {
-	    	$("[id^='"+myId+"_working']").hide();
-		}
-	    else {
-	    	$("[id^='"+myId+"_working']").show();	
-		}
-	};
-	
-	/**
-	 * update form values helper function
-	 *
-	 */
-	var updateFormField = function (formData, key, value) {
-		for(var j=0; j < formData.length; j++){
-			if (formData[j].name == key) {
-				formData[j].value = value;
-				break;
-			}
-		}	
-	};
-
-	var getCurrentResolution = function (type) {
-
-		// default resolution is 72 dpi
-		var dpi = 72;
-
-		// set resolution according to map configuration in template
-		for (var i in actualConfig.pages) {
-			var page = actualConfig.pages[i];
-			for (var j in page.elements) {
-				var el = page.elements[j];
-				if (type === el.type && typeof el.res_dpi === "number") {
-					dpi = el.res_dpi;
-				}
-			}
-		}
-		// set resolution according to resolution select box (if present)
-
-		// check if hq print is requested
-		var resolutionControl = null;
-		for (var i in actualConfig.controls) {
-			var c = actualConfig.controls[i];
-			try {
-				for (var j in c.pageElementsLink) {
-					if (c.pageElementsLink[j] === "res_dpi") {
-						resolutionControl = typeof c.id === "string" &&
-							c.id.length > 0 ? $("#" + c.id) : null;
-					}
-				}
-			}
-			catch (e) {
-			}
-		}
-		if (resolutionControl !== null && resolutionControl.size() === 1) {
-			dpi = resolutionControl.val();
-		}
-		return parseInt(dpi, 10);
-	};
-
-	var replaceMapFileForHighQualityPrint = function (currentMapUrl, type) {
-		var dpi = getCurrentResolution(type);
-		// replace map file with hq map file (if configured)
-		var hqmapfiles = $.isArray(options.highqualitymapfiles) ?
-			options.highqualitymapfiles : [];
-		for (var i = 0; i < hqmapfiles.length; i++) {
-			var exp = new RegExp(hqmapfiles[i].pattern);
-			if (hqmapfiles[i].pattern && typeof currentMapUrl === "string" && currentMapUrl.match(exp)) {
-				// check if mapping in current resolution exists
-				var resolutions = hqmapfiles[i].replacement;
-				var resolutionExists = false;
-				for (var r in resolutions) {
-					if (parseInt(r, 10) === dpi) {
-						resolutionExists = true;
-					}
-				}
-				if (resolutionExists) {
-					// replace with hqmapfile
-					var hqmapfile = resolutions[dpi];
-					currentMapUrl = currentMapUrl.replace(exp, hqmapfile);
-				}
-			}
-		}
-		return currentMapUrl;
-	};
-
-	/**
-	 * Validates and updates form data values.
-	 * Adds the elements before the submit button.
-	 *
-	 * @see jquery.forms#beforeSubmitHandler
-	 */
-	var validate = function (formData, jqForm, params) {
-		showHideWorking("show");
-		
-		// map urls
-		var ind = getMapObjIndexByName(myTarget);
-		var f = jqForm[0];
-		f.map_url.value = '';
-		
-		var scale = f.scale.value || mb_mapObj[ind].getScale();
-		scale = parseInt(scale, 10);
-		
-		var legendUrlArray = [];
-		f.overview_url.value = '';
-		for(var i=0; i < mb_mapObj[ind].wms.length; i++){
-			var currentWms = mb_mapObj[ind].wms[i];
-			if(mb_mapObj[ind].wms[i].gui_wms_visible > 0){
-				if (mb_mapObj[ind].wms[i].mapURL != false && mb_mapObj[ind].wms[i].mapURL != 'false' && mb_mapObj[ind].wms[i].mapURL != ''){   
-					if(f.map_url.value != ""){
-						f.map_url.value += '___';
-					}      
-					var currentMapUrl = mb_mapObj[ind].getMapUrl(i, mb_mapObj[ind].getExtentInfos(), scale);
-					
-					currentMapUrl = replaceMapFileForHighQualityPrint(currentMapUrl, "map");
-					f.map_url.value += currentMapUrl
-
-					var wmsLegendObj = [];
-					
-					var layers = currentWms.getLayers(mb_mapObj[ind], scale);
-					for (var j = 0; j < layers.length; j++) {
-						var currentLayer = currentWms.getLayerByLayerName(layers[j]);
-						// TODO: add only visible layers
-						var isVisible = (currentLayer.gui_layer_visible === 1);
-						var hasNoChildren = (!currentLayer.has_childs);
-						if (isVisible && hasNoChildren){
-							var layerLegendObj = {};
-							layerLegendObj.name = currentLayer.layer_name;
-							layerLegendObj.title = currentWms.getTitleByLayerName(currentLayer.layer_name);
-							var layerStyle = currentWms.getCurrentStyleByLayerName(currentLayer.layer_name);
-							if (layerStyle === false) {
-								layerStyle = "default";
-							}
-							layerLegendObj.legendUrl = currentWms.getLegendUrlByGuiLayerStyle(currentLayer.layer_name, layerStyle);
-							if (layerLegendObj.legendUrl !== false) {
-								wmsLegendObj.push(layerLegendObj);
-							}
-						}
-					}
-					if (wmsLegendObj.length > 0) {
-						var tmpObj = {};
-						tmpObj[currentWms.wms_currentTitle] = wmsLegendObj;
-						legendUrlArray.push(tmpObj);
-					}
-				}
-			}
-		}
-		updateFormField(formData, "legend_url", $.toJSON(legendUrlArray));
-		updateFormField(formData, "map_url", f.map_url.value);
-		updateFormField(formData, "scale", scale);
-		
-		//overview_url
-		var ind_overview = getMapObjIndexByName('overview');
-		if(mb_mapObj[ind_overview].mapURL != false ){
-		    var overviewUrl = mb_mapObj[ind_overview].mapURL;
-			overviewUrl = $.isArray(overviewUrl) ? overviewUrl[0] : overviewUrl;
-
-		    f.overview_url.value = replaceMapFileForHighQualityPrint(overviewUrl, "overview");
-
-			updateFormField(formData, "overview_url", f.overview_url.value);
-		}
-		
-		updateFormField(formData, "map_scale", mb_getScale(myTarget));
-		// write the measured coordinates
-		if (typeof(mod_measure_RX) !== "undefined") {
-			var tmp_x = '';
-			var tmp_y = '';
-			for(i = 0; i < mod_measure_RX.length; i++) {
-				if(tmp_x != '') {
-					tmp_x += ',';
-				}
-				tmp_x += mod_measure_RX[i];
-			}
-			for(i = 0; i < mod_measure_RY.length; i++) {
-				if(tmp_y != '') {
-					tmp_y += ',';
-				}
-				tmp_y += mod_measure_RY[i];
-			}
-			updateFormField(formData, "measured_x_values", tmp_x);
-			updateFormField(formData, "measured_y_values", tmp_y);
-		}	
-		
-		
-		if (f.map_url.value!="") {
-			//return true;
-		} else {
-		    showHideWorking("hide");
-			return false;
-		}
-	};
-
-	/**
- 	 * Method: showResult
-	 * 
-	 * load the generated PDF from the returned URL as an attachment, 
-	 * that triggers a download popup or is displayed in PDF plugin.
-	 */		
-	var showResult = function (res, text) {
-		if (text == 'success') {
-			var $downloadFrame = $("#" + myId + "_frame");
-			if ($downloadFrame.size() === 0) {
-				$downloadFrame = $(
-					"<iframe id='" + myId + "_frame' name='" + 
-					myId + "_frame' width='0' height='0' style='display:none'></iframe>"
-				).appendTo("body");
-			}
-			if ($.browser.msie && $.browser.version === "6.0") {
-				var newWin = window.open(stripslashes(res.outputFileName), "Druckausgabe", "width=200,height=200,left=700,top=200,resizable=yes");
-			}
-			else {
-				window.frames[myId + "_frame"].location.href = 
-					stripslashes(res.outputFileName);
-			}
-			showHideWorking("hide");	
-		}
-		else {
-			/* something went wrong */
-			$("#"+myId+"_result").html(text);
-		}
-	};
-	
-	/**
-	 * Generates form elements as specified in the config controls object.
-	 * Adds the elements before the submit button.
-	 * 
-	 * @param {Object} json the config object in json
-	 */
-	var buildForm = function () {
-		$(".print_option_dyn").remove();
-		var str = "";
-		for (var item in actualConfig.controls) {
-			var element = actualConfig.controls[item];
-			var element_id = myId + "_" + element.id;
-			if (element.type != "hidden") {
-				str += '<div class="print_option_dyn">\n';	
-				str += '<label class="print_label" for="'+element.id+'">'+element.label+'</label>\n';
-			} else {
-				str += '<div class="print_option_dyn" style="display:none;">\n';	
-			}
-			switch (element.type) {
-				case "text":
-					str += '<input type="'+element.type+'" name="'+element.id+'" id="'+element.id+'" size="'+element.size+'"><br>\n';
-					break;
-				case "hidden":
-					str += '<input type="'+element.type+'" name="'+element.id+'" id="'+element.id+'">\n';
-					break;				
-				case "textarea":
-					str += '<textarea id="'+element.id+'" name="'+element.id+'" size="'+element.size+'"></textarea><br>\n';
-					break;				
-				case "select":
-					str += '<select id="'+element.id+'" name="'+element.id+'" size="1">\n';
-					for (var option_index in element.options) {
-						option = element.options[option_index];
-						str += '<option value="'+option.value+'">'+option.label+'</option>\n';
-					}
-					str += '</select><br>\n';
-					break;
-			}
-			str += '</div>\n';
-		}
-		if (str) {
-			$("#" + myId + "_formsubmit").before(str);
-			$("#scale").keydown(function (e) {
-				if (e.keyCode !== 13) {
-					return;
-				}
-				var scale = parseInt(this.value, 10);
-				if (isNaN(scale) || typeof printBox === "undefined") {
-					return false;
-				}
-				printBox.setScale(scale);
-				return false;
-			});
-		}
-	};
-	
-	/**
-	 * Generates the configuration select element from the gui element vars
-	 * mbPrintConfigFilenames and mbPrintConfigTitles
-	 */
-	var buildConfigSelector = function () {
-		var str = "";
-		str += '<label class="print_label" for="printPDF_template">Vorlage</label>\n';
-		str += '<select id="printPDF_template" name="printPDF_template" size="1">\n';
-		for (var i = 0; i < mbPrintConfigFilenames.length; i++) {
-			str += '<option value="'+mbPrintConfigFilenames[i]+'">'+mbPrintConfigTitles[i]+'</option>\n';
-		}
-		str += '</select><img id="printPDF_handle" src="../print/img/shape_handles.png" title="Use printbox">\n';
-		if (str) {
-			$("#printPDF_selector").append(str).find("#printPDF_template").change(function () {
-				printObj.loadConfig(mbPrintConfigFilenames[this.selectedIndex], function () {
-					printObj.createPrintBox()
-				});			
-			});
-			$("#printPDF_handle").click(function () {
-				printObj.createPrintBox();
-			});
-			$("#printPDF_working").bgiframe({ 
-				src: "BLOCKED SCRIPT'&lt;html&gt;&lt;/html&gt;';",
-				width: 200,
-				height: 200
-			});
-		}
-	};
-	
-	var stripslashes = function ( str ) {
-	    return (str+'').replace(/\0/g, '0').replace(/\\([\\'"])/g, '$1');
-	};
-
-};
-
-var printObj = new PrintPDF(options);

Deleted: branches/2.7/http/plugins/mb_print.php
===================================================================
--- branches/2.7/http/plugins/mb_print.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_print.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,584 +0,0 @@
-/**
- * Package: printPDF
- *
- * Description:
- * Mapbender print PDF with PDF templates module.
- * 
- * Files:
- *  - http/plugins/mb_print.php
- *  - http/print/classes
- *  - http/print/printFactory.php
- *  - http/print/printPDF_download.php
- *  - lib/printbox.js
- *
- * SQL:
- * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, 
- * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, 
- * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, 
- * > e_mb_mod, e_target, e_requires, e_url) VALUES('<appId>','printPDF',
- * > 2,1,'pdf print','Print','div','','',1,1,2,2,5,'',
- * > '<div id="printPDF_working_bg"></div><div id="printPDF_working"><img src="../img/indicator_wheel.gif" style="padding:10px 0 0 10px">Generating PDF</div><div id="printPDF_input"><form id="printPDF_form" action="../print/printFactory.php"><div id="printPDF_selector"></div><div class="print_option"><input type="hidden" id="map_url" name="map_url" value=""/><input type="hidden" id="legend_url" name="legend_url" value=""/><input type="hidden" id="overview_url" name="overview_url" value=""/><input type="hidden" id="map_scale" name="map_scale" value=""/><input type="hidden" name="measured_x_values" /><input type="hidden" name="measured_y_values" /><br /></div><div class="print_option" id="printPDF_formsubmit"><input id="submit" type="submit" value="Print"><br /></div></form><div id="printPDF_result"></div></div>',
- * > 'div','../plugins/mb_print.php',
- * > '../../lib/printbox.js,../extensions/jquery-ui-1.7.2.custom/development-bundle/external/bgiframe/jquery.bgiframe.min.js,../extensions/jquery.form.min.js',
- * > 'mapframe1','','http://www.mapbender.org/index.php/Print');
- * >
- * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, 
- * > var_value, context, var_type) VALUES('<appId>', 'printPDF', 
- * > 'mbPrintConfig', '{"Standard": "mapbender_template.json"}', '' ,'var');
- * >
- * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, 
- * > var_value, context, var_type) VALUES('<appId>', 'body', 
- * > 'print_css', '../css/print_div.css', '' ,'file/css');
- * 
- * Help:
- * http://www.mapbender.org/PrintPDF_with_template
- *
- * Maintainer:
- * http://www.mapbender.org/User:Michael_Schulz
- * http://www.mapbender.org/User:Christoph_Baudson
- * 
- * Parameters:
- * mbPrintConfig      - *[optional]* object with name and filename of template,
- * 							like 	{
- * 										"Standard": "a_template.json",
- * 										"Different": "another_template.json"
- * 									}
- *
- * License:
- * Copyright (c) 2009, Open Source Geospatial Foundation
- * This program is dual licensed under the GNU General Public License 
- * and Simplified BSD license.  
- * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
- */
-
-var myTarget = options.target ? options.target[0] : "mapframe1";
-var myId = options ? options.id : "printPDF";
-
-var mbPrintConfig = options.mbPrintConfig;
-
-/* the array of json print config files */
-
-if (typeof mbPrintConfig === "object") {
-	mbPrintConfigFilenames = [];
-	mbPrintConfigTitles = [];
-	for (var i in mbPrintConfig) {
-		mbPrintConfigFilenames.push(mbPrintConfig[i]);
-		mbPrintConfigTitles.push(i);
-	}
-}
-if (typeof mbPrintConfigFilenames === "undefined") {
-	mbPrintConfigFilenames = ["mapbender_template.json"];
-}
-
-if (typeof mbPrintConfigTitles === "undefined") {
-	mbPrintConfigTitles = ["Default"];
-}
-
-
-var mbPrintConfigPath = "../print/";
-
-
-/* ------------- printbox addition ------------- */
-
-var PrintPDF = function (options) {
-
-	var that = this;
-	
-	/**
- 	 * Property: actualConfig
-	 * 
-	 * object, holds the actual configuration after loading the json file
-	 */
-	var actualConfig;
-
-	/**
- 	 * constructor
-	 */
-	eventInit.register(function () {
-		mod_printPDF_init();
-	});
-	
-	/**
- 	 * Property: printBox
-	 * 
-	 * the movable printframe
-	 */	
-	var printBox = null;
-	
-	eventAfterMapRequest.register(function () {
-		if (printBox !== null) {
-			printBox.repaint();
-		}
-	});
-	/**
- 	 * Method: createPrintBox
-	 * 
-	 * creates a printBox in the current view, calculates the scale 
-	 * (tbd. if not set from the config) so that the printbox fits in the mapframe.
-	 * Width and height are taken from the configuration.
-	 */
-	this.createPrintBox = function () {
-		size = "A4";
-		//document.form1.size.value = size;
-		format = "portrait";
-		var w, h;
-		//validate();
-		var map = getMapObjByName(myTarget);
-		var map_el = map.getDomElement();
-		var jqForm = $("#"+myId+"_form");
-		var $scaleInput = $("#scale");
-
-		if (printBox !== null) {
-			printBox.destroy();
-			printBox = null;
-			jqForm[0].scale.value = "";
-			jqForm[0].coordinates.value = "";
-			jqForm[0].angle.value = "";
-		}
-		else {
-			printBox = new Mapbender.PrintBox({
-				target : myTarget,
-				printWidth : getPDFMapSize("width")/10,
-				printHeight : getPDFMapSize("height")/10,
-				scale : $scaleInput.size() > 0 && !isNaN(parseInt($scaleInput.val(), 10)) ? 
-					parseInt($scaleInput.val(), 10) : 
-					Math.pow(10, Math.floor(Math.log(map.getScale())/Math.LN10)),
-				afterChangeAngle : function (obj) {
-					if (typeof(obj) == "object") {
-						if (typeof(obj.angle) == "number") {
-							jqForm[0].angle.value = obj.angle;
-						}
-						if (obj.coordinates) {
-							jqForm[0].coordinates.value = String(obj.coordinates);
-						}
-					}
-				},
-				afterChangeSize : function (obj) {
-					if (typeof(obj) == "object") {
-						if (obj.scale) {
-							jqForm[0].scale.value = parseInt(obj.scale / 10, 10) * 10;
-						}
-						if (obj.coordinates) {
-							jqForm[0].coordinates.value = String(obj.coordinates);
-						}
-					}
-				}
-			});
-			printBox.paintPoints();
-			printBox.paintBox();
-
-		}
-	};
-
-	/**
- 	 * Method: getPDFMapSize
-	 * 
-	 * checks the actual config for the size w/h values.
-	 *
-	 * Parameters:
-	 * key      - string, the key which value to retrieve (currently width or height)
-	 */	
-	var getPDFMapSize = function (key) {
-		for (var page in actualConfig.pages) {
-			for (var pageElement in actualConfig.pages[page].elements) {
-				if (actualConfig.pages[page].elements[pageElement].type == "map") {
-					return actualConfig.pages[page].elements[pageElement][key];
-				}
-			}
-		} 
-	};
-
-	/**
- 	 * Method: destroyPrintBox
-	 * 
-	 * removes an existing printBox.
-	 */	
-	var destroyPrintBox = function () {
-		if (printBox) {
-			printBox.destroy();
-		}
-	};
-	
-	/**
- 	 * Method: mod_printPDF_init
-	 * 
-	 * initializes the print modules, generates template chooser and loads first configuration.
-	 */	
-	var mod_printPDF_init = function () {
-		/* first we'd need to build the configuration selection */
-		buildConfigSelector();	
-		/* second we'd need to read the json configuration */
-		that.loadConfig(mbPrintConfigFilenames[0]);
-	};
-
-	/**
- 	 * Method: loadConfig
-	 * 
-	 * GETs the config, build corresponding form, remove an existing printBox
-	 */		
-	this.loadConfig = function (configFilename, callback) {
-		$.get(mbPrintConfigPath + configFilename, function(json, status){
-		    actualConfig = $.parseJSON(json);
-		    buildForm(); 
-		    hookForm();
-			if (typeof callback === "function") {
-				printBox = null;
-				callback();
-			}
-		});
-		destroyPrintBox();
-	};
-
-	/**
- 	 * Method: hookForm
-	 * 
-	 * utility method to connect the form plugin to the print form.
-	 */	
-	var hookForm = function () {
-		var o = {
-	   		url:			'../print/printFactory.php', 
-	   		type:			'post',
-	   		dataType:		'json',
-	   		beforeSubmit: 	validate,
-	   		success:    	showResult
-		};
-		$("#"+myId+"_form").ajaxForm(o);
-	};
-	
-	/**
-	 * Change status of the working elements. These should begin with "$myId_working" 
-	 *
-	 * @param {String} newStatus either "hide or "show"
-	 */
-	var showHideWorking = function (newStatus) {
-		if (newStatus=="hide") {
-	    	$("[id^='"+myId+"_working']").hide();
-		}
-	    else {
-	    	$("[id^='"+myId+"_working']").show();	
-		}
-	};
-	
-	/**
-	 * update form values helper function
-	 *
-	 */
-	var updateFormField = function (formData, key, value) {
-		for(var j=0; j < formData.length; j++){
-			if (formData[j].name == key) {
-				formData[j].value = value;
-				break;
-			}
-		}	
-	};
-
-	var getCurrentResolution = function (type) {
-
-		// default resolution is 72 dpi
-		var dpi = 72;
-
-		// set resolution according to map configuration in template
-		for (var i in actualConfig.pages) {
-			var page = actualConfig.pages[i];
-			for (var j in page.elements) {
-				var el = page.elements[j];
-				if (type === el.type && typeof el.res_dpi === "number") {
-					dpi = el.res_dpi;
-				}
-			}
-		}
-		// set resolution according to resolution select box (if present)
-
-		// check if hq print is requested
-		var resolutionControl = null;
-		for (var i in actualConfig.controls) {
-			var c = actualConfig.controls[i];
-			try {
-				for (var j in c.pageElementsLink) {
-					if (c.pageElementsLink[j] === "res_dpi") {
-						resolutionControl = typeof c.id === "string" &&
-							c.id.length > 0 ? $("#" + c.id) : null;
-					}
-				}
-			}
-			catch (e) {
-			}
-		}
-		if (resolutionControl !== null && resolutionControl.size() === 1) {
-			dpi = resolutionControl.val();
-		}
-		return parseInt(dpi, 10);
-	};
-
-	var replaceMapFileForHighQualityPrint = function (currentMapUrl, type) {
-		var dpi = getCurrentResolution(type);
-		// replace map file with hq map file (if configured)
-		var hqmapfiles = $.isArray(options.highqualitymapfiles) ?
-			options.highqualitymapfiles : [];
-		for (var i = 0; i < hqmapfiles.length; i++) {
-			var exp = new RegExp(hqmapfiles[i].pattern);
-			if (hqmapfiles[i].pattern && typeof currentMapUrl === "string" && currentMapUrl.match(exp)) {
-				// check if mapping in current resolution exists
-				var resolutions = hqmapfiles[i].replacement;
-				var resolutionExists = false;
-				for (var r in resolutions) {
-					if (parseInt(r, 10) === dpi) {
-						resolutionExists = true;
-					}
-				}
-				if (resolutionExists) {
-					// replace with hqmapfile
-					var hqmapfile = resolutions[dpi];
-					currentMapUrl = currentMapUrl.replace(exp, hqmapfile);
-				}
-			}
-		}
-		return currentMapUrl;
-	};
-
-	/**
-	 * Validates and updates form data values.
-	 * Adds the elements before the submit button.
-	 *
-	 * @see jquery.forms#beforeSubmitHandler
-	 */
-	var validate = function (formData, jqForm, params) {
-		showHideWorking("show");
-		
-		// map urls
-		var ind = getMapObjIndexByName(myTarget);
-		var f = jqForm[0];
-		f.map_url.value = '';
-		
-		var scale = f.scale.value || mb_mapObj[ind].getScale();
-		scale = parseInt(scale, 10);
-		
-		var legendUrlArray = [];
-		f.overview_url.value = '';
-		for(var i=0; i < mb_mapObj[ind].wms.length; i++){
-			var currentWms = mb_mapObj[ind].wms[i];
-			if(mb_mapObj[ind].wms[i].gui_wms_visible > 0){
-				if (mb_mapObj[ind].wms[i].mapURL != false && mb_mapObj[ind].wms[i].mapURL != 'false' && mb_mapObj[ind].wms[i].mapURL != ''){   
-					if(f.map_url.value != ""){
-						f.map_url.value += '___';
-					}      
-					var currentMapUrl = mb_mapObj[ind].getMapUrl(i, mb_mapObj[ind].getExtentInfos(), scale);
-					
-					currentMapUrl = replaceMapFileForHighQualityPrint(currentMapUrl, "map");
-					f.map_url.value += currentMapUrl
-
-					var wmsLegendObj = [];
-					
-					var layers = currentWms.getLayers(mb_mapObj[ind], scale);
-					for (var j = 0; j < layers.length; j++) {
-						var currentLayer = currentWms.getLayerByLayerName(layers[j]);
-						// TODO: add only visible layers
-						var isVisible = (currentLayer.gui_layer_visible === 1);
-						var hasNoChildren = (!currentLayer.has_childs);
-						if (isVisible && hasNoChildren){
-							var layerLegendObj = {};
-							layerLegendObj.name = currentLayer.layer_name;
-							layerLegendObj.title = currentWms.getTitleByLayerName(currentLayer.layer_name);
-							var layerStyle = currentWms.getCurrentStyleByLayerName(currentLayer.layer_name);
-							if (layerStyle === false) {
-								layerStyle = "default";
-							}
-							layerLegendObj.legendUrl = currentWms.getLegendUrlByGuiLayerStyle(currentLayer.layer_name, layerStyle);
-							if (layerLegendObj.legendUrl !== false) {
-								wmsLegendObj.push(layerLegendObj);
-							}
-						}
-					}
-					if (wmsLegendObj.length > 0) {
-						var tmpObj = {};
-						tmpObj[currentWms.wms_currentTitle] = wmsLegendObj;
-						legendUrlArray.push(tmpObj);
-					}
-				}
-			}
-		}
-		updateFormField(formData, "legend_url", $.toJSON(legendUrlArray));
-		updateFormField(formData, "map_url", f.map_url.value);
-		updateFormField(formData, "scale", scale);
-		
-		//overview_url
-		var ind_overview = getMapObjIndexByName('overview');
-		if(mb_mapObj[ind_overview].mapURL != false ){
-		    var overviewUrl = mb_mapObj[ind_overview].mapURL;
-			overviewUrl = $.isArray(overviewUrl) ? overviewUrl[0] : overviewUrl;
-
-		    f.overview_url.value = replaceMapFileForHighQualityPrint(overviewUrl, "overview");
-
-			updateFormField(formData, "overview_url", f.overview_url.value);
-		}
-		
-		updateFormField(formData, "map_scale", mb_getScale(myTarget));
-		// write the measured coordinates
-		if (typeof(mod_measure_RX) !== "undefined") {
-			var tmp_x = '';
-			var tmp_y = '';
-			for(i = 0; i < mod_measure_RX.length; i++) {
-				if(tmp_x != '') {
-					tmp_x += ',';
-				}
-				tmp_x += mod_measure_RX[i];
-			}
-			for(i = 0; i < mod_measure_RY.length; i++) {
-				if(tmp_y != '') {
-					tmp_y += ',';
-				}
-				tmp_y += mod_measure_RY[i];
-			}
-			updateFormField(formData, "measured_x_values", tmp_x);
-			updateFormField(formData, "measured_y_values", tmp_y);
-		}	
-		
-		
-		if (f.map_url.value!="") {
-			//return true;
-		} else {
-		    showHideWorking("hide");
-			return false;
-		}
-	};
-
-	/**
- 	 * Method: showResult
-	 * 
-	 * load the generated PDF from the returned URL as an attachment, 
-	 * that triggers a download popup or is displayed in PDF plugin.
-	 */		
-	var showResult = function (res, text) {
-		if (text == 'success') {
-			var $downloadFrame = $("#" + myId + "_frame");
-			if ($downloadFrame.size() === 0) {
-				$downloadFrame = $(
-					"<iframe id='" + myId + "_frame' name='" + 
-					myId + "_frame' width='0' height='0' style='display:none'></iframe>"
-				).appendTo("body");
-			}
-			if ($.browser.msie && $.browser.version === "6.0") {
-				var newWin = window.open(stripslashes(res.outputFileName), "<?php echo htmlentities(_mb("print document"), ENT_QUOTES, "UTF-8");?>", "width=200,height=200,left=700,top=200,resizable=yes");
-			}
-			else {
-				window.frames[myId + "_frame"].location.href = 
-					stripslashes(res.outputFileName);
-			}
-			showHideWorking("hide");	
-		}
-		else {
-			/* something went wrong */
-			$("#"+myId+"_result").html(text);
-		}
-	};
-	
-	/**
-	 * Generates form elements as specified in the config controls object.
-	 * Adds the elements before the submit button.
-	 * 
-	 * @param {Object} json the config object in json
-	 */
-	var buildForm = function () {
-		$(".print_option_dyn").remove();
-		var str = "";
-		for (var item in actualConfig.controls) {
-			var element = actualConfig.controls[item];
-			var element_id = myId + "_" + element.id;
-			if (element.type != "hidden") {
-				str += '<div class="print_option_dyn">\n';	
-				str += '<label class="print_label" for="'+element.id+'">'+element.label+'</label>\n';
-			} else {
-				str += '<div class="print_option_dyn" style="display:none;">\n';	
-			}
-			switch (element.type) {
-				case "text":
-					str += '<input type="'+element.type+'" name="'+element.id+'" id="'+element.id+'" size="'+element.size+'"><br>\n';
-					break;
-				case "hidden":
-					str += '<input type="'+element.type+'" name="'+element.id+'" id="'+element.id+'">\n';
-					break;				
-				case "textarea":
-					str += '<textarea id="'+element.id+'" name="'+element.id+'" size="'+element.size+'"></textarea><br>\n';
-					break;				
-				case "select":
-					str += '<select id="'+element.id+'" name="'+element.id+'" size="1">\n';
-					for (var option_index in element.options) {
-						option = element.options[option_index];
-						str += '<option value="'+option.value+'">'+option.label+'</option>\n';
-					}
-					str += '</select><br>\n';
-					break;
-			}
-			str += '</div>\n';
-		}
-		if (str) {
-			$("#" + myId + "_formsubmit").before(str);
-			$("#scale").keydown(function (e) {
-				if (e.keyCode === 13) {
-					return false;
-				}
-			}).keyup(function (e) {
-				if (e.keyCode === 13) {
-					return false;
-				}
-				var scale = parseInt(this.value, 10);
-				if (isNaN(scale) || typeof printBox === "undefined") {
-					return true;
-				}
-				printBox.setScale(scale);
-				return true;
-			});
-			$("#angle").keydown(function (e) {
-				if (e.keyCode === 13) {
-					return false;
-				}
-			}).keyup(function (e) {
-				if (e.keyCode === 13) {
-					return false;
-				}
-				var angle = parseInt(this.value, 10);
-				if (isNaN(angle) || typeof printBox === "undefined") {
-					return true;
-				}
-				printBox.setAngle(angle);
-				return true;
-			});
-		}
-	};
-	
-	/**
-	 * Generates the configuration select element from the gui element vars
-	 * mbPrintConfigFilenames and mbPrintConfigTitles
-	 */
-	var buildConfigSelector = function () {
-		var str = "";
-		str += '<label class="print_label" for="printPDF_template">Vorlage</label>\n';
-		str += '<select id="printPDF_template" name="printPDF_template" size="1">\n';
-		for (var i = 0; i < mbPrintConfigFilenames.length; i++) {
-			str += '<option value="'+mbPrintConfigFilenames[i]+'">'+mbPrintConfigTitles[i]+'</option>\n';
-		}
-		str += '</select><img id="printPDF_handle" src="../print/img/shape_handles.png" title="<?php echo htmlentities(_mb("use print box"), ENT_QUOTES, "UTF-8");?>">\n';
-		if (str) {
-			$("#printPDF_selector").append(str).find("#printPDF_template").change(function () {
-				printObj.loadConfig(mbPrintConfigFilenames[this.selectedIndex], function () {
-					printObj.createPrintBox()
-				});			
-			});
-			$("#printPDF_handle").click(function () {
-				printObj.createPrintBox();
-			});
-			$("#printPDF_working").bgiframe({ 
-				src: "BLOCKED SCRIPT'&lt;html&gt;&lt;/html&gt;';",
-				width: 200,
-				height: 200
-			});
-		}
-	};
-	
-	var stripslashes = function ( str ) {
-	    return (str+'').replace(/\0/g, '0').replace(/\\([\\'"])/g, '$1');
-	};
-
-};
-
-var printObj = new PrintPDF(options);

Copied: branches/2.7/http/plugins/mb_print.php (from rev 7548, trunk/mapbender/http/plugins/mb_print.php)
===================================================================
--- branches/2.7/http/plugins/mb_print.php	                        (rev 0)
+++ branches/2.7/http/plugins/mb_print.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,587 @@
+/**
+ * Package: printPDF
+ *
+ * Description:
+ * Mapbender print PDF with PDF templates module.
+ * 
+ * Files:
+ *  - http/plugins/mb_print.php
+ *  - http/print/classes
+ *  - http/print/printFactory.php
+ *  - http/print/printPDF_download.php
+ *  - lib/printbox.js
+ *
+ * SQL:
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, 
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, 
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, 
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES('<appId>','printPDF',
+ * > 2,1,'pdf print','Print','div','','',1,1,2,2,5,'',
+ * > '<div id="printPDF_working_bg"></div><div id="printPDF_working"><img src="../img/indicator_wheel.gif" style="padding:10px 0 0 10px">Generating PDF</div><div id="printPDF_input"><form id="printPDF_form" action="../print/printFactory.php"><div id="printPDF_selector"></div><div class="print_option"><input type="hidden" id="map_url" name="map_url" value=""/><input type="hidden" id="legend_url" name="legend_url" value=""/><input type="hidden" id="overview_url" name="overview_url" value=""/><input type="hidden" id="map_scale" name="map_scale" value=""/><input type="hidden" name="measured_x_values" /><input type="hidden" name="measured_y_values" /><br /></div><div class="print_option" id="printPDF_formsubmit"><input id="submit" type="submit" value="Print"><br /></div></form><div id="printPDF_result"></div></div>',
+ * > 'div','../plugins/mb_print.php',
+ * > '../../lib/printbox.js,../extensions/jquery-ui-1.7.2.custom/development-bundle/external/bgiframe/jquery.bgiframe.min.js,../extensions/jquery.form.min.js',
+ * > 'mapframe1','','http://www.mapbender.org/index.php/Print');
+ * >
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, 
+ * > var_value, context, var_type) VALUES('<appId>', 'printPDF', 
+ * > 'mbPrintConfig', '{"Standard": "mapbender_template.json"}', '' ,'var');
+ * >
+ * > INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, 
+ * > var_value, context, var_type) VALUES('<appId>', 'body', 
+ * > 'print_css', '../css/print_div.css', '' ,'file/css');
+ * 
+ * Help:
+ * http://www.mapbender.org/PrintPDF_with_template
+ *
+ * Maintainer:
+ * http://www.mapbender.org/User:Michael_Schulz
+ * http://www.mapbender.org/User:Christoph_Baudson
+ * 
+ * Parameters:
+ * mbPrintConfig      - *[optional]* object with name and filename of template,
+ * 							like 	{
+ * 										"Standard": "a_template.json",
+ * 										"Different": "another_template.json"
+ * 									}
+ *
+ * License:
+ * Copyright (c) 2009, Open Source Geospatial Foundation
+ * This program is dual licensed under the GNU General Public License 
+ * and Simplified BSD license.  
+ * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
+ */
+
+var myTarget = options.target ? options.target[0] : "mapframe1";
+var myId = options ? options.id : "printPDF";
+
+var mbPrintConfig = options.mbPrintConfig;
+
+/* the array of json print config files */
+
+if (typeof mbPrintConfig === "object") {
+	mbPrintConfigFilenames = [];
+	mbPrintConfigTitles = [];
+	for (var i in mbPrintConfig) {
+		mbPrintConfigFilenames.push(mbPrintConfig[i]);
+		mbPrintConfigTitles.push(i);
+	}
+}
+if (typeof mbPrintConfigFilenames === "undefined") {
+	mbPrintConfigFilenames = ["mapbender_template.json"];
+}
+
+if (typeof mbPrintConfigTitles === "undefined") {
+	mbPrintConfigTitles = ["Default"];
+}
+
+
+var mbPrintConfigPath = "../print/";
+
+
+/* ------------- printbox addition ------------- */
+
+var PrintPDF = function (options) {
+
+	var that = this;
+	
+	/**
+ 	 * Property: actualConfig
+	 * 
+	 * object, holds the actual configuration after loading the json file
+	 */
+	var actualConfig;
+
+	/**
+ 	 * constructor
+	 */
+	eventInit.register(function () {
+		mod_printPDF_init();
+	});
+	
+	/**
+ 	 * Property: printBox
+	 * 
+	 * the movable printframe
+	 */	
+	var printBox = null;
+	
+	eventAfterMapRequest.register(function () {
+		if (printBox !== null) {
+			printBox.repaint();
+		}
+	});
+	/**
+ 	 * Method: createPrintBox
+	 * 
+	 * creates a printBox in the current view, calculates the scale 
+	 * (tbd. if not set from the config) so that the printbox fits in the mapframe.
+	 * Width and height are taken from the configuration.
+	 */
+	this.createPrintBox = function () {
+		size = "A4";
+		//document.form1.size.value = size;
+		format = "portrait";
+		var w, h;
+		//validate();
+		var map = getMapObjByName(myTarget);
+		var map_el = map.getDomElement();
+		var jqForm = $("#"+myId+"_form");
+		var $scaleInput = $("#scale");
+
+		if (printBox !== null) {
+			printBox.destroy();
+			printBox = null;
+			jqForm[0].scale.value = "";
+			jqForm[0].coordinates.value = "";
+			jqForm[0].angle.value = "";
+		}
+		else {
+			printBox = new Mapbender.PrintBox({
+				target : myTarget,
+				printWidth : getPDFMapSize("width")/10,
+				printHeight : getPDFMapSize("height")/10,
+				scale : $scaleInput.size() > 0 && !isNaN(parseInt($scaleInput.val(), 10)) ? 
+					parseInt($scaleInput.val(), 10) : 
+					Math.pow(10, Math.floor(Math.log(map.getScale())/Math.LN10)),
+				afterChangeAngle : function (obj) {
+					if (typeof(obj) == "object") {
+						if (typeof(obj.angle) == "number") {
+							jqForm[0].angle.value = obj.angle;
+						}
+						if (obj.coordinates) {
+							jqForm[0].coordinates.value = String(obj.coordinates);
+						}
+					}
+				},
+				afterChangeSize : function (obj) {
+					if (typeof(obj) == "object") {
+						if (obj.scale) {
+							jqForm[0].scale.value = parseInt(obj.scale / 10, 10) * 10;
+						}
+						if (obj.coordinates) {
+							jqForm[0].coordinates.value = String(obj.coordinates);
+						}
+					}
+				}
+			});
+			printBox.paintPoints();
+			printBox.paintBox();
+
+		}
+	};
+
+	/**
+ 	 * Method: getPDFMapSize
+	 * 
+	 * checks the actual config for the size w/h values.
+	 *
+	 * Parameters:
+	 * key      - string, the key which value to retrieve (currently width or height)
+	 */	
+	var getPDFMapSize = function (key) {
+		for (var page in actualConfig.pages) {
+			for (var pageElement in actualConfig.pages[page].elements) {
+				if (actualConfig.pages[page].elements[pageElement].type == "map") {
+					return actualConfig.pages[page].elements[pageElement][key];
+				}
+			}
+		} 
+	};
+
+	/**
+ 	 * Method: destroyPrintBox
+	 * 
+	 * removes an existing printBox.
+	 */	
+	var destroyPrintBox = function () {
+		if (printBox) {
+			printBox.destroy();
+		}
+	};
+	
+	/**
+ 	 * Method: mod_printPDF_init
+	 * 
+	 * initializes the print modules, generates template chooser and loads first configuration.
+	 */	
+	var mod_printPDF_init = function () {
+		/* first we'd need to build the configuration selection */
+		buildConfigSelector();	
+		/* second we'd need to read the json configuration */
+		that.loadConfig(mbPrintConfigFilenames[0]);
+	};
+
+	/**
+ 	 * Method: loadConfig
+	 * 
+	 * GETs the config, build corresponding form, remove an existing printBox
+	 */		
+	this.loadConfig = function (configFilename, callback) {
+		// the dataType to $.get is given explicitely, because there were instances of Mapbender that were returning 
+		// either json or a string, which trips up $.parseJSON which was being used in the callback
+		$.get(mbPrintConfigPath + configFilename, function(json, status){
+		    actualConfig = json;
+		    buildForm(); 
+		    hookForm();
+			if (typeof callback === "function") {
+				printBox = null;
+				callback();
+			}
+		},"json");
+		destroyPrintBox();
+	};
+
+	/**
+ 	 * Method: hookForm
+	 * 
+	 * utility method to connect the form plugin to the print form.
+	 */	
+	var hookForm = function () {
+		var o = {
+	   		url:			'../print/printFactory.php', 
+	   		type:			'post',
+	   		dataType:		'json',
+	   		beforeSubmit: 	validate,
+	   		success:    	showResult
+		};
+		$("#"+myId+"_form").ajaxForm(o);
+	};
+	
+	/**
+	 * Change status of the working elements. These should begin with "$myId_working" 
+	 *
+	 * @param {String} newStatus either "hide or "show"
+	 */
+	var showHideWorking = function (newStatus) {
+		if (newStatus=="hide") {
+	    	$("[id^='"+myId+"_working']").hide();
+		}
+	    else {
+	    	$("[id^='"+myId+"_working']").show();	
+		}
+	};
+	
+	/**
+	 * update form values helper function
+	 *
+	 */
+	var updateFormField = function (formData, key, value) {
+		for(var j=0; j < formData.length; j++){
+			if (formData[j].name == key) {
+				formData[j].value = value;
+				break;
+			}
+		}	
+	};
+
+	var getCurrentResolution = function (type) {
+
+		// default resolution is 72 dpi
+		var dpi = 72;
+
+		// set resolution according to map configuration in template
+		for (var i in actualConfig.pages) {
+			var page = actualConfig.pages[i];
+			for (var j in page.elements) {
+				var el = page.elements[j];
+				if (type === el.type && typeof el.res_dpi === "number") {
+					dpi = el.res_dpi;
+				}
+			}
+		}
+		// set resolution according to resolution select box (if present)
+
+		// check if hq print is requested
+		var resolutionControl = null;
+		for (var i in actualConfig.controls) {
+			var c = actualConfig.controls[i];
+			try {
+				for (var j in c.pageElementsLink) {
+					if (c.pageElementsLink[j] === "res_dpi") {
+						resolutionControl = typeof c.id === "string" &&
+							c.id.length > 0 ? $("#" + c.id) : null;
+					}
+				}
+			}
+			catch (e) {
+			}
+		}
+		if (resolutionControl !== null && resolutionControl.size() === 1) {
+			dpi = resolutionControl.val();
+		}
+		return parseInt(dpi, 10);
+	};
+
+	var replaceMapFileForHighQualityPrint = function (currentMapUrl, type) {
+		var dpi = getCurrentResolution(type);
+		// replace map file with hq map file (if configured)
+		var hqmapfiles = $.isArray(options.highqualitymapfiles) ?
+			options.highqualitymapfiles : [];
+		for (var i = 0; i < hqmapfiles.length; i++) {
+			var exp = new RegExp(hqmapfiles[i].pattern);
+			if (hqmapfiles[i].pattern && typeof currentMapUrl === "string" && currentMapUrl.match(exp)) {
+				// check if mapping in current resolution exists
+				var resolutions = hqmapfiles[i].replacement;
+				var resolutionExists = false;
+				for (var r in resolutions) {
+					if (parseInt(r, 10) === dpi) {
+						resolutionExists = true;
+					}
+				}
+				if (resolutionExists) {
+					// replace with hqmapfile
+					var hqmapfile = resolutions[dpi];
+					currentMapUrl = currentMapUrl.replace(exp, hqmapfile);
+				}
+			}
+		}
+		return currentMapUrl;
+	};
+
+	/**
+	 * Validates and updates form data values.
+	 * Adds the elements before the submit button.
+	 *
+	 * @see jquery.forms#beforeSubmitHandler
+	 */
+	var validate = function (formData, jqForm, params) {
+		showHideWorking("show");
+		
+		// map urls
+		var ind = getMapObjIndexByName(myTarget);
+		var f = jqForm[0];
+		f.map_url.value = '';
+		
+		var scale = f.scale.value || mb_mapObj[ind].getScale();
+		scale = parseInt(scale, 10);
+		
+		var legendUrlArray = [];
+		f.overview_url.value = '';
+		for(var i=0; i < mb_mapObj[ind].wms.length; i++){
+			var currentWms = mb_mapObj[ind].wms[i];
+			if(mb_mapObj[ind].wms[i].gui_wms_visible > 0){
+				if (mb_mapObj[ind].wms[i].mapURL != false && mb_mapObj[ind].wms[i].mapURL != 'false' && mb_mapObj[ind].wms[i].mapURL != ''){   
+					if(f.map_url.value != ""){
+						f.map_url.value += '___';
+					}      
+					var currentMapUrl = mb_mapObj[ind].getMapUrl(i, mb_mapObj[ind].getExtentInfos(), scale);
+					
+					currentMapUrl = replaceMapFileForHighQualityPrint(currentMapUrl, "map");
+					f.map_url.value += currentMapUrl
+
+					var wmsLegendObj = [];
+					
+					var layers = currentWms.getLayers(mb_mapObj[ind], scale);
+					for (var j = 0; j < layers.length; j++) {
+						var currentLayer = currentWms.getLayerByLayerName(layers[j]);
+						// TODO: add only visible layers
+						var isVisible = (currentLayer.gui_layer_visible === 1);
+						var hasNoChildren = (!currentLayer.has_childs);
+						if (isVisible && hasNoChildren){
+							var layerLegendObj = {};
+							layerLegendObj.name = currentLayer.layer_name;
+							layerLegendObj.title = currentWms.getTitleByLayerName(currentLayer.layer_name);
+							var layerStyle = currentWms.getCurrentStyleByLayerName(currentLayer.layer_name);
+							if (layerStyle === false) {
+								layerStyle = "default";
+							}
+							layerLegendObj.legendUrl = currentWms.getLegendUrlByGuiLayerStyle(currentLayer.layer_name, layerStyle);
+							if (layerLegendObj.legendUrl !== false) {
+								wmsLegendObj.push(layerLegendObj);
+							}
+						}
+					}
+					if (wmsLegendObj.length > 0) {
+						var tmpObj = {};
+						tmpObj[currentWms.wms_currentTitle] = wmsLegendObj;
+						legendUrlArray.push(tmpObj);
+					}
+				}
+			}
+		}
+		updateFormField(formData, "legend_url", $.toJSON(legendUrlArray));
+		updateFormField(formData, "map_url", f.map_url.value);
+		updateFormField(formData, "scale", scale);
+		
+		//overview_url
+		var ind_overview = getMapObjIndexByName('overview');
+		if(mb_mapObj[ind_overview].mapURL != false ){
+		    var overviewUrl = mb_mapObj[ind_overview].mapURL;
+			overviewUrl = $.isArray(overviewUrl) ? overviewUrl[0] : overviewUrl;
+
+		    f.overview_url.value = replaceMapFileForHighQualityPrint(overviewUrl, "overview");
+
+			updateFormField(formData, "overview_url", f.overview_url.value);
+		}
+		
+		updateFormField(formData, "map_scale", mb_getScale(myTarget));
+		// write the measured coordinates
+		if (typeof(mod_measure_RX) !== "undefined") {
+			var tmp_x = '';
+			var tmp_y = '';
+			for(i = 0; i < mod_measure_RX.length; i++) {
+				if(tmp_x != '') {
+					tmp_x += ',';
+				}
+				tmp_x += mod_measure_RX[i];
+			}
+			for(i = 0; i < mod_measure_RY.length; i++) {
+				if(tmp_y != '') {
+					tmp_y += ',';
+				}
+				tmp_y += mod_measure_RY[i];
+			}
+			updateFormField(formData, "measured_x_values", tmp_x);
+			updateFormField(formData, "measured_y_values", tmp_y);
+		}	
+		
+		
+		if (f.map_url.value!="") {
+			//return true;
+		} else {
+		    showHideWorking("hide");
+			return false;
+		}
+	};
+
+	/**
+ 	 * Method: showResult
+	 * 
+	 * load the generated PDF from the returned URL as an attachment, 
+	 * that triggers a download popup or is displayed in PDF plugin.
+	 */		
+	var showResult = function (res, text) {
+		if (text == 'success') {
+			var $downloadFrame = $("#" + myId + "_frame");
+			if ($downloadFrame.size() === 0) {
+				$downloadFrame = $(
+					"<iframe id='" + myId + "_frame' name='" + 
+					myId + "_frame' width='0' height='0' style='display:none'></iframe>"
+				).appendTo("body");
+			}
+			if ($.browser.msie && $.browser.version === "6.0") {
+				var newWin = window.open(stripslashes(res.outputFileName), "<?php echo htmlentities(_mb("print document"), ENT_QUOTES, "UTF-8");?>", "width=200,height=200,left=700,top=200,resizable=yes");
+			}
+			else {
+				window.frames[myId + "_frame"].location.href = 
+					stripslashes(res.outputFileName);
+			}
+			showHideWorking("hide");	
+		}
+		else {
+			/* something went wrong */
+			$("#"+myId+"_result").html(text);
+		}
+	};
+	
+	/**
+	 * Generates form elements as specified in the config controls object.
+	 * Adds the elements before the submit button.
+	 * 
+	 * @param {Object} json the config object in json
+	 */
+	var buildForm = function () {
+		$(".print_option_dyn").remove();
+		var str = "";
+		for (var item in actualConfig.controls) {
+			var element = actualConfig.controls[item];
+			var element_id = myId + "_" + element.id;
+			if (element.type != "hidden") {
+				str += '<div class="print_option_dyn">\n';	
+				str += '<label class="print_label" for="'+element.id+'">'+element.label+'</label>\n';
+			} else {
+				str += '<div class="print_option_dyn" style="display:none;">\n';	
+			}
+			switch (element.type) {
+				case "text":
+					str += '<input type="'+element.type+'" name="'+element.id+'" id="'+element.id+'" size="'+element.size+'"><br>\n';
+					break;
+				case "hidden":
+					str += '<input type="'+element.type+'" name="'+element.id+'" id="'+element.id+'">\n';
+					break;				
+				case "textarea":
+					str += '<textarea id="'+element.id+'" name="'+element.id+'" size="'+element.size+'"></textarea><br>\n';
+					break;				
+				case "select":
+					str += '<select id="'+element.id+'" name="'+element.id+'" size="1">\n';
+					for (var option_index in element.options) {
+						option = element.options[option_index];
+						str += '<option value="'+option.value+'">'+option.label+'</option>\n';
+					}
+					str += '</select><br>\n';
+					break;
+			}
+			str += '</div>\n';
+		}
+		if (str) {
+			$("#" + myId + "_formsubmit").before(str);
+			$("#scale").keydown(function (e) {
+				if (e.keyCode === 13) {
+					return false;
+				}
+			}).keyup(function (e) {
+				if (e.keyCode === 13) {
+					return false;
+				}
+				var scale = parseInt(this.value, 10);
+				if (isNaN(scale) || typeof printBox === "undefined") {
+					return true;
+				}
+				printBox.setScale(scale);
+				return true;
+			});
+			$("#angle").keydown(function (e) {
+				if (e.keyCode === 13) {
+					return false;
+				}
+			}).keyup(function (e) {
+				if (e.keyCode === 13) {
+					return false;
+				}
+				var angle = parseInt(this.value, 10);
+				if (isNaN(angle) || typeof printBox === "undefined") {
+					return true;
+				}
+				printBox.setAngle(angle);
+				return true;
+			});
+		}
+	};
+	
+	/**
+	 * Generates the configuration select element from the gui element vars
+	 * mbPrintConfigFilenames and mbPrintConfigTitles
+	 */
+	var buildConfigSelector = function () {
+		var str = "";
+		str += '<label class="print_label" for="printPDF_template">Vorlage</label>\n';
+		str += '<select id="printPDF_template" name="printPDF_template" size="1">\n';
+		for (var i = 0; i < mbPrintConfigFilenames.length; i++) {
+			str += '<option value="'+mbPrintConfigFilenames[i]+'">'+mbPrintConfigTitles[i]+'</option>\n';
+		}
+		str += '</select><img id="printPDF_handle" src="../print/img/shape_handles.png" title="<?php echo htmlentities(_mb("use print box"), ENT_QUOTES, "UTF-8");?>">\n';
+		if (str) {
+			$("#printPDF_selector").append(str).find("#printPDF_template").change(function () {
+				printObj.loadConfig(mbPrintConfigFilenames[this.selectedIndex], function () {
+					printObj.createPrintBox()
+				});			
+			});
+			$("#printPDF_handle").click(function () {
+				printObj.createPrintBox();
+			});
+			$("#printPDF_working").bgiframe({ 
+				src: "BLOCKED SCRIPT'&lt;html&gt;&lt;/html&gt;';",
+				width: 200,
+				height: 200
+			});
+		}
+	};
+	
+	var stripslashes = function ( str ) {
+	    return (str+'').replace(/\0/g, '0').replace(/\\([\\'"])/g, '$1');
+	};
+
+};
+
+var printObj = new PrintPDF(options);
+

Modified: branches/2.7/http/plugins/mb_resultList_DetailPopup.js
===================================================================
--- branches/2.7/http/plugins/mb_resultList_DetailPopup.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_resultList_DetailPopup.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -121,6 +121,9 @@
 				position : options.position
 			});
 			infoPopup.dialog("open");
+			$("#"+Mapbender.modules[options.target[0]].id).bind("dialogbeforeclose",function(){
+				infoPopup.dialog('close');
+			});
 		}
 		return false;
 	});

Modified: branches/2.7/http/plugins/mb_sessionWmc.js
===================================================================
--- branches/2.7/http/plugins/mb_sessionWmc.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/mb_sessionWmc.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -12,7 +12,7 @@
  *  - http/php/mod_sessionWmc_server.php
  *
  * SQL:
- * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('gui1','sessionWmc',1,1,'','Please confirm','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_sessionWmc.js','','','mapframe1','');
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('gui1','sessionWmc',2,1,'','Please confirm','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_sessionWmc.js','','','mapframe1','');
  *
  * Help:
  * http://www.mapbender.org/<wiki site name>
@@ -27,6 +27,27 @@
  * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
  */
 
+var originalI18nObject = {
+	"confirmationQuestion": "Should this services be loaded regardless?",
+	"goFurtherOn": "Continue",
+	"confirmationTitle": "Confirmation"
+};
+
+var translatedI18nObject = Mapbender.cloneObject(originalI18nObject);
+Mapbender.events.init.register(function () {
+	if(Mapbender.modules.i18n){	
+	Mapbender.modules.i18n.queue(options.id, originalI18nObject, function (translatedObject) {
+		if (typeof translatedObject !== "object") {
+			return;
+		}
+		translatedI18nObject = translatedObject;
+	});
+	//Mapbender.modules.i18n.localize(Mapbender.languageId);
+}
+	
+});
+
+
 var $sessionWmc = $(this);
 
 var SessionWmcApi = function (o) {
@@ -128,7 +149,7 @@
 				html += "<fieldset>" + caseObj.message +
 					(constraintType === "noPermission" ?
 						"<br><ul>" + permissionHtml + "</ul>" :
-						" Sollen diese Dienste trotzdem hinzugeladen werden?<br><br>" +
+						" "+translatedI18nObject.confirmationQuestion+"<br><br>" +
 						permissionHtml
 					) + "</fieldset><br>";
 				dialogHasContent = true;
@@ -140,7 +161,7 @@
 			return;
 		}
 
-		$dialog = $("<div id='" + o.id + "_constraint_form' title='Hinweis'>" +
+		$dialog = $("<div id='" + o.id + "_constraint_form' title='"+translatedI18nObject.confirmationTitle+"'>" +
 			"<style> fieldset label { display: block; }</style>" +
 			"<form>" + html + "</form></div>").dialog({
 				bgiframe: true,

Modified: branches/2.7/http/plugins/wfsConfTree.js
===================================================================
--- branches/2.7/http/plugins/wfsConfTree.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/plugins/wfsConfTree.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,84 +1,142 @@
-var $confTree = $(this);
-var ConfTree = function(o){
+/*
+ *  default wfsConfIdString is taken from the elementVar "wfsConfIdString" of the mapframe1 element!
+ *
+ *  */
+//some things for i18
+var originalI18nObject = {
+	"labelNoWfsConfAvailable": "No geometry modules are available. You can load those from the Search.",
+	"labelClose": "close"
+};
 
+var translatedI18nObject = Mapbender.cloneObject(originalI18nObject);
 
-	wfsConfIdString = o.wfsConfIdString || "";
+if(Mapbender.modules.i18n){	
+	Mapbender.modules.i18n.queue(options.id, originalI18nObject, function (translatedObject) {
+		if (typeof translatedObject !== "object") {
+			return;
+		}
+		translatedI18nObject = translatedObject;
+	});
+	//Mapbender.modules.i18n.localize(Mapbender.languageId);
+}
 
 
+
+var $confTree = $(this);
+var ConfTree = function(o){
+
+	var that = this;
+	var wfsConfIdString = o.wfsConfIdString || "";
+	var wfsconfs = wfsConfIdString.split(',');
 	// getParams is a global variable that contains the Querystring as a json object
 	var getwfsConfIdString = getParams['FEATURETYPE'] || "";
+	if(getwfsConfIdString !== ""){
+		wfsconfs = wfsconfs.concat(getwfsConfIdString.split(','));
+	}
+	wfsConfIdString = wfsconfs.join(',');
+	var currentWFSConf = {};
 
-	wfsConfIdString = wfsConfIdString  + "," + getwfsConfIdString;
 
+	if(Mapbender.modules.loadwmc){
+		Mapbender.modules.loadwmc.events.loaded.register(function (obj) {
+			if (obj.extensionData && obj.extensionData.WFSCONFIDSTRING) {
+				var req = Mapbender.Ajax.Request({
+					url: 	"../php/mod_wfs_conf_server.php",
+					method:	"getWfsConfsFromId",
+					parameters: {
+						wfsConfIdString: obj.extensionData.WFSCONFIDSTRING
+					},
+					callback: function(result,success,message){
+						reset(result);
+					}
+				});
+				req.send();
+			}
+		});
+	}
 
-	$confTree.children().remove();
-	$confTree.addClass('conftree');
-
-	var $WFSConffolder = $('<li class="open wfsconf"><ul></ul></li>');
-	$confTree.append($WFSConffolder);
-
 	var $wfsConfDialog = $("<div></div>").dialog({
 		width: 500,
 		height: 600,
 		autoOpen: false,
 		buttons:{
-			"schliessen": function(){
+			"schliessen" : function(){
 					$(this).dialog("close");
 				}
 			}
 	});
-	mb_ajax_json("../php/mod_wfs_gazetteer_server.php", {command:"getWfsConf",wfsConfIdString: wfsConfIdString }, function(json,status){
-		aWFSConf = json;
+	$("button.toggle",$confTree).live('click', function(){
+		if($(this).parent().hasClass("open")){
+			$(this).parent().removeClass("open");
+			$(this).parent().addClass("closed");
+		}else{
+			$(this).parent().removeClass("closed");
+			$(this).parent().addClass("open");
+
+		}
+	});
+
+	var reset = function(aWFSConf){
+		wfsconfs = [];
+		$confTree.children().remove();
+		$confTree.append("<li class='emptymessage'>"+translatedI18nObject.labelNoWfsConfAvailable+"</li>");
+		$confTree.addClass('conftree');
+
+		var $WFSConffolder = $('<li class="open wfsconf"><ul></ul></li>');
+		$confTree.append($WFSConffolder);
 		for(var i in  aWFSConf){
-
+			// remove default "no wfs conf"message
+			if(i == 0){ $confTree.find(".emptymessage").remove();}
 			// group by featyretype
-			$featuretypeFolder = $WFSConffolder.find("li.featuregroup_"+aWFSConf[i].featuretype_id);
+			$featuretypeFolder = $WFSConffolder.find("li.featuregroup_"+aWFSConf[i].featureTypeId);
+			wfsconfs.push(aWFSConf[i].id);
 			if($featuretypeFolder.size() == 0){
-				$featuretypeFolder = $('<li class="open featuregroup_'+ aWFSConf[i].featuretype_id + '"><button class="toggle"></button>'+ aWFSConf[i].wfs_conf_abstract + '<ul></ul></li>');
+				$featuretypeFolder = $('<li class="open featuregroup_'+ aWFSConf[i].featureTypeId + '"><button class="toggle"></button>'+ aWFSConf[i].abstr + '<ul></ul></li>');
 				$WFSConffolder.find(" > ul").append($featuretypeFolder);
 				$featuretypeList = $featuretypeFolder.find("ul");
 			}else{
 				$featuretypeList = $featuretypeFolder.find("ul");
 			};
 
-			switch(aWFSConf[i].wfs_conf_type){
+			//parseInt because one version of wfsConf creates this as a string, the other as an int 
+			switch(parseInt(aWFSConf[i].type,10)){
 					/* search */
-					case "0": 
-						$wfsconfEntry = $('<li class="search" ><img src="../img/gnome/icn_suchmodul.png" /><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
-						//$wfsconfEntry = $('<li class="search" ><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
+					case 0: 
+						$wfsconfEntry = $('<li class="search" ><img src="../img/gnome/icn_suchmodul.png" /><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a></li>');
 					break;
 					
 					/* digitize */
-					case "1":
-						$wfsconfEntry = $('<li class="digitize" ><img src="../img/gnome/document-save.png" /><a href="#" class="meta">medadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
+					case 1:
+						$wfsconfEntry = $('<li class="digitize" ><img src="../img/gnome/document-save.png" /><a href="#" class="meta">medadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a></li>');
 					break;
 
 					/* download */
-					case "2": 
-						$wfsconfEntry = $('<li class="download" ><img src="../img/gnome/accessories-text-editor.png" /><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].g_label +'</a></li>');
+					case 2: 
+						$wfsconfEntry = $('<li class="download" ><img src="../img/gnome/accessories-text-editor.png" /><a href="#" class="meta">metadata</a><button class="remove">remove</button><a href="#" class="dialogopen">'+ aWFSConf[i].label +'</a></li>');
 					break;
 
 			}
+			$wfsconfEntry.data("wfsconfId",aWFSConf[i].id);
 			$featuretypeList.append($wfsconfEntry);
 
 			$wfsconfEntry.find("a.dialogopen").click((function(wfsConf){ 
 				return function(){
 
-				var querystring = 'wfsConfId='+wfsConf.wfs_conf_id+'&e_id_css='+o.id+'&e_target='+o.target;
-				switch(wfsConf.wfs_conf_type){
+				var querystring = 'wfsConfId='+wfsConf.id+'&e_id_css='+o.id+'&e_target='+o.target;
+				switch(parseInt(wfsConf.type,10)){
 
 					/* search */
-					case "0": 
+					case 0: 
 					/* download */
-					case "2": 
-						var $iframe = $('<iframe name="'+o.id+'_" style="width: 100%; height: 100%;" src="../javascripts/mod_wfsGazetteerEditor_client.php?'+querystring+'"></iframe>');
+					case 2: 
+						var $iframe = $('<iframe name="'+o.id+'_" style="border:none; width: 100%; height: 100%;" src="../javascripts/mod_wfsGazetteerEditor_client.php?'+querystring+'"></iframe>');
 						$wfsConfDialog.empty();
 						$wfsConfDialog.append($iframe);	
 						$wfsConfDialog.dialog("open");
 					break;
 
 					/* digitize */
-					case "1":
+					case 1:
 					break;
 				}
 
@@ -86,30 +144,67 @@
 			})(aWFSConf[i]));
 			$wfsconfEntry.find("button.remove").click(function(){
 			
+				
+				var wfsconfId = $(this).parent().data("wfsconfId");
 				// if this was the last entry in the featuregroup, remove it completely	...
-				if($(this).parent().siblings().size() == 0){
-					$(this).parent().parent().parent().remove();
-				}else{
-					//.. otherwise just rmeove the entry
-					$(this).parent().remove();
+//				if($(this).parent().siblings().size() == 0){
+//					$(this).parent().parent().parent().remove();
+//				}else{
+//					$(this).parent().remove();
+//				}
+				
+				var newWFSConf = [];
+				for (var i in currentWFSConf){
+					if(currentWFSConf[i].id != wfsconfId){
+						newWFSConf.push(currentWFSConf[i]);
+					}
 				}
-			
+				reset(newWFSConf);
 					
 			});
 		}
-	}); 
-
+		if(Mapbender.modules.savewmc){
+			Mapbender.modules.savewmc.setExtensionData({ WFSCONFIDSTRING: wfsconfs.join(',') });
+			Mapbender.modules.savewmc.save({session: true});
+		}
 	
-	$("button.toggle",$confTree).live('click', function(){
-		if($(this).parent().hasClass("open")){
-			$(this).parent().removeClass("open");
-			$(this).parent().addClass("closed");
-		}else{
-			$(this).parent().removeClass("closed");
-			$(this).parent().addClass("open");
+		// need this so we have a reference to the currently active wfsConfs
+		currentWFSConf = aWFSConf;
+	};
 
-		}
+
+	if(wfsConfIdString){
+		var req = Mapbender.Ajax.Request({
+			url: 	"../php/mod_wfs_conf_server.php",
+			method:	"getWfsConfsFromId",
+			parameters: {
+				wfsConfIdString: wfsConfIdString
+			},
+			callback: function(result,success,message){
+				reset(result);
+			}
+		});
+		req.send();
+	}
+
+
+	// addFeaturetypeConf should take precedence
+	$('#body').bind('addFeaturetypeConfs',function(evt,obj){
+		if(!obj.wfsConfIdString){ return; }
+		var req = Mapbender.Ajax.Request({
+			url: 	"../php/mod_wfs_conf_server.php",
+			method:	"getWfsConfsFromId",
+			parameters: {
+				wfsConfIdString: obj.wfsConfIdString
+			},
+			callback: function(result,success,message){
+				reset(result);
+			}
+		});
+		req.send();
 	});
+
+
 };
 
 Mapbender.events.init.register(function(){

Modified: branches/2.7/http/print/A3_landscape_template.json
===================================================================
--- branches/2.7/http/print/A3_landscape_template.json	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/print/A3_landscape_template.json	2011-02-14 16:52:49 UTC (rev 7601)
@@ -22,16 +22,18 @@
     			"karte" : "res_dpi"
     		},
     		"options" : [
-    			{
-    			"value" : "56",
-    			"label" : "niedrig (56)"
-    			},{
-    			"value" : "72",
-    			"label" : "normal (72)"
-    			},{
-    			"value" : "144",
-    			"label" : "hoch (dpi)"
-    			}
+		        {
+		            "value" : "72",
+		            "label" : "72 dpi"
+		        },
+		        {
+		            "value" : "144",
+		            "label" : "144 dpi"
+		        },
+		        {
+		            "value" : "288",
+		            "label" : "288 dpi"
+		        }
     		]
     	},
     	{
@@ -194,4 +196,4 @@
 			}
         }
 	]
-}
\ No newline at end of file
+}

Modified: branches/2.7/http/print/A3_portrait_template.json
===================================================================
--- branches/2.7/http/print/A3_portrait_template.json	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/print/A3_portrait_template.json	2011-02-14 16:52:49 UTC (rev 7601)
@@ -22,16 +22,18 @@
     			"karte" : "res_dpi"
     		},
     		"options" : [
-    			{
-    			"value" : "56",
-    			"label" : "niedrig (56)"
-    			},{
-    			"value" : "72",
-    			"label" : "normal (72)"
-    			},{
-    			"value" : "144",
-    			"label" : "hoch (dpi)"
-    			}
+		        {
+		            "value" : "72",
+		            "label" : "72 dpi"
+		        },
+		        {
+		            "value" : "144",
+		            "label" : "144 dpi"
+		        },
+		        {
+		            "value" : "288",
+		            "label" : "288 dpi"
+		        }
     		]
     	},
     	{
@@ -194,4 +196,4 @@
 			}
         }
 	]
-}
\ No newline at end of file
+}

Modified: branches/2.7/http/print/A4_landscape_template.json
===================================================================
--- branches/2.7/http/print/A4_landscape_template.json	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/print/A4_landscape_template.json	2011-02-14 16:52:49 UTC (rev 7601)
@@ -22,16 +22,18 @@
     			"karte" : "res_dpi"
     		},
     		"options" : [
-    			{
-    			"value" : "56",
-    			"label" : "niedrig (56)"
-    			},{
-    			"value" : "72",
-    			"label" : "normal (72)"
-    			},{
-    			"value" : "144",
-    			"label" : "hoch (dpi)"
-    			}
+		        {
+		            "value" : "72",
+		            "label" : "72 dpi"
+		        },
+		        {
+		            "value" : "144",
+		            "label" : "144 dpi"
+		        },
+		        {
+		            "value" : "288",
+		            "label" : "288 dpi"
+		        }
     		]
     	},
     	{
@@ -194,4 +196,4 @@
 			}
         }
 	]
-}
\ No newline at end of file
+}

Modified: branches/2.7/http/print/A4_portrait_template.json
===================================================================
--- branches/2.7/http/print/A4_portrait_template.json	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/http/print/A4_portrait_template.json	2011-02-14 16:52:49 UTC (rev 7601)
@@ -23,16 +23,16 @@
             },
             "options" : [
                 {
-                    "value" : "56",
-                    "label" : "niedrig (56)"
+                    "value" : "72",
+                    "label" : "72 dpi"
                 },
                 {
-                    "value" : "72",
-                    "label" : "normal (72)"
+                    "value" : "144",
+                    "label" : "144 dpi"
                 },
                 {
-                    "value" : "144",
-                    "label" : "hoch (dpi)"
+                    "value" : "288",
+                    "label" : "288 dpi"
                 }
             ]
         },
@@ -196,4 +196,4 @@
 			}
         }
     ]
-}
\ No newline at end of file
+}


Property changes on: branches/2.7/http/print/mapbender_template.json
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk/mapbender/http/print/mapbender_template.json:7363-7474
   + /trunk/mapbender/http/print/mapbender_template.json:7363-7600

Modified: branches/2.7/lib/button.js
===================================================================
--- branches/2.7/lib/button.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/lib/button.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -226,7 +226,7 @@
 	mb_localizeButtons();
 });
 
-Mapbender.events.init.register(function () {
+/*Mapbender.events.init.register(function () {
 	mb_localizeButtons();
-});
+});*/
 

Modified: branches/2.7/lib/class_GetApi.php
===================================================================
--- branches/2.7/lib/class_GetApi.php	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/lib/class_GetApi.php	2011-02-14 16:52:49 UTC (rev 7601)
@@ -77,7 +77,7 @@
 	// for possible inputs see http://www.mapbender.org/GET-Parameter#WMC
 	private function normalizeWmcInput ($input) {
 		// assume WMC=12,13,14
-		$inputArray = split(",", $input);
+		$inputArray = explode(",", $input);
 		$input = array();
 		$i = 0;
 		foreach ($inputArray as $id) {
@@ -134,7 +134,7 @@
 		}
 		else {
 			// assume LAYER=12,13,14
-			$inputArray = split(",", $input);
+			$inputArray = explode(",", $input);
 			$input = array();
 			$i = 0;
 			foreach ($inputArray as $id) {
@@ -188,7 +188,7 @@
 		}
 		else {
 			// assume FEATURETYPE=12,13,14
-			$inputArray = split(",", $input); 
+			$inputArray = explode(",", $input);
 			$input = array();
 			$i = 0;
 			foreach ($inputArray as $id) {

Modified: branches/2.7/lib/mb.ui.displayFeatures.js
===================================================================
--- branches/2.7/lib/mb.ui.displayFeatures.js	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/lib/mb.ui.displayFeatures.js	2011-02-14 16:52:49 UTC (rev 7601)
@@ -123,17 +123,53 @@
 						description = g.e.getElementValueByName("description");
 						$tabs.append('<li><a href="#rsspopup_'+ i +'">'+ title + '</a></li>');
 						self._popup.append('<div id="rsspopup_'+ i +'"><h1>'+ title +'</h1><p>'+ description +'</p></h1>');
+					
 						if($tabs.children().size() > 1){
-							var $tabcontainer = $("<div><div>");
-							$tabcontainer.append($tabs);
-							$tabcontainer.append($('div',self._popup));	
-							self._popup.append($tabcontainer);
-							$tabcontainer.tabs();
 						}
 						self._popup.dialog('open');
 					}
+			
+
+					if($tabs.children().size() > 1){	
+						var $tabcontainer = $("<div><div>");
+						$tabcontainer.append($tabs);
+						$tabcontainer.append($('div',self._popup));	
+						$tabs.css("display","none");
+						self._popup.append($tabcontainer);
+						$tabcontainer.tabs();
+						// -1 because we need it zero based later
+						var tabcount = $tabcontainer.find(".ui-tabs-panel").size() -1;
+						$tabcontainer.find(".ui-tabs-panel").each(function(i){
+
+							var  $navbar = $("<div></div>");
+							$(this).append($navbar);
+							// add to first panel
+							if(i == 0 ){
+								var next = i+1;
+								$navbar.append('<a style="float:right;" href="#" class="next-tab" rel="'+next+'">mehr</a>');
+							}
+							// add to all except the first panel
+							if(i > 0 ){
+								var prev = i-1;
+								$navbar.append('<a href="#" class="prev-tab" rel="'+prev+'">zurück</a>');
+							}
+							// add to all except first and last panel
+							if( tabcount  > i && i > 0  ){
+								var next = i+1;
+								$navbar.append('<a style="float:right;" href="#" class="next-tab" rel="'+next+'">vor</a>');
+							}
+						});
+						$tabcontainer.find(".next-tab, .prev-tab").click(function(){
+							$tabcontainer.tabs("select",$(this).attr("rel"));
+							return false;
+						});
+
+
+					}
 				
 
+	
+
 				};})(feed.geomArray, pointGeometries)
 				});
 				req.send();

Copied: branches/2.7/resources/db/geoportal_gui.sql (from rev 7548, trunk/mapbender/resources/db/geoportal_gui.sql)
===================================================================
--- branches/2.7/resources/db/geoportal_gui.sql	                        (rev 0)
+++ branches/2.7/resources/db/geoportal_gui.sql	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,214 @@
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('Geoportal-RLP','Geoportal-RLP','GUI combining most of the Mapbender functionality',1);
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.widget.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui',1,1,'The jQuery UI core','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.core.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','jq_ui','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','setScaleHint',1,0,'set scaleHint for mapframes','','div','','',1,1,1,1,0,'visibility:hidden;','','div','mod_scaleHint.php','','mapframe1,100,10000000','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','mapframe1',1,1,'Frame for a map','','div','','',215,15,480,360,3,'overflow:hidden;background-color:#ffffff','','div','../plugins/mb_map.js','../../lib/history.js,map_obj.js,map.js,wms.js,wfs_obj.js,initWmcObj.php','','','http://www.mapbender.org/index.php/Mapframe');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','mapframe1','skipWmsIfSrsNotSupported','0','if set to 1, it skips the WMS request if the current SRS is not supported by the WMS; if set to 0, the WMS is always queried. Default is 0, because of backwards compatibility','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','mapframe1','slippy','1','1 = Activates an animated, pseudo slippy map','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','mapframe1','wfsConfIdString','94','','text/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','body',1,1,'body (obligatory)','','body','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/wz_jsgraphics.js,geometry.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','css_file_wfstree','../css/wfsconftree.css','file/css','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','css_class_bg','body{ background-color: #ffffff; }','to define the color of the body','text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','css_file_body','../css/mapbender.css','file/css','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','favicon','../img/favicon.ico','favicon','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','includeWhileLoading','../include/gui1_splash.php','','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','jq_ui_theme','../extensions/jquery-ui-1.7.2.custom/css/smoothness/jquery-ui-1.7.2.custom.css','UI Theme from Themeroller','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','jquery_datatables','../extensions/dataTables-1.5/media/css/demo_table_jui.css','','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','popupcss','../css/popup.css','file css','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','tablesortercss','../css/tablesorter.css','file css','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','use_load_message','true','','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','print_css','../css/print_div.css','','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','body','css_file_feedtree','../css/feedtree.css','file/css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','toolbar',1,0,'This toolbar appends all its target elements to its container','Toolbar','div','','class=''mb-toolbar'' style=''background:url(../img/Mapbender_logo_and_text_200x50.png) no-repeat 10px 10px''',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_toolbar.js','','measure_widget','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','toolbar','css','.mb-toolbar ul, .mb-toolbar li {
+   display: inline;
+}
+
+.mb-toolbar ul {
+   float: right;
+}
+
+.mb-toolbar li {
+   margin:2px
+}','','text/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_upload',1,1,'','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../plugins/jq_upload.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_datatables',1,1,'Includes the jQuery plugin datatables, use like this
+$(selector).datatables(options)','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_datatables.js','../extensions/dataTables-1.5/media/js/jquery.dataTables.min.js','','','http://www.datatables.net/');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','jq_datatables','defaultCss','../extensions/dataTables-1.5/media/css/demo_table_jui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','sessionWmc',1,1,'','Please confirm','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_sessionWmc.js','','','mapframe1','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','sessionWmc','displayTermsOfUse','1','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','dependentDiv',2,0,'displays infos in a sticky div-tag','','div','','',-59,1,1,1,NULL ,'visibility:visible;position:absolute;font-size: 11px;font-family: "Arial", sans-serif;','jhfggfjfjhgfh','div','mod_dependentDiv.php','','mapframe1','','http://www.mapbender.org/index.php/DependentDiv');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','feeds',2,1,'','GeoRSS/KML','ul','','',1,1,1,1,NULL ,'','','ul','../plugins/feedTree.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','wfsConfTree',2,1,'','Such- und  Downloadmodule','ul','','',10,400,1,1,NULL ,'','','ul','../plugins/wfsConfTree.js','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','wfsConfTree','wfs_spatial_request_conf_filename','wfs_default.conf','','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','legend',2,1,'legend','Legende','div','','',0,0,NULL ,NULL,600,'','','div','../javascripts/mod_legendDiv.php','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','legend','checkbox_on_off','false','display or hide the checkbox to set the legend on/off','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','legend','css_file_legend','../css/legend.css','','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','legend','legendlink','false','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','legend','showgroupedlayertitle','true','show the title of the grouped layers in the legend','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','legend','showlayertitle','true','show the layer title in the legend','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','legend','showwmstitle','true','show the wms title in the legend','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','legend','stickylegend','false','parameter to decide wether the legend should stick on the mapframe1','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','scaleText',2,1,'Scale-description field','Maßstab per Texteingabe','form','','action="window.location.href" onsubmit="return mod_scaleText()" ',5,155,30,30,NULL ,'','<input type="text" style="width:100px;">','form','mod_scaleText.php','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','changeEPSG',2,1,'change EPSG, Postgres required, overview is targed for full extent','Projektion ändern','select','','',5,185,196,26,1,'','<option value="">undefined</option>','select','mod_changeEPSG.php','','overview','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','changeEPSG','projections','EPSG:4326;Geographic Coordinates,EPSG:31466;Gauss-Krueger 2,EPSG:31467;Gauss-Krueger 3,EPSG:31468;Gauss-Krueger 4,EPSG:31469;Gauss-Krueger 5','','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','resultList',2,1,'','Result List','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','mod_ResultList.js','../../lib/resultGeometryListController.js, ../../lib/resultGeometryListModel.js','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList','position','[600,50]','position of the result list dialog','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList','resultListHeight','400','height of the result list dialog','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList','resultListTitle','Search results','title of the result list dialog','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList','resultListWidth','600','width of the result list dialog','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','resultList_DetailPopup',2,1,'Detail Popup For resultList','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/mb_resultList_DetailPopup.js','','resultList','','http://www.mapbender.org/resultList_DetailPopup');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_DetailPopup','detailPopupHeight','250','height of the result list detail popup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_DetailPopup','detailPopupTitle','Details','title of the result list detail popup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_DetailPopup','detailPopupWidth','350','width of the result list detail popup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_DetailPopup','openLinkFromSearch','0','open link directly if feature attr is defined as link','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_DetailPopup','position','[700,300]','position of the result list detail popup','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','resultList_Highlight',2,1,'highlighting functionality for resultList','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/mb_resultList_Highlight.js','','resultList,mapframe1,overview','','http://www.mapbender.org/resultList_Highlight');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_Highlight','maxHighlightedPoints','500','max number of points to highlight','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_Highlight','resultHighlightColor','#ff0000','color of the highlighting','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_Highlight','resultHighlightLineWidth','2','width of the highlighting line','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resultList_Highlight','resultHighlightZIndex','100','zindex of the highlighting','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','resultList_Zoom',2,1,'zoom functionality for resultList','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/mb_resultList_Zoom.js','','resultList,mapframe1','','http://www.mapbender.org/resultList_Zoom');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_mouse',2,1,'jQuery UI mouse','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.mouse.js','','jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','dragMapSize',2,1,'drag & drop Mapsize','Karte vergrößern','div','','class="ui-state-default"',-59,1,15,15,2,'font-size:1px; cursor:move; width:10; height:10;','<span class="ui-icon ui-icon ui-icon-arrow-4"></span>','div','mod_dragMapSize.php','','mapframe1','','http://www.mapbender.org/index.php/DragMapSize');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','treeGDE',2,1,'new treegde2 - directory tree, checkbox for visible, checkbox for querylayer
+for more infos have a look at http://www.mapbender.org/index.php/TreeGDE2','Karten','div','','class="ui-widget"',12,144,152,300,2,'visibility:hidden;overflow:auto','','div','../html/mod_treefolderPlain.php','jsTree.js','mapframe1','mapframe1','http://www.mapbender.org/index.php/TreeGde');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','alerterror','true','alertbox for wms loading error','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','css','../css/treeGDE2.css','','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','enlargetreewidth','300','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','ficheckbox','true','checkbox for featureInfo requests','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','handlesublayer','true','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','imagedir','../img/tree_new','image directory','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','menu','wms_up,wms_down,opacity_up,opacity_down,remove,layer_up,layer_down,metainfo,zoom,hide','context menu elements','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','metadatalink','true','link for layer-metadata','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','openfolder','false','initial open folder','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','showstatus','true','show status in folderimages','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','switchwms','true','enables/disables all layer of a wms','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','treeGDE','wmsbuttons','false','wms management buttons','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','addGeoRSS',2,0,'add a GeoRSS Feed to a running application','GeoRSS hinzufügen','img','../img/georss_logo_off.png','onclick=''loadGeoRSSByForm()''  onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");''',115,65,24,24,1,'','','','mod_georss.php','popupballon.js,usemap.js,geometry.js,../extensions/wz_jsgraphics.js','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','addGeoRSS','loadGeorssFromSession','1','','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','featureInfo1',2,1,'FeatureInfoRequest','Datenabfrage','img','../img/button_blue_red/query_off.png','',175,95,24,24,1,'','','','mod_featureInfo.php','','mapframe1','','http://www.mapbender.org/index.php/FeatureInfo');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','featureInfo1','featureInfoLayerPopup','true','display featureInfo in dialog popup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','featureInfo1','featureInfoPopupHeight','200','height of the featureInfo dialog popup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','featureInfo1','featureInfoPopupPosition','[100,100]','position of the featureInfoPopup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','featureInfo1','featureInfoPopupWidth','270','width of the featureInfo dialog popup','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','zoomIn1',2,1,'zoomIn button','In die Karte hineinzoomen','img','../img/button_blue_red/zoomIn2_off.png','',145,5,24,24,1,'','','','mod_zoomIn1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomIn');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','zoomOut1',2,1,'zoomOut button','Aus der Karte herauszoomen','img','../img/button_blue_red/zoomOut2_off.png','',175,5,24,24,1,'','','','mod_zoomOut1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomOut');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','back',2,1,'History.back()','Zurück','img','../img/button_blue_red/back_off_disabled.png','',145,125,24,24,1,'','','','mod_back.php','','mapframe1,overview','','http://www.mapbender.org/index.php/Back');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','pan1',2,1,'pan','Ausschnitt verschieben','img','../img/button_blue_red/pan_off.png','',175,35,24,24,1,'','','','mod_pan.js','','mapframe1','','http://www.mapbender.org/index.php/Pan');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','selArea1',2,1,'zoombox','Ausschnitt wählen','img','../img/button_blue_red/selArea_off.png','',145,35,24,24,1,'','','','mod_selArea.js','mod_box1.js','mapframe1','','http://www.mapbender.org/index.php/SelArea1');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','showCoords_div',2,1,'displays coordinates by onmouseover','Koordinaten anzeigen','img','../img/button_blue_red/coords_off.png','onmouseover = "mb_regButton(''init_mod_showCoords_div'')" ',175,65,24,24,1,'','','','mod_coords_div.php','','mapframe1','','http://www.mapbender.org/index.php/ShowCoords_div');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','zoomFull',2,1,'zoom to full extent button','gesamte Karte anzeigen','img','../img/button_blue_red/zoomFull_off.png','',145,65,24,24,2,'','','','mod_zoomFull.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomFull');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','loadwmc',2,1,'load workspace from WMC','laden eines Web Map Context Dokumentes','img','../img/button_blue_red/wmc_load_off.png','onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");''',115,155,24,24,1,'','','','mod_loadwmc.php','popup.js','mapframe1','jq_ui_dialog,jq_ui_tabs,jq_upload,jq_datatables','http://www.mapbender.org/index.php/LoadWMC');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','loadwmc','deleteWmc','1','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','loadwmc','loadFromSession','1','','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','loadwmc','publishWmc','0','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','loadwmc','saveWmcTarget','savewmc','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','savewmc',2,1,'save workspace as WMC','Ansicht als Web Map Context Dokument speichern','img','../img/button_blue_red/wmc_save_off.png','',115,125,24,24,1,'','','','mod_savewmc.php','','mapframe1','jq_ui_dialog','http://www.mapbender.org/index.php/SaveWMC');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','savewmc','overwrite','1','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','savewmc','saveInSession','1','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','addWMS',2,1,'add a WMS to the running application','WMS hinzufügen','img','../img/button_blue_red/add_off.png','',175,155,24,24,1,'','','','mod_addWMS.php','mod_addWMSgeneralFunctions.js','treeGDE,mapframe1','loadData','http://www.mapbender.org/index.php/AddWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','WMS_preferences',2,1,'configure the preferences of each loaded wms','WMS Einstellungen','img','../img/button_blue_red/preferences_off.png','onclick=''window.open("../php/mod_WMSpreferences.php?sessionID","","width=400, height=600, left=300, resizable=yes, scrollbars=yes")''  onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");'' ',145,155,24,24,1,'','','','','','mapframe1,treeGDE','','http://www.mapbender.org/index.php/WMS_preferences');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','addWMSfromfilteredList_ajax',2,0,'add a WMS to the running application from a filtered list','WMS von gefilteter Liste hinzufügen','img','../img/button_gray/add_filtered_list_off.png','',620,60,24,24,1,'','','','mod_addWmsFromFilteredList_button.php','mod_addWMSgeneralFunctions.js,popup.js','treeGDE,mapframe1','loadData','http://www.mapbender.org/index.php/Add_WMS_from_filtered_list');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','addWMSfromfilteredList_ajax','capabilitiesInput','1','load wms by capabilities url','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','addWMSfromfilteredList_ajax','option_dball','1','1 enables option "load all configured wms from db"','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','addWMSfromfilteredList_ajax','option_dbgroup','0','1 enables option "load configured wms by group"','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','addWMSfromfilteredList_ajax','option_dbgui','0','1 enables option "load configured wms by gui"','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','mapbender',2,1,'Mapbender-Logo','','div','','onclick="javascript:window.open(''http://www.mapbender.org'','''','''');"',-59,1,1,1,30,'font-size : 10px;font-weight : bold;font-family: Arial, Helvetica, sans-serif;color:white;cursor:help;','<span>Ma</span><span style="color: blue;">P</span><span style="color: red;">b</span><span>ender</span><script type="text/javascript"> mb_registerSubFunctions("mod_mapbender()"); function mod_mapbender(){ document.getElementById("mapbender").style.left = parseInt(document.getElementById("mapframe1").style.left) + parseInt(document.getElementById("mapframe1").style.width) - 90; document.getElementById("mapbender").style.top = parseInt(document.getElementById("mapframe1").style.t
 op) + parseInt(document.getElementById("mapframe1").style.height) -1; } </script>','div','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','setBackground',2,0,'switch background-wms','Hintegrundkarte auswählen','form','','action="window.location.href"',15,190,0,0,1,'','<select style="font-family: Arial, sans-serif; font-size:12" title="Set background" name="mod_setBackground_list" onchange="mod_setBackground_change(this)"><option value="0"></option></select>','form','mod_setBackground.php','','mapframe1','','http://www.mapbender.org/index.php/SetBackground');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_position',2,1,'jQuery UI position','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.position.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','deleteSessionWmc',2,1,'delete Session Wmc','Reset','img','../img/button_blue_red/repaint_off.png','onclick=''$("#sessionWmc").mapbender().deleteWmc();''
+onmouseover="this.src = this.src.replace(/_off/,''_over'');" onmouseout="this.src = this.src.replace(/_over/, ''_off'');"',115,35,24,24,NULL ,'','','','','','mapframe1','sessionWmc','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','resizeMapsize',2,1,'resize_mapsize','Fullscreen','img','../img/button_blue_red/resizemapsize_off.png','onmouseover="this.src = this.src.replace(/_off/,''_over'');" onmouseout="this.src = this.src.replace(/_over/, ''_off'');"',115,65,24,24,NULL ,'','','','mod_resize_mapsize.js','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resizeMapsize','adjust_height','-35','to adjust the height of the mapframe on the bottom of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resizeMapsize','adjust_width','-50','to adjust the width of the mapframe on the right side of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','resizeMapsize','resize_option','button','auto (autoresize on load), button (resize by button)','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','center1',2,0,'Center button','Kartenmittelpunkt setzen','img','../img/button_blue_red/center_off.png','onmouseover = "mb_regButton(''init_gui1_center'')" ',310,60,24,24,1,'','','','mod_center1.php','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','logout',2,0,'Logout','Abmelden','img','../img/button_blue_red/logout_off.png','onClick="window.location.href=''../php/mod_logout.php?sessionID''" border=''0'' onmouseover=''this.src="../img/button_blink_red/logout_over.png"'' onmouseout=''this.src="../img/button_blink_red/logout_off.png"'' ',704,46,24,24,1,'','','','','','','','http://www.mapbender.org/index.php/Logout');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','logout','logout_location','http://www.mapbender.org/','webside to show after logout','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','measure_widget',2,1,'Measure','Messen','img','../img/button_blue_red/measure_off.png','',145,95,24,24,1,'','','','../plugins/mb_measure_widget.php','../widgets/w_measure.js,../extensions/RaphaelJS/raphael-1.4.7.min.js','mapframe1','jq_ui_dialog,jq_ui_widget','http://www.mapbender.org/index.php/Measure');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','lineStrokeDefault','#C9F','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','lineStrokeSnapped','#F30','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','lineStrokeWidthDefault','3','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','lineStrokeWidthSnapped','5','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','measurePointDiameter','7','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','opacity','0.4','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','pointFillDefault','#CCF','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','pointFillSnapped','#F90','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','polygonFillDefault','#FFF','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','polygonFillSnapped','#FC3','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','polygonStrokeWidthDefault','1','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','measure_widget','polygonStrokeWidthSnapped','5','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','measure',2,0,'Measure','Messen','img','../img/button_blue_red/measure_off.png','onmouseover = "mb_regButton(''init_mod_measure'')"',145,95,24,24,1,'','','','mod_measure.php','','mapframe1','','http://www.mapbender.org/index.php/Measure');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','printPDF',2,1,'pdf print','Druck','div','','',860,10,200,380,5,'','<div id="printPDF_working_bg"></div><div id="printPDF_working"><img src="../img/indicator_wheel.gif" style="padding:10px 0 0 10px">Generating PDF</div><div id="printPDF_input"><form id="printPDF_form" action="../print/printFactory.php"><div id="printPDF_selector"></div><div class="print_option"><input type="hidden" id="map_url" name="map_url" value=""/><input type="hidden" id="overview_url" name="overview_url" value=""/><input type="hidden" id="map_scale" name="map_scale" value=""/><input type="hidden" name="measured_x_values" /><input type="hidden" name="measured_y_values" /><br /></div><div class="print_option" id="printPDF_formsubmit"><input 
 id="submit" type="submit" value="Print"><br /></div></form><div id="printPDF_result"></div></div>','div','../plugins/mb_print.php','../../lib/printbox.js,../extensions/jquery-ui-1.7.2.custom/development-bundle/external/bgiframe/jquery.bgiframe.min.js,../extensions/jquery.form.min.js,../extensions/wz_jsgraphics.js','mapframe1','','http://www.mapbender.org/index.php/Print');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','printPDF','mbPrintConfig','{"A4 landscape": "A4_landscape_template.json","A4 portrait": "A4_portrait_template.json","A4 landscape": "A4_landscape_template.json","A3 landscape": "A3_landscape_template.json"}','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','print1',2,0,'start print GUI','Druck','img','../img/button_blue_red/print_off.png','onclick=''window.open("../print/mod_printPDF.php?target=mapframe1&sessionID","printWin","width=300, height=400, resizable=yes ")''  onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");'' ',555,60,24,24,1,'','','','','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','forward',2,0,'History.forward()','Nach vorne','img','../img/button_blue_red/forward_off_disabled.png','',175,125,24,24,1,'','','','mod_forward.php','','mapframe1,overview','','http://www.mapbender.org/index.php/Forward');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','treeGDE_1',2,0,'directory tree, checkbox for visible, checkbox for querylayer, no immediate refreshing, with nested layers','Karten','iframe','../html/mod_sync_treefolder_1.html','frameborder = "0" ',0,180,250,500,0,'visibility:visible','','iframe','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','repaint',2,0,'refresh a mapobject','Neu laden oder Tastatur: Leertaste','img','../img/button_blink_red/repaint_off.png','',360,60,24,24,1,'','','','mod_repaint.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','loadData',2,1,'IFRAME to load data','','iframe','../html/mod_blank.html','frameborder = "0" ',0,0,1,1,0,'visibility:visible','','iframe','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','setBBOX',2,1,'set Extent for mapframe and overviewframe','','div','','',0,0,0,0,0,'','','div','mod_setBBOX1.php','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','setBackground_all',2,0,'switch all background-wms','Hintegrundkarte auswählen','form','','',157,190,40,20,1,'','<input type=''checkbox'' onclick=''mod_setBackground_all_init(this)''> <font face="Arial, sans-serif" size="2">all</font>','form','mod_setBackground_all.php','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','wfs_gazetteer',2,0,'gazetteer using wfs','Suche','iframe','../php/mod_wfs_gazetteer.php?sessionID&color=255,0,255','frameborder = "0" ',-50,490,250,300,0,'visibility:visible','','iframe','','','mapframe1,overview','wfs','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','mousewheelZoom',2,1,'adds mousewheel zoom to map module (target)','Mousewheel zoom','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','mod_mousewheelZoom.js','../extensions/jquery.mousewheel.min.js','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','mousewheelZoom','factor','3','The factor by which the map is zoomed on each mousewheel unit','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','setPOI2Scale',2,1,'zoom to a poi (get-parameter)','','div','','',1,1,1,1,NULL ,'visibility:hidden','','div','mod_setPOI2Scale.php','','mapframe1','','http://www.mapbender.org/index.php/Mod_setPoi2Scale');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','setPOI2Scale','mod_setPOI2Scale_defScale','5000','default scale','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','changePassword_button',2,0,'button: change password of logged user','Passwort ändern','img','../img/button_blink_red/change_password_off.png','onclick="window.open(''../php/mod_changePassword.php?sessionID'','''',''width=300, height=300, menubar=no,toolbar=no,location=no,status=no,resizable=yes'');" border=''0'' onmouseover=''this.src="../img/button_blink_red/change_password_over.png"'' onmouseout=''this.src="../img/button_blink_red/change_password_off.png"'' ',750,60,24,24,1,'cursor:hand','','','','','','','http://www.mapbender.org/index.php/ChangePassword');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','help',2,0,'button help','Hilfe','img','../img/button_blink_red/help_off.png','onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");'' onclick=''window.open("http://www.mapbender.org/index.php/Using_Mapbender","Hilfe","width=800, height=800, resizable=yes,scrollbars=yes, menubar=yes, toolbar=yes, location=yes")''',790,60,24,24,1,'','','','','','','','http://www.mapbender.org');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','help1',2,0,'button help','Hilfe','img','../img/button_blink_red/help_off.png','onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");'' onclick=''window.open("http://www.mapbender.org/index.php/Using_Mapbender","Hilfe","width=800, height=800, resizable=yes,scrollbars=yes, menubar=yes, toolbar=yes, location=yes")''',790,60,24,24,1,'','','','','','','','http://www.mapbender.org/index.php/help');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','addWMSfromList',2,0,'add a WMS to the running application from a list','WMS aus Liste hinzufügen','img','../img/button_blink_red/addlist_off.png','onclick=''window.open("../javascripts/mod_addWMSfromList.php?sessionID","printWin","width=500, height=600, left=300, resizable=yes, scrollbars=yes")''  onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");'' ',595,60,24,24,1,'','','','','mod_addWMSgeneralFunctions.js','treeGDE,mapframe1','loadData','http://www.mapbender.org/index.php/Add_WMS_from_list');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','scaleSelect',2,1,'Scale-Selectbox','Auswahl des Maßstabes','select','','onchange=''mod_scaleSelect(this)''',5,125,105,20,1,'','<option value = ''''>Scale</option> <option value=''100''>1 : 100</option> <option value=''250''>1 : 250</option> <option value=''500''>1 : 500</option> <option value=''1000''>1 : 1000</option> <option value=''2500''>1 : 2500</option> <option value=''5000''>1 : 5000</option> <option value=''10000''>1 : 10000</option> <option value=''25000''>1 : 25000</option> <option value=''30000''>1 : 30000</option> <option value=''50000''>1 : 50000</option> <option value=''75000''>1 : 75000</option> <option value=''100000''>1 : 100000</option> <option value=''200000''>1 : 200000</option> <option val
 ue=''300000''>1 : 300000</option> <option value=''400000''>1 : 400000</option> <option value=''500000''>1 : 500000</option> <option value=''600000''>1 : 600000</option> <option value=''700000''>1 : 700000</option> <option value=''800000''>1 : 800000</option> <option value=''900000''>1 : 900000</option> <option value=''1000000''>1 : 1000000</option>','select','mod_scaleSel.php','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','navFrame',2,1,'navigation mapborder','Navigationsfenster','div','','',0,0,0,0,10,'font-size:1px;','','div','mod_navFrame.php','','mapframe1','','http://www.mapbender.org/index.php/NavFrame');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','scalebar',2,1,'scalebar','Maßstabsleiste','div','','',0,0,0,0,0,'','','div','mod_scalebar.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','addCSW',2,0,'search via a CSW Client','Katalogsuche','img','../img/button_gray/csw_off.png','',288,25,24,24,1,'','','','mod_searchCSW_ajax_button.php','mod_addWMSgeneralFunctions.js','treeGDE,mapframe1','loadData','http://www.mapbender.org/index.php/AddCSW');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','overview',2,1,'OverviewFrame','','div','','',5,5,110,115,2,'overflow:hidden;background-color:#ffffff','<div id="overview_maps" style="position:absolute;left:0px;right:0px;"></div>','div','../plugins/mb_overview.js','../../lib/history.js,map_obj.js,map.js,wms.js,wfs_obj.js,initWmcObj.php','mapframe1','mapframe1','http://www.mapbender.org/index.php/Overview');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','overview','overview_wms','1','wms that shows up as overview','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','overview','skipWmsIfSrsNotSupported','0','if set to 1, it skips the WMS request if the current SRS is not supported by the WMS; if set to 0, the WMS is always queried. Default is 0, because of backwards compatibility','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','georss',2,1,'','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','','../../lib/mb.ui.displayFeatures.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','copyright',2,1,'a Copyright in the map','Copyright','div','','',0,0,NULL ,NULL,NULL ,'','','div','mod_copyright.php','','mapframe1','','http://www.mapbender.org/index.php/Copyright');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','copyright','mod_copyright_text','mapbender.org','define a copyright text which should be displayed','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','sandclock',2,1,'displays a sand clock while waiting for requests','','div','','',0,0,0,0,0,'','','div','mod_sandclock.js','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','sandclock','mod_sandclock_image','../img/sandclock.gif','define a sandclock image ','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','treeConfGDE',2,0,'configurable directory tree','Karten','iframe','../php/mod_treefolderClient.php?sessionID','frameborder = "0" ',0,180,250,500,0,'visibility:visible','','iframe','mod_treeConf.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','tabs',2,1,'vertical tabs to handle iframes','','div','','',5,215,195,20,3,'font-family: Arial,Helvetica;font-weight:bold;','','div','mod_tab.php','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','tab_ids[1]','wfsConfTree','','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','tab_ids[2]','feeds','','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','open_tab','0','define which tab should be opened when a gui is opened','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','tab_frameHeight[0]','200','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','tab_frameHeight[1]','260','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','tab_frameHeight[2]','380','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','tab_ids[0]','treeGDE','','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','tab_prefix','  ','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','expandable','0','1 = expand the tabs to fit the document vertically, default is 0','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','tabs','tab_style','position:absolute;visibility:visible;cursor:pointer;','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','highlightPOI',2,0,'highlight 1 to n pois in your gui with a Symbol and a special text','','div','','',0,0,NULL ,NULL,NULL ,'','','div','mod_highlightPOI.php','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','highlightPOI','poi_height','25','height of the poi_image','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','highlightPOI','poi_image','../img/redball.gif','image to use to mark the poi(s)','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','highlightPOI','poi_style','background-color:white;font-weight: bold;color:blue;font-family:Arial;','style to display the poi text','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','highlightPOI','poi_width','25','width of the poi_image','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','metadata',2,0,'shows informations about the wms and the requests of the gui','Anzeige von WMS Informationen','img','../img/button_blink_red/metadata_off.png','onClick="window.location.href=''javascript:mod_displayObj()''" border=''0'' onmouseover=''this.src="../img/button_blink_red/metadata_over.png"'' onmouseout=''this.src="../img/button_blink_red/metadata_off.png"'' ',703,18,24,24,1,'','','','mod_displayObj.js','','','','http://www.mapbender.org/index.php/Metadata');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','layout_1',3,1,'layout, background for buttons','','div','','',383,93,670,28,0,'background-color:#FFFFFF;','','div','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','mapframe1_zoomBar',4,0,'zoom bar - slider to handle navigation, define zoom level with an element var','Zoom to scale','div','','',30,100,NULL ,200,100,'','','div','../plugins/mb_zoomBar.js','','mapframe1','mapframe1, jq_ui_slider','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','mapframe1_zoomBar','defaultLevel','1','define the default level for application start','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','mapframe1_zoomBar','level','[2500,5000,10000,50000,100000,500000,1000000,3000000,5000000,10000000]','define an array of levels for the slider (element_var has to be defined)','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_droppable',4,1,'jQuery UI droppable','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.droppable.js','','jq_ui,jq_ui_widget,jq_ui_mouse,jq_ui_draggable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.button.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','mapframe1_navigation',4,0,'Adds navigation arrows on top of the map','Navigation','div','','',20,30,NULL ,NULL,100,'','','div','../plugins/mb_navigation.js','','mapframe1','mapframe1','http://www.mapbender.org/Navigation');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','renderGML',4,1,'renders a gml contained in $_SESSION[''GML'']','','div','','',NULL ,NULL,NULL ,NULL,1,'','','','../javascripts/mod_renderGML.php','','overview,mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','overviewToggle',5,0,'','','div','','class="ui-widget-header ui-corner-all"',NULL ,NULL,NULL ,NULL,NULL ,'display:none;height:24px;width:35px;vertical-align: middle;text-align:right','<img style="position:absolute;top:0px;left:0px" src="../img/ovtoggle.png" /><span style="margin-left: auto; margin-right: 0;" class="ui-icon ui-icon-triangle-1-e"></span>','div','../javascripts/mod_overviewToggle.js','','legend','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_resizable',5,1,'Resizable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_ui_resizable.js','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.resizable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/resizable/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.draggable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_dialog',5,1,'Module to manage jQuery UI dialog windows with multiple options for customization.','','div','','',-1,-1,15,15,NULL ,'','','div','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.dialog.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_tabs',5,1,'horizontal tabs from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.tabs.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','jq_ui_slider',5,1,'slider from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.slider.min.js','','jq_ui,jq_ui_mouse,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','popup',6,1,'popup replacement','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','popup.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','printPdfButton',7,1,'popup','Print PDF','img','../img/button_blue_red/print_off.png','',115,95,24,24,NULL ,'','','','../plugins/mb_button.js','','printPDF','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','legendButton',7,1,'popup','Legende','img','../img/button_blue_red/select_choose_off.png','',175,125,24,24,NULL ,'','','','../plugins/mb_button.js','','legend','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','coordsLookUpButton',7,1,'popup','Koordinatensuche','img','../img/button_blue_red/user_off.png','',115,5,24,24,NULL ,'','','','../plugins/mb_button.js','','coordsLookup','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Geoportal-RLP','coordsLookup',10,1,'','Koordinatensuche','div','','',1000,0,NULL ,NULL,NULL ,'z-index:9999;','','div','mod_coordsLookup.php','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','coordsLookup','perimeters','[50,200,1000,10000]','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Geoportal-RLP','coordsLookup','projections','EPSG:4326;Geographic Coordinates,EPSG:31466;Gauss-Krueger 2,EPSG:31467;Gauss-Krueger 3,EPSG:31468;Gauss-Krueger 4,EPSG:31469;Gauss-Krueger 5','','php_var');
+

Modified: branches/2.7/resources/db/install.sh
===================================================================
--- branches/2.7/resources/db/install.sh	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/db/install.sh	2011-02-14 16:52:49 UTC (rev 7601)
@@ -137,7 +137,7 @@
       pgsql/$DBENCODING/update/update_2.6_to_2.6.1_pgsql_$DBENCODING.sql \
       pgsql/$DBENCODING/update/update_2.6.1_to_2.6.2_pgsql_$DBENCODING.sql \
       pgsql/$DBENCODING/update/update_2.6.2_to_2.7rc1_pgsql_$DBENCODING.sql \
-      pgsql/$DBENCODING/update/update_2.7rc_to_2.7rc2_pgsql_$DBENCODING.sql \
+      pgsql/$DBENCODING/update/update_2.7rc1_to_2.7rc2_pgsql_$DBENCODING.sql \
       pgsql/pgsql_serial_set_sequences_2.7.sql \
 	> _install.sql
     echo "inserting data (this might take a while longer)"

Modified: branches/2.7/resources/db/new_admin_gui.sql
===================================================================
--- branches/2.7/resources/db/new_admin_gui.sql	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/db/new_admin_gui.sql	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,20 +1,8 @@
-INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('Administration','Administration','Dienstadmin',1);
--- give root access to admin_wms_metadata
-INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('Administration', 1, 'owner');
--- set category to administration guis
-INSERT into gui_gui_category VALUES ('Administration', 1);
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','body',1,1,'Navigation','','body','','',0,0,200,40,NULL ,'','','','../geoportal/mod_revertGuiSessionSettings.php','','','','');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','body','favicon','../img/favicon.png','favicon','php_var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','body','includeWhileLoading','','show splash screen while the application is loading','php_var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','body','use_load_message','true','show splash screen while the application is loading','php_var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','body','jq_ui_theme','../extensions/jquery-ui-1.7.2.custom/css/smoothness/jquery-ui-1.7.2.custom.css','','file/css');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','body','jq_ui_effects_transfer','.ui-effects-transfer { z-index:1003; border: 2px dotted gray; } ','','text/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.widget.js','','','');
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('Administration','Administration','Administration',1);
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui',1,1,'jQuery UI core','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.core.js','','','');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','jq_ui','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WMS_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWMS,deleteWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.widget.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy_icon',2,1,'icon','','img','../img/gnome/emblem-readonly.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wms_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wms_metadata,wms_metadata_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWMSs_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','updateWMSs,updateWMSs_icon','','');
@@ -28,52 +16,28 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWMSs_icon',2,1,'icon','','img','../img/gnome/view-refresh.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wfs_metadata,wfs_metadata_icon','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWMS',2,1,'load capabilities in a gui','Load WMS','a','','href = "../php/mod_loadCapabilities.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','LOAD WMS','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','fullScreen',2,1,'Link to open Admin in new window','Full Screen View','span','','onclick="window.open(window.location.href,''FullAdminWindow'',''scrollbars=yes,resizeable=yes'')"
+',10,320,100,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Too small? - open in new window','span','','','','','http://www.mapbender.org/index.php/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','fullScreenIcon',2,1,'show iframe in new window','Open in new Window','img','../img/button_blue_red/resizemapsize_off.png','',120,320,24,24,NULL ,'','','','','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','fullScreenIcon','adjust_height','-35','to adjust the height of the mapframe on the bottom of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','fullScreenIcon','adjust_width','30','to adjust the width of the mapframe on the right side of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','fullScreenIcon','resize_option','button','auto (autoresize on load), button (resize by button)','var');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wms_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wms_mail_abo_icon',2,1,'icon','','img','../img/gnome/mail-message-new.png','',0,0,NULL ,NULL,2,'','','','','','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','category_filteredGUI',2,1,'add Gui to Category','Category -> myGUI','a','','href = "../php/mod_category_filteredGUI.php?sessionID&e_id_css=filteredUser_filteredGroup"',80,15,190,20,10,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','add GUI to Category','a','','','','','http://www.mapbender.org/GUI_Category');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','category_filteredGUI','cssfile','../css/administration_alloc.css','css file for admin module','file/css');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteGui',2,0,'delete gui','Delete GUI','a','','href = "../php/mod_deleteGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE GUI','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFS',2,1,'delete wfs','Delete WFS','a','','href = "../php/mod_deleteWFS.php?sessionID"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE WFS','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFSConf',2,1,'delete wfs conf','Delete WFS-Conf','a','','href = "../javascripts/mod_deleteWfsConf_client.html" ',80,15,250,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE FEATURETYPE-CONF','a','','','','AdminFrame','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_wms',2,1,'WMS admin menu','Admin WMS','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMS_collection,updateWMSs_collection,deleteWMS_collection,editGUI_WMS_collection,owsproxy_collection,monitor_results_collection,wms_metadata_collection,wms_mail_abo_collection','','');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','menu_wms','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWMS',2,1,'delete wms','Delete WMS','a','','href = "../php/mod_deleteWMS.php?sessionID"
-',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE WMS','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','delete_filteredGui',2,1,'delete guis of this admin','Delete myGUI','a','','href = "../php/mod_deleteFilteredGUI.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE myGUI','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editElements',2,1,'edit gui elements','Edit GUI Elements','a','','href = "../php/mod_editElements.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','EDIT GUI-ELEMENTS','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_Elements');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredGroup',2,1,'edit group of this admin','Edit myGroup','a','','href = "../php/mod_editFilteredGroup.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','EDIT myGROUP','a','','','','','http://www.mapbender.org/index.php/user');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser',2,0,'save, edit, delete user where this admin is owner','Edit myUser','a','','href = "../php/mod_editFilteredUser.php?sessionID" target="AdminFrame"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','EDIT myUSER','a','','','','','http://www.mapbender.org/index.php/user');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editFilteredUser','withPasswordInsertion','true','define if admin can set the new user','php_var');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_filteredGroup',2,1,'allocate guis of this admin to groups where this admin is owner','myGui -> myGroup','a','','href = "../php/mod_filteredGui_filteredGroup.php?sessionID&e_id_css=filteredGui_filteredGroup" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','myGUI -> myGROUP','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_filteredGroup','file css','../css/administration_alloc.css','file css','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_Group',2,1,'allocate guis to groups','myGui -> Group','a','','href = "../php/mod_filteredGui_group.php?sessionID&e_id_css=filteredGui_Group" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','myGUI -> GROUP ','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_Group','file css','../css/administration_alloc.css','file css','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGroup_User',2,1,'allocate groups of this admin to user','myGroup -> User','a','','href = "../php/mod_filteredGroup_User.php?sessionID&e_id_css=filteredGroup_User" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','myGROUP -> USER','a','','','','','http://www.mapbender.org/index.php/user');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGroup_User','file css','../css/administration_alloc.css','file css','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WMS',2,1,'edit the elements of the gui','Edit GUI <-> WMS','a','','href="../php/mod_editGuiWms.php?sessionID" 
-',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','EDIT GUI-WMS','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_WMS');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editGUI_WMS','file_css','../css/edit_gui.css','','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WFS',2,1,'edit the elements of the gui','Edit GUI <-> WFS','a','','href="../javascripts/mod_wfs_client.html"
-',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','EDIT GUI-WFS','a','','','','AdminFrame','http://www.mapbender.org/index.php/Edit_GUI_WMS');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editGUI_WFS','file_css','../css/edit_gui.css','','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_user',2,1,'allocate the guis of this admin to a user','myGui -> User','a','','href = "../php/mod_filteredGui_User.php?sessionID&e_id_css=filteredGui_user" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','myGUI -> USER ','a','','','','','http://www.mapbender.org/index.php/user');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_user','file css','../css/administration_alloc.css','a file css','file/css');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWFS_icon',2,1,'icon','','img','../img/gnome/view-refresh.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWFS',2,1,'load capabilities in a gui','Load WFS','a','','href = "../php/mod_loadWFSCapabilities.php?sessionID" target="AdminFrame"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','LOAD WFS','a','','','','','http://www.mapbender.org/index.php/WFS_Konfiguration');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','monitor_results',2,1,'','Monitoring results','a','','href = "../php/mod_monitorCapabilities_read.php?sessionID" ',80,15,NULL ,NULL,2,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','MONITORING RESULTS','a','','','','','http://www.mapbender.org/');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','newGui',2,1,'create a new gui','Create Gui','a','','href = "../php/mod_newGui.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','NEW GUI','a','','','','','http://www.mapbender.org/index.php/newGUI');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','updateWFS,updateWFS_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy',2,1,'secure services','OWSProxy WMS','a','','href="../php/mod_owsproxy_conf.php?sessionID"'' ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','OWSPROXY','a','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy_wfs',2,1,'secure services','OWSProxy WFS','a','','href="../javascripts/mod_wfs_client.html" ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','OWSPROXY WFS','a','','','','AdminFrame','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','rename_copy_Gui',2,1,'rename and copy gui','Rename/Copy Gui','a','','href = "../php/mod_renameGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','RENAME COPY GUI','a','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWFS,deleteWFS_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWFS',2,1,'edit the elements of the gui','Update WFS','a','','href="../javascripts/mod_wfs_client.html"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','UPDATE WFS','a','','','','AdminFrame','http://www.mapbender.org/index.php/UpdateWMS');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWMSs',2,1,'edit the elements of the gui','Update WMS','a','','href="../php/mod_updateWMS.php?sessionID"'' 
-',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','UPDATE WMS','a','','','','','http://www.mapbender.org/index.php/UpdateWMS');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_conf',2,1,'configure wfs','Configure Featuretype','a','','href = "../php/mod_wfs_conf_client.php"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','FEATURETYPE-CONF','a','','','','AdminFrame','http://www.mapbender.org/index.php/DeleteWMS');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_metadata',2,1,'wfs metadata editor','Metadataeditor WFS','a','','href = "../frames/index.php?guiID=admin_wfs_metadata"
@@ -111,15 +75,12 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','delete_filteredGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','delete_filteredGui,delete_filteredGui_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','delete_filteredGui_icon',2,1,'icon','','img','../img/gnome/deleteGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteGui_icon',2,0,'icon','','img','../img/gnome/deleteGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_gui',2,1,'GUI admin menu','Admin GUI','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','newGui_collection,rename_copy_gui_collection,delete_filteredGui_collection,editElements_collection,category_filteredGui_collection','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','category_filteredGui_icon',2,1,'icon','','img','../img/gnome/myGuiCategories.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','category_filteredGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','category_filteredGUI,category_filteredGui_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_user_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_user,filteredGui_user_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_user_icon',2,1,'icon','','img','../img/gnome/myGuiUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_group_icon',2,1,'icon','','img','../img/gnome/myGuiGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_group_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_Group,filteredGui_group_icon','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser_icon',2,0,'icon','','img','../img/gnome/editMyUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser_collection',2,0,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser,editFilteredUser_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGroup_User_icon',2,1,'icon','','img','../img/gnome/myGroupUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_filteredGroup_icon',2,1,'icon','','img','../img/gnome/myGuiMyGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_filteredGroup_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_filteredGroup,filteredGui_filteredGroup_icon','','');
@@ -128,12 +89,51 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editGUI_WMS,editGUI_WMS_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWMS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_position',2,1,'jQuery UI position','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.position.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_user',2,1,'Allow several users access to an application','Allow several users access to an application','a','','href = "../php/mod_filteredGui_User.php?sessionID&e_id_css=filteredGui_user" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Allow several users access to an application','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_user','file css','../css/administration_alloc.css','a file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WMS_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWMS,deleteWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_wms',2,1,'WMS admin menu','Admin WMS','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMS_collection,updateWMSs_collection,deleteWMS_collection,editGUI_WMS_collection,owsproxy_collection,monitor_results_collection,wms_metadata_collection,wms_mail_abo_collection,loadExtWMS_collection','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','menu_wms','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWMSList',2,1,'Link WMS to application','Link WMS to application','a','','href = "../php/mod_loadCapabilitiesList.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Link WMS to application','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WFS',2,1,'Assign WFS conf to application','Assign WFS conf to application','a','','href="../javascripts/mod_wfs_client.html"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Assign WFS conf to application','a','','','','AdminFrame','http://www.mapbender.org/index.php/Edit_GUI_WMS');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editGUI_WFS','file_css','../css/edit_gui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','showLoggedUser',2,1,'Anzeige des eingeloggten Benutzers','','iframe','../php/mod_showLoggedUser.php?sessionID','frameborder="0" scrolling=''no''',1,1,200,30,1,'background-color:lightgrey;','','iframe','','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','showLoggedUser','css_file_user_logged','../css/administration_alloc.css','file/css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGroup_User',2,1,'Add several users to one group','Add several users to one group','a','','href = "../php/mod_filteredGroup_User.php?sessionID&e_id_css=filteredGroup_User" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Add several users to one group','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGroup_User','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_Group',2,1,'Allocate applications to groups','Allocate applications to groups','a','','href = "../php/mod_filteredGui_group.php?sessionID&e_id_css=filteredGui_Group" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Allocate applications to groups','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_Group','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editElements',2,1,'Edit application elements','Edit application elements','a','','href = "../php/mod_editElements.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Edit application elements','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_Elements');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredGroup',2,1,'Create and edit group','Create and edit group','a','','href = "../php/mod_editFilteredGroup.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Create and edit group','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWMS',2,1,'Load Capabilities','Load WMS','a','','href = "../php/mod_loadCapabilities.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Load WMS','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','category_filteredGUI',2,1,'Add application to category','Add application to category','a','','href = "../php/mod_category_filteredGUI.php?sessionID&e_id_css=filteredUser_filteredGroup"',80,15,190,20,10,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Add application to category','a','','','','','http://www.mapbender.org/GUI_Category');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','category_filteredGUI','cssfile','../css/administration_alloc.css','css file for admin module','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWMS',2,1,'!Delete WMS completely!','Delete WMS completely','a','','href = "../php/mod_deleteWMS.php?sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','!Delete WMS completely!','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','delete_filteredGui',2,1,'Delete application','Delete application','a','','href = "../php/mod_deleteFilteredGUI.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Delete application','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_filteredGroup',2,1,'Allow several groups access <br> to one application','Allow several groups access <br> to one application','a','','href = "../php/mod_filteredGui_filteredGroup.php?sessionID&e_id_css=filteredGui_filteredGroup" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Allow several groups access <br> to one application','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_filteredGroup','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WMS',2,1,'WMS application settings','WMS application settings','a','','href="../php/mod_editGuiWms.php?sessionID" 
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','WMS application settings','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_WMS');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editGUI_WMS','file_css','../css/edit_gui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','newGui',2,1,'Create new application','Create new application','a','','href = "../php/mod_newGui.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Create new application','a','','','','','http://www.mapbender.org/index.php/newGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','rename_copy_Gui',2,1,'Rename / copy application','Rename / copy application','a','','href = "../php/mod_renameGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Rename / copy application','a','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWMSs',2,1,'Update with Capabilities','Update WMS','a','','href="../php/mod_updateWMS.php?sessionID"'' 
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Update WMS','a','','','','','http://www.mapbender.org/index.php/UpdateWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser',2,1,'Create and edit user','Create and edit user','a','','href = "../php/mod_editFilteredUser.php?sessionID" target="AdminFrame"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Create and edit user','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editFilteredUser','withPasswordInsertion','true','define if admin can set the new user','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser,editFilteredUser_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser_icon',2,1,'icon','','img','../img/gnome/editMyUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_gui',2,1,'GUI admin menuA','Admin Application','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','newGui_collection,rename_copy_gui_collection,delete_filteredGui_collection,editElements_collection,category_filteredGui_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadExtWMS_icon',2,1,'icon','','img','../img/gnome/loadExternalWms.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadExtWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMSList,loadExtWMS_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.button.js','','jq_ui,jq_ui_widget','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.draggable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_resizable',5,1,'Resizable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_ui_resizable.js','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.resizable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_dialog',5,1,'Dialog from jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.dialog.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.draggable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','mb_iframepopup',7,1,'iframepopup','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_iframepopup.js','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','mb_horizontal_accordion',10,1,'Put existing divs in new horizontal accordion div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,NULL ,NULL,NULL ,'','<dl></dl>','div','../plugins/mb_horizontal_accordion.js','../../extensions/jqueryEasyAccordion/jquery.easyAccordion.js','menu_wms,menu_wfs,menu_wmc,menu_user,menu_gui,menu_auth','','');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','mb_horizontal_accordion','Accordion css file','../extensions/jqueryEasyAccordion/mb_jquery.easyAccordion.css','','file/css');
 
-

Modified: branches/2.7/resources/db/new_admin_gui_de.sql
===================================================================
--- branches/2.7/resources/db/new_admin_gui_de.sql	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/db/new_admin_gui_de.sql	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,20 +1,14 @@
 INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('Administration_DE','Administration_DE','Administrationsoberfläche',1);
--- give root access to admin_wms_metadata
-INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('Administration_DE', 1, 'owner');
--- set category to administration guis
-INSERT into gui_gui_category VALUES ('Administration DE', 1);
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui',1,1,'jQuery UI core','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.core.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','jq_ui','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','body',1,1,'Navigation','','body','','',0,0,200,40,NULL ,'','','','../geoportal/mod_revertGuiSessionSettings.php','','','','');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','favicon','../img/favicon.png','favicon','php_var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','includeWhileLoading','','show splash screen while the application is loading','php_var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','use_load_message','true','show splash screen while the application is loading','php_var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','jq_ui_theme','../extensions/jquery-ui-1.7.2.custom/css/smoothness/jquery-ui-1.7.2.custom.css','','file/css');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','jq_ui_effects_transfer','.ui-effects-transfer { z-index:1003; border: 2px dotted gray; } ','','text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','includeWhileLoading','','show splash screen while the application is loading','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','use_load_message','false','show splash screen while the application is loading','php_var');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.widget.js','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui',1,1,'jQuery UI core','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.core.js','','','');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','jq_ui','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WMS_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWMS,deleteWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy_icon',2,1,'icon','','img','../img/gnome/emblem-readonly.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wms_metadata,wms_metadata_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWMSs_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','updateWMSs,updateWMSs_icon','','');
@@ -31,10 +25,6 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_mail_abo_icon',2,1,'icon','','img','../img/gnome/mail-message-new.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteGui',2,0,'delete gui','Delete GUI','a','','href = "../php/mod_deleteGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE GUI','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_wms',2,1,'WMS admin menu','Admin WMS','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMS_collection,updateWMSs_collection,deleteWMS_collection,editGUI_WMS_collection,owsproxy_collection,monitor_results_collection,wms_metadata_collection,wms_mail_abo_collection','','');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','menu_wms','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser',2,0,'save, edit, delete user where this admin is owner','Edit myUser','a','','href = "../php/mod_editFilteredUser.php?sessionID" target="AdminFrame"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','EDIT myUSER','a','','','','','http://www.mapbender.org/index.php/user');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','editFilteredUser','withPasswordInsertion','true','define if admin can set the new user','php_var');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWFS_icon',2,1,'icon','','img','../img/gnome/view-refresh.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','updateWFS,updateWFS_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
@@ -64,23 +54,19 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','delete_filteredGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','delete_filteredGui,delete_filteredGui_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','delete_filteredGui_icon',2,1,'icon','','img','../img/gnome/deleteGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteGui_icon',2,0,'icon','','img','../img/gnome/deleteGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_gui',2,1,'GUI admin menu','Admin GUI','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','newGui_collection,rename_copy_gui_collection,delete_filteredGui_collection,editElements_collection,category_filteredGui_collection','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','category_filteredGui_icon',2,1,'icon','','img','../img/gnome/myGuiCategories.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','category_filteredGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','category_filteredGUI,category_filteredGui_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_user_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_user,filteredGui_user_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_user_icon',2,1,'icon','','img','../img/gnome/myGuiUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_group_icon',2,1,'icon','','img','../img/gnome/myGuiGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_group_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_Group,filteredGui_group_icon','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser_icon',2,0,'icon','','img','../img/gnome/editMyUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser_collection',2,0,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser,editFilteredUser_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGroup_User_icon',2,1,'icon','','img','../img/gnome/myGroupUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_filteredGroup_icon',2,1,'icon','','img','../img/gnome/myGuiMyGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_filteredGroup_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_filteredGroup,filteredGui_filteredGroup_icon','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_user',2,1,'User admin menu','Admin Nutzer','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser_collection,editFilteredGroup_collection,filteredGroup_User_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','fullScreen',2,1,'Link to open Admin in new window','Öffne in neuem Fenster','span','','onclick="window.open(window.location.href,''Administrations Fenster'',''scrollbars=yes,resizeable=yes'')"
+',10,320,100,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Zu klein? - Öffne in neuem Fenster','span','','','','','http://www.mapbender.org/index.php/');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWMS_icon',2,1,'icon','','img','../img/gnome/document-save.png','',0,0,NULL ,NULL,2,'','','','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editGUI_WMS,editGUI_WMS_icon','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','rename_copy_Gui',2,1,'rename and copy gui','Rename/Copy Gui','a','','href = "../php/mod_renameGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Oberfläche umbenennen/kopieren','a','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWFS',2,1,'edit the elements of the gui','Update WFS','a','','href="../javascripts/mod_wfs_client.html"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Aktualisieren','a','','','','AdminFrame','http://www.mapbender.org/index.php/UpdateWMS');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wfs_conf',2,1,'configure wfs','Configure Featuretype','a','','href = "../php/mod_wfs_conf_client.php"
@@ -90,30 +76,26 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wmc_metadata',2,1,'wmc metadata editor','Metadataeditor WMC','a','','href = "../frames/index.php?guiID=admin_wmc_metadata"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Metadaten Editor','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_auth',2,1,'GUI admin menu','Autorisierung','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_user_collection,filteredGui_group_collection,filteredGui_filteredGroup_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','fullScreenIcon',2,1,'show iframe in new window','Open in new Window','img','../img/button_blue_red/resizemapsize_off.png','',120,320,24,24,NULL ,'','','','','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','fullScreenIcon','adjust_height','-35','to adjust the height of the mapframe on the bottom of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','fullScreenIcon','adjust_width','30','to adjust the width of the mapframe on the right side of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','fullScreenIcon','resize_option','button','auto (autoresize on load), button (resize by button)','var');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_position',2,1,'jQuery UI position','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.position.js','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_mouse',2,1,'jQuery UI mouse','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.mouse.js','','jq_ui_widget','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WMS',2,1,'edit the elements of the gui','Edit GUI <-> WMS','a','','href="../php/mod_editGuiWms.php?sessionID" 
-',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','GUI-WMS Konf.','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_WMS');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','editGUI_WMS','file_css','../css/edit_gui.css','','file/css');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','monitor_results',2,1,'','Monitoring results','a','','href = "../php/mod_monitorCapabilities_read.php?sessionID" ',80,15,NULL ,NULL,2,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Monitoring Ergebnisse','a','','','','','http://www.mapbender.org/');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy',2,1,'secure services','OWSProxy WMS','a','','href="../php/mod_owsproxy_conf.php?sessionID"'' ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Sicherheits Proxy','a','','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_metadata',2,1,'wms metadata editor','Metadataeditor WMS','a','','href = "../frames/index.php?guiID=admin_wms_metadata"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Metadaten - Editor','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS',2,1,'delete wms','Delete WMS','a','','href = "../php/mod_deleteWMS.php?sessionID"
-',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Löschen','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWMSs',2,1,'edit the elements of the gui','Update WMS','a','','href="../php/mod_updateWMS.php?sessionID"'' 
-',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Aktualisieren','a','','','','','http://www.mapbender.org/index.php/UpdateWMS');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWMS',2,1,'load capabilities in a gui','Load WMS','a','','href = "../php/mod_loadCapabilities.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Registrieren','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS',2,1,'!Vollständig löschen!','Delete WMS completely','a','','href = "../php/mod_deleteWMS.php?sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','!Vollständig löschen!','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','monitor_abo_show',2,1,'send mail to user which have abos','Mail Abo WMS','a','','href = "../php/mod_abo_show.php?sessionID"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Abonnenten benachrichtigen','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','category_filteredGUI',2,1,'add Gui to Category','Category -> myGUI','a','','href = "../php/mod_category_filteredGUI.php?sessionID&e_id_css=filteredUser_filteredGroup"',80,15,190,20,10,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Kategorisierung Oberflächen','a','','','','','http://www.mapbender.org/GUI_Category');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','category_filteredGUI','cssfile','../css/administration_alloc.css','css file for admin module','file/css');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFS',2,1,'delete wfs','Delete WFS','a','','href = "../php/mod_deleteWFS.php?sessionID"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Löschen','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFSConf',2,1,'delete wfs conf','Delete WFS-Conf','a','','href = "../javascripts/mod_deleteWfsConf_client.html" ',80,15,250,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Löschen von WFS Modulen','a','','','','AdminFrame','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','delete_filteredGui',2,1,'delete guis of this admin','Delete myGUI','a','','href = "../php/mod_deleteFilteredGUI.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Eigene Oberfläche löschen','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editElements',2,1,'edit gui elements','Edit GUI Elements','a','','href = "../php/mod_editElements.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Oberfläche einrichten','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_Elements');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredGroup',2,1,'edit group of this admin','Edit myGroup','a','','href = "../php/mod_editFilteredGroup.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Eigene Gruppe verwalten','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','delete_filteredGui',2,1,'Anwendung löschen','Anwendung löschen','a','','href = "../php/mod_deleteFilteredGUI.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Anwendung löschen','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editElements',2,1,'Anwendungselemente bearbeiten','Anwendungselemente bearbeiten','a','','href = "../php/mod_editElements.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Anwendungselemente bearbeiten','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_Elements');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredGroup',2,1,'Gruppe anlegen und editieren','Create and edit group','a','','href = "../php/mod_editFilteredGroup.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Gruppe anlegen und editieren','a','','','','','http://www.mapbender.org/index.php/user');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WFS',2,1,'edit the elements of the gui','Edit GUI <-> WFS','a','','href="../javascripts/mod_wfs_client.html"
 ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','GUI-WFS Konf.','a','','','','AdminFrame','http://www.mapbender.org/index.php/Edit_GUI_WMS');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','editGUI_WFS','file_css','../css/edit_gui.css','','file/css');
@@ -121,17 +103,42 @@
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','filteredGroup_User','file css','../css/administration_alloc.css','file css','file/css');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_Group',2,1,'allocate guis to groups','myGui -> Group','a','','href = "../php/mod_filteredGui_group.php?sessionID&e_id_css=filteredGui_Group" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Eigene Oberfläche externer Gruppe zuordnen','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','filteredGui_Group','file css','../css/administration_alloc.css','file css','file/css');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_filteredGroup',2,1,'allocate guis of this admin to groups where this admin is owner','myGui -> myGroup','a','','href = "../php/mod_filteredGui_filteredGroup.php?sessionID&e_id_css=filteredGui_filteredGroup" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Eigene Oberfläche eigener Gruppe zuordnen','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_filteredGroup',2,1,'mehreren Gruppen Zugriff auf <br>einzelne Anwendung erlauben','mehreren Gruppen Zugriff auf <br>einzelne Anwendung erlauben','a','','href = "../php/mod_filteredGui_filteredGroup.php?sessionID&e_id_css=filteredGui_filteredGroup" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','mehreren Gruppen Zugriff auf <br>einzelne Anwendung erlauben','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','filteredGui_filteredGroup','file css','../css/administration_alloc.css','file css','file/css');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_user',2,1,'allocate the guis of this admin to a user','myGui -> User','a','','href = "../php/mod_filteredGui_User.php?sessionID&e_id_css=filteredGui_user" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Eigene Oberfläche externem Nutzer zuordnen','a','','','','','http://www.mapbender.org/index.php/user');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','filteredGui_user','file css','../css/administration_alloc.css','a file css','file/css');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWFS',2,1,'load capabilities in a gui','Load WFS','a','','href = "../php/mod_loadWFSCapabilities.php?sessionID" target="AdminFrame"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Laden','a','','','','','http://www.mapbender.org/index.php/WFS_Konfiguration');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','newGui',2,1,'create a new gui','Create Gui','a','','href = "../php/mod_newGui.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Oberfläche/Container erzeugen','a','','','','','http://www.mapbender.org/index.php/newGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','newGui',2,1,'Anwendung erzeugen','Anwendung erzeugen','a','','href = "../php/mod_newGui.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Anwendung erzeugen','a','','','','','http://www.mapbender.org/index.php/newGUI');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy_wfs',2,1,'secure services','OWSProxy WFS','a','','href="../javascripts/mod_wfs_client.html" ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Sicherheits - Proxy','a','','','','AdminFrame','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser',2,1,'Benutzer anlegen und editieren','Benutzer anlegen und editieren','a','','href = "../php/mod_editFilteredUser.php?sessionID" target="AdminFrame"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Benutzer anlegen und editieren','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','editFilteredUser','withPasswordInsertion','true','define if admin can set the new user','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WMS_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWMS,deleteWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_user',2,1,'User admin menu','Admin Nutzer','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser_collection,editFilteredGroup_collection,filteredGroup_User_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_gui',2,1,'GUI admin menu','Admin Anwendung','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','newGui_collection,rename_copy_gui_collection,delete_filteredGui_collection,editElements_collection,category_filteredGui_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadExtWMS_icon',2,1,'icon','','img','../img/gnome/loadExternalWms.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadExtWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMSList,loadExtWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_wms',2,1,'WMS admin menu','Admin WMS','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMS_collection,updateWMSs_collection,deleteWMS_collection,editGUI_WMS_collection,owsproxy_collection,monitor_results_collection,wms_metadata_collection,wms_mail_abo_collection,loadExtWMS_collection','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','menu_wms','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWMSList',2,1,'load capabilities in a gui','WMS in Anwendung einbinden','a','','href = "../php/mod_loadCapabilitiesList.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','WMS in Anwendung einbinden','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WMS',2,1,'WMS Anwendungseinstellungen','WMS Anwendungseinstellungen','a','','href="../php/mod_editGuiWms.php?sessionID" 
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','WMS Anwendungseinstellungen','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_WMS');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','editGUI_WMS','file_css','../css/edit_gui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWMSs',2,1,'Hochgeladene aktualisieren','Update WMS','a','','href="../php/mod_updateWMS.php?sessionID"'' 
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Hochgeladene aktualisieren','a','','','','','http://www.mapbender.org/index.php/UpdateWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWMS',2,1,'Capabilities hochladen','Load WMS','a','','href = "../php/mod_loadCapabilities.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Capabilities hochladen','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','category_filteredGUI',2,1,'Anwendung zu Kategorie zuordnen','Anwendung zu Kategorie zuordnen','a','','href = "../php/mod_category_filteredGUI.php?sessionID&e_id_css=filteredUser_filteredGroup"',80,15,190,20,10,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Anwendung zu Kategorie zuordnen','a','','','','','http://www.mapbender.org/GUI_Category');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','category_filteredGUI','cssfile','../css/administration_alloc.css','css file for admin module','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','rename_copy_Gui',2,1,'Anwendung kopieren/umbenennen','Anwendung kopieren/umbenennen','a','','href = "../php/mod_renameGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Anwendung kopieren/umbenennen','a','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','showLoggedUser',2,1,'Anzeige des eingeloggten Benutzers','','iframe','../php/mod_showLoggedUser.php?sessionID','frameborder="0" scrolling=''no''',1,1,200,30,1,'background-color:lightgrey;','','iframe','','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','showLoggedUser','css_file_user_logged','../css/administration_alloc.css','file/css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser_icon',2,1,'icon','','img','../img/gnome/editMyUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser,editFilteredUser_icon','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.button.js','','jq_ui,jq_ui_widget','');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_dialog',5,1,'Dialog from jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.dialog.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.draggable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_resizable',5,1,'Resizable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_ui_resizable.js','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.resizable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_dialog',5,1,'Dialog from jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.dialog.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','mb_iframepopup',7,1,'iframepopup','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_iframepopup.js','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','mb_horizontal_accordion',10,1,'Put existing divs in new horizontal accordion div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,NULL ,NULL,NULL ,'','<dl></dl>','div','../plugins/mb_horizontal_accordion.js','../../extensions/jqueryEasyAccordion/jquery.easyAccordion.js','menu_wms,menu_wfs,menu_wmc,menu_user,menu_gui,menu_auth','','');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','mb_horizontal_accordion','Accordion css file','../extensions/jqueryEasyAccordion/mb_jquery.easyAccordion.css','','file/css');

Modified: branches/2.7/resources/db/pgsql/UTF-8/update/update_2.6.2_to_2.7rc1_pgsql_UTF-8.sql
===================================================================
--- branches/2.7/resources/db/pgsql/UTF-8/update/update_2.6.2_to_2.7rc1_pgsql_UTF-8.sql	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/db/pgsql/UTF-8/update/update_2.6.2_to_2.7rc1_pgsql_UTF-8.sql	2011-02-14 16:52:49 UTC (rev 7601)
@@ -564,7 +564,7 @@
 UPDATE gui_element SET e_content = '<span>Ma</span><span style="color: blue;">P</span><span style="color: red;">b</span><span>ender</span><script type="text/javascript"> mb_registerSubFunctions("mod_mapbender()"); function mod_mapbender(){ document.getElementById("mapbender").style.left = parseInt(document.getElementById("mapframe1").style.left) + parseInt(document.getElementById("mapframe1").style.width) - 90; document.getElementById("mapbender").style.top = parseInt(document.getElementById("mapframe1").style.top) + parseInt(document.getElementById("mapframe1").style.height) -1; } </script>' WHERE e_id = 'mapbender';
 
 -- correct URL encoding
-UPDATE gui_element SET e_attributes = E'onclick="printWindow = window.open(\'../print/mod_printPDF.php?target=mapframe1&amp;sessionID&amp;conf=printPDF_b.conf\',\'printWin\',\'width=260, height=380, resizable=yes\');printWindow.focus();"  onmouseover="this.src = this.src.replace(/_off/,\'_over\');" onmouseout="this.src = this.src.replace(/_over/, \'_off\');"' WHERE e_id = 'printPDF';
+UPDATE gui_element SET e_attributes = E'onclick="printWindow = window.open(\'../print/mod_printPDF.php?target=mapframe1&amp;sessionID&amp;conf=printPDF_b.conf\',\'printWin\',\'width=260, height=380, resizable=yes\');printWindow.focus();"  onmouseover="this.src = this.src.replace(/_off/,\'_over\');" onmouseout="this.src = this.src.replace(/_over/, \'_off\');"' WHERE e_id = 'printPDF' AND e_element = 'img';
 
 -- added mandatory action attribute
 UPDATE gui_element SET e_attributes = 'action="window.location.href"' WHERE e_id = 'setBackground';
@@ -572,7 +572,7 @@
 UPDATE gui_element SET e_content = '<form id="form_switch_locale" action="window.location.href" name="form_switch_locale" target="parent"><select id="language" name="language" onchange="validate_locale()"></select></form>' WHERE e_id = 'switchLocale_noreload';
 
 -- attributes only valid for printPDF button (img)
-UPDATE gui_element SET e_attributes = '' WHERE e_id = 'printPDF' AND e_element = 'iframe';
+UPDATE gui_element SET e_attributes = '' WHERE e_id = 'printPDF' AND e_element IN ('iframe','div');
 
 
 
@@ -3098,7 +3098,7 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','setBBOX',2,1,'set extent for mapframe and overviewframe','','div','','',0,0,0,0,0,'','','div','mod_setBBOX1.php','','mapframe1','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','setSpatialRequest',2,1,'Spatial Request','','div','','',1,1,1,1,1,'visibility:hidden;','','div','../javascripts/mod_wfs_SpatialRequest.php','geometry.js,requestGeometryConstructor.js,popup.js','mapframe1','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','showCoords_div',2,1,'displays coodinates by onmouseover','Coordinates','img','../img/button_blue_red/coords_off.png','onmouseover = "mb_regButton(''init_mod_showCoords_div'')" ',518,8,28,28,1,'','','','mod_coords_div.php','','mapframe1','dependendDiv','http://www.mapbender.org/index.php/ShowCoords_div');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','tabs',1,1,'vertical tabs to handle iframes','','div','','',10,240,200,20,2,'font-family: Arial,Helvetica;font-weight:bold;','','div','mod_tab.php','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','tabs',1,1,'vertical tabs to handle iframes','','div','','',2,240,220,20,2,'font-family: Arial,Helvetica;font-weight:bold;','','div','mod_tab.php','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','treeGDE',2,1,'new treegde2 - directory tree, checkbox for visible, checkbox for querylayer
 for more infos have a look at http://www.mapbender.org/index.php/TreeGDE2','Maps','div','','class="ui-widget ui-widget-content"',10,220,200,300,NULL ,'visibility:hidden;overflow:auto','','div','../html/mod_treefolderPlain.php','jsTree.js','mapframe1','mapframe1','http://www.mapbender.org/index.php/TreeGde');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','wfs',2,1,'wfs request and result handling','','div','','',1,1,1,1,NULL ,'visibility:hidden','','div','wfs.php','../extensions/wz_jsgraphics.js,geometry.js','mapframe1,overview','','');
@@ -3129,9 +3129,9 @@
 .button {height:18px; width:32px;}', 'text css', 'text/css');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'digitize', 'wfsCssUrl', '../css/mapbender.css', 'var', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoLayerPopup', 'true', '', 'var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupHeight', '200', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupHeight', '320', '', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupPosition', '[100,100]', 'position of the featureInfoPopup', 'var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupWidth', '270', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupWidth', '320', '', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'gazetteerWFS', 'enableSearchWithoutParams', '0', 'define that search can be started without any search params', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'gazetteerWFS', 'initializeOnLoad', '0', 'start gazetteer onload', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'gazetteerWFS', 'removeSpatialRequestHighlight', '0', 'remove spatialrequest highlighting when firing search', 'var');
@@ -3550,3 +3550,10 @@
 -- changed position for OpenLayers selements
 --
 UPDATE gui_element SET e_pos = 2 where e_id LIKE 'ol_%';
+
+--
+--replace jquery ui minified folder
+--resizeable
+--
+UPDATE gui_element SET e_mb_mod=replace(e_mb_mod,'/minified/','/') where e_id ilike 'jq_ui%' ;
+UPDATE gui_element SET e_mb_mod=replace(e_mb_mod,'.min.js','.js') where e_id ilike 'jq_ui%' ;


Property changes on: branches/2.7/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6_pgsql_UTF-8.sql
___________________________________________________________________
Modified: svn:mergeinfo
   - /branches/kmq_dev/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6rc2_pgsql_UTF-8.sql:4021-4487
/trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6_pgsql_UTF-8.sql:7549
   + /branches/kmq_dev/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6rc2_pgsql_UTF-8.sql:4021-4487
/trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6_pgsql_UTF-8.sql:7363-7600

Modified: branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7rc1_to_2.7rc2_pgsql_UTF-8.sql
===================================================================
--- branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7rc1_to_2.7rc2_pgsql_UTF-8.sql	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7rc1_to_2.7rc2_pgsql_UTF-8.sql	2011-02-14 16:52:49 UTC (rev 7601)
@@ -141,3 +141,1446 @@
 --deactivate OnEarth Web Map Server in gui_digitize 
 --
 UPDATE gui_layer SET gui_layer_visible='0' where fkey_gui_id='gui_digitize' AND gui_layer_wms_id='640';
+
+--
+-- feedTree to load GeoRSS or KML
+-- create a new tab in application gui to load georss
+--
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui', 'tabs', 'tab_frameHeight[8]', '240', '' ,'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui', 'tabs', 'tab_ids[8]', 'feedTree', '' ,'php_var');
+
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('gui','feedTree',2,1,'Displays a GeoRSS feed on the map','GeoRss','ul','','',1,1,1,1,NULL ,'visibility:hidden','','ul','../plugins/feedTree.js','../../lib/mb.ui.displayFeatures.js','mapframe1','jq_ui_widget','http://www.mapbender.org/Loadkmlgeorss');
+
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui', 'feedTree', 'styles', '../css/feedtree.css', '' ,'file/css');
+
+--
+--fix 4 coordsLookup in gui
+--
+UPDATE gui_element_vars set var_value='EPSG:4326;Geographic Coordinates,EPSG:31466;Gauss-Krueger 2,EPSG:31467;Gaus-Krueger 3' WHERE fkey_gui_id='gui' AND fkey_e_id='coordsLookup' AND var_name='projections';
+UPDATE gui_element_vars set var_type='php_var' WHERE fkey_gui_id='gui' AND fkey_e_id='coordsLookup' AND var_name='projections';
+
+-- update dragMapSize in all applications not only in template applications
+UPDATE gui_element set e_attributes = 'class="ui-state-default"',e_left=-59,e_top=1,e_width=15,e_height=15, e_more_styles='font-size:1px; cursor:move;', e_content= '<span class="ui-icon ui-icon ui-icon-arrow-4"></span>' where e_id = 'dragMapSize';
+
+--
+--remove old GeoRss Module from gui1 
+--
+
+DELETE FROM gui_element WHERE fkey_gui_id='gui1' AND e_id='addGeoRSS';
+
+--
+-- ad splash to template applications gui, gui1, gui2
+--
+UPDATE gui_element_vars set var_value = '../include/mapbender_logo_splash.php', 
+context = 'show splash screen while the application is loading' 
+where fkey_gui_id IN ('gui','gui1','gui2') AND fkey_e_id = 'body' AND var_name = 'includeWhileLoading';
+
+--
+-- new template_print with print demo and navigation
+--
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('template_print','template_print','This application demonstrates the print with PDF template functionality',1);
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_datatables',1,1,'Includes the jQuery plugin datatables, use like this
+$(selector).datatables(options)','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_datatables.js','../extensions/dataTables-1.5/media/js/jquery.dataTables.min.js','','','http://www.datatables.net/');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','jq_datatables','defaultCss','../extensions/dataTables-1.5/media/css/demo_table_jui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','mapframe1',1,1,'Frame for a map','','div','','',210,50,500,500,2,'overflow:hidden;background-color:#ffffff','','div','../plugins/mb_map.js','../../lib/history.js,map_obj.js,map.js,wms.js,wfs_obj.js,initWmcObj.php','','','http://www.mapbender.org/index.php/Mapframe');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','mapframe1','skipWmsIfSrsNotSupported','0','if set to 1, it skips the WMS request if the current SRS is not supported by the WMS; if set to 0, the WMS is always queried. Default is 0, because of backwards compatibility','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','mapframe1','slippy','0','1 = Activates an animated, pseudo slippy map','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui',1,1,'The jQuery UI core','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.core.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','jq_ui','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.widget.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','printButton',1,1,'','Druck','img','../img/button_blue_red/print_off.png','',480,10,24,24,NULL ,'','','','../plugins/mb_button.js','','printPDF','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','printButton','position','[720,100]','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','body',1,1,'body (obligatory)','','body','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','css_class_bg','body{ background-color: #ffffff; }','to define the color of the body','text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','css_file_body','../css/mapbender.css','file/css','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','popupcss','../css/popup.css','file css','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','use_load_message','true','','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','tablesortercss','../css/tablesorter.css','file css','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','favicon','../img/favicon.png','favicon','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','jquery_datatables','../extensions/dataTables-1.5/media/css/demo_table_jui.css','','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','jq_ui_theme','../extensions/jquery-ui-1.7.2.custom/css/smoothness/jquery-ui-1.7.2.custom.css','UI Theme from Themeroller','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','print_css','../css/print_div.css','','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','body','includeWhileLoading','../include/mapbender_logo_splash.php','show splash screen while the application is loading','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_upload',1,1,'','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../plugins/jq_upload.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','zoomIn1',2,1,'zoomIn button','In die Karte hineinzoomen','img','../img/button_blue_red/zoomIn2_off.png','',210,10,28,28,1,'','','','mod_zoomIn1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomIn');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','sandclock',2,1,'displays a sand clock while waiting for requests','','div','','',0,0,0,0,0,'','','div','mod_sandclock.js','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','sandclock','mod_sandclock_image','../img/sandclock.gif','define a sandclock image ','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_position',2,1,'jQuery UI position','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.position.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','zoomFull',2,1,'zoom to full extent button','gesamte Karte anzeigen','img','../img/button_blue_red/zoomFull_off.png','',330,10,28,28,2,'','','','mod_zoomFull.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomFull');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','featureInfo1',2,1,'FeatureInfoRequest','Datenabfrage','img','../img/button_blue_red/query_off.png','',400,10,28,28,1,'','','','mod_featureInfo.php','','mapframe1','','http://www.mapbender.org/index.php/FeatureInfo');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','featureInfo1','featureInfoLayerPopup','true','display featureInfo in dialog popup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','featureInfo1','featureInfoPopupHeight','400','height of the featureInfo dialog popup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','featureInfo1','featureInfoPopupPosition','[600,50]','position of the featureInfoPopup','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','featureInfo1','featureInfoPopupWidth','400','width of the featureInfo dialog popup','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','treeGDE',2,1,'new treegde2 - directory tree, checkbox for visible, checkbox for querylayer
+for more infos have a look at http://www.mapbender.org/index.php/TreeGDE2','Karten','div','','class="ui-widget"',10,220,200,300,NULL ,'','','div','../html/mod_treefolderPlain.php','jsTree.js','mapframe1','mapframe1','http://www.mapbender.org/index.php/TreeGde');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','alerterror','true','alertbox for wms loading error','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','ficheckbox','true','checkbox for featureInfo requests','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','imagedir','../img/tree_new','image directory','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','menu','opacity_up,opacity_down,zoom,metainfo,hide,wms_up,wms_down,layer_up,layer_down,remove','context menu elements','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','metadatalink','false','link for layer-metadata','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','openfolder','false','initial open folder','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','showstatus','true','show status in folderimages','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','wmsbuttons','false','wms management buttons','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','switchwms','true','enables/disables all layer of a wms','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','treeGDE','css','../css/treeGDE2.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','zoomOut1',2,1,'zoomOut button','Aus der Karte herauszoomen','img','../img/button_blue_red/zoomOut2_off.png','',240,10,28,28,1,'','','','mod_zoomOut1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomOut');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','overview',2,1,'OverviewFrame','','div','','',10,10,180,180,2,'overflow:hidden;background-color:#ffffff','<div id="overview_maps" style="position:absolute;left:0px;right:0px;"></div>','div','../plugins/mb_overview.js','../../lib/history.js,map_obj.js,map.js,wms.js,wfs_obj.js,initWmcObj.php','mapframe1','mapframe1','http://www.mapbender.org/index.php/Overview');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','overview','overview_wms','0','wms that shows up as overview','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','overview','skipWmsIfSrsNotSupported','0','if set to 1, it skips the WMS request if the current SRS is not supported by the WMS; if set to 0, the WMS is always queried. Default is 0, because of backwards compatibility','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','pan1',2,1,'pan','Ausschnitt verschieben','img','../img/button_blue_red/pan_off.png','',270,10,28,28,1,'','','','mod_pan.js','','mapframe1','','http://www.mapbender.org/index.php/Pan');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','selArea1',2,1,'zoombox','Ausschnitt wählen','img','../img/button_blue_red/selArea_off.png','',300,10,28,28,1,'','','','mod_selArea.js','mod_box1.js','mapframe1','','http://www.mapbender.org/index.php/SelArea1');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','doubleclickZoom',2,1,'adds doubleclick zoom to map module (target).
+Deactivates the browser contextmenu!!!','Doubleclick zoom','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','mod_doubleclickZoom.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','copyright',2,1,'a Copyright in the map','Copyright','div','','',0,0,0,0,0,'','','div','mod_copyright.php','','mapframe1','','http://www.mapbender.org/index.php/Copyright');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','copyright','mod_copyright_text','mapbender.org','define a copyright text which should be displayed','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','printPDF',2,1,'pdf print','Druck','div','','',860,10,200,380,5,'','<div id="printPDF_working_bg"></div><div id="printPDF_working"><img src="../img/indicator_wheel.gif" style="padding:10px 0 0 10px">Generating PDF</div><div id="printPDF_input"><form id="printPDF_form" action="../print/printFactory.php"><div id="printPDF_selector"></div><div class="print_option"><input type="hidden" id="map_url" name="map_url" value=""/><input type="hidden" id="overview_url" name="overview_url" value=""/><input type="hidden" id="map_scale" name="map_scale" value=""/><input type="hidden" name="measured_x_values" /><input type="hidden" name="measured_y_values" /><br /></div><div class="print_option" id="printPDF_formsubmit"><input
  id="submit" type="submit" value="Print"><br /></div></form><div id="printPDF_result"></div></div>','div','../plugins/mb_print.php','../../lib/printbox.js,../extensions/jquery-ui-1.7.2.custom/development-bundle/external/bgiframe/jquery.bgiframe.min.js,../extensions/jquery.form.min.js,../extensions/wz_jsgraphics.js','mapframe1','','http://www.mapbender.org/index.php/Print');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','printPDF','highqualitymapfiles','[
+    {
+        "pattern": "/data/umn/germany/germany.map",
+        "replacement" : {
+            "288": "/data/umn/germany/germany_4.map" 
+        }
+    },
+	{
+        "pattern": "/data/umn/mapbender_user/mapbender_user.map",
+        "replacement" : {
+            "288": "/data/umn/mapbender_user/mapbender_user_4.map" 
+        }
+    }
+]','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','printPDF','mbPrintConfig','{"A4 landscape": "A4_landscape_template.json","A4 portrait": "A4_portrait_template.json","A4 landscape": "A4_landscape_template.json","A3 landscape": "A3_landscape_template.json","A3 portrait": "A3_portrait_template.json"}','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','dragMapSize',2,1,'drag & drop Mapsize','Karte vergrößern','div','','class="ui-state-default"',-59,1,15,15,2,'font-size:1px; cursor:move;','<span class="ui-icon ui-icon ui-icon-arrow-4"></span>','div','mod_dragMapSize.php','','mapframe1','','http://www.mapbender.org/index.php/DragMapSize');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_mouse',2,1,'jQuery UI mouse','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.mouse.js','','jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','mapframe1_navigation',4,1,'Adds navigation arrows on top of the map','Navigation','div','','',20,30,NULL ,NULL,1001,'','','div','../plugins/mb_navigation.js','','mapframe1','mapframe1','http://www.mapbender.org/Navigation');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_droppable',4,1,'jQuery UI droppable','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.droppable.js','','jq_ui,jq_ui_widget,jq_ui_mouse,jq_ui_draggable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.button.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','mapframe1_mousewheelZoom',4,1,'adds mousewheel zoom to map module (target)','Mousewheel zoom','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','mod_mousewheelZoom.js','../extensions/jquery.mousewheel.min.js','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','mapframe1_mousewheelZoom','factor','2','The factor by which the map is zoomed on each mousewheel unit','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','mapframe1_zoomBar',4,1,'zoom bar - slider to handle navigation, define zoom level with an element var','Zoom to scale','div','','',30,100,NULL ,200,1001,'','','div','../plugins/mb_zoomBar.js','','mapframe1','mapframe1, jq_ui_slider','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','mapframe1_zoomBar','defaultLevel','3','define the default level for application start','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('template_print','mapframe1_zoomBar','level','[2500,5000,10000,50000,100000,500000,1000000,3000000,5000000,10000000]','define an array of levels for the slider (element_var has to be defined)','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_slider',5,1,'slider from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.slider.min.js','','jq_ui,jq_ui_mouse,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_dialog',5,1,'Module to manage jQuery UI dialog windows with multiple options for customization.','','div','','',-1,-1,NULL ,NULL,NULL ,'','','div','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.dialog.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.draggable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_tabs',5,1,'horizontal tabs from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.tabs.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('template_print','jq_ui_resizable',5,1,'Resizable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_ui_resizable.js','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.resizable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','');
+
+
+-------------
+--WMS germany gui_wms
+INSERT INTO gui_wms (fkey_gui_id,fkey_wms_id,gui_wms_position,gui_wms_mapformat,
+gui_wms_featureinfoformat,gui_wms_exceptionformat,gui_wms_epsg,gui_wms_visible,gui_wms_opacity,gui_wms_sldurl) 
+(SELECT 
+'template_print', fkey_wms_id, 0, 
+gui_wms_mapformat,gui_wms_featureinfoformat,
+gui_wms_exceptionformat,gui_wms_epsg,1 as gui_wms_visible,gui_wms_opacity,gui_wms_sldurl
+FROM gui_wms WHERE fkey_gui_id = 'gui1' AND fkey_wms_id = 893);
+-- WMS germany gui_layer
+INSERT INTO gui_layer (fkey_gui_id,fkey_layer_id,gui_layer_wms_id,gui_layer_status,gui_layer_selectable,
+gui_layer_visible,gui_layer_queryable,gui_layer_querylayer,gui_layer_minscale,gui_layer_maxscale,
+gui_layer_priority,gui_layer_style,gui_layer_wfs_featuretype,gui_layer_title)
+(SELECT 
+'template_print', 
+fkey_layer_id,gui_layer_wms_id ,gui_layer_status,gui_layer_selectable,
+gui_layer_visible,gui_layer_queryable,gui_layer_querylayer,gui_layer_minscale,
+gui_layer_maxscale,gui_layer_priority,gui_layer_style,gui_layer_wfs_featuretype,gui_layer_title
+ FROM gui_layer WHERE fkey_gui_id = 'gui1' AND gui_layer_wms_id = 893);
+
+
+--WMS mapbender_user gui_wms
+INSERT INTO gui_wms (fkey_gui_id,fkey_wms_id,gui_wms_position,gui_wms_mapformat,
+gui_wms_featureinfoformat,gui_wms_exceptionformat,gui_wms_epsg,gui_wms_visible,gui_wms_opacity,gui_wms_sldurl) 
+(SELECT 
+'template_print', fkey_wms_id, 1, 
+gui_wms_mapformat,gui_wms_featureinfoformat,
+gui_wms_exceptionformat,gui_wms_epsg,1 as gui_wms_visible,gui_wms_opacity,gui_wms_sldurl
+FROM gui_wms WHERE fkey_gui_id = 'gui1' AND fkey_wms_id = 407);
+-- WMS mapbender_user gui_layer
+INSERT INTO gui_layer (fkey_gui_id,fkey_layer_id,gui_layer_wms_id,gui_layer_status,gui_layer_selectable,
+gui_layer_visible,gui_layer_queryable,gui_layer_querylayer,gui_layer_minscale,gui_layer_maxscale,
+gui_layer_priority,gui_layer_style,gui_layer_wfs_featuretype,gui_layer_title)
+(SELECT 
+'template_print', 
+fkey_layer_id,gui_layer_wms_id ,gui_layer_status,gui_layer_selectable,
+gui_layer_visible,gui_layer_queryable,gui_layer_querylayer,gui_layer_minscale,
+gui_layer_maxscale,gui_layer_priority,gui_layer_style,gui_layer_wfs_featuretype,gui_layer_title
+ FROM gui_layer WHERE fkey_gui_id = 'gui1' AND gui_layer_wms_id = 407);
+Update gui_layer set gui_layer_maxscale = 0 WHERE fkey_gui_id = 'template_print' AND gui_layer_wms_id = 407;
+
+INSERT into gui_mb_user (fkey_gui_id , fkey_mb_user_id , mb_user_type) VALUES ('template_print',1,'owner');
+
+INSERT into gui_gui_category VALUES ('template_print', 2);
+
+------
+-- new application Administration
+--
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('Administration','Administration','Administration',1);
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui',1,1,'jQuery UI core','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.core.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','jq_ui','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.widget.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy_icon',2,1,'icon','','img','../img/gnome/emblem-readonly.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wms_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wms_metadata,wms_metadata_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWMSs_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','updateWMSs,updateWMSs_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wmc_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wmc_metadata,wmc_metadata_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_wmc',2,1,'WMC admin menu','Admin WMC','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','wmc_metadata_collection','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','menu_wmc','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','monitor_results_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,200,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','monitor_results,monitor_results_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','monitor_results_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-remote-desktop.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wmc_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWFS_icon',2,1,'icon','','img','../img/gnome/document-save.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWMSs_icon',2,1,'icon','','img','../img/gnome/view-refresh.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wfs_metadata,wfs_metadata_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','fullScreen',2,1,'Link to open Admin in new window','Full Screen View','span','','onclick="window.open(window.location.href,''FullAdminWindow'',''scrollbars=yes,resizeable=yes'')"
+',10,320,100,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Too small? - open in new window','span','','','','','http://www.mapbender.org/index.php/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','fullScreenIcon',2,1,'show iframe in new window','Open in new Window','img','../img/button_blue_red/resizemapsize_off.png','',120,320,24,24,NULL ,'','','','','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','fullScreenIcon','adjust_height','-35','to adjust the height of the mapframe on the bottom of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','fullScreenIcon','adjust_width','30','to adjust the width of the mapframe on the right side of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','fullScreenIcon','resize_option','button','auto (autoresize on load), button (resize by button)','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wms_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wms_mail_abo_icon',2,1,'icon','','img','../img/gnome/mail-message-new.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteGui',2,0,'delete gui','Delete GUI','a','','href = "../php/mod_deleteGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE GUI','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFS',2,1,'delete wfs','Delete WFS','a','','href = "../php/mod_deleteWFS.php?sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE WFS','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFSConf',2,1,'delete wfs conf','Delete WFS-Conf','a','','href = "../javascripts/mod_deleteWfsConf_client.html" ',80,15,250,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE FEATURETYPE-CONF','a','','','','AdminFrame','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWFS_icon',2,1,'icon','','img','../img/gnome/view-refresh.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWFS',2,1,'load capabilities in a gui','Load WFS','a','','href = "../php/mod_loadWFSCapabilities.php?sessionID" target="AdminFrame"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','LOAD WFS','a','','','','','http://www.mapbender.org/index.php/WFS_Konfiguration');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','monitor_results',2,1,'','Monitoring results','a','','href = "../php/mod_monitorCapabilities_read.php?sessionID" ',80,15,NULL ,NULL,2,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','MONITORING RESULTS','a','','','','','http://www.mapbender.org/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','updateWFS,updateWFS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy',2,1,'secure services','OWSProxy WMS','a','','href="../php/mod_owsproxy_conf.php?sessionID"'' ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','OWSPROXY','a','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy_wfs',2,1,'secure services','OWSProxy WFS','a','','href="../javascripts/mod_wfs_client.html" ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','OWSPROXY WFS','a','','','','AdminFrame','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWFS,deleteWFS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWFS',2,1,'edit the elements of the gui','Update WFS','a','','href="../javascripts/mod_wfs_client.html"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','UPDATE WFS','a','','','','AdminFrame','http://www.mapbender.org/index.php/UpdateWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_conf',2,1,'configure wfs','Configure Featuretype','a','','href = "../php/mod_wfs_conf_client.php"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','FEATURETYPE-CONF','a','','','','AdminFrame','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_metadata',2,1,'wfs metadata editor','Metadataeditor WFS','a','','href = "../frames/index.php?guiID=admin_wfs_metadata"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','METADATA EDITOR','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WFS_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wmc_metadata',2,1,'wmc metadata editor','Metadataeditor WMC','a','','href = "../frames/index.php?guiID=admin_wmc_metadata"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','METADATA EDITOR','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wms_metadata',2,1,'wms metadata editor','Metadataeditor WMS','a','','href = "../frames/index.php?guiID=admin_wms_metadata"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','METADATA EDITOR','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editGUI_WFS,editGUI_WFS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_auth',2,1,'GUI admin menu','Authorization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_user_collection,filteredGui_group_collection,filteredGui_filteredGroup_collection,gui_owner_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','monitor_abo_show',2,1,'send mail to user which have abos','Mail Abo WMS','a','','href = "../php/mod_abo_show.php?sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','MAIL ABO','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wms_mail_abo_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','monitor_abo_show,wms_mail_abo_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','owsproxy,owsproxy_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy_wfs_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','owsproxy_wfs,owsproxy_wfs_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','owsproxy_wfs_icon',2,1,'icon','','img','../img/gnome/emblem-readonly.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_conf_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','wfs_conf_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wfs_conf,wfs_conf_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFSConf_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWFSConf,deleteWFSConf_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_wfs',2,1,'WFS admin menu','Admin WFS','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWFS_collection,updateWFS_collection,editGUI_WFS_collection,deleteWFS_collection,wfs_metadata_collection,owsproxy_wfs_collection,wfs_conf_collection,deleteWFSConf_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredGroup_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredGroup,editFilteredGroup_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_user',2,1,'User admin menu','Admin User','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser_collection,editFilteredGroup_collection,filteredGroup_User_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGroup_User_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGroup_User,filteredGroup_User_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredGroup_icon',2,1,'icon','','img','../img/gnome/editMyGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','newGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','newGui,newGui_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMS,loadWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWFS,loadWFS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','newGui_icon',2,1,'icon','','img','../img/gnome/newGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','rename_copy_gui_icon',2,1,'icon','','img','../img/gnome/edit-copy.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','rename_copy_gui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','rename_copy_Gui,rename_copy_gui_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWFSConf_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editElements_icon',2,1,'icon','','img','../img/gnome/editGuiElements.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editElements_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editElements,editElements_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','delete_filteredGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','delete_filteredGui,delete_filteredGui_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','delete_filteredGui_icon',2,1,'icon','','img','../img/gnome/deleteGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteGui_icon',2,0,'icon','','img','../img/gnome/deleteGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','category_filteredGui_icon',2,1,'icon','','img','../img/gnome/myGuiCategories.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','category_filteredGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','category_filteredGUI,category_filteredGui_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_user_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_user,filteredGui_user_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_user_icon',2,1,'icon','','img','../img/gnome/myGuiUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_group_icon',2,1,'icon','','img','../img/gnome/myGuiGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_group_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_Group,filteredGui_group_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGroup_User_icon',2,1,'icon','','img','../img/gnome/myGroupUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_filteredGroup_icon',2,1,'icon','','img','../img/gnome/myGuiMyGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_filteredGroup_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_filteredGroup,filteredGui_filteredGroup_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_mouse',2,1,'jQuery UI mouse','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.mouse.js','','jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWMS_icon',2,1,'icon','','img','../img/gnome/document-save.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editGUI_WMS,editGUI_WMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWMS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_position',2,1,'jQuery UI position','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.position.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_user',2,1,'Allow several users access to an application','Allow several users access to an application','a','','href = "../php/mod_filteredGui_User.php?sessionID&e_id_css=filteredGui_user" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Allow several users access to an application','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_user','file css','../css/administration_alloc.css','a file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WMS_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWMS,deleteWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_wms',2,1,'WMS admin menu','Admin WMS','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMS_collection,updateWMSs_collection,deleteWMS_collection,editGUI_WMS_collection,owsproxy_collection,monitor_results_collection,wms_metadata_collection,wms_mail_abo_collection,loadExtWMS_collection','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','menu_wms','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWMSList',2,1,'Link WMS to application','Link WMS to application','a','','href = "../php/mod_loadCapabilitiesList.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Link WMS to application','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WFS',2,1,'Assign WFS conf to application','Assign WFS conf to application','a','','href="../javascripts/mod_wfs_client.html"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Assign WFS conf to application','a','','','','AdminFrame','http://www.mapbender.org/index.php/Edit_GUI_WMS');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editGUI_WFS','file_css','../css/edit_gui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','showLoggedUser',2,1,'Anzeige des eingeloggten Benutzers','','iframe','../php/mod_showLoggedUser.php?sessionID','frameborder="0" scrolling=''no''',1,1,200,30,1,'background-color:lightgrey;','','iframe','','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','showLoggedUser','css_file_user_logged','../css/administration_alloc.css','file/css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGroup_User',2,1,'Add several users to one group','Add several users to one group','a','','href = "../php/mod_filteredGroup_User.php?sessionID&e_id_css=filteredGroup_User" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Add several users to one group','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGroup_User','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_Group',2,1,'Allocate applications to groups','Allocate applications to groups','a','','href = "../php/mod_filteredGui_group.php?sessionID&e_id_css=filteredGui_Group" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Allocate applications to groups','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_Group','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editElements',2,1,'Edit application elements','Edit application elements','a','','href = "../php/mod_editElements.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Edit application elements','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_Elements');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredGroup',2,1,'Create and edit group','Create and edit group','a','','href = "../php/mod_editFilteredGroup.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Create and edit group','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadWMS',2,1,'Load Capabilities','Load WMS','a','','href = "../php/mod_loadCapabilities.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Load WMS','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','category_filteredGUI',2,1,'Add application to category','Add application to category','a','','href = "../php/mod_category_filteredGUI.php?sessionID&e_id_css=filteredUser_filteredGroup"',80,15,190,20,10,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Add application to category','a','','','','','http://www.mapbender.org/GUI_Category');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','category_filteredGUI','cssfile','../css/administration_alloc.css','css file for admin module','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','deleteWMS',2,1,'!Delete WMS completely!','Delete WMS completely','a','','href = "../php/mod_deleteWMS.php?sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','!Delete WMS completely!','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','delete_filteredGui',2,1,'Delete application','Delete application','a','','href = "../php/mod_deleteFilteredGUI.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Delete application','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','filteredGui_filteredGroup',2,1,'Allow several groups access <br> to one application','Allow several groups access <br> to one application','a','','href = "../php/mod_filteredGui_filteredGroup.php?sessionID&e_id_css=filteredGui_filteredGroup" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Allow several groups access <br> to one application','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','filteredGui_filteredGroup','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editGUI_WMS',2,1,'WMS application settings','WMS application settings','a','','href="../php/mod_editGuiWms.php?sessionID" 
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','WMS application settings','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_WMS');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editGUI_WMS','file_css','../css/edit_gui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','newGui',2,1,'Create new application','Create new application','a','','href = "../php/mod_newGui.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Create new application','a','','','','','http://www.mapbender.org/index.php/newGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','rename_copy_Gui',2,1,'Rename / copy application','Rename / copy application','a','','href = "../php/mod_renameGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Rename / copy application','a','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','updateWMSs',2,1,'Update with Capabilities','Update WMS','a','','href="../php/mod_updateWMS.php?sessionID"'' 
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Update WMS','a','','','','','http://www.mapbender.org/index.php/UpdateWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser',2,1,'Create and edit user','Create and edit user','a','','href = "../php/mod_editFilteredUser.php?sessionID" target="AdminFrame"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Create and edit user','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','editFilteredUser','withPasswordInsertion','true','define if admin can set the new user','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser,editFilteredUser_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','editFilteredUser_icon',2,1,'icon','','img','../img/gnome/editMyUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','menu_gui',2,1,'GUI admin menuA','Admin Application','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','newGui_collection,rename_copy_gui_collection,delete_filteredGui_collection,editElements_collection,category_filteredGui_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadExtWMS_icon',2,1,'icon','','img','../img/gnome/loadExternalWms.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','loadExtWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMSList,loadExtWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.button.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_resizable',5,1,'Resizable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_ui_resizable.js','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.resizable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_dialog',5,1,'Dialog from jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.dialog.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.draggable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','mb_iframepopup',7,1,'iframepopup','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_iframepopup.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','mb_horizontal_accordion',10,1,'Put existing divs in new horizontal accordion div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,NULL ,NULL,NULL ,'','<dl></dl>','div','../plugins/mb_horizontal_accordion.js','../../extensions/jqueryEasyAccordion/jquery.easyAccordion.js','menu_wms,menu_wfs,menu_wmc,menu_user,menu_gui,menu_auth','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration','mb_horizontal_accordion','Accordion css file','../extensions/jqueryEasyAccordion/mb_jquery.easyAccordion.css','','file/css');
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Administration','myGUIlist',2,1,'Move back to your application list','Move back to your application list','img','../img/button_blue_red/home_off.png','onClick="mod_home_init()" border=''0'' onmouseover=''this.src="../img/button_blue_red/home_over.png"'' onmouseout=''this.src="../img/button_blue_red/home_off.png"''',200,2,24,24,2,'','','','mod_home.php','','','','http://www.mapbender.org/index.php/MyGUIlist');
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Administration','gui_owner',2,1,'Assign to edit an application to a user','Assign to edit an application to a user','a','','href = "../php/mod_gui_owner.php?sessionID" target = "AdminFrame" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Assign to edit an application to a user','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Administration_DE', 'gui_owner', 'file css', '../css/administration_alloc.css', 'file css' ,'file/css');
+
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Administration','gui_owner_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','gui_owner,gui_owner_icon','','');
+
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Administration','gui_owner_icon',2,1,'icon','','img','../img/gnome/guiMyUser.png','',0,0,NULL ,NULL ,2,'','','','','','','','');
+INSERT into gui_mb_user (fkey_gui_id , fkey_mb_user_id , mb_user_type) VALUES ('Administration',1,'owner');
+
+INSERT into gui_gui_category VALUES ('Administration', 1);
+
+------
+-- new application Administration_DE
+--
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('Administration_DE','Administration_DE','Administrationsoberfläche',1);
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui',1,1,'jQuery UI core','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.core.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','jq_ui','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','body',1,1,'Navigation','','body','','',0,0,200,40,NULL ,'','','','../geoportal/mod_revertGuiSessionSettings.php','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','favicon','../img/favicon.png','favicon','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','jq_ui_theme','../extensions/jquery-ui-1.7.2.custom/css/smoothness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','jq_ui_effects_transfer','.ui-effects-transfer { z-index:1003; border: 2px dotted gray; } ','','text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','includeWhileLoading','','show splash screen while the application is loading','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','body','use_load_message','false','show splash screen while the application is loading','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.widget.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy_icon',2,1,'icon','','img','../img/gnome/emblem-readonly.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wms_metadata,wms_metadata_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWMSs_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','updateWMSs,updateWMSs_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wmc_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wmc_metadata,wmc_metadata_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_wmc',2,1,'WMC admin menu','Admin WMC','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','wmc_metadata_collection','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','menu_wmc','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','monitor_results_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,200,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','monitor_results,monitor_results_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','monitor_results_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-remote-desktop.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wmc_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWFS_icon',2,1,'icon','','img','../img/gnome/document-save.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWMSs_icon',2,1,'icon','','img','../img/gnome/view-refresh.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wfs_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wfs_metadata_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wfs_metadata,wfs_metadata_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_metadata_icon',2,1,'icon','','img','../img/gnome/preferences-desktop-personal.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_mail_abo_icon',2,1,'icon','','img','../img/gnome/mail-message-new.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteGui',2,0,'delete gui','Delete GUI','a','','href = "../php/mod_deleteGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','DELETE GUI','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWFS_icon',2,1,'icon','','img','../img/gnome/view-refresh.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','updateWFS,updateWFS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWFS,deleteWFS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WFS_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editGUI_WFS,editGUI_WFS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_mail_abo_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','monitor_abo_show,wms_mail_abo_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','owsproxy,owsproxy_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy_wfs_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','owsproxy_wfs,owsproxy_wfs_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy_wfs_icon',2,1,'icon','','img','../img/gnome/emblem-readonly.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wfs_conf_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wfs_conf_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','wfs_conf,wfs_conf_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFSConf_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWFSConf,deleteWFSConf_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_wfs',2,1,'WFS admin menu','Admin WFS','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWFS_collection,updateWFS_collection,editGUI_WFS_collection,deleteWFS_collection,wfs_metadata_collection,owsproxy_wfs_collection,wfs_conf_collection,deleteWFSConf_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredGroup_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredGroup,editFilteredGroup_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGroup_User_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGroup_User,filteredGroup_User_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredGroup_icon',2,1,'icon','','img','../img/gnome/editMyGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','newGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','newGui,newGui_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMS,loadWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWFS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWFS,loadWFS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','newGui_icon',2,1,'icon','','img','../img/gnome/newGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','rename_copy_gui_icon',2,1,'icon','','img','../img/gnome/edit-copy.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','rename_copy_gui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','rename_copy_Gui,rename_copy_gui_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFSConf_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editElements_icon',2,1,'icon','','img','../img/gnome/editGuiElements.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editElements_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editElements,editElements_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','delete_filteredGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','delete_filteredGui,delete_filteredGui_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','delete_filteredGui_icon',2,1,'icon','','img','../img/gnome/deleteGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteGui_icon',2,0,'icon','','img','../img/gnome/deleteGui.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','category_filteredGui_icon',2,1,'icon','','img','../img/gnome/myGuiCategories.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','category_filteredGui_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','category_filteredGUI,category_filteredGui_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_user_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_user,filteredGui_user_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_user_icon',2,1,'icon','','img','../img/gnome/myGuiUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_group_icon',2,1,'icon','','img','../img/gnome/myGuiGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_group_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,40,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_Group,filteredGui_group_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGroup_User_icon',2,1,'icon','','img','../img/gnome/myGroupUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_filteredGroup_icon',2,1,'icon','','img','../img/gnome/myGuiMyGroup.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_filteredGroup_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_filteredGroup,filteredGui_filteredGroup_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','fullScreen',2,1,'Link to open Admin in new window','Öffne in neuem Fenster','span','','onclick="window.open(window.location.href,''Administrations Fenster'',''scrollbars=yes,resizeable=yes'')"
+',10,320,100,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Zu klein? - Öffne in neuem Fenster','span','','','','','http://www.mapbender.org/index.php/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWMS_icon',2,1,'icon','','img','../img/gnome/document-save.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,120,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editGUI_WMS,editGUI_WMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWFS',2,1,'edit the elements of the gui','Update WFS','a','','href="../javascripts/mod_wfs_client.html"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Aktualisieren','a','','','','AdminFrame','http://www.mapbender.org/index.php/UpdateWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wfs_conf',2,1,'configure wfs','Configure Featuretype','a','','href = "../php/mod_wfs_conf_client.php"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Featuretype Modul einrichten','a','','','','AdminFrame','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wfs_metadata',2,1,'wfs metadata editor','Metadataeditor WFS','a','','href = "../frames/index.php?guiID=admin_wfs_metadata"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Metadaten Editor','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wmc_metadata',2,1,'wmc metadata editor','Metadataeditor WMC','a','','href = "../frames/index.php?guiID=admin_wmc_metadata"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Metadaten Editor','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_auth',2,1,'GUI admin menu','Autorisierung','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','filteredGui_user_collection,filteredGui_group_collection,filteredGui_filteredGroup_collection,gui_owner_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','fullScreenIcon',2,1,'show iframe in new window','Open in new Window','img','../img/button_blue_red/resizemapsize_off.png','',120,320,24,24,NULL ,'','','','','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','fullScreenIcon','adjust_height','-35','to adjust the height of the mapframe on the bottom of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','fullScreenIcon','adjust_width','30','to adjust the width of the mapframe on the right side of the window','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','fullScreenIcon','resize_option','button','auto (autoresize on load), button (resize by button)','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_position',2,1,'jQuery UI position','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.position.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_mouse',2,1,'jQuery UI mouse','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.mouse.js','','jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','monitor_results',2,1,'','Monitoring results','a','','href = "../php/mod_monitorCapabilities_read.php?sessionID" ',80,15,NULL ,NULL,2,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Monitoring Ergebnisse','a','','','','','http://www.mapbender.org/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy',2,1,'secure services','OWSProxy WMS','a','','href="../php/mod_owsproxy_conf.php?sessionID"'' ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Sicherheits Proxy','a','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','wms_metadata',2,1,'wms metadata editor','Metadataeditor WMS','a','','href = "../frames/index.php?guiID=admin_wms_metadata"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Metadaten - Editor','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS',2,1,'!Vollständig löschen!','Delete WMS completely','a','','href = "../php/mod_deleteWMS.php?sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','!Vollständig löschen!','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','monitor_abo_show',2,1,'send mail to user which have abos','Mail Abo WMS','a','','href = "../php/mod_abo_show.php?sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Abonnenten benachrichtigen','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFS',2,1,'delete wfs','Delete WFS','a','','href = "../php/mod_deleteWFS.php?sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Löschen','a','','','','','http://www.mapbender.org/index.php/DeleteWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWFSConf',2,1,'delete wfs conf','Delete WFS-Conf','a','','href = "../javascripts/mod_deleteWfsConf_client.html" ',80,15,250,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Löschen von WFS Modulen','a','','','','AdminFrame','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','delete_filteredGui',2,1,'Anwendung löschen','Anwendung löschen','a','','href = "../php/mod_deleteFilteredGUI.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Anwendung löschen','a','','','','','http://www.mapbender.org/index.php/DeleteGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editElements',2,1,'Anwendungselemente bearbeiten','Anwendungselemente bearbeiten','a','','href = "../php/mod_editElements.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Anwendungselemente bearbeiten','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_Elements');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredGroup',2,1,'Gruppe anlegen und editieren','Create and edit group','a','','href = "../php/mod_editFilteredGroup.php?sessionID"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Gruppe anlegen und editieren','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WFS',2,1,'edit the elements of the gui','WFS-Konfiguration Anwendung zuweisen','a','','href="../javascripts/mod_wfs_client.html"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','WFS-Konfiguration Anwendung zuweisen','a','','','','AdminFrame','http://www.mapbender.org/index.php/Edit_GUI_WMS');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','editGUI_WFS','file_css','../css/edit_gui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGroup_User',2,1,'allocate groups of this admin to user','myGroup -> User','a','','href = "../php/mod_filteredGroup_User.php?sessionID&e_id_css=filteredGroup_User" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Nutzer in eigene Gruppe übernehmen','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','filteredGroup_User','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_Group',2,1,'allocate guis to groups','myGui -> Group','a','','href = "../php/mod_filteredGui_group.php?sessionID&e_id_css=filteredGui_Group" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Eigene Oberfläche externer Gruppe zuordnen','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','filteredGui_Group','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_filteredGroup',2,1,'mehreren Gruppen Zugriff auf <br>einzelne Anwendung erlauben','mehreren Gruppen Zugriff auf <br>einzelne Anwendung erlauben','a','','href = "../php/mod_filteredGui_filteredGroup.php?sessionID&e_id_css=filteredGui_filteredGroup" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','mehreren Gruppen Zugriff auf <br>einzelne Anwendung erlauben','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','filteredGui_filteredGroup','file css','../css/administration_alloc.css','file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','filteredGui_user',2,1,'allocate the guis of this admin to a user','myGui -> User','a','','href = "../php/mod_filteredGui_User.php?sessionID&e_id_css=filteredGui_user" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Eigene Oberfläche externem Nutzer zuordnen','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','filteredGui_user','file css','../css/administration_alloc.css','a file css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWFS',2,1,'load capabilities in a gui','Load WFS','a','','href = "../php/mod_loadWFSCapabilities.php?sessionID" target="AdminFrame"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Laden','a','','','','','http://www.mapbender.org/index.php/WFS_Konfiguration');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','newGui',2,1,'Anwendung erzeugen','Anwendung erzeugen','a','','href = "../php/mod_newGui.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none;color: #808080;','Anwendung erzeugen','a','','','','','http://www.mapbender.org/index.php/newGUI');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','owsproxy_wfs',2,1,'secure services','OWSProxy WFS','a','','href="../javascripts/mod_wfs_client.html" ',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Sicherheits - Proxy','a','','','','AdminFrame','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser',2,1,'Benutzer anlegen und editieren','Benutzer anlegen und editieren','a','','href = "../php/mod_editFilteredUser.php?sessionID" target="AdminFrame"',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Benutzer anlegen und editieren','a','','','','','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','editFilteredUser','withPasswordInsertion','true','define if admin can set the new user','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS_icon',2,1,'icon','','img','../img/gnome/edit-delete.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WMS_icon',2,1,'icon','','img','../img/gnome/preferences-other.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','deleteWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','deleteWMS,deleteWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_user',2,1,'User admin menu','Admin Nutzer','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser_collection,editFilteredGroup_collection,filteredGroup_User_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_gui',2,1,'GUI admin menu','Admin Anwendung','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','newGui_collection,rename_copy_gui_collection,delete_filteredGui_collection,editElements_collection,category_filteredGui_collection','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadExtWMS_icon',2,1,'icon','','img','../img/gnome/loadExternalWms.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadExtWMS_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',150,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMSList,loadExtWMS_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','menu_wms',2,1,'WMS admin menu','Admin WMS','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_div_collection.js','','loadWMS_collection,updateWMSs_collection,deleteWMS_collection,editGUI_WMS_collection,owsproxy_collection,monitor_results_collection,wms_metadata_collection,wms_mail_abo_collection,loadExtWMS_collection','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','menu_wms','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWMSList',2,1,'load capabilities in a gui','WMS in Anwendung einbinden','a','','href = "../php/mod_loadCapabilitiesList.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','WMS in Anwendung einbinden','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editGUI_WMS',2,1,'WMS Anwendungseinstellungen','WMS Anwendungseinstellungen','a','','href="../php/mod_editGuiWms.php?sessionID" 
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','WMS Anwendungseinstellungen','a','','','','','http://www.mapbender.org/index.php/Edit_GUI_WMS');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','editGUI_WMS','file_css','../css/edit_gui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','updateWMSs',2,1,'Hochgeladene aktualisieren','Update WMS','a','','href="../php/mod_updateWMS.php?sessionID"'' 
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Hochgeladene aktualisieren','a','','','','','http://www.mapbender.org/index.php/UpdateWMS');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','loadWMS',2,1,'Capabilities hochladen','Load WMS','a','','href = "../php/mod_loadCapabilities.php?sessionID"',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Capabilities hochladen','a','','','','','http://www.mapbender.org/index.php/Add_new_maps_to_Mapbender');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','category_filteredGUI',2,1,'Anwendung zu Kategorie zuordnen','Anwendung zu Kategorie zuordnen','a','','href = "../php/mod_category_filteredGUI.php?sessionID&e_id_css=filteredUser_filteredGroup"',80,15,190,20,10,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Anwendung zu Kategorie zuordnen','a','','','','','http://www.mapbender.org/GUI_Category');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','category_filteredGUI','cssfile','../css/administration_alloc.css','css file for admin module','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','rename_copy_Gui',2,1,'Anwendung kopieren/umbenennen','Anwendung kopieren/umbenennen','a','','href = "../php/mod_renameGUI.php?sessionID" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Anwendung kopieren/umbenennen','a','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','showLoggedUser',2,1,'Anzeige des eingeloggten Benutzers','','iframe','../php/mod_showLoggedUser.php?sessionID','frameborder="0" scrolling=''no''',1,1,200,30,1,'background-color:lightgrey;','','iframe','','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','showLoggedUser','css_file_user_logged','../css/administration_alloc.css','file/css','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser_icon',2,1,'icon','','img','../img/gnome/editMyUser.png','',0,0,NULL ,NULL,2,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','editFilteredUser_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','editFilteredUser,editFilteredUser_icon','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.button.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.draggable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_resizable',5,1,'Resizable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_ui_resizable.js','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.resizable.js','','jq_ui,jq_ui_mouse,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','jq_ui_dialog',5,1,'Dialog from jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/jquery.ui.dialog.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','mb_iframepopup',7,1,'iframepopup','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_iframepopup.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration_DE','mb_horizontal_accordion',10,1,'Put existing divs in new horizontal accordion div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,0,NULL ,NULL,NULL ,'','<dl></dl>','div','../plugins/mb_horizontal_accordion.js','../../extensions/jqueryEasyAccordion/jquery.easyAccordion.js','menu_wms,menu_wfs,menu_wmc,menu_user,menu_gui,menu_auth','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('Administration_DE','mb_horizontal_accordion','Accordion css file','../extensions/jqueryEasyAccordion/mb_jquery.easyAccordion.css','','file/css');
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Administration_DE','myGUIlist',2,1,'Zurück zur Anwendungsübersicht','Zurück zur Anwendungsübersicht','img','../img/button_blue_red/home_off.png','onClick="mod_home_init()" border=''0'' onmouseover=''this.src="../img/button_blue_red/home_over.png"'' onmouseout=''this.src="../img/button_blue_red/home_off.png"''',200,2,24,24,2,'','','','mod_home.php','','','','http://www.mapbender.org/index.php/MyGUIlist');
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Administration_DE','gui_owner',2,1,'Anwendung editieren Benutzer zuordnen','Anwendung editieren Benutzer zuordnen','a','','href = "../php/mod_gui_owner.php?sessionID" target = "AdminFrame" ',80,15,200,20,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Anwendung editieren Benutzer zuordnen','a','','','','AdminFrame','http://www.mapbender.org/index.php/user');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('Administration_DE', 'gui_owner', 'file css', '../css/administration_alloc.css', 'file css' ,'file/css');
+
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Administration_DE','gui_owner_collection',2,1,'Put existing divs in new div object. List the elements comma-separated under target, and make sure they have a title.','','div','','',0,160,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','gui_owner,gui_owner_icon','','');
+
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires, e_url) VALUES('Administration_DE','gui_owner_icon',2,1,'icon','','img','../img/gnome/guiMyUser.png','',0,0,NULL ,NULL ,2,'','','','','','','','');
+
+INSERT into gui_mb_user (fkey_gui_id , fkey_mb_user_id , mb_user_type) VALUES ('Administration_DE',1,'owner');
+
+INSERT into gui_gui_category VALUES ('Administration_DE', 1);
+
+
+------
+-- new application admin_wms_metadata
+--
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('admin_wms_metadata','admin_wms_metadata','GUI with tab, search modules',1);
+
+-- give root access to admin_wms_metadata
+INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('admin_wms_metadata', 1, 'owner');
+
+INSERT into gui_gui_category VALUES ('admin_wms_metadata', 1);
+
+DELETE FROM gui_element WHERE fkey_gui_id = 'admin_wms_metadata';
+
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','body',1,1,'body (obligatory)','','body','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','changeEPSG',2,1,'change EPSG, Postgres required, overview is targed for full extent','Change Projection','select','','',432,25,107,24,1,'','<option value="">undefined</option>
+<option value="EPSG:4326">EPSG:4326</option>
+<option value="EPSG:31466">EPSG:31466</option>
+<option value="EPSG:31467">EPSG:31467</option>
+<option value="EPSG:31468">EPSG:31468</option>
+<option value="EPSG:31469">EPSG:31469</option>','select','mod_changeEPSG.js','','overview','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_datatables',1,1,'Includes the jQuery plugin datatables, use like this
+$(selector).datatables(options)','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','../plugins/jq_datatables.js','../extensions/dataTables-1.5/media/js/jquery.dataTables.min.js','','','http://www.datatables.net/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_jstree',1,0,'jsTree','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jsTree.v.0.9.9a2/jquery.tree.js','','','http://www.jstree.com/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_jstree_1',1,1,'jsTree','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jsTree.v.1.0rc/jquery.jstree.min.js','','','http://www.jstree.com/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_jstree_checkbox',1,0,'jsTree checkbox plugin','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jsTree.v.0.9.9a2/plugins/jquery.tree.checkbox.testbaudson.js','','','http://www.jstree.com/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_layout',1,1,'','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery.layout.all-1.2.0/jquery.layout.min.js','','','http://layout.jquery-dev.net');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_metadata',1,1,'Metadata plugin','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery.metadata.2.1/jquery.metadata.min.js','','','http://plugins.jquery.com/project/metadata');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui',1,1,'The jQuery UI core','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.core.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.button.min.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_dialog',5,1,'Module to manage jQuery UI dialog windows with multiple options for customization.','','div','','',-1,-1,NULL ,NULL ,NULL ,'','','div','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.dialog.min.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.draggable.min.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_droppable',4,1,'jQuery UI droppable','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.droppable.min.js','','jq_ui,jq_ui_widget,jq_ui_mouse,jq_ui_draggable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_effects',1,1,'Effects from the jQuery UI framework','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','jq_ui_effects.php','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.effects.core.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_mouse',2,1,'jQuery UI mouse','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.mouse.min.js','','jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_position',1,1,'jQuery UI position','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.position.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_tabs',5,1,'horizontal tabs from the jQuery UI framework','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.tabs.min.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.widget.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','jq_validate',1,1,'The jQuery validation plugin','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','../javascripts/jq_validate.js','../extensions/jquery-validate/jquery.validate.min.js','','','http://docs.jquery.com/Plugins/Validation');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mapframe1',1,1,'frame for a map','','div','','',230,55,200,200,3,'border:1px solid black;overflow:hidden;background-color:#ffffff;display:none;','','div','../plugins/mb_map.js','../../lib/history.js,map_obj.js,map.js,wms.js,wfs_obj.js,initWms.php','','','http://www.mapbender.org/index.php/Mapframe');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_helpDialog',1,1,'','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','mb_helpDialog.js','','jq_ui_dialog, jq_metadata','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_edit',2,1,'Edit WMS metadata','Edit WMS metadata','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'overflow:auto','','div','../plugins/mb_metadata_edit.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_layer',3,1,'Edit layer metadata','Edit layer metadata','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_metadata_layer.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_layer_preview',4,1,'Allows selection of a preview image of a Map','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_metadata_layerPreview.js','mod_addWMSgeneralFunctions.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_layer_preview_save',2,1,'','','img','../img/button_gray/wmc_save_off.png','',NULL ,NULL ,NULL ,NULL ,NULL ,'display: none;','','','../plugins/mb_metadata_saveLayerPreview.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_layer_tree',2,1,'Select a layer from a layer tree','Select a layer from a layer tree','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_metadata_layerTree.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_select',2,1,'Select a WMS','Select WMS','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<table class=''display''></table>','div','../plugins/mb_metadata_select.js','','','jq_datatables','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_showOriginal',2,1,'Show original metadata','Show original metadata','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'display:none;','','div','../plugins/mb_metadata_showOriginal.js','','','jq_ui_dialog','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_md_submit',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<span style=''float:right''><input disabled="disabled" type=''button'' value=''Preview metadata''><input disabled="disabled" type=''submit'' value=''Save metadata''></span>','div','../plugins/mb_metadata_submit.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_pane',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'height:100%;width:100%','','div','../plugins/mb_pane.js','','','jq_layout','http://layout.jquery-dev.net');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','mb_tabs_horizontal',3,1,'Puts existing elements into horizontal tabs, using jQuery UI tabs. List the elements comma-separated under target, and make sure they have a title.','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<ul></ul><div class=''ui-layout-content''></div>','div','../plugins/mb_tabs_horizontal.js','','mb_md_select,mb_md_edit,mb_md_layer','jq_ui_tabs','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','pan1',2,1,'pan','Pan','img','../img/button_gray/pan_off.png','',270,10,24,24,1,'','','','mod_pan.js','','mapframe1','','http://www.mapbender.org/index.php/Pan');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','sandclock',2,1,'displays a sand clock while waiting for requests','','div','','',80,0,NULL ,NULL ,NULL ,'','','div','mod_sandclock.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','scaleSelect',2,1,'Scale-Selectbox','Scale Select','select','','',555,25,100,20,1,'','<option value = ''''>Scale</option> <option value=''100''>1 : 100</option> <option value=''250''>1 : 250</option> <option value=''500''>1 : 500</option> <option value=''1000''>1 : 1000</option> <option value=''2500''>1 : 2500</option> <option value=''5000''>1 : 5000</option> <option value=''10000''>1 : 10000</option> <option value=''25000''>1 : 25000</option> <option value=''30000''>1 : 30000</option> <option value=''50000''>1 : 50000</option> <option value=''75000''>1 : 75000</option> <option value=''100000''>1 : 100000</option> <option value=''200000''>1 : 200000</option> <option value=''300000''>1 : 300000</option> <opt
 ion value=''400000''>1 : 400000</option> <option value=''500000''>1 : 500000</option> <option value=''600000''>1 : 600000</option> <option value=''700000''>1 : 700000</option> <option value=''800000''>1 : 800000</option> <option value=''900000''>1 : 900000</option> <option value=''1000000''>1 : 1000000</option>','select','../plugins/mb_selectScale.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','selArea1',2,1,'zoombox','Zoom by rectangle','img','../img/button_gray/selArea_off.png','',295,10,24,24,3,'display: none;','','','mod_selArea.js','mod_box1.js','mapframe1','','http://www.mapbender.org/index.php/SelArea1');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','switchLocale_noreload',8,1,'changes the locale without reloading the client','Set language','div','','',900,20,50,30,5,'','<form id="form_switch_locale" action="window.location.href" name="form_switch_locale" target="parent"><select id="language" name="language" onchange="validate_locale()"></select></form>','div','mod_switchLocale_noreload.php','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','zoomFull',2,1,'zoom to full extent button','Display complete map','img','../img/button_gray/zoomFull_off.png','',320,10,24,24,2,'display: none;','','','mod_zoomFull.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomFull');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','zoomIn1',2,1,'zoomIn button','Zoom in','img','../img/button_gray/zoomIn2_off.png','',220,10,24,24,1,'','','','mod_zoomIn1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomIn');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wms_metadata','zoomOut1',2,1,'zoomOut button','Zoom out','img','../img/button_gray/zoomOut2_off.png','',245,10,24,24,1,'','','','mod_zoomOut1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomOut');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'css_class_bg', 'body{ background-color: #ffffff; margin: 5 5 5 5 }
+* {
+        font-family: Verdana;
+        font-size: 96%;
+}
+
+label {
+        width: 250px;
+        height: 40px;
+        float: left;
+}
+
+p {
+        clear: both;
+}
+
+input {
+        font-weight: bold;
+        vertical-align: top;
+        width: 250px;
+        height: 25px;
+}
+
+fieldset {
+        margin-top: 10px;
+}
+
+.metadata_span {
+        padding-right: 30px;
+        vertical-align: top;
+}
+
+.help-dialog {
+        cursor: pointer;
+}
+
+.metadata_img, .help-dialog, .original-metadata-wms {
+        width: 25px;
+        height: 25px;
+        vertical-align: middle;
+}
+
+.metadata_selectbox {
+        height: 66px;
+        width: 250px;
+        vertical-align: top;
+}
+
+.label_classification {
+        width: 150px;
+        height: 40px;
+        float: left;
+}
+
+div#choose {
+        float: left;
+        width: 35%;
+        height:100%;
+position:relative;
+}
+
+div#layer {
+        margin-left: 35%;
+        width: 65%;
+}
+
+div#preview {
+        padding: 5px 0px 0px 35%;
+        width: 25%;
+        float: left;
+}
+
+div#classification {
+        margin-left: 60%;
+        padding-top: 5px;
+        width: 40%;
+}
+
+div#buttons {
+        float: left;
+}
+
+div#selectbox {
+        margin-left: 280px;
+        padding-top: 60px;
+}', 'to define the color of the body', 'text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'favicon', '../img/favicon.png', 'favicon', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'includeWhileLoading', '', 'show splash screen while the application is loading', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'jq_datatables_css', '../extensions/dataTables-1.5/media/css/site_jui.css', 'css-file for jQuery datatables', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'jq_datatables_css_ui', '../extensions/dataTables-1.5/media/css/demo_table_jui.min.css', 'css-file for jQuery datatables', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'jq_ui_theme', '../extensions/jquery-ui-1.7.2.custom/css/smoothness/jquery-ui-1.7.2.custom.css', 'UI Theme from Themeroller', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'body', 'use_load_message', 'true', 'show splash screen while the application is loading', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_datatables', 'defaultCss', '../extensions/dataTables-1.5/media/css/demo_table_jui.css', '', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui', 'css', '../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css', '', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'blind', '1', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'bounce', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'clip', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'drop', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'explode', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'fold', '1', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'highlight', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'pulsate', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'scale', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'shake', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'slide', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_ui_effects', 'transfer', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'jq_validate', 'css', 'label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }', '', 'text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mapframe1', 'skipWmsIfSrsNotSupported', '0', 'if set to 1, it skips the WMS request if the current SRS is not supported by the WMS; if set to 0, the WMS is always queried. Default is 0, because of backwards compatibility', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mapframe1', 'slippy', '0', '1 = Activates an animated, pseudo slippy map', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_edit', 'inputs', '[
+    {
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_select",
+                "event": "selected",
+                "attr": "wmsId" 
+            } 
+        ] 
+    },
+    {
+        "method": "serialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_submit",
+                "event": "submit",
+                "attr": "callback" 
+            } 
+        ] 
+    },
+    {
+        "method": "fill",
+        "linkedTo": [
+            {
+                "id": "mb_md_showOriginal",
+                "event": "replaceMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    }
+]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer', 'inputs', '[
+    {
+        "method": "init",
+        "title": "initialize wms data",
+        "linkedTo": [
+            {
+                "id": "mb_md_select",
+                "event": "selected",
+                "attr": "wmsId" 
+            } 
+        ] 
+    },
+    {
+        "method": "fillForm",
+        "title": "initialize layer data",
+        "linkedTo": [
+            {
+                "id": "mb_md_layer_tree",
+                "event": "selected",
+                "attr": "layer" 
+            } 
+        ] 
+    },
+    {
+        "method": "serialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_submit",
+                "event": "submit",
+                "attr": "callback" 
+            } 
+        ] 
+    },
+    {
+        "method": "fill",
+        "linkedTo": [
+            {
+                "id": "mb_md_showOriginal",
+                "event": "replaceMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    }
+] ', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer_preview', 'inputs', '[
+    {   
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {   
+                "id": "mb_md_layer",
+                "event": "initialized",
+                "attr": "wmsId"
+            }   
+        ]   
+    },  
+    {   
+        "method":"layer",
+        "title":"set the current Layer",
+        "linkedTo": [
+            {   
+                "id":"mb_md_layer_tree",
+                "event":"selected",
+                "attr":"layer"
+            }   
+        ]   
+
+    }   
+     
+]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer_preview', 'map', 'mapframe1', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer_preview', 'toolbarLower', '[''changeEPSG'',''scaleSelect'']', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer_preview', 'toolbarUpper', '[''zoomFull'',''zoomOut1'',''zoomIn1'',''selArea1'',''pan1'',''mb_md_layer_preview_save'']', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer_preview_save', 'inputs', '[
+    {   
+        "method":"setLayer",
+        "title":"set the current Layer",
+        "linkedTo": [
+            {   
+                "id":"mb_md_layer_tree",
+                "event":"selected",
+                "attr":"layer"
+            }   
+        ]   
+
+    }   
+     
+]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer_tree', 'inputs', '[
+    {
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_layer",
+                "event": "initialized",
+                "attr": "wmsId" 
+            } 
+        ] 
+    },
+    {
+        "method": "serialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_submit",
+                "event": "submit",
+                "attr": "callback" 
+            } 
+        ] 
+    }
+] ', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_showOriginal', 'differentFromOriginalCss', '.differentFromOriginal{
+background-color:#FFFACD;
+}', 'css for class differentFromOriginal', 'text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_showOriginal', 'inputs', '[
+    {
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_edit",
+                "event": "showOriginalMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    },
+    {
+        "method": "initLayer",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_layer",
+                "event": "showOriginalLayerMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    }
+]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_submit', 'inputs', '[
+    {
+        "method": "enable",
+        "linkedTo": [
+            {
+                "id": "mb_md_select",
+                "event": "selected"
+            } 
+        ] 
+    }
+]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_pane', 'center', 'mb_tabs_horizontal', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_pane', 'south', 'mb_md_submit', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_tabs_horizontal', 'inputs', '[
+    {
+        "type": "id",
+        "method": "select",
+        "title": "Select a tab",
+        "linkedTo": [
+            {
+                "id": "mb_md_select",
+                "event": "selected",
+                "value": "mb_md_edit" 
+            } 
+        ] 
+    }
+] ', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'sandclock', 'mod_sandclock_image', '../img/sandclock.gif', 'define a sandclock image ', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'switchLocale_noreload', 'languages', 'de,en,bg,gr,nl,hu,it,fr,es,pt', '', 'var');
+
+------
+-- new application admin_wfs_metadata
+--
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('admin_wfs_metadata','admin_wfs_metadata','GUI with tab, search modules',1);
+
+-- give root access to admin_wms_metadata
+INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('admin_wfs_metadata', 1, 'owner');
+
+INSERT into gui_gui_category VALUES ('admin_wfs_metadata', 1);
+
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','body',1,1,'body (obligatory)','','body','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_datatables',1,1,'Includes the jQuery plugin datatables, use like this
+$(selector).datatables(options)','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','../plugins/jq_datatables.js','../extensions/dataTables-1.5/media/js/jquery.dataTables.min.js','','','http://www.datatables.net/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_jstree',1,1,'jsTree','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jsTree.v.0.9.9a2/jquery.tree.js','','','http://www.jstree.com/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_jstree_checkbox',1,0,'jsTree checkbox plugin','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jsTree.v.0.9.9a2/plugins/jquery.tree.checkbox.js','','','http://www.jstree.com/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_layout',1,1,'','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery.layout.all-1.2.0/jquery.layout.min.js','','','http://layout.jquery-dev.net');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_metadata',1,1,'Metadata plugin','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery.metadata.2.1/jquery.metadata.min.js','','','http://plugins.jquery.com/project/metadata');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui',1,1,'The jQuery UI core','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.core.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.button.min.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_dialog',5,1,'Module to manage jQuery UI dialog windows with multiple options for customization.','','div','','',-1,-1,NULL ,NULL ,NULL ,'','','div','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.dialog.min.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.draggable.min.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_droppable',4,1,'jQuery UI droppable','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.droppable.min.js','','jq_ui,jq_ui_widget,jq_ui_mouse,jq_ui_draggable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_effects',1,1,'Effects from the jQuery UI framework','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','jq_ui_effects.php','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.effects.core.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_mouse',2,1,'jQuery UI mouse','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.mouse.min.js','','jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_position',1,1,'jQuery UI position','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.position.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_tabs',5,1,'horizontal tabs from the jQuery UI framework','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.tabs.min.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.widget.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','jq_validate',1,1,'The jQuery validation plugin','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','../javascripts/jq_validate.js','../extensions/jquery-validate/jquery.validate.min.js','','','http://docs.jquery.com/Plugins/Validation');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_helpDialog',1,1,'','','','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','mb_helpDialog.js','','jq_ui_dialog, jq_metadata','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_md_featuretype',3,1,'Edit featuretype metadata','Edit featuretype metadata','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_metadata_featuretype.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_md_featuretype_tree',2,1,'Select a featuretype from a featuretype tree','Select a featuretype from a featuretype tree','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_metadata_featuretypeTree.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_md_wfs_edit',2,1,'Edit WFS metadata','Edit WFS metadata','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'overflow:auto','','div','../plugins/mb_metadata_wfs_edit.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_md_wfs_select',2,1,'Select a WFS','Select WFS','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<table class=''display''></table>','div','../plugins/mb_metadata_wfs_select.js','','','jq_datatables','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_md_wfs_showOriginal',2,1,'Show original metadata','Show original metadata','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'display:none;','','div','../plugins/mb_metadata_wfs_showOriginal.js','','','jq_ui_dialog','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_md_wfs_submit',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<span style=''float:right''><input disabled="disabled" type=''button'' value=''Preview metadata''><input type=''submit'' value=''Save metadata''></span>','div','../plugins/mb_metadata_wfs_submit.js','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_pane',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'height:100%;width:100%','','div','../plugins/mb_pane.js','','','jq_layout','http://layout.jquery-dev.net');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','mb_tabs_horizontal',3,1,'Puts existing elements into horizontal tabs, using jQuery UI tabs. List the elements comma-separated under target, and make sure they have a title.','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<ul></ul><div class=''ui-layout-content''></div>','div','../plugins/mb_tabs_horizontal.js','','mb_md_wfs_select,mb_md_wfs_edit,mb_md_featuretype','jq_ui_tabs','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wfs_metadata','switchLocale_noreload',8,1,'changes the locale without reloading the client','Set language','div','','',900,20,50,30,5,'','<form id="form_switch_locale" action="window.location.href" name="form_switch_locale" target="parent"><select id="language" name="language" onchange="validate_locale()"></select></form>','div','mod_switchLocale_noreload.php','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'body', 'css_class_bg', 'body{ background-color: #ffffff; margin: 5 5 5 5 }
+* {
+        font-family: Verdana;
+        font-size: 96%;
+}
+
+label {
+        width: 250px;
+        height: 40px;
+        float: left;
+}
+
+p {
+        clear: both;
+}
+
+input {
+        font-weight: bold;
+        vertical-align: top;
+        width: 250px;
+        height: 25px;
+}
+
+.metadata_span {
+        padding-right: 30px;
+        vertical-align: top;
+}
+
+.metadata_img {
+        width: 25px;
+        height: 25px;
+        vertical-align: top;
+}
+
+.metadata_selectbox {
+        height: 130px;
+        width: 250px;
+        vertical-align: top;
+}
+
+div#choose {
+        float: left;
+        width: 20%;
+        height:100%;
+}
+
+div#layer {
+        margin-left: 20%;
+        width: 80%;
+}
+
+div#preview {
+        width: 30%;
+        padding-top: 5px;
+        float: left;
+}
+
+div#classification {
+        margin-left: 50%;
+        padding-top: 5px;
+        width: 50%;
+}
+
+div#save {
+        margin-left: 45em;
+}
+
+div#buttons {
+        float: left;
+}
+
+div#selectbox {
+        margin-left: 312px;
+        padding-top: 20px;
+}', 'to define the color of the body', 'text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'body', 'favicon', '../img/favicon.png', 'favicon', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'body', 'includeWhileLoading', '', 'show splash screen while the application is loading', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'body', 'jq_datatables_css', '../extensions/dataTables-1.5/media/css/site_jui.ccss.css', 'css-file for jQuery datatables', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'body', 'jq_datatables_css_ui', '../extensions/dataTables-1.5/media/css/demo_table_jui.min.css', 'css-file for jQuery datatables', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'body', 'jq_ui_theme', '../extensions/jquery-ui-1.7.2.custom/css/smoothness/jquery-ui-1.7.2.custom.css', 'UI Theme from Themeroller', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'body', 'use_load_message', 'true', 'show splash screen while the application is loading', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_datatables', 'defaultCss', '../extensions/dataTables-1.5/media/css/demo_table_jui.css', '', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui', 'css', '../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css', '', 'file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'blind', '1', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'bounce', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'clip', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'drop', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'explode', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'fold', '1', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'highlight', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'pulsate', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'scale', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'shake', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'slide', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_ui_effects', 'transfer', '0', '1 = effect active', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'jq_validate', 'css', 'label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }', '', 'text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_md_featuretype', 'inputs', '[
+    {
+        "method": "init",
+        "title": "initialize wfs data",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_select",
+                "event": "selected",
+                "attr": "wfsId" 
+            } 
+        ] 
+    },
+    {
+        "method": "fillForm",
+        "title": "initialize featuretype data",
+        "linkedTo": [
+            {
+                "id": "mb_md_featuretype_tree",
+                "event": "selected",
+                "attr": "featuretype" 
+            } 
+        ] 
+    },
+    {
+        "method": "serialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_submit",
+                "event": "submit",
+                "attr": "callback" 
+            } 
+        ] 
+    },
+    {
+        "method": "fill",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_showOriginal",
+                "event": "replaceMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    }
+] ', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_md_featuretype_tree', 'inputs', '[
+    {
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_featuretype",
+                "event": "initialized",
+                "attr": "wfsId" 
+            } 
+        ] 
+    }
+] ', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_md_wfs_edit', 'inputs', '[
+    {
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_select",
+                "event": "selected",
+                "attr": "wfsId" 
+            } 
+        ] 
+    },
+    {
+        "method": "serialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_submit",
+                "event": "submit",
+                "attr": "callback" 
+            } 
+        ] 
+    },
+    {
+        "method": "fill",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_showOriginal",
+                "event": "replaceMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    }
+]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_md_wfs_showOriginal', 'differentFromOriginalCss', '.differentFromOriginal{
+background-color:#FFFACD;
+}', '', 'text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_md_wfs_showOriginal', 'inputs', '[
+    {
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_edit",
+                "event": "showOriginalMetadata",
+                "attr": "data" 
+            }
+        ] 
+    },
+    {
+        "method": "initLayer",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_featuretype",
+                "event": "showOriginalFeaturetypeMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    }
+]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_md_wfs_submit', 'inputs', '[
+    {
+        "method": "enable",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_select",
+                "event": "selected"
+            } 
+        ] 
+    }
+]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_pane', 'center', 'mb_tabs_horizontal', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_pane', 'south', 'mb_md_wfs_submit', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'mb_tabs_horizontal', 'inputs', '[
+    {
+        "type": "id",
+        "method": "select",
+        "title": "Select a tab",
+        "linkedTo": [
+            {
+                "id": "mb_md_wfs_select",
+                "event": "selected",
+                "value": "mb_md_wfs_edit" 
+            } 
+        ] 
+    }
+] ', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wfs_metadata', 'switchLocale_noreload', 'languages', 'de,en,bg,gr,nl,hu,it,fr,es,pt', '', 'var');
+
+
+------
+-- new application admin_wmc_metadata
+--
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('admin_wmc_metadata','admin_wmc_metadata','GUI with tab, search modules',1);
+
+-- give root access to admin_wms_metadata
+INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('admin_wmc_metadata', 1, 'owner');
+
+INSERT into gui_gui_category VALUES ('admin_wmc_metadata', 1);
+
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_md_wmc_submit',1,1,'','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','<span style=''float:right''><input disabled="disabled" type=''button'' value=''Preview metadata''><input type=''submit'' value=''Save metadata''></span>','div','../plugins/mb_metadata_wmc_submit.js','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_submit','inputs','[
+    {
+        "method": "enable",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_select",
+                "event": "selected"
+            } 
+        ] 
+    }
+]','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_position',1,1,'jQuery UI position','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.position.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_datatables',1,1,'Includes the jQuery plugin datatables, use like this
+$(selector).datatables(options)','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../plugins/jq_datatables.js','../extensions/dataTables-1.5/media/js/jquery.dataTables.min.js','','','http://www.datatables.net/');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_datatables','defaultCss','../extensions/dataTables-1.5/media/css/demo_table_jui.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_jstree',1,1,'jsTree','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jsTree.v.0.9.9a2/jquery.tree.js','','','http://www.jstree.com/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_jstree_checkbox',1,0,'jsTree checkbox plugin','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jsTree.v.0.9.9a2/plugins/jquery.tree.checkbox.js','','','http://www.jstree.com/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_widget',1,1,'jQuery UI widget','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.widget.min.js','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','body',1,1,'body (obligatory)','','body','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','body','css_class_bg','body{ background-color: #ffffff; margin: 5 5 5 5 }
+* {
+        font-family: Verdana;
+        font-size: 96%;
+}
+
+label {
+        width: 250px;
+        height: 40px;
+        float: left;
+}
+
+p {
+        clear: both;
+}
+
+input {
+        font-weight: bold;
+        vertical-align: top;
+        width: 250px;
+        height: 25px;
+}
+
+.metadata_span {
+        padding-right: 30px;
+        vertical-align: top;
+}
+
+.metadata_img {
+        width: 25px;
+        height: 25px;
+        vertical-align: top;
+}
+
+.metadata_selectbox {
+        height: 130px;
+        width: 250px;
+        vertical-align: top;
+}
+
+div#choose {
+        float: left;
+        width: 20%;
+        height:100%;
+}
+
+div#layer {
+        margin-left: 20%;
+        width: 80%;
+}
+
+div#preview {
+        width: 30%;
+        padding-top: 5px;
+        float: left;
+}
+
+div#classification {
+        margin-left: 50%;
+        padding-top: 5px;
+        width: 50%;
+}
+
+div#save {
+        margin-left: 45em;
+}
+
+div#buttons {
+        float: left;
+}
+
+div#selectbox {
+        margin-left: 312px;
+        padding-top: 20px;
+}','to define the color of the body','text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','body','favicon','../img/favicon.ico','favicon','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','body','includeWhileLoading','','show splash screen while the application is loading','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','body','jq_datatables_css','../extensions/dataTables-1.5/media/css/site_jui.ccss.css','css-file for jQuery datatables','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','body','jq_datatables_css_ui','../extensions/dataTables-1.5/media/css/demo_table_jui.min.css','css-file for jQuery datatables','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','body','jq_ui_theme','../extensions/jquery-ui-1.7.2.custom/css/smoothness/jquery-ui-1.7.2.custom.css','UI Theme from Themeroller','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','body','use_load_message','true','show splash screen while the application is loading','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_helpDialog',1,1,'','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','mb_helpDialog.js','','jq_ui_dialog, jq_metadata','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_pane',1,1,'','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'height:100%;width:100%','','div','../plugins/mb_pane.js','','','jq_layout','http://layout.jquery-dev.net');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_pane','center','mb_tabs_horizontal','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_pane','css','../extensions/jquery.layout.all-1.2.0/jquery.layout.css','','file/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_pane','south','mb_md_wmc_submit','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_layout',1,1,'','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery.layout.all-1.2.0/jquery.layout.min.js','','','http://layout.jquery-dev.net');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_metadata',1,1,'Metadata plugin','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery.metadata.2.1/jquery.metadata.min.js','','','http://plugins.jquery.com/project/metadata');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_validate',1,1,'The jQuery validation plugin','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','../javascripts/jq_validate.js','../extensions/jquery-validate/jquery.validate.min.js','','','http://docs.jquery.com/Plugins/Validation');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_validate','css','label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }','','text/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_effects',1,1,'Effects from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','jq_ui_effects.php','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.effects.core.min.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','blind','1','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','bounce','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','clip','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','drop','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','explode','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','fold','1','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','highlight','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','pulsate','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','scale','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','shake','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','slide','0','1 = effect active','php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui_effects','transfer','0','1 = effect active','php_var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mapframe1',1,1,'frame for a map','','div','','',230,55,200,200,3,'border:1px solid black;overflow:hidden;background-color:#ffffff;display:none;','','div','../plugins/mb_map.js','../../lib/history.js,map_obj.js,map.js,wms.js,wfs_obj.js,initWms.php','','','http://www.mapbender.org/index.php/Mapframe');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mapframe1','skipWmsIfSrsNotSupported','0','if set to 1, it skips the WMS request if the current SRS is not supported by the WMS; if set to 0, the WMS is always queried. Default is 0, because of backwards compatibility','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mapframe1','slippy','0','1 = Activates an animated, pseudo slippy map','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui',1,1,'The jQuery UI core','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.core.min.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','jq_ui','css','../extensions/jquery-ui-1.7.2.custom/css/ui-lightness/jquery-ui-1.7.2.custom.css','','file/css');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','zoomFull',2,1,'zoom to full extent button','gesamte Karte anzeigen','img','../img/button_gray/zoomFull_off.png','',320,10,24,24,2,'display: none;','','','mod_zoomFull.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomFull');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_md_wmc_preview_save',2,1,'','','img','../img/button_gray/wmc_save_off.png','',NULL ,NULL,NULL ,NULL,NULL ,'display: none;','','','../plugins/mb_metadata_saveWmcPreview.js','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_preview_save','inputs','[
+    {   
+        "method":"setWmc",
+        "title":"set the current Wmc",
+        "linkedTo": [
+            {   
+                "id":"mb_md_wmc_select",
+                "event":"selected",
+                "attr":"wmcId"
+            }   
+        ]   
+
+    }   
+     
+]','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_md_wmc_showOriginal',2,1,'Show original metadata','Show original metadata','div','','',NULL ,NULL,NULL ,NULL,NULL ,'display:none;','','div','../plugins/mb_metadata_wmc_showOriginal.js','','','jq_ui_dialog','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_showOriginal','differentFromOriginalCss','.differentFromOriginal{
+background-color:#FFFACD;
+}','','text/css');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_showOriginal','inputs','[
+    {
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_edit",
+                "event": "showOriginalMetadata",
+                "attr": "data" 
+            }
+        ] 
+    }
+]','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_md_wmc_edit',2,1,'Edit WMC metadata','Edit WMC metadata','div','','',NULL ,NULL,NULL ,NULL,NULL ,'overflow:auto','','div','../plugins/mb_metadata_wmc_edit.js','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_edit','inputs','[
+    {
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_select",
+                "event": "selected",
+                "attr": "wmcId" 
+            } 
+        ] 
+    },
+    {
+        "method": "serialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_submit",
+                "event": "submit",
+                "attr": "callback" 
+            } 
+        ] 
+    },
+    {
+        "method": "fill",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_showOriginal",
+                "event": "replaceMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    }
+]','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','loadwmc',2,1,'load workspace from WMC','laden eines Web Map Context Dokumentes','img','../img/button_blink_red/wmc_load_off.png','onmouseover=''this.src = this.src.replace(/_off/,"_over");''  onmouseout=''this.src = this.src.replace(/_over/, "_off");''',895,60,24,24,1,'display:none;','','','mod_loadwmc.php','popup.js','mapframe1','jq_ui_dialog,jq_ui_tabs,jq_upload,jq_datatables','http://www.mapbender.org/index.php/LoadWMC');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','loadwmc','deleteWmc','0','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','loadwmc','inputs','[
+    {   
+        "method": "load",
+        "linkedTo": [
+            {   
+                "id": "mb_md_wmc_select",
+                "event": "selected",
+                "attr": "wmcId"
+            }   
+        ]   
+    }
+]','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','loadwmc','publishWmc','1','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','loadwmc','saveWmcTarget','savewmc','target for savewmc ','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','changeEPSG',2,1,'change EPSG, Postgres required, overview is targed for full extent','Projektion ändern','select','','',432,25,107,24,1,'','<option value="">undefined</option>
+<option value="EPSG:4326">EPSG:4326</option>
+<option value="EPSG:31466">EPSG:31466</option>
+<option value="EPSG:31467">EPSG:31467</option>
+<option value="EPSG:31468">EPSG:31468</option>
+<option value="EPSG:31469">EPSG:31469</option>','select','mod_changeEPSG.js','','overview','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','pan1',2,1,'pan','Ausschnitt verschieben','img','../img/button_gray/pan_off.png','',270,10,24,24,1,'','','','mod_pan.js','','mapframe1','','http://www.mapbender.org/index.php/Pan');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','selArea1',2,1,'zoombox','Ausschnitt wählen','img','../img/button_gray/selArea_off.png','',295,10,24,24,3,'display: none;','','','mod_selArea.js','mod_box1.js','mapframe1','','http://www.mapbender.org/index.php/SelArea1');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_md_wmc_select',2,1,'Select a WMC','Select WMC','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','<table class=''display''></table>','div','../plugins/mb_metadata_wmc_select.js','','','jq_datatables','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','zoomIn1',2,1,'zoomIn button','In die Karte hineinzoomen','img','../img/button_gray/zoomIn2_off.png','',220,10,24,24,1,'','','','mod_zoomIn1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomIn');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','zoomOut1',2,1,'zoomOut button','Aus der Karte herauszoomen','img','../img/button_gray/zoomOut2_off.png','',245,10,24,24,1,'','','','mod_zoomOut1.js','','mapframe1','','http://www.mapbender.org/index.php/ZoomOut');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','scaleSelect',2,1,'Scale-Selectbox','Auswahl des Maßstabes','select','','',555,25,100,24,1,'','<option value = ''''>Scale</option> <option value=''100''>1 : 100</option> <option value=''250''>1 : 250</option> <option value=''500''>1 : 500</option> <option value=''1000''>1 : 1000</option> <option value=''2500''>1 : 2500</option> <option value=''5000''>1 : 5000</option> <option value=''10000''>1 : 10000</option> <option value=''25000''>1 : 25000</option> <option value=''30000''>1 : 30000</option> <option value=''50000''>1 : 50000</option> <option value=''75000''>1 : 75000</option> <option value=''100000''>1 : 100000</option> <option value=''200000''>1 : 200000</option> <option value=''300000''>1 : 300000</op
 tion> <option value=''400000''>1 : 400000</option> <option value=''500000''>1 : 500000</option> <option value=''600000''>1 : 600000</option> <option value=''700000''>1 : 700000</option> <option value=''800000''>1 : 800000</option> <option value=''900000''>1 : 900000</option> <option value=''1000000''>1 : 1000000</option>','select','../plugins/mb_selectScale.js','','mapframe1','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_mouse',2,1,'jQuery UI mouse','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.mouse.min.js','','jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_md_featuretype',3,0,'Edit featuretype metadata','Edit featuretype metadata','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_metadata_featuretype.js','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_featuretype','inputs','[
+    {
+        "method": "init",
+        "title": "initialize wfs data",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_select",
+                "event": "selected",
+                "attr": "wmcId" 
+            } 
+        ] 
+    },
+    {
+        "method": "serialize",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_submit",
+                "event": "submit",
+                "attr": "callback" 
+            } 
+        ] 
+    },
+    {
+        "method": "fill",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_showOriginal",
+                "event": "replaceMetadata",
+                "attr": "data" 
+            } 
+        ] 
+    }
+] ','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_tabs_horizontal',3,1,'Puts existing elements into horizontal tabs, using jQuery UI tabs. List the elements comma-separated under target, and make sure they have a title.','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','<ul></ul><div class=''ui-layout-content''></div>','div','../plugins/mb_tabs_horizontal.js','','mb_md_wmc_select,mb_md_wmc_edit','jq_ui_tabs','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_tabs_horizontal','inputs','[
+    {
+        "type": "id",
+        "method": "select",
+        "title": "Select a tab",
+        "linkedTo": [
+            {
+                "id": "mb_md_wmc_select",
+                "event": "selected",
+                "value": "mb_md_wmc_edit" 
+            } 
+        ] 
+    }
+] ','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_droppable',4,1,'jQuery UI droppable','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.droppable.min.js','','jq_ui,jq_ui_widget,jq_ui_mouse,jq_ui_draggable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','mb_md_wmc_preview',4,1,'Allows selection of a preview image of a wmc','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','','div','../plugins/mb_metadata_layerPreview.js','mod_addWMSgeneralFunctions.js','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_preview','inputs','[
+    {   
+        "method": "init",
+        "title": "initialize",
+        "linkedTo": [
+            {   
+                "id": "mb_md_wmc_select",
+                "event": "selected"
+            }   
+        ]   
+    }
+]','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_preview','map','mapframe1','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_preview','toolbarLower','[''changeEPSG'',''scaleSelect'']','','var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_preview','toolbarUpper','[''zoomFull'',''zoomOut1'',''zoomIn1'',''selArea1'',''pan1'',''mb_md_wmc_preview_save'']','','var');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_button',4,1,'jQuery UI button','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.button.min.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_draggable',5,1,'Draggable from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.draggable.min.js','','jq_ui,jq_ui_mouse,jq_ui_widget','http://jqueryui.com/demos/draggable/');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_tabs',5,1,'horizontal tabs from the jQuery UI framework','','','','',NULL ,NULL,NULL ,NULL,NULL ,'','','','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.tabs.min.js','','jq_ui,jq_ui_widget','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','jq_ui_dialog',5,1,'Module to manage jQuery UI dialog windows with multiple options for customization.','','div','','',-1,-1,NULL ,NULL,NULL ,'','','div','','../extensions/jquery-ui-1.8.1.custom/development-bundle/ui/minified/jquery.ui.dialog.min.js','','jq_ui,jq_ui_widget,jq_ui_button,jq_ui_draggable,jq_ui_mouse,jq_ui_position,jq_ui_resizable','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('admin_wmc_metadata','switchLocale_noreload',8,1,'changes the locale without reloading the client','Sprache auswählen','div','','',900,20,50,30,5,'','<form id="form_switch_locale" action="window.location.href" name="form_switch_locale" target="parent"><select id="language" name="language" onchange="validate_locale()"></select></form>','div','mod_switchLocale_noreload.php','','','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','switchLocale_noreload','languages','de,en,bg,gr,nl,hu,it,fr,es,pt','','var');
+

Modified: branches/2.7/resources/db/pgsql/gui_digitize.sql
===================================================================
--- branches/2.7/resources/db/pgsql/gui_digitize.sql	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/db/pgsql/gui_digitize.sql	2011-02-14 16:52:49 UTC (rev 7601)
@@ -77,7 +77,7 @@
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','setBBOX',2,1,'set extent for mapframe and overviewframe','','div','','',0,0,0,0,0,'','','div','mod_setBBOX1.php','','mapframe1','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','setSpatialRequest',2,1,'Spatial Request','','div','','',1,1,1,1,1,'visibility:hidden;','','div','../javascripts/mod_wfs_SpatialRequest.php','geometry.js,requestGeometryConstructor.js,popup.js','mapframe1','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','showCoords_div',2,1,'displays coodinates by onmouseover','Coordinates','img','../img/button_blue_red/coords_off.png','onmouseover = "mb_regButton(''init_mod_showCoords_div'')" ',518,8,28,28,1,'','','','mod_coords_div.php','','mapframe1','dependendDiv','http://www.mapbender.org/index.php/ShowCoords_div');
-INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','tabs',1,1,'vertical tabs to handle iframes','','div','','',10,240,200,20,2,'font-family: Arial,Helvetica;font-weight:bold;','','div','mod_tab.php','','','','');
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','tabs',1,1,'vertical tabs to handle iframes','','div','','',2,240,220,20,2,'font-family: Arial,Helvetica;font-weight:bold;','','div','mod_tab.php','','','','');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','treeGDE',2,1,'new treegde2 - directory tree, checkbox for visible, checkbox for querylayer
 for more infos have a look at http://www.mapbender.org/index.php/TreeGDE2','Maps','div','','class="ui-widget ui-widget-content"',10,220,200,300,NULL ,'visibility:hidden;overflow:auto','','div','../html/mod_treefolderPlain.php','jsTree.js','mapframe1','mapframe1','http://www.mapbender.org/index.php/TreeGde');
 INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('gui_digitize','wfs',2,1,'wfs request and result handling','','div','','',1,1,1,1,NULL ,'visibility:hidden','','div','wfs.php','../extensions/wz_jsgraphics.js,geometry.js','mapframe1,overview','','');
@@ -108,9 +108,9 @@
 .button {height:18px; width:32px;}', 'text css', 'text/css');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'digitize', 'wfsCssUrl', '../css/mapbender.css', 'var', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoLayerPopup', 'true', '', 'var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupHeight', '200', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupHeight', '320', '', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupPosition', '[100,100]', 'position of the featureInfoPopup', 'var');
-INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupWidth', '270', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'featureInfoTunnel', 'featureInfoPopupWidth', '320', '', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'gazetteerWFS', 'enableSearchWithoutParams', '0', 'define that search can be started without any search params', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'gazetteerWFS', 'initializeOnLoad', '0', 'start gazetteer onload', 'var');
 INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui_digitize', 'gazetteerWFS', 'removeSpatialRequestHighlight', '0', 'remove spatialrequest highlighting when firing search', 'var');

Modified: branches/2.7/resources/db/update.bat
===================================================================
--- branches/2.7/resources/db/update.bat	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/db/update.bat	2011-02-14 16:52:49 UTC (rev 7601)
@@ -106,13 +106,13 @@
 psql -U %DBUSER% -h %DBHOST% -p %DBPORT% -f pgsql/%USEDBENC%/update/update_2.6_to_2.6.1_pgsql_%USEDBENC%.sql %DBNAME% 1>> log_update.txt 2>> err_update.txt
 echo   update to 2.6.2
 psql -U %DBUSER% -h %DBHOST% -p %DBPORT% -f pgsql/%USEDBENC%/update/update_2.6.1_to_2.6.2_pgsql_%USEDBENC%.sql %DBNAME% 1>> log_update.txt 2>> err_update.txt
-echo   update to 2.7rc1
+echo   update to 2.7
 psql -U %DBUSER% -h %DBHOST% -p %DBPORT% -f pgsql/%USEDBENC%/update/update_2.6.2_to_2.7rc1_pgsql_%USEDBENC%.sql %DBNAME% 1>> log_update.txt 2>> err_update.txt
-echo   update to 2.7rc2
-psql -U %DBUSER% -h %DBHOST% -p %DBPORT% -f pgsql/%USEDBENC%/update/update_2.7rc1_to_2.7rc2_pgsql_%USEDBENC%.sql %DBNAME% 1>> log_update.txt 2>> err_update.txt
 echo   update to 2.7
 psql -U %DBUSER% -h %DBHOST% -p %DBPORT% -f pgsql/pgsql_serial_set_sequences_2.7.sql %DBNAME% 1>> log_update.txt 2>> err_update.txt
 
+echo   update to 2.7 rc2
+psql -U %DBUSER% -h %DBHOST% -p %DBPORT% -f pgsql/%USEDBENC%/update/update_2.7rc1_to_2.7rc2_pgsql_%USEDBENC%.sql %DBNAME% 1>> log_update.txt 2>> err_update.txt
 
 goto END:
 

Modified: branches/2.7/resources/db/update.sh
===================================================================
--- branches/2.7/resources/db/update.sh	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/db/update.sh	2011-02-14 16:52:49 UTC (rev 7601)
@@ -97,13 +97,13 @@
 	psql -U $DBUSER  -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.6_to_2.6.1_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
 	echo "update to 2.6.2"
 	psql -U $DBUSER  -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.6.1_to_2.6.2_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
-	echo "update to 2.7rc1"
+	echo "update to 2.7"
 	psql -U $DBUSER  -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.6.2_to_2.7rc1_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
-    echo "update to 2.7rc2"
-	psql -U $DBUSER  -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.7rc1_to_2.7rc2_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
     echo "update sequences"
     psql -U $DBUSER  -h $DBHOST -p $DBPORT -f pgsql/pgsql_serial_set_sequences_2.7.sql $DBNAME >> log_update.txt 2>> err_update.txt
 
+    echo "update to 2.7 rc2"
+	psql -U $DBUSER  -h $DBHOST -p $DBPORT -f pgsql/$DBENCODING/update/update_2.7rc1_to_2.7rc2_pgsql_$DBENCODING.sql $DBNAME >> log_update.txt 2>> err_update.txt
 }
 
 #magic starts here

Deleted: branches/2.7/resources/locale/de_DE/LC_MESSAGES/Mapbender.po
===================================================================
--- branches/2.7/resources/locale/de_DE/LC_MESSAGES/Mapbender.po	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/resources/locale/de_DE/LC_MESSAGES/Mapbender.po	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,1682 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-12-17 11:39+0100\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Language-Team: LANGUAGE <LL at li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: printPDF.conf:13
-msgid "Download: Map as PDF..."
-msgstr "Download: Karte als PDF..."
-
-#: printPDF.conf:26
-msgid "print legend"
-msgstr "Legende drucken"
-
-#: printPDF.conf:30
-msgid "Legend"
-msgstr "Legende"
-
-#: printPDF.conf:31
-msgid "powered by Mapbender"
-msgstr "mit Unterstützung von Mapbender"
-
-#: printPDF.conf:60
-msgid "Print preview"
-msgstr "Druckansicht"
-
-#: printPDF.conf:63
-msgid "Scale 1:"
-msgstr "Maßstab 1:"
-
-#: printPDF.conf:64
-msgid "Date"
-msgstr "Datum"
-
-#: printPDF.conf:66
-msgid "Notes"
-msgstr "Notizen"
-
-#: printPDF.conf:73
-msgid ""
-"This copy has been generated automatically and is valid without signature."
-msgstr "Der Auszug wurde maschinell erzeugt. Er ist ohne Unterschrift gültig."
-
-#: printPDF.conf:74
-msgid ""
-"This copy is protected by law (Par. 3 Abs. 1 VermKatG NW). It can be "
-"duplicated, modified, published or be passed to third parties only in "
-"agreement with"
-msgstr ""
-"Dieser Auszug ist gesetzlich geschützt (§ 3 Abs. 1 VermKatG NW). "
-"Vervielfältigungen, Umarbeitungen, Veröffentlichungen oder die Weitergabe an "
-"Dritte nur mit Zustimmung des"
-
-#: printPDF.conf:75
-msgid ""
-"the publisher, except duplicates and modifications aimed at internal use of "
-"government agencies or private use."
-msgstr ""
-"Herausgebers, ausgenommen Vervielfältigungen und Umarbeitungen zur "
-"innerdienstlichen Verwendung bei Behörden oder zum eigenen Gebrauch."
-
-#: printPDF.conf:
-msgid "This copy is protected by law (Par. 3 Abs. 1 VermKatG NW)."
-msgstr "Dieser Auszug ist gesetzlich geschützt (Par. 3 Abs. 1 VermKatG NW)."
-
-#: printPDF.conf:
-msgid ""
-"It can be duplicated, modified, published or be passed to third parties only "
-"in"
-msgstr ""
-"Umarbeitungen, Veröffentlichungen oder die Weitergabe an Dritte nur mit"
-
-#: printPDF.conf:
-msgid "agreement with the publisher except duplicates and modifications"
-msgstr ""
-"Zustimmung des Herausgebers, ausgenommen Vervielfältigungen und Umarbeitungen"
-
-#: printPDF.conf:
-msgid "aimed at internal use of government agencies or private use."
-msgstr ""
-"zur innerdienstlichen Verwendung bei Behörden oder zum eigenen Gebrauch."
-
-#: printPDF.conf:94
-msgid "Format"
-msgstr "Format"
-
-#: printPDF.conf:101
-msgid "Orientation"
-msgstr "Ausrichtung"
-
-#: printPDF.conf:102
-msgid "portrait"
-msgstr "Hochformat"
-
-#: printPDF.conf:103
-msgid "landscape"
-msgstr "Querformat"
-
-#: printPDF.conf:104
-msgid "Quality"
-msgstr "Qualität"
-
-#: printPDF.conf:105 printPDF.conf:106
-#, php-format
-msgid "Quality: %d dpi"
-msgstr "Qualität: %d dpi"
-
-#: printPDF.conf:108
-msgid "Comment"
-msgstr "Kommentar"
-
-#: printPDF.conf:108
-msgid "max."
-msgstr "max."
-
-#: printPDF.conf:111
-msgid "print"
-msgstr "drucken"
-
-#: mod_printPDF.php:
-msgid "No format selected"
-msgstr "Bitte wählen Sie ein Format aus"
-
-#: mod_digitize_messages.php:18
-msgid "polygon"
-msgstr "Polygon"
-
-#: mod_digitize_messages.php:19
-msgid "line"
-msgstr "Linie"
-
-#: mod_digitize_messages.php:20
-msgid "point"
-msgstr "Punkt"
-
-#: mod_digitize_messages.php:21
-msgid "Not an integer value."
-msgstr "Kein Integer-Wert."
-
-#: mod_digitize_messages.php:22
-msgid "Not a double value."
-msgstr "Kein Double-Wert."
-
-#: mod_digitize_messages.php:23
-msgid "This field may not be empty."
-msgstr "Das Feld darf nicht leer sein."
-
-#: mod_digitize_messages.php:24
-msgid "Failure during form evaluation."
-msgstr "Fehler bei der Formularauswertung."
-
-#: mod_digitize_messages.php:25 ../http/php/mod_gazetteerMetadata.php:138
-#: ../http/php/mod_gazetteerMetadata.php:201
-#: ../http/php/mod_gazetteerMetadata.php:212
-msgid "An error occured."
-msgstr "Ein Fehler ist aufgetreten."
-
-#: mod_digitize_messages.php:26
-msgid ""
-"At least two geometries must be available. Only polygons are allowed in the "
-"geometry list."
-msgstr ""
-"Es müssen mindestens zwei Geometrien ausgewählt sein. Es sind nur Polygone "
-"erlaubt in der Geometrieliste."
-
-#: mod_digitize_messages.php:27
-msgid ""
-"Exactly two geometries must be available. The first geometry shall be a "
-"polygon or a line, the second geometry shall be a line."
-msgstr ""
-"Es müssen genau zwei Geometrien ausgewählt sein. Die erste Geometrie sollte "
-"ein Polygon oder eine Linie, die zweite Geometrie eine Linie sein."
-
-#: mod_digitize_messages.php:28
-msgid "Exactly two polygons must be available."
-msgstr "Es müssen genau zwei Polygone ausgewählt sein."
-
-#: mod_digitize_messages.php:29
-msgid "Exactly two lines must be available."
-msgstr "Es müssen genau zwei Linien ausgewählt sein."
-
-#: mod_digitize_messages.php:30
-msgid "Success."
-msgstr "Aktion erfolgreich beendet."
-
-#: mod_digitize_messages.php:31
-msgid "Delete geometry from database?"
-msgstr "Geometrie in der Datenbank löschen?"
-
-#: mod_digitize_messages.php:32
-msgid "Clear list of geometries?"
-msgstr "Soll die Geometrieliste wirklich geleert werden?"
-
-#: mod_digitize_messages.php:33
-msgid "Please select an entry."
-msgstr "Bitte treffen Sie eine Auswahl."
-
-#: mod_digitize_messages.php:34
-msgid "Save"
-msgstr "Speichern"
-
-#: mod_digitize_messages.php:35
-msgid "Update"
-msgstr "Aktualisieren"
-
-#: mod_digitize_messages.php:36
-msgid "Delete"
-msgstr "Löschen"
-
-#: mod_digitize_messages.php:37
-msgid "Abort"
-msgstr "Abbrechen"
-
-#: mod_digitize_messages.php:38
-msgid "Fatal error: EPSG mismatch. "
-msgstr "Schwerwiegender Fehler: ungleiche EPSGs."
-
-#: mod_digitize_messages.php:39
-msgid "No geometry selected!"
-msgstr "Keine Geometrie ausgewählt!"
-
-#: mod_digitize_messages.php:40
-msgid ""
-"No valid line geometries for merging! Please check start and end points of "
-"your lines."
-msgstr ""
-"Keine gültigen Geometrien zum Verbinden! Bitte Start- und Endpunkte der "
-"Linien prüfen."
-
-#: mod_digitize_messages.php:41
-msgid "add point"
-msgstr "Punkt hinzufügen"
-
-#: mod_digitize_messages.php:42
-msgid "cancel editing"
-msgstr "Editieren abbrechen"
-
-#: mod_digitize_messages.php:43
-msgid "add line"
-msgstr "Linie hinzufügen"
-
-#: mod_digitize_messages.php:44 mod_digitize_messages.php:46
-msgid "finish line"
-msgstr "Linie abschliessen"
-
-#: mod_digitize_messages.php:45
-msgid "continue line"
-msgstr "Linie erweitern"
-
-#: mod_digitize_messages.php:47
-msgid "add polygon"
-msgstr "Polygon hinzufügen"
-
-#: mod_digitize_messages.php:48
-msgid "close polygon"
-msgstr "Polygon schliessen"
-
-#: mod_digitize_messages.php:49 mod_digitize_messages.php:50
-msgid "move basepoint"
-msgstr "Stützpunkt verschieben"
-
-#: mod_digitize_messages.php:51 mod_digitize_messages.php:52
-msgid "Insert basepoint"
-msgstr "Stützpunkt einfügen"
-
-#: mod_digitize_messages.php:53 mod_digitize_messages.php:54
-msgid "Delete basepoint"
-msgstr "Stützpunkt löschen"
-
-#: mod_digitize_messages.php:55 mod_digitize_messages.php:56
-msgid "clear list of geometries"
-msgstr "Geometrieliste leeren"
-
-#: mod_digitize_messages.php:57 mod_digitize_messages.php:58
-msgid ""
-"Merge two polygons into a single polygon (will be added to the geometry list)"
-msgstr ""
-"Zwei Polygone zu einem Polygon zusammenfügen (wird der Geometrieliste "
-"hinzugefügt)."
-
-#: mod_digitize_messages.php:59 mod_digitize_messages.php:60
-msgid ""
-"Split a polygon/line by a line (the new polygons/lines will be added to the "
-"geometry list)"
-msgstr ""
-"Polygon/Linie zerschneiden mit Hilfe einer Linie (neue Polygone/Linien "
-"werden zur Geometrienliste hinzugefügt)"
-
-#: mod_digitize_messages.php:61
-msgid ""
-"Combine two polygons (to create en- and exclave or to compute the difference)"
-msgstr ""
-"Verbinde zwei Polygone (zum Erstellen von En- oder Exklaven oder zum "
-"Berechnen der Differenz)"
-
-#: mod_digitize_messages.php:62
-msgid "Split geometries"
-msgstr "Geometrien zerschneiden"
-
-#: mod_digitize_messages.php:63 mod_digitize_messages.php:64
-msgid "Merge two lines into a single line"
-msgstr "Zwei Linien zu einer Linie zusammenfügen."
-
-#: mod_digitize_messages.php:65
-msgid "save / update / delete"
-msgstr "speichern / aktualisieren / löschen"
-
-#: mod_digitize_messages.php:66
-msgid "remove from workspace"
-msgstr "aus der Liste entfernen"
-
-#: mod_digitize_messages.php:67
-msgid "remove from database"
-msgstr "aus der Datenbank löschen"
-
-#: mod_digitize_messages.php:68
-msgid "clone this geometry"
-msgstr "dupliziere diese Geometrie"
-
-#: mod_digitize_messages.php:69
-msgid "click the first basepoint to close the polygon"
-msgstr "Auf den ersten Stützpunkt klicken, um das Polygon zu schliessen"
-
-#: mod_digitize_messages.php:70
-msgid "Current: "
-msgstr "Letztes Segment: "
-
-#: mod_digitize_messages.php:71
-msgid "Total: "
-msgstr "Gesamtlänge: "
-
-#: mod_digitize_messages.php:72
-msgid "new"
-msgstr "neu"
-
-#: mod_wfsSpatialRequest_messages.php:33
-msgid "select by rectangle"
-msgstr "Auswahl über Rechteck"
-
-#: mod_wfsSpatialRequest_messages.php:34
-msgid "select by polygon"
-msgstr "Auswahl über Polygon"
-
-#: mod_wfsSpatialRequest_messages.php:35
-msgid "select by point"
-msgstr "Auswahl über Punkt"
-
-#: mod_wfsSpatialRequest_messages.php:36
-msgid "select by extent"
-msgstr "Auswahl über Extent"
-
-#: mod_wfsSpatialRequest_messages.php:37
-msgid "open dialogue form"
-msgstr "Auswahlfenster öffnen"
-
-#: mod_wfsSpatialRequest_messages.php:38
-msgid "Invalid box!"
-msgstr "Ausschnitt ungültig!"
-
-#: /html/mod_treefolder2.php:56 http/html/mod_treefolderPlain.php:34
-#: ../http/html/mod_treefolderPlain.php:33
-#: ../http/html/mod_treefolderPlain.php:32
-msgid "Toggles the visibility of this service"
-msgstr "Sichtbarkeit des Layers an/aus"
-
-#: /html/mod_treefolder2.php:57 http/html/mod_treefolderPlain.php:35
-#: ../http/html/mod_treefolderPlain.php:34
-#: ../http/html/mod_treefolderPlain.php:33
-msgid "Toggles the queryability of this service"
-msgstr "Infoabfrage an/aus"
-
-#: /html/mod_treefolder2.php:58 http/html/mod_treefolderPlain.php:36
-#: ../http/html/mod_treefolderPlain.php:35
-#: ../http/html/mod_treefolderPlain.php:34
-msgid "Opens the layer context menu"
-msgstr "Öffnet das Layer Kontextmenü"
-
-#: /html/mod_treefolder2.php:59 http/html/mod_treefolderPlain.php:37
-#: ../http/html/mod_treefolderPlain.php:36
-#: ../http/html/mod_treefolderPlain.php:35
-msgid "Opens the WMS context menu"
-msgstr "Öffnet das WMS Kontextmenü"
-
-#: /html/mod_treefolder2.php:60 http/html/mod_treefolderPlain.php:38
-#: ../http/html/mod_treefolderPlain.php:37
-#: ../http/html/mod_treefolderPlain.php:36
-msgid "Removes the selected WMS"
-msgstr "Entfernt den gewählten Dienst"
-
-#: /html/mod_treefolder2.php:61 http/html/mod_treefolderPlain.php:39
-#: ../http/html/mod_treefolderPlain.php:38
-#: ../http/html/mod_treefolderPlain.php:37
-msgid "Moves the selection up"
-msgstr "selektierten Dienst nach oben verschieben"
-
-#: /html/mod_treefolder2.php:62 http/html/mod_treefolderPlain.php:40
-#: ../http/html/mod_treefolderPlain.php:39
-#: ../http/html/mod_treefolderPlain.php:38
-msgid "Moves the selection down"
-msgstr "selektierten Dienst nach unten verschieben"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:327
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:450
-msgid "WMS name"
-msgstr "WMS Name"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:328
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:451
-msgid "WMS abstract"
-msgstr "WMS Beschreibung"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:329
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:452
-msgid "Please select a WMS"
-msgstr "Bitte wählen Sie einen WMS aus"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:330
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:453
-msgid "Please select an application"
-msgstr "Bitte wählen Sie eine Applikation aus"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:331
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:454
-msgid "Please select a group"
-msgstr "Bitte wählen Sie eine Gruppe aus"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:332
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:455
-msgid "group abstract"
-msgstr "Beschreibung der Gruppe"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:333
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:456
-msgid "group name"
-msgstr "Name der Gruppe"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:334
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:457
-msgid "application abstract"
-msgstr "Beschreibung der Applikation"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:335
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:458
-msgid "application name"
-msgstr "Name der Anwendung"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:336
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:459
-msgid "no result"
-msgstr "kein Ergebnis"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:342
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:465
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:475
-msgid "Add WMS"
-msgstr "WMS hinzufügen"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:343
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:466
-msgid "Enter a Capabilities-URL of a WMS or select one or more WMS from list."
-msgstr ""
-"Geben Sie eine Capabilities-URL ein oder wählen Sie einen der aufgelisteten "
-"Dienste."
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:344
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:467
-msgid ""
-"Notice: Be aware of the scale hints. Possibly you need to zoom in to display "
-"the added service."
-msgstr ""
-"Hinweis: Beachten Sie die logischen Zoomstufen. Möglicherweise müssen Sie "
-"den Maßstab wechseln, um die Ebenen des geladenen Dienstes zu sehen."
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:350
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:473
-msgid "Capabilities-URL"
-msgstr "Capabilities-URL"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:362
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:492
-msgid "List all WMS"
-msgstr "Liste aller WMS"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:363
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:493
-msgid "List WMS by Group"
-msgstr "WMS nach Gruppen sortiert"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:364
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:494
-msgid "List WMS by Application"
-msgstr "WMS nach Anwendungen sortiert"
-
-#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:374
-msgid "Loading WMS"
-msgstr "Der WMS wird geladen"
-
-#: http/php/mod_createJSObjFromXML.php:33
-msgid ""
-"Error: The Capabilities Document could not be accessed. Please check whether "
-"the server is responding and accessible to Mapbender."
-msgstr ""
-"Fehler: Das Capabilities-Dokument ist nicht verfügbar. Bitte prüfen Sie, ob "
-"der Server antwortet und für Mapbender erreichbar ist."
-
-#: http/html/mod_treefolderPlain.php:33
-#: ../http/html/mod_treefolderPlain.php:32
-#: ../http/html/mod_treefolderPlain.php:31
-msgid "(De)activate this service"
-msgstr "Dienst (de)aktivieren"
-
-#: http/html/mod_treefolderPlain.php:144
-#: ../http/html/mod_treefolderPlain.php:143
-#: ../http/html/mod_treefolderPlain.php:199
-msgid "Move up"
-msgstr "rauf"
-
-#: http/html/mod_treefolderPlain.php:145
-#: ../http/html/mod_treefolderPlain.php:144
-#: ../http/html/mod_treefolderPlain.php:200
-msgid "Move down"
-msgstr "runter"
-
-#: http/html/mod_treefolderPlain.php:146
-#: ../http/html/mod_treefolderPlain.php:145
-#: ../http/html/mod_treefolderPlain.php:201
-msgid "Remove"
-msgstr "entfernen"
-
-#: http/html/mod_treefolderPlain.php:147
-#: ../http/html/mod_treefolderPlain.php:146
-#: ../http/html/mod_treefolderPlain.php:202
-msgid "Opacity up"
-msgstr "Transparenz verringern"
-
-#: http/html/mod_treefolderPlain.php:148
-#: ../http/html/mod_treefolderPlain.php:147
-#: ../http/html/mod_treefolderPlain.php:203
-msgid "Opacity down"
-msgstr "Transparenz erhöhen"
-
-#: http/html/mod_treefolderPlain.php:149
-#: ../http/html/mod_treefolderPlain.php:148
-#: ../http/html/mod_treefolderPlain.php:204
-msgid "Information"
-msgstr "Information"
-
-#: http/html/mod_treefolderPlain.php:150 http/html/mod_treefolderPlain.php:152
-#: ../http/html/mod_treefolderPlain.php:149
-#: ../http/html/mod_treefolderPlain.php:151
-#: ../http/html/mod_treefolderPlain.php:205
-#: ../http/html/mod_treefolderPlain.php:208
-msgid "Zoom"
-msgstr "auf Ebene zoomen"
-
-#: http/html/mod_treefolderPlain.php:151
-#: ../http/html/mod_treefolderPlain.php:150
-#: ../http/html/mod_treefolderPlain.php:206
-msgid "Hide menu"
-msgstr "schließen"
-
-#: conf/wfs_additional_spatial_search.conf:17
-msgid "Spatial filter is set."
-msgstr "räumlicher Filter gesetzt"
-
-#: conf/wfs_additional_spatial_search.conf:31
-msgid "Search results"
-msgstr "Suchergebnisse"
-
-#: conf/wfs_additional_spatial_search.conf:37
-msgid "Details"
-msgstr "Details"
-
-#: http/php/mb_listGUIs.php:59
-msgid "available applications"
-msgstr "Liste der verfügbaren Anwendungen"
-
-#: http/php/mb_listGUIs.php:82 ../http/php/mb_listGUIs.php:99
-msgid "Others"
-msgstr "Sonstige"
-
-#: ../http/html/mod_treefolderPlain.php:420
-#: ../http/html/mod_treefolderPlain.php:522
-msgid "You have to select the WMS you want to move up!"
-msgstr "Sie müssen den Dienst, den Sie nach oben schieben wollen, selektieren."
-
-#: ../http/html/mod_treefolderPlain.php:425
-#: ../http/html/mod_treefolderPlain.php:457
-#: ../http/html/mod_treefolderPlain.php:527
-#: ../http/html/mod_treefolderPlain.php:559
-msgid "Illegal move operation"
-msgstr "Ungültige Operation"
-
-#: ../http/html/mod_treefolderPlain.php:452
-#: ../http/html/mod_treefolderPlain.php:554
-msgid "You have to select the WMS you want to move down!"
-msgstr ""
-"Sie müssen den Dienst, den Sie nach unten schieben wollen, selektieren."
-
-#: ../http/html/mod_treefolderPlain.php:484
-#: ../http/html/mod_treefolderPlain.php:586
-msgid "You have to select the WMS you want to delete!"
-msgstr "Sie müssen den Dienst, den Sie entfernen wollen, selektieren."
-
-#: ../http/html/mod_treefolderPlain.php:488
-#: ../http/html/mod_treefolderPlain.php:590
-msgid "It is not possible to delete a single layer, please select a WMS!"
-msgstr ""
-"Es ist nicht möglich einen einzelnen Layer zu entfernen. Bitte selektieren "
-"Sie einen WMS!"
-
-#: ../http/html/mod_treefolderPlain.php:496
-#: ../http/html/mod_treefolderPlain.php:598
-msgid "Last WMS can not be removed."
-msgstr "Der letzte WMS kann nicht entfernt werden."
-
-#: ../http/html/mod_treefolderPlain.php:499
-#: ../http/html/mod_treefolderPlain.php:601
-msgid "Are you sure you want to remove"
-msgstr "Sind Sie sicher, dass Sie diesen Dienst entfernen wollen "
-
-#: http/javascripts/mod_measure.php:298
-msgid "Close polygon"
-msgstr "Polygon schliessen"
-
-#: http/javascripts/mod_measure.php:314
-msgid "Rubber"
-msgstr "Skizze löschen"
-
-#: http/javascripts/mod_measure.php:329
-msgid "Get area"
-msgstr "Fläche berechnen"
-
-#: ../http/javascripts/mod_wfs_gazetteer_client.php:411
-msgid "show metadata"
-msgstr "Metadaten anzeigen"
-
-#: ../http/javascripts/mod_wfs_gazetteer_client.php:420
-msgid "remove WFS Conf"
-msgstr "WFS Konfiguration entfernen"
-
-#: ../http/javascripts/mod_wfs_gazetteer_client.php:455
-msgid "Point"
-msgstr "Punkt"
-
-#: ../http/javascripts/mod_wfs_gazetteer_client.php:459
-msgid "Line"
-msgstr "Linie"
-
-#: ../http/javascripts/mod_wfs_gazetteer_client.php:463
-msgid "Polygon"
-msgstr "Polygon"
-
-#: ../http/javascripts/mod_wfs_gazetteer_client.php:621
-msgid "Different EPSG of map and wfs featuretype, no spatial request possible!"
-msgstr ""
-"Unterschiedliche EPSG von Karte und WFS FeatureType. Es ist keine räumliche "
-"möglich."
-
-#: ../http/html/mod_treefolderPlain.php:39
-msgid "Show metadata"
-msgstr "Metadaten anzeigen"
-
-#: ../http/html/mod_treefolderPlain.php:207
-msgid "Change style"
-msgstr "Stil ändern"
-
-#: ../http/html/mod_treefolderPlain.php:471
-msgid "Change layer style"
-msgstr "Layer Stil ändern"
-
-#: ../http/html/mod_treefolderPlain.php:471
-msgid "Please select a style"
-msgstr "Bitte wählen Sie einen Stil aus"
-
-#: ../http/html/mod_treefolderPlain.php:477
-msgid "Close"
-msgstr "schließen"
-
-#: ../http/html/mod_treefolderPlain.php:490
-msgid "There is no different style available for this layer."
-msgstr "Es liegen keine weiteren Stile für diesen Layer vor."
-
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:467
-msgid ""
-"Hint: Possibly you need to zoom in for showing layers from external map "
-"service. The operator of the external service is responsible for the display "
-"ranges. PortalU does not have a stake in this behaviour."
-msgstr ""
-"Hinweis: Möglicherweise müssen Sie in die Karte zoomen, um Layer von "
-"externen Diensten zu sehen.Der Administrator des externen Dienstes ist für "
-"die Anzeige verantwortlich."
-
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:479
-msgid "activate layers"
-msgstr "Ebenen des Kartendienstes aktivieren"
-
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:483
-msgid "zoom to extent"
-msgstr "auf Ausdehnung des Kartendiensten zoomen"
-
-#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:501
-#: ../http/javascripts/mod_searchCSW_ajax.php:507
-msgid "Loading"
-msgstr "Kartendienst wird geladen"
-
-#: ../http/php/mod_meetingPoint.php:42
-msgid "Your meeting point. Follow the link!"
-msgstr "Ihr Treffpunkt. Folgen Sie dem Link!"
-
-#: ../http/php/mod_meetingPoint.php:98
-msgid "Please click for the meeting point position!"
-msgstr "Bitte klicken Sie in die Karte, um einen Treffpunkt zu erzeugen."
-
-#: ../http/php/mod_meetingPoint.php:210
-msgid "Max characters"
-msgstr "Max. Eingabe"
-
-#: ../http/php/mod_meetingPoint.php:229
-msgid "Please define a text!"
-msgstr "Bitte geben Sie einen Text ein."
-
-#: ../http/php/mod_meetingPoint.php:323
-msgid "cancel"
-msgstr "Abbrechen"
-
-#: ../http/php/mod_gazetteerMetadata.php:150
-msgid "The added Service has more than"
-msgstr "Der hinzugefügte Dienst hat mehr als"
-
-#: ../http/php/mod_gazetteerMetadata.php:208
-msgid "The following Service has been added"
-msgstr "Der folgende Dienst wurde hinzugefügt"
-
-#: ../http/php/mod_gazetteerMetadata.php:234
-msgid "SelectKeyword"
-msgstr "Suchbegriff auswählen"
-
-#: ../http/php/mod_gazetteerMetadata.php:249
-#: ../http/plugins/mb_metadata_wmc_edit.php:31
-#: ../http/plugins/mb_metadata_wmc_server.php:57
-msgid "Metadata"
-msgstr "Metadatem"
-
-#: ../http/php/mod_gazetteerMetadata.php:267
-msgid "Searching"
-msgstr "Suche läuft"
-
-#: ../http/php/mod_gazetteerMetadata.php:317
-msgid "Load"
-msgstr "Laden"
-
-#: ../http/php/mod_gazetteerMetadata.php:342
-msgid "Add WMS and zoom to extent"
-msgstr "Kartendienst hinzuladen und auf Ausdehnung zoomen"
-
-#: ../http/php/mod_gazetteerMetadata.php:440
-msgid "keywords"
-msgstr "Suchbegriffe"
-
-#: ../http/php/mod_gazetteerMetadata.php:150
-msgid "layer. The layer of the MapService will NOT be activated."
-msgstr "Ebenen. Die Ebenen des Kartendienstes werden NICHT aktiviert."
-
-#: ../http/php/mod_gazetteerMetadata.php:234
-#: ../http/php/mod_SelectKeyword.php:24
-msgid "Select a keyword"
-msgstr "Wählen Sie einen Suchbegriff aus"
-
-#: ../http/php/mod_SelectKeyword.php:48
-msgid "Please double click to select a keyword."
-msgstr "Suchbegriff per Doppelklick auswählen."
-
-#: ../http/php/mod_gazetteerMetadata.php:262
-msgid "Please insert a keyword!"
-msgstr "Bitte geben Sie einen Suchbegriff an."
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:89
-#: ../http/javascripts/mod_searchCSW_ajax.php:489
-msgid "+ Advanced"
-msgstr "+ Erweitert"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:107
-msgid "Title "
-msgstr "Titel"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:109
-msgid "Abstract"
-msgstr "Beschreibung"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:111
-msgid "Keywords"
-msgstr "Stichworte"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:121
-msgid "Lat-Min"
-msgstr "min. Lat"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:128
-msgid "Lon-Min"
-msgstr "min. Lon"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:133
-msgid "Lat-Max"
-msgstr "max. Lat"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:140
-msgid "Lon-Max"
-msgstr "max. Lon"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:161
-msgid "Getrecords Medium"
-msgstr "noch übersetzen Getrecords Medium"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:169
-msgid "Query Language"
-msgstr "noch Ãœbersetzen: Query Language"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:184
-#: ../http/javascripts/mod_searchCSW_ajax.php:495
-msgid "+ Options"
-msgstr "+ Optionen"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:459
-msgid "Record Title"
-msgstr "Titel"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:460
-msgid "Record Abstract"
-msgstr "Beschreibung"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:461
-msgid "Returned Results..."
-msgstr "Erhaltene Treffer..."
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:472
-msgid ""
-"Do a Basic or Advanced Search of Catalogs in the system. Please visit the "
-"Catalog Admin to add a Catalog"
-msgstr ""
-"Führen Sie eine einfache oder erweiterte Suche durch. Über die "
-"Administration können Sie auch einen Katalogdienst laden."
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:480
-msgid "Search for "
-msgstr "Suche nach"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:500
-msgid "Search CSW"
-msgstr "Katalogsuche"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:102
-msgid "- Advanced"
-msgstr "- Erweitert"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:105
-msgid "Advanced Search"
-msgstr "Erweiterte Suche"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:154
-msgid "- Options"
-msgstr "- Optionen"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:159
-msgid "Number of Hits"
-msgstr "Anzahl der Treffer"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:171
-msgid "CQL"
-msgstr "CQL"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:172
-msgid "Filter"
-msgstr "Filter"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:478
-msgid "Capabilities"
-msgstr "noch übersetzen: Capabilities"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:470
-msgid "Catalog Search"
-msgstr "Katalogsuche"
-
-#: ../http/javascripts/mod_searchCSW_ajax.php:31
-msgid "Search Catalog"
-msgstr "Suche starten"
-
-msgid "Name:"
-msgstr "xxxx"
-
-msgid "Firstname:"
-msgstr "Vorname:"
-
-msgid "Lastname:"
-msgstr "Nachname:"
-
-msgid "Usertype:"
-msgstr "Typ:"
-
-msgid "Germany"
-msgstr "Deutschland"
-
-msgid "my lines"
-msgstr "meine Linien"
-
-#: ../http/javascripts/mod_loadwmc.js:68
-msgid "List"
-msgstr "Liste"
-
-#: ../http/javascripts/mod_loadwmc.js:69
-msgid "Upload"
-msgstr "Laden"
-
-#: ../http/javascripts/mod_loadwmc.js:80
-msgid "WMC name"
-msgstr "WMS Name"
-
-#: ../http/javascripts/mod_loadwmc.js:81
-msgid "last update"
-msgstr "letzte Änderung"
-
-#: ../http/javascripts/mod_loadwmc.js:82
-msgid "created"
-msgstr "erstellt"
-
-#: ../http/javascripts/mod_loadwmc.js:83
-msgid "load"
-msgstr "laden"
-
-#: ../http/javascripts/mod_loadwmc.js:84
-msgid "merge"
-msgstr "mergen"
-
-#: ../http/javascripts/mod_loadwmc.js:85
-msgid "append"
-msgstr "hinzufügen"
-
-#: ../http/javascripts/mod_loadwmc.js:86
-msgid "public"
-msgstr "öffentlich"
-
-#: ../http/javascripts/mod_loadwmc.js:87
-msgid "show"
-msgstr "anzeigen"
-
-#: ../http/javascripts/mod_loadwmc.js:88
-#: ../http/javascripts/mod_loadwmc.js:294
-msgid "OpenLayers"
-msgstr "OpenLayers"
-
-#: ../http/javascripts/mod_loadwmc.js:89
-msgid "delete"
-msgstr "löschen"
-
-#: ../http/javascripts/mod_loadwmc.js:173
-msgid "load this WMC"
-msgstr "lade dieses WMC"
-
-#: ../http/javascripts/mod_loadwmc.js:175
-#: ../http/javascripts/mod_loadwmc.js:358
-msgid "WMC has been loaded successfully."
-msgstr "Das WMC wurde erfolgreich geladen."
-
-#: ../http/javascripts/mod_loadwmc.js:196
-msgid "merge WMC"
-msgstr "WMC zusammenfügen"
-
-#: ../http/javascripts/mod_loadwmc.js:198
-msgid "WMC has been merged successfully."
-msgstr "WMC wurde erfolgreich zusammengeführt."
-
-#: ../http/javascripts/mod_loadwmc.js:222
-msgid "append WMC"
-msgstr "WMC hinzufügen"
-
-#: ../http/javascripts/mod_loadwmc.js:224
-msgid "WMC has been appended successfully."
-msgstr "WMC wurde erfolgreich hinzugefügt"
-
-#: ../http/javascripts/mod_loadwmc.js:229
-msgid "currentState"
-msgstr "aktueller Stand"
-
-#: ../http/javascripts/mod_loadwmc.js:262
-msgid "display WMC XML"
-msgstr "WMC XML anzeigen"
-
-#: ../http/javascripts/mod_loadwmc.js:267
-msgid "WMC Document"
-msgstr "WMC Dokument"
-
-#: ../http/javascripts/mod_loadwmc.js:289
-msgid "export to OpenLayers"
-msgstr "nach OpenLayers exportieren"
-
-#: ../http/javascripts/mod_loadwmc.js:322
-msgid "delete this WMC"
-msgstr "WMC löschen"
-
-#: ../http/javascripts/mod_loadwmc.js:325
-msgid "Do you really want to delete WMC"
-msgstr "Wollen Sie dieses WMC wirklich löschen?"
-
-#: ../http/javascripts/mod_loadwmc.js:404
-msgid "load Service anyway?"
-msgstr "Dienst trotzdem laden?"
-
-#: ../http/javascripts/mod_zoomCoords.php:36
-msgid "Please type a number."
-msgstr "Bitte geben Sie die Koordinaten als Zahlen ein."
-
-#: ../http/javascripts/mod_zoomCoords.php:88
-msgid "ok"
-msgstr "ok"
-
-#: ../http/javascripts/mod_zoomCoords.php:91
-msgid "Longitude"
-msgstr "Rechtswert"
-
-#: ../http/javascripts/mod_zoomCoords.php:92
-msgid "Latitude"
-msgstr "Hochwert"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:10
-#: workspace/test27/http/plugins/mb_metadata_layer.php:34
-#: ../http/plugins/mb_metadata_edit.php:10
-#: ../http/plugins/mb_metadata_featuretype.php:34
-#: ../http/plugins/mb_metadata_layer.php:34
-#: ../http/plugins/mb_metadata_wfs_edit.php:10
-msgid "Show original Service Metadata from last update"
-msgstr "Originale Dienstmetadaten von letzter Aktualisierung anzeigen"
-
-#: workspace/test27/http/plugins/jq_upload_images.php:29
-#: workspace/test27/http/plugins/jq_upload.php:29
-#: ../http/plugins/jq_upload.php:29
-#, php-format
-msgid "Files with this extension are not allowed. Must be %s."
-msgstr ""
-"Dateien in diesem Format werden nicht unterstützt, wählen Sie eines der "
-"folgenden Bildformate: %s."
-
-#: workspace/test27/http/plugins/jq_upload_images.php:49
-#: workspace/test27/http/plugins/jq_upload.php:50
-#: ../http/plugins/jq_upload.php:50
-#, php-format
-msgid "Files with extension %s are not allowed. Must be %s."
-msgstr ""
-"Dateien in dem Format %s werden nicht unterstützt, wählen Sie eines der "
-"folgenden Bildformate: %s."
-
-#: workspace/test27/http/plugins/jq_upload_images.php:61
-#: workspace/test27/http/plugins/jq_upload.php:63
-#: ../http/plugins/jq_upload.php:63
-#, php-format
-msgid "File size limit (%s KB) exceeded."
-msgstr "Datei zu groß (maximal %s KB)."
-
-#: workspace/test27/http/plugins/jq_upload_images.php:75
-#: workspace/test27/http/plugins/jq_upload.php:78
-msgid "File could not be stored on server. Please contact the administrator."
-msgstr ""
-"Die Datei konnte nicht hochgeladen werden. Bitte wenden Sie sich an den "
-"Administrator."
-
-#: workspace/test27/http/plugins/jq_upload_images.php:80
-#: workspace/test27/http/plugins/jq_upload.php:83
-msgid "File has been uploaded."
-msgstr "Die Datei wurde erfolgreich hochgeladen."
-
-#: workspace/test27/http/plugins/mb_i18n_server.php:48
-#: workspace/test27/http/plugins/mb_metadata_server.php:388
-#: workspace/test27/http/plugins/mb_original_metadata_server.php:172
-#: workspace/test27/http/plugins/mb_twitter.php:126
-#: ../http/plugins/mb_i18n_server.php:48
-#: ../http/plugins/mb_metadata_server.php:424
-#: ../http/plugins/mb_metadata_wfs_server.php:388
-#: ../http/plugins/mb_metadata_wmc_server.php:217
-#: ../http/plugins/mb_original_metadata_server.php:205
-#: ../http/plugins/mb_original_metadata_wfs_server.php:206
-#: ../http/plugins/mb_original_metadata_wmc_server.php:75
-#: ../http/plugins/mb_sql_server.php:36
-msgid "An unknown error occured."
-msgstr "Ein unkekannter Fehler ist aufgetreten."
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:8
-#: ../http/plugins/mb_metadata_edit.php:8
-#: ../http/plugins/mb_metadata_wfs_edit.php:8
-#: ../http/plugins/mb_metadata_wmc_edit.php:23
-msgid "Service Level Metadata"
-msgstr "Service Metadaten"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:8
-#: workspace/test27/http/plugins/mb_metadata_edit.php:12
-#: workspace/test27/http/plugins/mb_metadata_edit.php:57
-#: workspace/test27/http/plugins/mb_metadata_layer.php:32
-#: workspace/test27/http/plugins/mb_metadata_layer.php:36
-#: workspace/test27/http/plugins/mb_metadata_layer.php:62
-#: ../http/plugins/mb_metadata_edit.php:8
-#: ../http/plugins/mb_metadata_edit.php:12
-#: ../http/plugins/mb_metadata_edit.php:57
-#: ../http/plugins/mb_metadata_featuretype.php:32
-#: ../http/plugins/mb_metadata_featuretype.php:36
-#: ../http/plugins/mb_metadata_featuretype.php:62
-#: ../http/plugins/mb_metadata_layer.php:32
-#: ../http/plugins/mb_metadata_layer.php:36
-#: ../http/plugins/mb_metadata_layer.php:62
-#: ../http/plugins/mb_metadata_wfs_edit.php:8
-#: ../http/plugins/mb_metadata_wfs_edit.php:12
-#: ../http/plugins/mb_metadata_wfs_edit.php:57
-#: ../http/plugins/mb_metadata_wmc_edit.php:23
-msgid "Help"
-msgstr "Hilfe"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:8
-#: ../http/plugins/mb_metadata_edit.php:8
-msgid ""
-"Possibility to adapt and add informations in the separate WMS-Layer "
-"Metadata. The modified Metadata is stored in the database of the GeoPortal."
-"rlp, outwardly these metadata overwrite the original Service-Metadata."
-msgstr ""
-"Möglichkeit der Überarbeitung und Ergänzung der WMS Metadaten. Die "
-"bearbeiteten Metadaten werden in der Datenbank des GeoPortal.rlp abgelegt "
-"und überschreiben nach Außen hin die originären Metadaten des WMS-Dienstes."
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:12
-#: workspace/test27/http/plugins/mb_metadata_layer.php:36
-#: ../http/plugins/mb_metadata_edit.php:12
-#: ../http/plugins/mb_metadata_layer.php:36
-msgid ""
-"The original WMS-Metadata from the last update could be recovered or "
-"updated, so that the original Service-Metadata will be shown outward again."
-msgstr ""
-"Anzeige der originären WMS Metadaten (Stand: letzte Aktualisierung) "
-"Hilfetext: Die originären Metadaten des WMS vom Stand der letzten "
-"Aktualisierung können wiederhergestellt bzw. aktualisiert und werden damit "
-"nach Außen sichtbar."
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:15
-#: ../http/plugins/mb_metadata_edit.php:15
-msgid "WMS Title (OWS)"
-msgstr "WMS-Titel (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:17
-#: workspace/test27/http/plugins/mb_metadata_edit.php:22
-#: workspace/test27/http/plugins/mb_metadata_edit.php:27
-#: workspace/test27/http/plugins/mb_metadata_edit.php:32
-#: workspace/test27/http/plugins/mb_metadata_edit.php:37
-#: workspace/test27/http/plugins/mb_metadata_edit.php:81
-#: workspace/test27/http/plugins/mb_metadata_edit.php:106
-#: workspace/test27/http/plugins/mb_metadata_edit.php:111
-#: workspace/test27/http/plugins/mb_metadata_edit.php:116
-#: workspace/test27/http/plugins/mb_metadata_layer.php:45
-#: workspace/test27/http/plugins/mb_metadata_layer.php:50
-#: workspace/test27/http/plugins/mb_metadata_layer.php:97
-#: workspace/test27/http/plugins/mb_metadata_layer.php:107
-#: ../http/plugins/mb_metadata_edit.php:17
-#: ../http/plugins/mb_metadata_edit.php:22
-#: ../http/plugins/mb_metadata_edit.php:27
-#: ../http/plugins/mb_metadata_edit.php:32
-#: ../http/plugins/mb_metadata_edit.php:37
-#: ../http/plugins/mb_metadata_edit.php:81
-#: ../http/plugins/mb_metadata_edit.php:106
-#: ../http/plugins/mb_metadata_edit.php:111
-#: ../http/plugins/mb_metadata_edit.php:116
-#: ../http/plugins/mb_metadata_featuretype.php:45
-#: ../http/plugins/mb_metadata_featuretype.php:50
-#: ../http/plugins/mb_metadata_featuretype.php:90
-#: ../http/plugins/mb_metadata_featuretype.php:101
-#: ../http/plugins/mb_metadata_layer.php:45
-#: ../http/plugins/mb_metadata_layer.php:50
-#: ../http/plugins/mb_metadata_layer.php:97
-#: ../http/plugins/mb_metadata_layer.php:108
-#: ../http/plugins/mb_metadata_wfs_edit.php:17
-#: ../http/plugins/mb_metadata_wfs_edit.php:22
-#: ../http/plugins/mb_metadata_wfs_edit.php:27
-#: ../http/plugins/mb_metadata_wfs_edit.php:32
-#: ../http/plugins/mb_metadata_wfs_edit.php:37
-#: ../http/plugins/mb_metadata_wfs_edit.php:81
-#: ../http/plugins/mb_metadata_wfs_edit.php:106
-#: ../http/plugins/mb_metadata_wfs_edit.php:111
-#: ../http/plugins/mb_metadata_wfs_edit.php:116
-#: ../http/plugins/mb_metadata_wmc_edit.php:36
-#: ../http/plugins/mb_metadata_wmc_edit.php:41
-#: ../http/plugins/mb_metadata_wmc_edit.php:46
-#: ../http/plugins/mb_metadata_wmc_edit.php:70
-#: ../http/plugins/mb_metadata_wmc_edit.php:81
-msgid "Inspire"
-msgstr "Inspire"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:20
-#: ../http/plugins/mb_metadata_edit.php:20
-msgid "WMS Abstract (OWS)"
-msgstr "WMS-Beschreibung (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:25
-#: ../http/plugins/mb_metadata_edit.php:25
-msgid "WMS Keywords (OWS)"
-msgstr "WMS Schlüsselwörter (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:30
-#: ../http/plugins/mb_metadata_edit.php:30
-msgid "WMS Fees (OWS)"
-msgstr "WMS Kosten/Gebühren (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:35
-#: ../http/plugins/mb_metadata_edit.php:35
-msgid "WMS AccessConstraints (OWS)"
-msgstr "WMS Zugriffsbeschränkung (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:48
-#: ../http/plugins/mb_metadata_edit.php:48
-msgid "WMS Predefined Licence (Registry)"
-msgstr "WMS vordefiniere Lizenzbedingungen (Registry)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:57
-#: ../http/plugins/mb_metadata_edit.php:57
-#: ../http/plugins/mb_metadata_wfs_edit.php:57
-msgid ""
-"Auswahl von vordefinierten Lizenzen hinsichtlich Gebühren und "
-"Zugriffsbeschränkungen."
-msgstr ""
-"Auswahl von vordefinierten Lizenzen hinsichtlich Gebühren und "
-"Zugriffsbeschränkungen."
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:61
-#: ../http/plugins/mb_metadata_edit.php:61
-msgid "WMS Provider Section (OWS)"
-msgstr "Bereitstellende Organisation (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:63
-#: ../http/plugins/mb_metadata_edit.php:63
-#: ../http/plugins/mb_metadata_wfs_edit.php:63
-msgid "Contact Individual Name (OWS)"
-msgstr "Ansprechpartner (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:67
-#: ../http/plugins/mb_metadata_edit.php:67
-#: ../http/plugins/mb_metadata_wfs_edit.php:67
-msgid "Contact Position Name (OWS)"
-msgstr "Position des Ansprechpartners (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:71
-#: ../http/plugins/mb_metadata_edit.php:71
-#: ../http/plugins/mb_metadata_wfs_edit.php:71
-msgid "Contact Phone Voice (OWS)"
-msgstr "Telefonnummer (OWS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:79
-#: ../http/plugins/mb_metadata_edit.php:79
-msgid "Contact Organisation (WMS)"
-msgstr "Organisation (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:84
-#: ../http/plugins/mb_metadata_edit.php:84
-msgid "Contact Address (WMS)"
-msgstr "Adresse (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:88
-#: ../http/plugins/mb_metadata_edit.php:88
-msgid "Contact City (WMS)"
-msgstr "Ort/Stadt (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:92
-#: ../http/plugins/mb_metadata_edit.php:92
-msgid "Contact State or Province (WMS) - ISO 3166-II"
-msgstr "Bundesland (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:96
-#: ../http/plugins/mb_metadata_edit.php:96
-msgid "Contact Post Code (WMS)"
-msgstr "PLZ (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:100
-#: ../http/plugins/mb_metadata_edit.php:100
-msgid "Contact Post Country (WMS) - ISO 3166"
-msgstr "Land (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:104
-#: ../http/plugins/mb_metadata_edit.php:104
-msgid "Contact Electronic Mail Address (WMS)"
-msgstr "e-mail (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:109
-#: ../http/plugins/mb_metadata_edit.php:109
-#: ../http/plugins/mb_metadata_wfs_edit.php:109
-msgid "Date of first registration (Registry)"
-msgstr "Datum der ersten Registrierung des WMS-Dienstes (Registry)"
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:114
-#: ../http/plugins/mb_metadata_edit.php:114
-#: ../http/plugins/mb_metadata_wfs_edit.php:114
-msgid "Date of last revision (Registry)"
-msgstr "Datum des letzten Updates des WMS-Dienstes (Registry)"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:32
-#: ../http/plugins/mb_metadata_layer.php:32
-msgid ""
-"Possibility to adapt and add informations in the separate WMS-Layer "
-"Metadata. The modified Metadata will be stored in the database of the "
-"GeoPortal.rlp, outwardly these metadata overwrite the original Service-"
-"Metadata."
-msgstr ""
-"Möglichkeit der Überarbeitung und Ergänzung der in den einzelnen WMS-Layern "
-"enthaltenen Metadaten. Die bearbeiteten Metadaten werden in der Datenbank "
-"des GeoPortal.rlp abgelegt und überschreiben nach Außen hin die originären "
-"Metadaten des WMS-Dienstes."
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:39
-#: ../http/plugins/mb_metadata_layer.php:39
-msgid "Number of Layer (Registry)"
-msgstr "Identifikationsnummer des Layers (Registry)"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:44
-#: ../http/plugins/mb_metadata_layer.php:44
-msgid "Layer Title (WMS)"
-msgstr "Layertitel (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:49
-#: ../http/plugins/mb_metadata_layer.php:49
-msgid "Layer Abstract (WMS)"
-msgstr "Beschreibung (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:54
-#: ../http/plugins/mb_metadata_layer.php:54
-msgid "Layer Keywords (WMS)"
-msgstr "Schlüsselwörter (WMS)"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:61
-#: ../http/plugins/mb_metadata_featuretype.php:61
-#: ../http/plugins/mb_metadata_layer.php:61
-msgid "Add Information about the underlying data"
-msgstr "Weitere standardisierte Informationen zum Layer (Datensatz-Metadaten)"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:62
-#: ../http/plugins/mb_metadata_layer.php:62
-msgid ""
-"Linking the WMS layer with metadata set (coupled resource), which describes "
-"the underlying informations of the representation in more detail (eg "
-"Actuality / quality). It occurs via a link to an already existing metadta "
-"set in a catalog or a simple metadata set will be generatetd using a "
-"Mapbender Layer Addon-Editor."
-msgstr ""
-"Verknüpfen des WMS-Layers mit einem Metadatensatzes (gekoppelte Ressource), "
-"der die der Darstellung zugrundeliegenden Informationen näher beschreibt (z."
-"B.: Aktualität/Qualität). Verknüpfung erfolgt entweder über Link zu einem "
-"schon in einem Katalog vorhandenen Metadatensatz oder über die Generierung "
-"des eines einfachen Metadatensatzes mittels Mapbender Layer-AddonEditor."
-
-#: ../http/plugins/mb_metadata_featuretype.php:65
-#: ../http/plugins/mb_metadata_layer.php:65
-msgid "Add new Metadata Record"
-msgstr "Metadatensatz erzeugen"
-
-#: ../http/plugins/mb_metadata_featuretype.php:68
-#: ../http/plugins/mb_metadata_layer.php:68
-msgid "Edit Metadata Linkage"
-msgstr "Metadatensatz editieren"
-
-#: ../http/plugins/mb_metadata_featuretype.php:71
-#: ../http/plugins/mb_metadata_layer.php:71
-msgid "Delete Metadata Linkage"
-msgstr "Metadatensatz löschen"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:86
-#: ../http/plugins/mb_metadata_layer.php:86
-#: ../http/plugins/mb_metadata_wmc_edit.php:57
-msgid "Preview"
-msgstr "Vorschau"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:94
-#: ../http/plugins/mb_metadata_featuretype.php:87
-#: ../http/plugins/mb_metadata_layer.php:94
-#: ../http/plugins/mb_metadata_wmc_edit.php:66
-msgid "Classification"
-msgstr "Klassifizierung"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:96
-#: ../http/plugins/mb_metadata_featuretype.php:89
-#: ../http/plugins/mb_metadata_layer.php:96
-#: ../http/plugins/mb_metadata_wmc_edit.php:68
-msgid "ISO Topic Category"
-msgstr "ISO-Kategorie"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:106
-#: ../http/plugins/mb_metadata_featuretype.php:100
-#: ../http/plugins/mb_metadata_layer.php:107
-#: ../http/plugins/mb_metadata_wmc_edit.php:80
-msgid "INSPIRE Category"
-msgstr "INSPIRE Kategorie"
-
-#: workspace/test27/http/plugins/mb_metadata_layer.php:116
-#: ../http/plugins/mb_metadata_featuretype.php:111
-#: ../http/plugins/mb_metadata_layer.php:118
-#: ../http/plugins/mb_metadata_wmc_edit.php:91
-msgid "Custom Category"
-msgstr "Frei definierte Kategorie"
-
-#: workspace/test27/http/plugins/mb_metadata_server.php:20
-#: workspace/test27/http/plugins/mb_metadata_server.php:32
-#: ../http/plugins/mb_metadata_server.php:20
-#: ../http/plugins/mb_metadata_server.php:32
-#: ../http/plugins/mb_metadata_wfs_server.php:21
-#: ../http/plugins/mb_metadata_wfs_server.php:33
-#: ../http/plugins/mb_metadata_wmc_server.php:23
-msgid "No metadata sets available."
-msgstr "Keine Metadaten verfügbar."
-
-#: workspace/test27/http/plugins/mb_metadata_server.php:23
-#: ../http/plugins/mb_metadata_server.php:23
-msgid "You are not allowed to access this WMS."
-msgstr "Es ist Ihnen nicht gestattet auf diesen WMS zuzugreifen."
-
-#: workspace/test27/http/plugins/mb_metadata_server.php:36
-#: ../http/plugins/mb_metadata_server.php:36
-msgid "You are not allowed to access WMS "
-msgstr "Der Zugriff auf WMS-Dienste ist Ihnen nicht erlaubt."
-
-#: workspace/test27/http/plugins/mb_metadata_server.php:300
-#: ../http/plugins/mb_metadata_server.php:319
-msgid "Invalid WMS ID."
-msgstr "Ungültige WMS ID."
-
-#: workspace/test27/http/plugins/mb_twitter.php:22
-msgid ""
-"Element vars consumerKey and consumerSecret are not set. If you don't have "
-"them, get them from Twitter."
-msgstr ""
-"Die Elemente vars consumerKey und consumerSecret sind nicht definiert. Falls "
-"diese nicht vorliegen, können diese über Twitter ermittelt werden."
-
-#: workspace/test27/http/plugins/mb_twitter.php:64
-msgid "Signed in."
-msgstr "Angemeldet."
-
-#: workspace/test27/http/plugins/mb_twitter.php:69
-#: workspace/test27/http/plugins/mb_twitter.php:99
-msgid "Not signed in."
-msgstr "Nicht angemeldet."
-
-#: workspace/test27/http/plugins/mb_twitter.php:79
-#: workspace/test27/http/plugins/mb_twitter.php:116
-msgid "Could not connect to Twitter."
-msgstr "Verbindung zu Twitter fehlgeschlagen."
-
-#: workspace/test27/http/plugins/mb_twitter.php:92
-msgid "Signed out."
-msgstr "Abgemeldet."
-
-#: workspace/test27/http/plugins/mb_metadata_edit.php:75
-#: ../http/plugins/mb_metadata_edit.php:75
-#: ../http/plugins/mb_metadata_wfs_edit.php:75
-msgid "Contact Phone Fax (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_featuretype.php:32
-msgid ""
-"Possibility to adapt and add informations in the separate WFS-Featuretype "
-"Metadata. The modified Metadata will be stored in the database of the "
-"GeoPortal.rlp, outwardly these metadata overwrite the original Service-"
-"Metadata."
-msgstr ""
-
-#: ../http/plugins/mb_metadata_featuretype.php:36
-#: ../http/plugins/mb_metadata_wfs_edit.php:12
-msgid ""
-"The original WFS-Metadata from the last update could be recovered or "
-"updated, so that the original Service-Metadata will be shown outward again."
-msgstr ""
-
-#: ../http/plugins/mb_metadata_featuretype.php:39
-msgid "Number of Featuretype (Registry)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_featuretype.php:44
-msgid "Featuretype Title (WFS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_featuretype.php:49
-msgid "Featuretype Abstract (WFS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_featuretype.php:54
-msgid "Featuretype Keywords (WFS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_featuretype.php:62
-msgid ""
-"Linking the WFS layer with metadata set (coupled resource), which describes "
-"the underlying informations of the representation in more detail (eg "
-"Actuality / quality). It occurs via a link to an already existing metadta "
-"set in a catalog or a simple metadata set will be generated using a "
-"Mapbender Layer Addon-Editor."
-msgstr ""
-
-#: ../http/plugins/mb_metadata_featuretype.php:97
-#: ../http/plugins/mb_metadata_featuretype.php:108
-#: ../http/plugins/mb_metadata_featuretype.php:119
-#: ../http/plugins/mb_metadata_layer.php:104
-#: ../http/plugins/mb_metadata_layer.php:115
-#: ../http/plugins/mb_metadata_layer.php:126
-#: ../http/plugins/mb_metadata_wmc_edit.php:77
-#: ../http/plugins/mb_metadata_wmc_edit.php:88
-#: ../http/plugins/mb_metadata_wmc_edit.php:99
-msgid "Reset selection"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:8
-msgid ""
-"Possibility to adapt and add informations in the separate WFS-Featuretype "
-"Metadata. The modified Metadata is stored in the database of the GeoPortal."
-"rlp, outwardly these metadata overwrite the original Service-Metadata."
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:15
-msgid "WFS Title (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:20
-msgid "WFS Abstract (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:25
-msgid "WFS Keywords (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:30
-msgid "WFS Fees (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:35
-msgid "WFS AccessConstraints (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:48
-msgid "WFS Predefined Licence (Registry)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:61
-msgid "WFS Provider Section (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:79
-msgid "Contact Organisation (WFS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:84
-msgid "Contact Address (WFS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:88
-msgid "Contact City (WFS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:92
-msgid "Contact State or Province (WFS) - ISO 3166-II"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:96
-msgid "Contact Post Code (WFS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:100
-msgid "Contact Post Country (WFS) - ISO 3166"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_edit.php:104
-msgid "Contact Electronic Mail Address (WFS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_server.php:24
-msgid "You are not allowed to access this WFS."
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_server.php:37
-msgid "You are not allowed to access this WFS "
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wfs_server.php:286
-#: ../http/plugins/mb_metadata_wfs_server.php:295
-msgid "Invalid WFS ID."
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wmc_edit.php:23
-msgid ""
-"Possibility to adapt and add informations in the separate WMC-Featuretype "
-"Metadata. The modified Metadata is stored in the database of the GeoPortal."
-"rlp, outwardly these metadata overwrite the original Service-Metadata."
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wmc_edit.php:34
-msgid "WMC Title (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wmc_edit.php:39
-msgid "WMC Abstract (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wmc_edit.php:44
-msgid "WMC Keywords (OWS)"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wmc_edit.php:49
-msgid "WMC is public"
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wmc_server.php:26
-msgid "You are not allowed to access this WMC."
-msgstr ""
-
-#: ../http/plugins/mb_metadata_wmc_server.php:147
-#: ../http/plugins/mb_metadata_wmc_server.php:155
-msgid "Invalid WMC ID."
-msgstr ""
-
-#: ../http/plugins/mb_sql_server.php:31
-msgid "You are not allowed to access this application."
-msgstr ""
-
-#: ../http/plugins/mb_measure_widget.php:47
-msgid "Click in the map to start measuring."
-msgstr "Klicken Sie in die Karte, um die Messung zu starten."
-
-#: ../http/plugins/mb_measure_widget.php:51
-msgid "Last point: "
-msgstr "letzter Stützpunkt"
-
-#: ../http/plugins/mb_measure_widget.php:54
-msgid "Current point: "
-msgstr "aktueller Stützpunkt"
-
-#: ../http/plugins/mb_measure_widget.php:57
-msgid "Distance (to last point): "
-msgstr "Entfernung zum letzten Punkt"
-
-#: ../http/plugins/mb_measure_widget.php:60
-msgid "Distance (total): "
-msgstr "Länge (gesamt)"
-
-#: ../http/plugins/mb_measure_widget.php:63
-#: ../http/javascripts/mod_coordsLookup.php:100
-msgid "Perimeter: "
-msgstr "Umring: "
-
-#: ../http/javascripts/mod_coordsLookup.php:90
-msgid "Spatial Reference System"
-msgstr "Räumliches Bezugssystem"
-
-#: ../http/javascripts/mod_coordsLookup.php:81
-msgid "zoom to coordinates"
-msgstr "Auf Koordinaten zoomen"
-
-#: ../http/javascripts/mod_coordsLookup.php:71
-msgid "coordinates"
-msgstr "Koordinaten"
-
-#: ../http/javascripts/mod_coordsLookup.php:128
-msgid "Invalid X coordinate! Must be a float or a DMS value!"
-msgstr "Ungültige X Koordinate! Erlaubt sind lediglich Fließkomma oder GMS Werte!"
-
-#: ../http/javascripts/mod_coordsLookup.php:139
-msgid "Invalid Y coordinate! Must be a float or a DMS value!"
-msgstr "Ungültige Y Koordinate! Erlaubt sind lediglich Fließkomma oder GMS Werte!"
-
-#: ../http/javascripts/mod_coordsLookup.php:147
-msgid "Invalid SRS!"
-msgstr "Ungültiges KBS!"
-
-#: ../http/plugins/mb_measure_widget.php:66
-msgid "Area: "
-msgstr "Fläche"

Copied: branches/2.7/resources/locale/de_DE/LC_MESSAGES/Mapbender.po (from rev 7548, trunk/mapbender/resources/locale/de_DE/LC_MESSAGES/Mapbender.po)
===================================================================
--- branches/2.7/resources/locale/de_DE/LC_MESSAGES/Mapbender.po	                        (rev 0)
+++ branches/2.7/resources/locale/de_DE/LC_MESSAGES/Mapbender.po	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,2303 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-01-27 19:04+0100\n"
+"PO-Revision-Date: 2011-02-03 16:01+0100\n"
+"Last-Translator: Armin Retterath <armin.retterath at lvermgeo.rlp.de>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: printPDF.conf:13
+msgid "Download: Map as PDF..."
+msgstr "Download: Karte als PDF..."
+
+#: printPDF.conf:26
+msgid "print legend"
+msgstr "Legende drucken"
+
+#: printPDF.conf:30
+msgid "Legend"
+msgstr "Legende"
+
+#: printPDF.conf:31
+msgid "powered by Mapbender"
+msgstr "mit Unterstützung von Mapbender"
+
+#: printPDF.conf:60
+msgid "Print preview"
+msgstr "Druckansicht"
+
+#: printPDF.conf:63
+msgid "Scale 1:"
+msgstr "Maßstab 1:"
+
+#: printPDF.conf:64
+msgid "Date"
+msgstr "Datum"
+
+#: printPDF.conf:66
+msgid "Notes"
+msgstr "Notizen"
+
+#: printPDF.conf:73
+msgid "This copy has been generated automatically and is valid without signature."
+msgstr "Der Auszug wurde maschinell erzeugt. Er ist ohne Unterschrift gültig."
+
+#: printPDF.conf:74
+msgid "This copy is protected by law (Par. 3 Abs. 1 VermKatG NW). It can be duplicated, modified, published or be passed to third parties only in agreement with"
+msgstr "Dieser Auszug ist gesetzlich geschützt (§ 3 Abs. 1 VermKatG NW). Vervielfältigungen, Umarbeitungen, Veröffentlichungen oder die Weitergabe an Dritte nur mit Zustimmung des"
+
+#: printPDF.conf:75
+msgid "the publisher, except duplicates and modifications aimed at internal use of government agencies or private use."
+msgstr "Herausgebers, ausgenommen Vervielfältigungen und Umarbeitungen zur innerdienstlichen Verwendung bei Behörden oder zum eigenen Gebrauch."
+
+#: printPDF.conf:
+msgid "This copy is protected by law (Par. 3 Abs. 1 VermKatG NW)."
+msgstr "Dieser Auszug ist gesetzlich geschützt (Par. 3 Abs. 1 VermKatG NW)."
+
+#: printPDF.conf:
+msgid "It can be duplicated, modified, published or be passed to third parties only in"
+msgstr "Umarbeitungen, Veröffentlichungen oder die Weitergabe an Dritte nur mit"
+
+#: printPDF.conf:
+msgid "agreement with the publisher except duplicates and modifications"
+msgstr "Zustimmung des Herausgebers, ausgenommen Vervielfältigungen und Umarbeitungen"
+
+#: printPDF.conf:
+msgid "aimed at internal use of government agencies or private use."
+msgstr "zur innerdienstlichen Verwendung bei Behörden oder zum eigenen Gebrauch."
+
+#: printPDF.conf:94
+msgid "Format"
+msgstr "Format"
+
+#: printPDF.conf:101
+msgid "Orientation"
+msgstr "Ausrichtung"
+
+#: printPDF.conf:102
+msgid "portrait"
+msgstr "Hochformat"
+
+#: printPDF.conf:103
+msgid "landscape"
+msgstr "Querformat"
+
+#: printPDF.conf:104
+msgid "Quality"
+msgstr "Qualität"
+
+#: printPDF.conf:105
+#: printPDF.conf:106
+#, php-format
+msgid "Quality: %d dpi"
+msgstr "Qualität: %d dpi"
+
+#: printPDF.conf:108
+msgid "Comment"
+msgstr "Kommentar"
+
+#: printPDF.conf:108
+msgid "max."
+msgstr "max."
+
+#: printPDF.conf:111
+msgid "print"
+msgstr "drucken"
+
+#: mod_printPDF.php:
+msgid "No format selected"
+msgstr "Bitte wählen Sie ein Format aus"
+
+#: mod_digitize_messages.php:18
+#: ../http/php/mod_digitize_messages.php:18
+msgid "polygon"
+msgstr "Polygon"
+
+#: mod_digitize_messages.php:19
+#: ../http/php/mod_digitize_messages.php:19
+msgid "line"
+msgstr "Linie"
+
+#: mod_digitize_messages.php:20
+#: ../http/php/mod_digitize_messages.php:20
+msgid "point"
+msgstr "Punkt"
+
+#: mod_digitize_messages.php:21
+#: ../http/php/mod_digitize_messages.php:21
+msgid "Not an integer value."
+msgstr "Kein Integer-Wert."
+
+#: mod_digitize_messages.php:22
+#: ../http/php/mod_digitize_messages.php:22
+msgid "Not a double value."
+msgstr "Kein Double-Wert."
+
+#: mod_digitize_messages.php:23
+#: ../http/php/mod_digitize_messages.php:23
+msgid "This field may not be empty."
+msgstr "Das Feld darf nicht leer sein."
+
+#: mod_digitize_messages.php:24
+#: ../http/php/mod_digitize_messages.php:24
+msgid "Failure during form evaluation."
+msgstr "Fehler bei der Formularauswertung."
+
+#: mod_digitize_messages.php:25
+#: ../http/php/mod_gazetteerMetadata.php:138
+#: ../http/php/mod_gazetteerMetadata.php:201
+#: ../http/php/mod_gazetteerMetadata.php:212
+#: ../http/php/mod_digitize_messages.php:25
+#: ../http/php/mod_gazetteerMetadata.php:133
+#: ../http/php/mod_gazetteerMetadata.php:196
+#: ../http/php/mod_gazetteerMetadata.php:207
+msgid "An error occured."
+msgstr "Ein Fehler ist aufgetreten."
+
+#: mod_digitize_messages.php:26
+#: ../http/php/mod_digitize_messages.php:26
+msgid "At least two geometries must be available. Only polygons are allowed in the geometry list."
+msgstr "Es müssen mindestens zwei Geometrien ausgewählt sein. Es sind nur Polygone erlaubt in der Geometrieliste."
+
+#: mod_digitize_messages.php:27
+#: ../http/php/mod_digitize_messages.php:27
+msgid "Exactly two geometries must be available. The first geometry shall be a polygon or a line, the second geometry shall be a line."
+msgstr "Es müssen genau zwei Geometrien ausgewählt sein. Die erste Geometrie sollte ein Polygon oder eine Linie, die zweite Geometrie eine Linie sein."
+
+#: mod_digitize_messages.php:28
+#: ../http/php/mod_digitize_messages.php:28
+msgid "Exactly two polygons must be available."
+msgstr "Es müssen genau zwei Polygone ausgewählt sein."
+
+#: mod_digitize_messages.php:29
+#: ../http/php/mod_digitize_messages.php:29
+msgid "Exactly two lines must be available."
+msgstr "Es müssen genau zwei Linien ausgewählt sein."
+
+#: mod_digitize_messages.php:30
+#: ../http/php/mod_digitize_messages.php:30
+msgid "Success."
+msgstr "Aktion erfolgreich beendet."
+
+#: mod_digitize_messages.php:31
+#: ../http/php/mod_digitize_messages.php:31
+msgid "Delete geometry from database?"
+msgstr "Geometrie in der Datenbank löschen?"
+
+#: mod_digitize_messages.php:32
+#: ../http/php/mod_digitize_messages.php:32
+msgid "Clear list of geometries?"
+msgstr "Soll die Geometrieliste wirklich geleert werden?"
+
+#: mod_digitize_messages.php:33
+#: ../http/php/mod_digitize_messages.php:33
+msgid "Please select an entry."
+msgstr "Bitte treffen Sie eine Auswahl."
+
+#: mod_digitize_messages.php:34
+#: ../http/php/mod_digitize_messages.php:34
+msgid "Save"
+msgstr "Speichern"
+
+#: mod_digitize_messages.php:35
+#: ../http/php/mod_digitize_messages.php:35
+msgid "Update"
+msgstr "Aktualisieren"
+
+#: mod_digitize_messages.php:36
+#: ../http/php/mod_customTree.php:230
+#: ../http/php/mod_digitize_messages.php:36
+msgid "Delete"
+msgstr "Löschen"
+
+#: mod_digitize_messages.php:37
+#: ../http/php/mod_digitize_messages.php:37
+msgid "Abort"
+msgstr "Abbrechen"
+
+#: mod_digitize_messages.php:38
+#: ../http/php/mod_digitize_messages.php:38
+msgid "Fatal error: EPSG mismatch. "
+msgstr "Schwerwiegender Fehler: ungleiche EPSGs."
+
+#: mod_digitize_messages.php:39
+#: ../http/php/mod_digitize_messages.php:39
+msgid "No geometry selected!"
+msgstr "Keine Geometrie ausgewählt!"
+
+#: mod_digitize_messages.php:40
+#: ../http/php/mod_digitize_messages.php:40
+msgid "No valid line geometries for merging! Please check start and end points of your lines."
+msgstr "Keine gültigen Geometrien zum Verbinden! Bitte Start- und Endpunkte der Linien prüfen."
+
+#: mod_digitize_messages.php:41
+#: ../http/php/mod_digitize_messages.php:41
+msgid "add point"
+msgstr "Punkt hinzufügen"
+
+#: mod_digitize_messages.php:42
+#: ../http/php/mod_digitize_messages.php:42
+msgid "cancel editing"
+msgstr "Editieren abbrechen"
+
+#: mod_digitize_messages.php:43
+#: ../http/php/mod_digitize_messages.php:43
+msgid "add line"
+msgstr "Linie hinzufügen"
+
+#: mod_digitize_messages.php:44
+#: mod_digitize_messages.php:46
+#: ../http/php/mod_digitize_messages.php:44
+#: ../http/php/mod_digitize_messages.php:46
+msgid "finish line"
+msgstr "Linie abschliessen"
+
+#: mod_digitize_messages.php:45
+#: ../http/php/mod_digitize_messages.php:45
+msgid "continue line"
+msgstr "Linie erweitern"
+
+#: mod_digitize_messages.php:47
+#: ../http/php/mod_digitize_messages.php:47
+msgid "add polygon"
+msgstr "Polygon hinzufügen"
+
+#: mod_digitize_messages.php:48
+#: ../http/php/mod_digitize_messages.php:48
+msgid "close polygon"
+msgstr "Polygon schliessen"
+
+#: mod_digitize_messages.php:49
+#: mod_digitize_messages.php:50
+#: ../http/php/mod_digitize_messages.php:49
+#: ../http/php/mod_digitize_messages.php:50
+msgid "move basepoint"
+msgstr "Stützpunkt verschieben"
+
+#: mod_digitize_messages.php:51
+#: mod_digitize_messages.php:52
+#: ../http/php/mod_digitize_messages.php:51
+#: ../http/php/mod_digitize_messages.php:52
+msgid "Insert basepoint"
+msgstr "Stützpunkt einfügen"
+
+#: mod_digitize_messages.php:53
+#: mod_digitize_messages.php:54
+#: ../http/php/mod_digitize_messages.php:53
+#: ../http/php/mod_digitize_messages.php:54
+msgid "Delete basepoint"
+msgstr "Stützpunkt löschen"
+
+#: mod_digitize_messages.php:55
+#: mod_digitize_messages.php:56
+#: ../http/php/mod_digitize_messages.php:55
+#: ../http/php/mod_digitize_messages.php:56
+msgid "clear list of geometries"
+msgstr "Geometrieliste leeren"
+
+#: mod_digitize_messages.php:57
+#: mod_digitize_messages.php:58
+#: ../http/php/mod_digitize_messages.php:57
+#: ../http/php/mod_digitize_messages.php:58
+msgid "Merge two polygons into a single polygon (will be added to the geometry list)"
+msgstr "Zwei Polygone zu einem Polygon zusammenfügen (wird der Geometrieliste hinzugefügt)."
+
+#: mod_digitize_messages.php:59
+#: mod_digitize_messages.php:60
+#: ../http/php/mod_digitize_messages.php:59
+#: ../http/php/mod_digitize_messages.php:60
+msgid "Split a polygon/line by a line (the new polygons/lines will be added to the geometry list)"
+msgstr "Polygon/Linie zerschneiden mit Hilfe einer Linie (neue Polygone/Linien werden zur Geometrienliste hinzugefügt)"
+
+#: mod_digitize_messages.php:61
+#: ../http/php/mod_digitize_messages.php:61
+msgid "Combine two polygons (to create en- and exclave or to compute the difference)"
+msgstr "Verbinde zwei Polygone (zum Erstellen von En- oder Exklaven oder zum Berechnen der Differenz)"
+
+#: mod_digitize_messages.php:62
+#: ../http/php/mod_digitize_messages.php:62
+msgid "Split geometries"
+msgstr "Geometrien zerschneiden"
+
+#: mod_digitize_messages.php:63
+#: mod_digitize_messages.php:64
+#: ../http/php/mod_digitize_messages.php:63
+#: ../http/php/mod_digitize_messages.php:64
+msgid "Merge two lines into a single line"
+msgstr "Zwei Linien zu einer Linie zusammenfügen."
+
+#: mod_digitize_messages.php:65
+#: ../http/php/mod_digitize_messages.php:65
+msgid "save / update / delete"
+msgstr "speichern / aktualisieren / löschen"
+
+#: mod_digitize_messages.php:66
+#: ../http/php/mod_digitize_messages.php:66
+msgid "remove from workspace"
+msgstr "aus der Liste entfernen"
+
+#: mod_digitize_messages.php:67
+#: ../http/php/mod_digitize_messages.php:67
+msgid "remove from database"
+msgstr "aus der Datenbank löschen"
+
+#: mod_digitize_messages.php:68
+#: ../http/php/mod_digitize_messages.php:68
+msgid "clone this geometry"
+msgstr "dupliziere diese Geometrie"
+
+#: mod_digitize_messages.php:69
+#: ../http/php/mod_digitize_messages.php:69
+msgid "click the first basepoint to close the polygon"
+msgstr "Auf den ersten Stützpunkt klicken, um das Polygon zu schliessen"
+
+#: mod_digitize_messages.php:70
+#: ../http/php/mod_digitize_messages.php:70
+msgid "Current: "
+msgstr "Letztes Segment: "
+
+#: mod_digitize_messages.php:71
+#: ../http/php/mod_digitize_messages.php:71
+msgid "Total: "
+msgstr "Gesamtlänge: "
+
+#: mod_digitize_messages.php:72
+#: ../http/php/mod_createCategory.php:118
+#: ../http/php/mod_digitize_messages.php:72
+msgid "new"
+msgstr "neu"
+
+#: mod_wfsSpatialRequest_messages.php:33
+#: ../http/php/mod_wfsSpatialRequest_messages.php:30
+msgid "select by rectangle"
+msgstr "Auswahl über Rechteck"
+
+#: mod_wfsSpatialRequest_messages.php:34
+#: ../http/php/mod_wfsSpatialRequest_messages.php:31
+msgid "select by polygon"
+msgstr "Auswahl über Polygon"
+
+#: mod_wfsSpatialRequest_messages.php:35
+#: ../http/php/mod_wfsSpatialRequest_messages.php:32
+msgid "select by point"
+msgstr "Auswahl über Punkt test"
+
+#: mod_wfsSpatialRequest_messages.php:36
+#: ../http/php/mod_wfsSpatialRequest_messages.php:33
+msgid "select by extent"
+msgstr "Auswahl über Extent"
+
+#: mod_wfsSpatialRequest_messages.php:37
+#: ../http/php/mod_wfsSpatialRequest_messages.php:34
+msgid "open dialogue form"
+msgstr "Auswahlfenster öffnen"
+
+#: mod_wfsSpatialRequest_messages.php:38
+#: ../http/php/mod_wfsSpatialRequest_messages.php:35
+msgid "Invalid box!"
+msgstr "Ausschnitt ungültig!"
+
+#: /html/mod_treefolder2.php:56
+#: http/html/mod_treefolderPlain.php:34
+#: ../http/html/mod_treefolderPlain.php:33
+#: ../http/html/mod_treefolderPlain.php:32
+msgid "Toggles the visibility of this service"
+msgstr "Sichtbarkeit des Layers an/aus"
+
+#: /html/mod_treefolder2.php:57
+#: http/html/mod_treefolderPlain.php:35
+#: ../http/html/mod_treefolderPlain.php:34
+#: ../http/html/mod_treefolderPlain.php:33
+msgid "Toggles the queryability of this service"
+msgstr "Infoabfrage an/aus"
+
+#: /html/mod_treefolder2.php:58
+#: http/html/mod_treefolderPlain.php:36
+#: ../http/html/mod_treefolderPlain.php:35
+#: ../http/html/mod_treefolderPlain.php:34
+msgid "Opens the layer context menu"
+msgstr "Öffnet das Layer Kontextmenü"
+
+#: /html/mod_treefolder2.php:59
+#: http/html/mod_treefolderPlain.php:37
+#: ../http/html/mod_treefolderPlain.php:36
+#: ../http/html/mod_treefolderPlain.php:35
+msgid "Opens the WMS context menu"
+msgstr "Öffnet das WMS Kontextmenü"
+
+#: /html/mod_treefolder2.php:60
+#: http/html/mod_treefolderPlain.php:38
+#: ../http/html/mod_treefolderPlain.php:37
+#: ../http/html/mod_treefolderPlain.php:36
+msgid "Removes the selected WMS"
+msgstr "Entfernt den gewählten Dienst"
+
+#: /html/mod_treefolder2.php:61
+#: http/html/mod_treefolderPlain.php:39
+#: ../http/html/mod_treefolderPlain.php:38
+#: ../http/html/mod_treefolderPlain.php:37
+msgid "Moves the selection up"
+msgstr "selektierten Dienst nach oben verschieben"
+
+#: /html/mod_treefolder2.php:62
+#: http/html/mod_treefolderPlain.php:40
+#: ../http/html/mod_treefolderPlain.php:39
+#: ../http/html/mod_treefolderPlain.php:38
+msgid "Moves the selection down"
+msgstr "selektierten Dienst nach unten verschieben"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:327
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:450
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:487
+msgid "WMS name"
+msgstr "WMS Name"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:328
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:451
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:488
+msgid "WMS abstract"
+msgstr "WMS Beschreibung"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:329
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:452
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:489
+msgid "Please select a WMS"
+msgstr "Bitte wählen Sie einen WMS aus"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:330
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:453
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:490
+msgid "Please select an application"
+msgstr "Bitte wählen Sie eine Applikation aus"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:331
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:454
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:491
+msgid "Please select a group"
+msgstr "Bitte wählen Sie eine Gruppe aus"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:332
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:455
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:492
+msgid "group abstract"
+msgstr "Beschreibung der Gruppe"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:333
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:456
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:493
+msgid "group name"
+msgstr "Name der Gruppe"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:334
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:457
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:494
+msgid "application abstract"
+msgstr "Beschreibung der Applikation"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:335
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:458
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:495
+msgid "application name"
+msgstr "Name der Anwendung"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:336
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:459
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:496
+msgid "no result"
+msgstr "kein Ergebnis"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:342
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:465
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:475
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:502
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:512
+msgid "Add WMS"
+msgstr "WMS hinzufügen"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:343
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:466
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:503
+msgid "Enter a Capabilities-URL of a WMS or select one or more WMS from list."
+msgstr "Geben Sie eine Capabilities-URL ein oder wählen Sie einen der aufgelisteten Dienste."
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:344
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:467
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:504
+msgid "Notice: Be aware of the scale hints. Possibly you need to zoom in to display the added service."
+msgstr "Hinweis: Beachten Sie die logischen Zoomstufen. Möglicherweise müssen Sie den Maßstab wechseln, um die Ebenen des geladenen Dienstes zu sehen."
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:350
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:473
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:510
+msgid "Capabilities-URL"
+msgstr "Capabilities-URL"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:362
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:492
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:529
+msgid "List all WMS"
+msgstr "Liste aller WMS"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:363
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:493
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:530
+msgid "List WMS by Group"
+msgstr "WMS nach Gruppen sortiert"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:364
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:494
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:531
+msgid "List WMS by Application"
+msgstr "WMS nach Anwendungen sortiert"
+
+#: http/javascripts/mod_addWMSfromfilteredList_ajax.php:374
+msgid "Loading WMS"
+msgstr "Der WMS wird geladen"
+
+#: http/php/mod_createJSObjFromXML.php:33
+#: ../http/php/mod_createJSLayerObjFromXML.php:34
+#: ../http/php/mod_createJSObjFromXML.php:40
+msgid "Error: The Capabilities Document could not be accessed. Please check whether the server is responding and accessible to Mapbender."
+msgstr "Fehler: Das Capabilities-Dokument ist nicht verfügbar. Bitte prüfen Sie, ob der Server antwortet und für Mapbender erreichbar ist."
+
+#: http/html/mod_treefolderPlain.php:33
+#: ../http/html/mod_treefolderPlain.php:32
+#: ../http/html/mod_treefolderPlain.php:31
+msgid "(De)activate this service"
+msgstr "Dienst (de)aktivieren"
+
+#: http/html/mod_treefolderPlain.php:144
+#: ../http/html/mod_treefolderPlain.php:143
+#: ../http/html/mod_treefolderPlain.php:199
+msgid "Move up"
+msgstr "rauf"
+
+#: http/html/mod_treefolderPlain.php:145
+#: ../http/html/mod_treefolderPlain.php:144
+#: ../http/html/mod_treefolderPlain.php:200
+msgid "Move down"
+msgstr "runter"
+
+#: http/html/mod_treefolderPlain.php:146
+#: ../http/html/mod_treefolderPlain.php:145
+#: ../http/html/mod_treefolderPlain.php:201
+msgid "Remove"
+msgstr "entfernen"
+
+#: http/html/mod_treefolderPlain.php:147
+#: ../http/html/mod_treefolderPlain.php:146
+#: ../http/html/mod_treefolderPlain.php:202
+msgid "Opacity up"
+msgstr "Transparenz verringern"
+
+#: http/html/mod_treefolderPlain.php:148
+#: ../http/html/mod_treefolderPlain.php:147
+#: ../http/html/mod_treefolderPlain.php:203
+msgid "Opacity down"
+msgstr "Transparenz erhöhen"
+
+#: http/html/mod_treefolderPlain.php:149
+#: ../http/html/mod_treefolderPlain.php:148
+#: ../http/html/mod_treefolderPlain.php:204
+#: ../http/javascripts/mod_featureInfo.php:98
+#: ../http/javascripts/mod_featureInfoTunnel.php:131
+#: ../http/javascripts/mod_featureInfoTunnel.php:160
+#: ../http/javascripts/mod_tooltip.php:78
+msgid "Information"
+msgstr "Information"
+
+#: http/html/mod_treefolderPlain.php:150
+#: http/html/mod_treefolderPlain.php:152
+#: ../http/html/mod_treefolderPlain.php:149
+#: ../http/html/mod_treefolderPlain.php:151
+#: ../http/html/mod_treefolderPlain.php:205
+#: ../http/html/mod_treefolderPlain.php:208
+msgid "Zoom"
+msgstr "auf Ebene zoomen"
+
+#: http/html/mod_treefolderPlain.php:151
+#: ../http/html/mod_treefolderPlain.php:150
+#: ../http/html/mod_treefolderPlain.php:206
+msgid "Hide menu"
+msgstr "schließen"
+
+#: conf/wfs_additional_spatial_search.conf:17
+msgid "Spatial filter is set."
+msgstr "räumlicher Filter gesetzt"
+
+#: conf/wfs_additional_spatial_search.conf:31
+msgid "Search results"
+msgstr "Suchergebnisse"
+
+#: conf/wfs_additional_spatial_search.conf:37
+msgid "Details"
+msgstr "Details"
+
+#: http/php/mb_listGUIs.php:59
+#: ../http/php/mb_listGUIs.php:59
+msgid "available applications"
+msgstr "Liste der verfügbaren Anwendungen"
+
+#: http/php/mb_listGUIs.php:82
+#: ../http/php/mb_listGUIs.php:99
+#: ../http/php/mb_listGUIs.php:82
+msgid "Others"
+msgstr "Sonstige"
+
+#: ../http/html/mod_treefolderPlain.php:420
+#: ../http/html/mod_treefolderPlain.php:522
+msgid "You have to select the WMS you want to move up!"
+msgstr "Sie müssen den Dienst, den Sie nach oben schieben wollen, selektieren."
+
+#: ../http/html/mod_treefolderPlain.php:425
+#: ../http/html/mod_treefolderPlain.php:457
+#: ../http/html/mod_treefolderPlain.php:527
+#: ../http/html/mod_treefolderPlain.php:559
+msgid "Illegal move operation"
+msgstr "Ungültige Operation"
+
+#: ../http/html/mod_treefolderPlain.php:452
+#: ../http/html/mod_treefolderPlain.php:554
+msgid "You have to select the WMS you want to move down!"
+msgstr "Sie müssen den Dienst, den Sie nach unten schieben wollen, selektieren."
+
+#: ../http/html/mod_treefolderPlain.php:484
+#: ../http/html/mod_treefolderPlain.php:586
+msgid "You have to select the WMS you want to delete!"
+msgstr "Sie müssen den Dienst, den Sie entfernen wollen, selektieren."
+
+#: ../http/html/mod_treefolderPlain.php:488
+#: ../http/html/mod_treefolderPlain.php:590
+msgid "It is not possible to delete a single layer, please select a WMS!"
+msgstr "Es ist nicht möglich einen einzelnen Layer zu entfernen. Bitte selektieren Sie einen WMS!"
+
+#: ../http/html/mod_treefolderPlain.php:496
+#: ../http/html/mod_treefolderPlain.php:598
+msgid "Last WMS can not be removed."
+msgstr "Der letzte WMS kann nicht entfernt werden."
+
+#: ../http/html/mod_treefolderPlain.php:499
+#: ../http/html/mod_treefolderPlain.php:601
+msgid "Are you sure you want to remove"
+msgstr "Sind Sie sicher, dass Sie diesen Dienst entfernen wollen "
+
+#: http/javascripts/mod_measure.php:298
+#: ../http/javascripts/mod_measure.php:288
+msgid "Close polygon"
+msgstr "Polygon schliessen"
+
+#: http/javascripts/mod_measure.php:314
+#: ../http/javascripts/mod_measure.php:305
+msgid "Rubber"
+msgstr "Skizze löschen"
+
+#: http/javascripts/mod_measure.php:329
+#: ../http/javascripts/mod_measure.php:320
+msgid "Get area"
+msgstr "Fläche berechnen"
+
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:411
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:667
+msgid "show metadata"
+msgstr "Metadaten anzeigen"
+
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:420
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:676
+msgid "remove WFS Conf"
+msgstr "WFS Konfiguration entfernen"
+
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:455
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:711
+msgid "Point"
+msgstr "Punkt"
+
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:459
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:715
+msgid "Line"
+msgstr "Linie"
+
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:463
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:719
+msgid "Polygon"
+msgstr "Polygon"
+
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:621
+#: ../http/javascripts/mod_wfs_gazetteer_client.php:891
+msgid "Different EPSG of map and wfs featuretype, no spatial request possible!"
+msgstr "Unterschiedliche EPSG von Karte und WFS FeatureType. Es ist keine räumliche möglich."
+
+#: ../http/html/mod_treefolderPlain.php:39
+msgid "Show metadata"
+msgstr "Metadaten anzeigen"
+
+#: ../http/html/mod_treefolderPlain.php:207
+msgid "Change style"
+msgstr "Stil ändern"
+
+#: ../http/html/mod_treefolderPlain.php:471
+msgid "Change layer style"
+msgstr "Layer Stil ändern"
+
+#: ../http/html/mod_treefolderPlain.php:471
+msgid "Please select a style"
+msgstr "Bitte wählen Sie einen Stil aus"
+
+#: ../http/html/mod_treefolderPlain.php:477
+msgid "Close"
+msgstr "schließen"
+
+msgid "close"
+msgstr "schließen"
+
+#: ../http/html/mod_treefolderPlain.php:490
+msgid "There is no different style available for this layer."
+msgstr "Es liegen keine weiteren Stile für diesen Layer vor."
+
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:467
+msgid "Hint: Possibly you need to zoom in for showing layers from external map service. The operator of the external service is responsible for the display ranges. PortalU does not have a stake in this behaviour."
+msgstr "Hinweis: Möglicherweise müssen Sie in die Karte zoomen, um Layer von externen Diensten zu sehen.Der Administrator des externen Dienstes ist für die Anzeige verantwortlich."
+
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:479
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:516
+msgid "activate layers"
+msgstr "Ebenen des Kartendienstes aktivieren"
+
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:483
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:520
+msgid "zoom to extent"
+msgstr "auf Ausdehnung des Kartendiensten zoomen"
+
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:501
+#: ../http/javascripts/mod_searchCSW_ajax.php:507
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:538
+#: ../http/javascripts/mod_searchCSW_ajax.php:409
+msgid "Loading"
+msgstr "Kartendienst wird geladen"
+
+#: ../http/php/mod_meetingPoint.php:42
+#: ../http/php/mod_meetingPoint.php:45
+msgid "Your meeting point. Follow the link!"
+msgstr "Ihr Treffpunkt. Folgen Sie dem Link!"
+
+#: ../http/php/mod_meetingPoint.php:98
+#: ../http/php/mod_meetingPoint.php:108
+msgid "Please click for the meeting point position!"
+msgstr "Bitte klicken Sie in die Karte, um einen Treffpunkt zu erzeugen."
+
+#: ../http/php/mod_meetingPoint.php:210
+#: ../http/php/mod_meetingPoint.php:227
+msgid "Max characters"
+msgstr "Max. Eingabe"
+
+#: ../http/php/mod_meetingPoint.php:229
+#: ../http/php/mod_meetingPoint.php:151
+#: ../http/php/mod_meetingPoint.php:246
+msgid "Please define a text!"
+msgstr "Bitte geben Sie einen Text ein."
+
+#: ../http/php/mod_meetingPoint.php:323
+#: ../http/php/mod_meetingPoint.php:352
+msgid "cancel"
+msgstr "Abbrechen"
+
+#: ../http/php/mod_gazetteerMetadata.php:150
+#: ../http/php/mod_gazetteerMetadata.php:145
+msgid "The added Service has more than"
+msgstr "Der hinzugefügte Dienst hat mehr als"
+
+#: ../http/php/mod_gazetteerMetadata.php:208
+#: ../http/php/mod_gazetteerMetadata.php:203
+msgid "The following Service has been added"
+msgstr "Der folgende Dienst wurde hinzugefügt"
+
+#: ../http/php/mod_gazetteerMetadata.php:234
+msgid "SelectKeyword"
+msgstr "Suchbegriff auswählen"
+
+#: ../http/php/mod_gazetteerMetadata.php:249
+#: ../http/plugins/mb_metadata_wmc_edit.php:31
+#: ../http/plugins/mb_metadata_wmc_server.php:57
+#: ../http/php/mod_gazetteerMetadata.php:246
+msgid "Metadata"
+msgstr "Metadaten"
+
+#: ../http/php/mod_gazetteerMetadata.php:267
+#: ../http/php/mod_gazetteerMetadata.php:264
+msgid "Searching"
+msgstr "Suche läuft"
+
+#: ../http/php/mod_gazetteerMetadata.php:317
+#: ../http/php/mod_gazetteerMetadata.php:314
+msgid "Load"
+msgstr "Laden"
+
+#: ../http/php/mod_gazetteerMetadata.php:342
+#: ../http/php/mod_gazetteerMetadata.php:339
+msgid "Add WMS and zoom to extent"
+msgstr "Kartendienst hinzuladen und auf Ausdehnung zoomen"
+
+#: ../http/php/mod_gazetteerMetadata.php:440
+#: ../http/php/mod_gazetteerMetadata.php:437
+msgid "keywords"
+msgstr "Suchbegriffe"
+
+#: ../http/php/mod_gazetteerMetadata.php:150
+#: ../http/php/mod_gazetteerMetadata.php:145
+msgid "layer. The layer of the MapService will NOT be activated."
+msgstr "Ebenen. Die Ebenen des Kartendienstes werden NICHT aktiviert."
+
+#: ../http/php/mod_gazetteerMetadata.php:234
+#: ../http/php/mod_SelectKeyword.php:24
+#: ../http/php/mod_gazetteerMetadata.php:230
+msgid "Select a keyword"
+msgstr "Wählen Sie einen Suchbegriff aus"
+
+#: ../http/php/mod_SelectKeyword.php:48
+msgid "Please double click to select a keyword."
+msgstr "Suchbegriff per Doppelklick auswählen."
+
+#: ../http/php/mod_gazetteerMetadata.php:262
+#: ../http/php/mod_gazetteerMetadata.php:259
+msgid "Please insert a keyword!"
+msgstr "Bitte geben Sie einen Suchbegriff an."
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:89
+#: ../http/javascripts/mod_searchCSW_ajax.php:489
+#: ../http/javascripts/mod_searchCSW_ajax.php:391
+msgid "+ Advanced"
+msgstr "+ Erweitert"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:107
+#: ../http/javascripts/mod_searchCSW_form.php:66
+msgid "Title "
+msgstr "Titel"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:109
+#: ../http/javascripts/mod_searchCSW_form.php:68
+msgid "Abstract"
+msgstr "Beschreibung"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:111
+#: ../http/javascripts/mod_searchCSW_form.php:70
+msgid "Keywords"
+msgstr "Stichworte"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:121
+#: ../http/javascripts/mod_searchCSW_form.php:75
+msgid "Lat-Min"
+msgstr "min. Lat"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:128
+#: ../http/javascripts/mod_searchCSW_form.php:79
+msgid "Lon-Min"
+msgstr "min. Lon"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:133
+msgid "Lat-Max"
+msgstr "max. Lat"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:140
+#: ../http/javascripts/mod_searchCSW_form.php:81
+msgid "Lon-Max"
+msgstr "max. Lon"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:161
+msgid "Getrecords Medium"
+msgstr "noch übersetzen Getrecords Medium"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:169
+msgid "Query Language"
+msgstr "noch Ãœbersetzen: Query Language"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:184
+#: ../http/javascripts/mod_searchCSW_ajax.php:495
+#: ../http/javascripts/mod_searchCSW_ajax.php:397
+msgid "+ Options"
+msgstr "+ Optionen"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:459
+#: ../http/javascripts/mod_searchCSW_ajax.php:360
+msgid "Record Title"
+msgstr "Titel"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:460
+#: ../http/javascripts/mod_searchCSW_ajax.php:361
+msgid "Record Abstract"
+msgstr "Beschreibung"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:461
+#: ../http/javascripts/mod_searchCSW_ajax.php:362
+msgid "Returned Results..."
+msgstr "Erhaltene Treffer..."
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:472
+#: ../http/javascripts/mod_searchCSW_ajax.php:373
+msgid "Do a Basic or Advanced Search of Catalogs in the system. Please visit the Catalog Admin to add a Catalog"
+msgstr "Führen Sie eine einfache oder erweiterte Suche durch. Über die Administration können Sie auch einen Katalogdienst laden."
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:480
+#: ../http/javascripts/mod_searchCSW_ajax.php:382
+#: ../http/javascripts/mod_searchCSW_form.php:55
+msgid "Search for "
+msgstr "Suche nach"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:500
+#: ../http/javascripts/mod_searchCSW_ajax.php:402
+#: ../http/javascripts/mod_searchCSW_form.php:48
+#: ../http/javascripts/mod_searchCSW_form.php:58
+#: ../http/javascripts/mod_searchCSW_form.php:85
+msgid "Search CSW"
+msgstr "Katalogsuche"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:102
+msgid "- Advanced"
+msgstr "- Erweitert"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:105
+msgid "Advanced Search"
+msgstr "Erweiterte Suche"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:154
+msgid "- Options"
+msgstr "- Optionen"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:159
+msgid "Number of Hits"
+msgstr "Anzahl der Treffer"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:171
+#: ../http/javascripts/mod_searchCSW_ajax.php:172
+msgid "CQL"
+msgstr "CQL"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:172
+#: ../http/javascripts/mod_searchCSW_ajax.php:171
+msgid "Filter"
+msgstr "Filter"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:478
+#: ../http/javascripts/mod_searchCSW_ajax.php:380
+msgid "Capabilities"
+msgstr "noch übersetzen: Capabilities"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:470
+#: ../http/javascripts/mod_searchCSW_ajax.php:371
+msgid "Catalog Search"
+msgstr "Katalogsuche"
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:31
+msgid "Search Catalog"
+msgstr "Suche starten"
+
+msgid "Name:"
+msgstr "Name:"
+
+msgid "Firstname:"
+msgstr "Vorname:"
+
+msgid "Lastname:"
+msgstr "Nachname:"
+
+msgid "Usertype:"
+msgstr "Typ des Nutzers:"
+
+msgid "Germany"
+msgstr "Deutschland"
+
+msgid "my lines"
+msgstr "meine Linien"
+
+msgid "Save configuration"
+msgstr "Konfiguration speichern"
+
+#: ../http/javascripts/mod_loadwmc.js:68
+msgid "List"
+msgstr "Liste"
+
+#: ../http/javascripts/mod_loadwmc.js:69
+msgid "Upload"
+msgstr "Laden"
+
+#: ../http/javascripts/mod_loadwmc.js:80
+msgid "WMC name"
+msgstr "WMS Name"
+
+#: ../http/javascripts/mod_loadwmc.js:81
+msgid "last update"
+msgstr "letzte Änderung"
+
+#: ../http/javascripts/mod_loadwmc.js:82
+msgid "created"
+msgstr "erstellt"
+
+#: ../http/javascripts/mod_loadwmc.js:83
+msgid "load"
+msgstr "laden"
+
+#: ../http/javascripts/mod_loadwmc.js:84
+msgid "merge"
+msgstr "mergen"
+
+#: ../http/javascripts/mod_loadwmc.js:85
+msgid "append"
+msgstr "hinzufügen"
+
+#: ../http/javascripts/mod_loadwmc.js:86
+msgid "public"
+msgstr "öffentlich"
+
+#: ../http/javascripts/mod_loadwmc.js:87
+msgid "show"
+msgstr "anzeigen"
+
+#: ../http/javascripts/mod_loadwmc.js:88
+#: ../http/javascripts/mod_loadwmc.js:294
+msgid "OpenLayers"
+msgstr "OpenLayers"
+
+#: ../http/javascripts/mod_loadwmc.js:89
+msgid "delete"
+msgstr "löschen"
+
+#: ../http/javascripts/mod_loadwmc.js:173
+msgid "load this WMC"
+msgstr "lade dieses WMC"
+
+#: ../http/javascripts/mod_loadwmc.js:175
+#: ../http/javascripts/mod_loadwmc.js:358
+msgid "WMC has been loaded successfully."
+msgstr "Das WMC wurde erfolgreich geladen."
+
+#: ../http/javascripts/mod_loadwmc.js:196
+msgid "merge WMC"
+msgstr "WMC zusammenfügen"
+
+#: ../http/javascripts/mod_loadwmc.js:198
+msgid "WMC has been merged successfully."
+msgstr "WMC wurde erfolgreich zusammengeführt."
+
+#: ../http/javascripts/mod_loadwmc.js:222
+msgid "append WMC"
+msgstr "WMC hinzufügen"
+
+#: ../http/javascripts/mod_loadwmc.js:224
+msgid "WMC has been appended successfully."
+msgstr "WMC wurde erfolgreich hinzugefügt"
+
+#: ../http/javascripts/mod_loadwmc.js:229
+msgid "currentState"
+msgstr "aktueller Stand"
+
+#: ../http/javascripts/mod_loadwmc.js:262
+msgid "display WMC XML"
+msgstr "WMC XML anzeigen"
+
+#: ../http/javascripts/mod_loadwmc.js:267
+msgid "WMC Document"
+msgstr "WMC Dokument"
+
+#: ../http/javascripts/mod_loadwmc.js:289
+msgid "export to OpenLayers"
+msgstr "nach OpenLayers exportieren"
+
+#: ../http/javascripts/mod_loadwmc.js:322
+msgid "delete this WMC"
+msgstr "WMC löschen"
+
+#: ../http/javascripts/mod_loadwmc.js:325
+msgid "Do you really want to delete WMC"
+msgstr "Wollen Sie dieses WMC wirklich löschen?"
+
+#: ../http/javascripts/mod_loadwmc.js:404
+msgid "load Service anyway?"
+msgstr "Dienst trotzdem laden?"
+
+#: ../http/plugins/wfsConfTree.js:7
+msgid "No geometry modules are available. You can load those from the Search."
+msgstr "Keine Geometriemodule verfügbar. Sie können Module über die Suche hinzuladen."
+
+#: ../http/javascripts/mod_zoomCoords.php:36
+msgid "Please type a number."
+msgstr "Bitte geben Sie die Koordinaten als Zahlen ein."
+
+#: ../http/javascripts/mod_zoomCoords.php:88
+msgid "ok"
+msgstr "ok"
+
+#: ../http/javascripts/mod_zoomCoords.php:91
+msgid "Longitude"
+msgstr "Rechtswert"
+
+#: ../http/javascripts/mod_zoomCoords.php:92
+msgid "Latitude"
+msgstr "Hochwert"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:10
+#: workspace/test27/http/plugins/mb_metadata_layer.php:34
+#: ../http/plugins/mb_metadata_edit.php:10
+#: ../http/plugins/mb_metadata_featuretype.php:34
+#: ../http/plugins/mb_metadata_layer.php:34
+#: ../http/plugins/mb_metadata_wfs_edit.php:10
+msgid "Show original Service Metadata from last update"
+msgstr "Originale Dienstmetadaten von letzter Aktualisierung anzeigen"
+
+#: workspace/test27/http/plugins/jq_upload_images.php:29
+#: workspace/test27/http/plugins/jq_upload.php:29
+#: ../http/plugins/jq_upload.php:29
+#: ../http/plugins/jq_upload.php:28
+#, php-format
+msgid "Files with this extension are not allowed. Must be %s."
+msgstr "Dateien in diesem Format werden nicht unterstützt, wählen Sie eines der folgenden Bildformate: %s."
+
+#: workspace/test27/http/plugins/jq_upload_images.php:49
+#: workspace/test27/http/plugins/jq_upload.php:50
+#: ../http/plugins/jq_upload.php:50
+#: ../http/plugins/jq_upload.php:49
+#, php-format
+msgid "Files with extension %s are not allowed. Must be %s."
+msgstr "Dateien in dem Format %s werden nicht unterstützt, wählen Sie eines der folgenden Bildformate: %s."
+
+#: workspace/test27/http/plugins/jq_upload_images.php:61
+#: workspace/test27/http/plugins/jq_upload.php:63
+#: ../http/plugins/jq_upload.php:63
+#: ../http/plugins/jq_upload.php:62
+#, php-format
+msgid "File size limit (%s KB) exceeded."
+msgstr "Datei zu groß (maximal %s KB)."
+
+#: workspace/test27/http/plugins/jq_upload_images.php:75
+#: workspace/test27/http/plugins/jq_upload.php:78
+#: ../http/plugins/jq_upload.php:77
+msgid "File could not be stored on server. Please contact the administrator."
+msgstr "Die Datei konnte nicht hochgeladen werden. Bitte wenden Sie sich an den Administrator."
+
+#: workspace/test27/http/plugins/jq_upload_images.php:80
+#: workspace/test27/http/plugins/jq_upload.php:83
+#: ../http/plugins/jq_upload.php:82
+msgid "File has been uploaded."
+msgstr "Die Datei wurde erfolgreich hochgeladen."
+
+#: workspace/test27/http/plugins/mb_i18n_server.php:48
+#: workspace/test27/http/plugins/mb_metadata_server.php:388
+#: workspace/test27/http/plugins/mb_original_metadata_server.php:172
+#: workspace/test27/http/plugins/mb_twitter.php:126
+#: ../http/plugins/mb_i18n_server.php:48
+#: ../http/plugins/mb_metadata_server.php:424
+#: ../http/plugins/mb_metadata_wfs_server.php:388
+#: ../http/plugins/mb_metadata_wmc_server.php:217
+#: ../http/plugins/mb_original_metadata_server.php:205
+#: ../http/plugins/mb_original_metadata_wfs_server.php:206
+#: ../http/plugins/mb_original_metadata_wmc_server.php:75
+#: ../http/plugins/mb_sql_server.php:36
+#: ../http/php/mod_changeEPSG_server.php:116
+#: ../http/php/mod_changeEPSG_server.php:125
+#: ../http/php/mod_coordsLookup_server.php:126
+#: ../http/php/mod_coordsLookup_server.php:136
+#: ../http/php/mod_treefolder2_l10n.php:51
+#: ../http/php/mod_wfs_gazetteer_l10n.php:55
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:135
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:187
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:198
+msgid "An unknown error occured."
+msgstr "Ein unkekannter Fehler ist aufgetreten."
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:8
+#: ../http/plugins/mb_metadata_edit.php:8
+#: ../http/plugins/mb_metadata_wfs_edit.php:8
+#: ../http/plugins/mb_metadata_wmc_edit.php:23
+msgid "Service Level Metadata"
+msgstr "Service Metadaten"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:8
+#: workspace/test27/http/plugins/mb_metadata_edit.php:12
+#: workspace/test27/http/plugins/mb_metadata_edit.php:57
+#: workspace/test27/http/plugins/mb_metadata_layer.php:32
+#: workspace/test27/http/plugins/mb_metadata_layer.php:36
+#: workspace/test27/http/plugins/mb_metadata_layer.php:62
+#: ../http/plugins/mb_metadata_edit.php:8
+#: ../http/plugins/mb_metadata_edit.php:12
+#: ../http/plugins/mb_metadata_edit.php:57
+#: ../http/plugins/mb_metadata_featuretype.php:32
+#: ../http/plugins/mb_metadata_featuretype.php:36
+#: ../http/plugins/mb_metadata_featuretype.php:62
+#: ../http/plugins/mb_metadata_layer.php:32
+#: ../http/plugins/mb_metadata_layer.php:36
+#: ../http/plugins/mb_metadata_layer.php:62
+#: ../http/plugins/mb_metadata_wfs_edit.php:8
+#: ../http/plugins/mb_metadata_wfs_edit.php:12
+#: ../http/plugins/mb_metadata_wfs_edit.php:57
+#: ../http/plugins/mb_metadata_wmc_edit.php:23
+msgid "Help"
+msgstr "Hilfe"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:8
+#: ../http/plugins/mb_metadata_edit.php:8
+msgid "Possibility to adapt and add informations in the separate WMS-Layer Metadata. The modified Metadata is stored in the database of the GeoPortal.rlp, outwardly these metadata overwrite the original Service-Metadata."
+msgstr "Möglichkeit der Überarbeitung und Ergänzung der WMS Metadaten. Die bearbeiteten Metadaten werden in der Datenbank des GeoPortal.rlp abgelegt und überschreiben nach Außen hin die originären Metadaten des WMS-Dienstes."
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:12
+#: workspace/test27/http/plugins/mb_metadata_layer.php:36
+#: ../http/plugins/mb_metadata_edit.php:12
+#: ../http/plugins/mb_metadata_layer.php:36
+msgid "The original WMS-Metadata from the last update could be recovered or updated, so that the original Service-Metadata will be shown outward again."
+msgstr "Anzeige der originären WMS Metadaten (Stand: letzte Aktualisierung) Hilfetext: Die originären Metadaten des WMS vom Stand der letzten Aktualisierung können wiederhergestellt bzw. aktualisiert und werden damit nach Außen sichtbar."
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:15
+#: ../http/plugins/mb_metadata_edit.php:15
+msgid "WMS Title (OWS)"
+msgstr "WMS-Titel (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:17
+#: workspace/test27/http/plugins/mb_metadata_edit.php:22
+#: workspace/test27/http/plugins/mb_metadata_edit.php:27
+#: workspace/test27/http/plugins/mb_metadata_edit.php:32
+#: workspace/test27/http/plugins/mb_metadata_edit.php:37
+#: workspace/test27/http/plugins/mb_metadata_edit.php:81
+#: workspace/test27/http/plugins/mb_metadata_edit.php:106
+#: workspace/test27/http/plugins/mb_metadata_edit.php:111
+#: workspace/test27/http/plugins/mb_metadata_edit.php:116
+#: workspace/test27/http/plugins/mb_metadata_layer.php:45
+#: workspace/test27/http/plugins/mb_metadata_layer.php:50
+#: workspace/test27/http/plugins/mb_metadata_layer.php:97
+#: workspace/test27/http/plugins/mb_metadata_layer.php:107
+#: ../http/plugins/mb_metadata_edit.php:17
+#: ../http/plugins/mb_metadata_edit.php:22
+#: ../http/plugins/mb_metadata_edit.php:27
+#: ../http/plugins/mb_metadata_edit.php:32
+#: ../http/plugins/mb_metadata_edit.php:37
+#: ../http/plugins/mb_metadata_edit.php:81
+#: ../http/plugins/mb_metadata_edit.php:106
+#: ../http/plugins/mb_metadata_edit.php:111
+#: ../http/plugins/mb_metadata_edit.php:116
+#: ../http/plugins/mb_metadata_featuretype.php:45
+#: ../http/plugins/mb_metadata_featuretype.php:50
+#: ../http/plugins/mb_metadata_featuretype.php:90
+#: ../http/plugins/mb_metadata_featuretype.php:101
+#: ../http/plugins/mb_metadata_layer.php:45
+#: ../http/plugins/mb_metadata_layer.php:50
+#: ../http/plugins/mb_metadata_layer.php:97
+#: ../http/plugins/mb_metadata_layer.php:108
+#: ../http/plugins/mb_metadata_wfs_edit.php:17
+#: ../http/plugins/mb_metadata_wfs_edit.php:22
+#: ../http/plugins/mb_metadata_wfs_edit.php:27
+#: ../http/plugins/mb_metadata_wfs_edit.php:32
+#: ../http/plugins/mb_metadata_wfs_edit.php:37
+#: ../http/plugins/mb_metadata_wfs_edit.php:81
+#: ../http/plugins/mb_metadata_wfs_edit.php:106
+#: ../http/plugins/mb_metadata_wfs_edit.php:111
+#: ../http/plugins/mb_metadata_wfs_edit.php:116
+#: ../http/plugins/mb_metadata_wmc_edit.php:36
+#: ../http/plugins/mb_metadata_wmc_edit.php:41
+#: ../http/plugins/mb_metadata_wmc_edit.php:46
+#: ../http/plugins/mb_metadata_wmc_edit.php:70
+#: ../http/plugins/mb_metadata_wmc_edit.php:81
+msgid "Inspire"
+msgstr "Inspire"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:20
+#: ../http/plugins/mb_metadata_edit.php:20
+msgid "WMS Abstract (OWS)"
+msgstr "WMS-Beschreibung (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:25
+#: ../http/plugins/mb_metadata_edit.php:25
+msgid "WMS Keywords (OWS)"
+msgstr "WMS Schlüsselwörter (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:30
+#: ../http/plugins/mb_metadata_edit.php:30
+msgid "WMS Fees (OWS)"
+msgstr "WMS Kosten/Gebühren (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:35
+#: ../http/plugins/mb_metadata_edit.php:35
+msgid "WMS AccessConstraints (OWS)"
+msgstr "WMS Zugriffsbeschränkung (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:48
+#: ../http/plugins/mb_metadata_edit.php:48
+msgid "WMS Predefined Licence (Registry)"
+msgstr "WMS vordefiniere Lizenzbedingungen (Registry)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:57
+#: ../http/plugins/mb_metadata_edit.php:57
+#: ../http/plugins/mb_metadata_wfs_edit.php:57
+msgid "Auswahl von vordefinierten Lizenzen hinsichtlich Gebühren und Zugriffsbeschränkungen."
+msgstr "Auswahl von vordefinierten Lizenzen hinsichtlich Gebühren und Zugriffsbeschränkungen."
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:61
+#: ../http/plugins/mb_metadata_edit.php:61
+msgid "WMS Provider Section (OWS)"
+msgstr "Bereitstellende Organisation (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:63
+#: ../http/plugins/mb_metadata_edit.php:63
+#: ../http/plugins/mb_metadata_wfs_edit.php:63
+msgid "Contact Individual Name (OWS)"
+msgstr "Ansprechpartner (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:67
+#: ../http/plugins/mb_metadata_edit.php:67
+#: ../http/plugins/mb_metadata_wfs_edit.php:67
+msgid "Contact Position Name (OWS)"
+msgstr "Position des Ansprechpartners (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:71
+#: ../http/plugins/mb_metadata_edit.php:71
+#: ../http/plugins/mb_metadata_wfs_edit.php:71
+msgid "Contact Phone Voice (OWS)"
+msgstr "Telefonnummer (OWS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:79
+#: ../http/plugins/mb_metadata_edit.php:79
+msgid "Contact Organisation (WMS)"
+msgstr "Organisation (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:84
+#: ../http/plugins/mb_metadata_edit.php:84
+msgid "Contact Address (WMS)"
+msgstr "Adresse (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:88
+#: ../http/plugins/mb_metadata_edit.php:88
+msgid "Contact City (WMS)"
+msgstr "Ort/Stadt (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:92
+#: ../http/plugins/mb_metadata_edit.php:92
+msgid "Contact State or Province (WMS) - ISO 3166-II"
+msgstr "Bundesland (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:96
+#: ../http/plugins/mb_metadata_edit.php:96
+msgid "Contact Post Code (WMS)"
+msgstr "PLZ (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:100
+#: ../http/plugins/mb_metadata_edit.php:100
+msgid "Contact Post Country (WMS) - ISO 3166"
+msgstr "Land (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:104
+#: ../http/plugins/mb_metadata_edit.php:104
+msgid "Contact Electronic Mail Address (WMS)"
+msgstr "e-mail (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:109
+#: ../http/plugins/mb_metadata_edit.php:109
+#: ../http/plugins/mb_metadata_wfs_edit.php:109
+msgid "Date of first registration (Registry)"
+msgstr "Datum der ersten Registrierung des WMS-Dienstes (Registry)"
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:114
+#: ../http/plugins/mb_metadata_edit.php:114
+#: ../http/plugins/mb_metadata_wfs_edit.php:114
+msgid "Date of last revision (Registry)"
+msgstr "Datum des letzten Updates des WMS-Dienstes (Registry)"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:32
+#: ../http/plugins/mb_metadata_layer.php:32
+msgid "Possibility to adapt and add informations in the separate WMS-Layer Metadata. The modified Metadata will be stored in the database of the GeoPortal.rlp, outwardly these metadata overwrite the original Service-Metadata."
+msgstr "Möglichkeit der Überarbeitung und Ergänzung der in den einzelnen WMS-Layern enthaltenen Metadaten. Die bearbeiteten Metadaten werden in der Datenbank des GeoPortal.rlp abgelegt und überschreiben nach Außen hin die originären Metadaten des WMS-Dienstes."
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:39
+#: ../http/plugins/mb_metadata_layer.php:39
+msgid "Number of Layer (Registry)"
+msgstr "Identifikationsnummer des Layers (Registry)"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:44
+#: ../http/plugins/mb_metadata_layer.php:44
+msgid "Layer Title (WMS)"
+msgstr "Layertitel (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:49
+#: ../http/plugins/mb_metadata_layer.php:49
+msgid "Layer Abstract (WMS)"
+msgstr "Beschreibung (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:54
+#: ../http/plugins/mb_metadata_layer.php:54
+msgid "Layer Keywords (WMS)"
+msgstr "Schlüsselwörter (WMS)"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:61
+#: ../http/plugins/mb_metadata_featuretype.php:61
+#: ../http/plugins/mb_metadata_layer.php:61
+msgid "Add Information about the underlying data"
+msgstr "Weitere standardisierte Informationen zum Layer (Datensatz-Metadaten)"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:62
+#: ../http/plugins/mb_metadata_layer.php:62
+msgid "Linking the WMS layer with metadata set (coupled resource), which describes the underlying informations of the representation in more detail (eg Actuality / quality). It occurs via a link to an already existing metadta set in a catalog or a simple metadata set will be generatetd using a Mapbender Layer Addon-Editor."
+msgstr "Verknüpfen des WMS-Layers mit einem Metadatensatzes (gekoppelte Ressource), der die der Darstellung zugrundeliegenden Informationen näher beschreibt (z.B.: Aktualität/Qualität). Verknüpfung erfolgt entweder über Link zu einem schon in einem Katalog vorhandenen Metadatensatz oder über die Generierung des eines einfachen Metadatensatzes mittels Mapbender Layer-AddonEditor."
+
+#: ../http/plugins/mb_metadata_featuretype.php:65
+#: ../http/plugins/mb_metadata_layer.php:65
+msgid "Add new Metadata Record"
+msgstr "Metadatensatz erzeugen"
+
+#: ../http/plugins/mb_metadata_featuretype.php:68
+#: ../http/plugins/mb_metadata_layer.php:68
+msgid "Edit Metadata Linkage"
+msgstr "Metadatensatz editieren"
+
+#: ../http/plugins/mb_metadata_featuretype.php:71
+#: ../http/plugins/mb_metadata_layer.php:71
+msgid "Delete Metadata Linkage"
+msgstr "Metadatensatz löschen"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:86
+#: ../http/plugins/mb_metadata_layer.php:86
+#: ../http/plugins/mb_metadata_wmc_edit.php:57
+msgid "Preview"
+msgstr "Vorschau"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:94
+#: ../http/plugins/mb_metadata_featuretype.php:87
+#: ../http/plugins/mb_metadata_layer.php:94
+#: ../http/plugins/mb_metadata_wmc_edit.php:66
+msgid "Classification"
+msgstr "Klassifizierung"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:96
+#: ../http/plugins/mb_metadata_featuretype.php:89
+#: ../http/plugins/mb_metadata_layer.php:96
+#: ../http/plugins/mb_metadata_wmc_edit.php:68
+msgid "ISO Topic Category"
+msgstr "ISO-Kategorie"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:106
+#: ../http/plugins/mb_metadata_featuretype.php:100
+#: ../http/plugins/mb_metadata_layer.php:107
+#: ../http/plugins/mb_metadata_wmc_edit.php:80
+msgid "INSPIRE Category"
+msgstr "INSPIRE Kategorie"
+
+#: workspace/test27/http/plugins/mb_metadata_layer.php:116
+#: ../http/plugins/mb_metadata_featuretype.php:111
+#: ../http/plugins/mb_metadata_layer.php:118
+#: ../http/plugins/mb_metadata_wmc_edit.php:91
+msgid "Custom Category"
+msgstr "Frei definierte Kategorie"
+
+#: workspace/test27/http/plugins/mb_metadata_server.php:20
+#: workspace/test27/http/plugins/mb_metadata_server.php:32
+#: ../http/plugins/mb_metadata_server.php:20
+#: ../http/plugins/mb_metadata_server.php:32
+#: ../http/plugins/mb_metadata_wfs_server.php:21
+#: ../http/plugins/mb_metadata_wfs_server.php:33
+#: ../http/plugins/mb_metadata_wmc_server.php:23
+msgid "No metadata sets available."
+msgstr "Keine Metadaten verfügbar."
+
+#: workspace/test27/http/plugins/mb_metadata_server.php:23
+#: ../http/plugins/mb_metadata_server.php:23
+msgid "You are not allowed to access this WMS."
+msgstr "Es ist Ihnen nicht gestattet auf diesen WMS zuzugreifen."
+
+#: workspace/test27/http/plugins/mb_metadata_server.php:36
+#: ../http/plugins/mb_metadata_server.php:36
+msgid "You are not allowed to access WMS "
+msgstr "Der Zugriff auf WMS-Dienste ist Ihnen nicht erlaubt."
+
+#: workspace/test27/http/plugins/mb_metadata_server.php:300
+#: ../http/plugins/mb_metadata_server.php:319
+msgid "Invalid WMS ID."
+msgstr "Ungültige WMS ID."
+
+#: workspace/test27/http/plugins/mb_twitter.php:22
+msgid "Element vars consumerKey and consumerSecret are not set. If you don't have them, get them from Twitter."
+msgstr "Die Elemente vars consumerKey und consumerSecret sind nicht definiert. Falls diese nicht vorliegen, können diese über Twitter ermittelt werden."
+
+#: workspace/test27/http/plugins/mb_twitter.php:64
+msgid "Signed in."
+msgstr "Angemeldet."
+
+#: workspace/test27/http/plugins/mb_twitter.php:69
+#: workspace/test27/http/plugins/mb_twitter.php:99
+msgid "Not signed in."
+msgstr "Nicht angemeldet."
+
+#: workspace/test27/http/plugins/mb_twitter.php:79
+#: workspace/test27/http/plugins/mb_twitter.php:116
+msgid "Could not connect to Twitter."
+msgstr "Verbindung zu Twitter fehlgeschlagen."
+
+#: workspace/test27/http/plugins/mb_twitter.php:92
+msgid "Signed out."
+msgstr "Abgemeldet."
+
+#: workspace/test27/http/plugins/mb_metadata_edit.php:75
+#: ../http/plugins/mb_metadata_edit.php:75
+#: ../http/plugins/mb_metadata_wfs_edit.php:75
+msgid "Contact Phone Fax (OWS)"
+msgstr "Kontakt Telefonnummer (OWS)"
+
+#: ../http/plugins/mb_metadata_featuretype.php:32
+msgid "Possibility to adapt and add informations in the separate WFS-Featuretype Metadata. The modified Metadata will be stored in the database of the GeoPortal.rlp, outwardly these metadata overwrite the original Service-Metadata."
+msgstr ""
+
+#: ../http/plugins/mb_metadata_featuretype.php:36
+#: ../http/plugins/mb_metadata_wfs_edit.php:12
+msgid "The original WFS-Metadata from the last update could be recovered or updated, so that the original Service-Metadata will be shown outward again."
+msgstr ""
+
+#: ../http/plugins/mb_metadata_featuretype.php:39
+msgid "Number of Featuretype (Registry)"
+msgstr "Nummer des Featuretype (Registry)"
+
+#: ../http/plugins/mb_metadata_featuretype.php:44
+msgid "Featuretype Title (WFS)"
+msgstr "Featuretype Titel (WFS)"
+
+#: ../http/plugins/mb_metadata_featuretype.php:49
+msgid "Featuretype Abstract (WFS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_featuretype.php:54
+msgid "Featuretype Keywords (WFS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_featuretype.php:62
+msgid "Linking the WFS layer with metadata set (coupled resource), which describes the underlying informations of the representation in more detail (eg Actuality / quality). It occurs via a link to an already existing metadta set in a catalog or a simple metadata set will be generated using a Mapbender Layer Addon-Editor."
+msgstr ""
+
+#: ../http/plugins/mb_metadata_featuretype.php:97
+#: ../http/plugins/mb_metadata_featuretype.php:108
+#: ../http/plugins/mb_metadata_featuretype.php:119
+#: ../http/plugins/mb_metadata_layer.php:104
+#: ../http/plugins/mb_metadata_layer.php:115
+#: ../http/plugins/mb_metadata_layer.php:126
+#: ../http/plugins/mb_metadata_wmc_edit.php:77
+#: ../http/plugins/mb_metadata_wmc_edit.php:88
+#: ../http/plugins/mb_metadata_wmc_edit.php:99
+msgid "Reset selection"
+msgstr "Auswahl löschen"
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:8
+msgid "Possibility to adapt and add informations in the separate WFS-Featuretype Metadata. The modified Metadata is stored in the database of the GeoPortal.rlp, outwardly these metadata overwrite the original Service-Metadata."
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:15
+msgid "WFS Title (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:20
+msgid "WFS Abstract (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:25
+msgid "WFS Keywords (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:30
+msgid "WFS Fees (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:35
+msgid "WFS AccessConstraints (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:48
+msgid "WFS Predefined Licence (Registry)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:61
+msgid "WFS Provider Section (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:79
+msgid "Contact Organisation (WFS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:84
+msgid "Contact Address (WFS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:88
+msgid "Contact City (WFS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:92
+msgid "Contact State or Province (WFS) - ISO 3166-II"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:96
+msgid "Contact Post Code (WFS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:100
+msgid "Contact Post Country (WFS) - ISO 3166"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_edit.php:104
+msgid "Contact Electronic Mail Address (WFS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_server.php:24
+msgid "You are not allowed to access this WFS."
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_server.php:37
+msgid "You are not allowed to access this WFS "
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wfs_server.php:286
+#: ../http/plugins/mb_metadata_wfs_server.php:295
+msgid "Invalid WFS ID."
+msgstr "Invalide WFS Identifikationsnummer"
+
+#: ../http/plugins/mb_metadata_wmc_edit.php:23
+msgid "Possibility to adapt and add informations in the separate WMC-Featuretype Metadata. The modified Metadata is stored in the database of the GeoPortal.rlp, outwardly these metadata overwrite the original Service-Metadata."
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wmc_edit.php:34
+msgid "WMC Title (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wmc_edit.php:39
+msgid "WMC Abstract (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wmc_edit.php:44
+msgid "WMC Keywords (OWS)"
+msgstr ""
+
+#: ../http/plugins/mb_metadata_wmc_edit.php:49
+msgid "WMC is public"
+msgstr "Kartenzusammenstellung ist öffentlich"
+
+#: ../http/plugins/mb_metadata_wmc_server.php:26
+msgid "You are not allowed to access this WMC."
+msgstr "Sie sind nicht autorisiert diese Kartenzusammenstellung zu nutzen."
+
+#: ../http/plugins/mb_metadata_wmc_server.php:147
+#: ../http/plugins/mb_metadata_wmc_server.php:155
+msgid "Invalid WMC ID."
+msgstr "Invalide WMC Identifizierungsnummer"
+
+#: ../http/plugins/mb_sql_server.php:31
+msgid "You are not allowed to access this application."
+msgstr "Sie sind nicht autorisiert diese Anwendung zu verwenden!"
+
+#: ../http/plugins/mb_measure_widget.php:47
+#: ../http/plugins/mb_measure_widget.php:80
+msgid "Click in the map to start measuring."
+msgstr "Klicken Sie in die Karte, um die Messung zu starten."
+
+#: ../http/plugins/mb_measure_widget.php:51
+#: ../http/plugins/mb_measure_widget.php:84
+msgid "Last point: "
+msgstr "letzter Stützpunkt: "
+
+#: ../http/plugins/mb_measure_widget.php:54
+#: ../http/plugins/mb_measure_widget.php:87
+msgid "Current point: "
+msgstr "aktueller Stützpunkt: "
+
+#: ../http/plugins/mb_measure_widget.php:57
+#: ../http/plugins/mb_measure_widget.php:90
+msgid "Distance (to last point): "
+msgstr "Entfernung zum letzten Punkt: "
+
+#: ../http/plugins/mb_measure_widget.php:60
+#: ../http/plugins/mb_measure_widget.php:93
+msgid "Distance (total): "
+msgstr "Länge (gesamt): "
+
+#: ../http/plugins/mb_measure_widget.php:63
+#: ../http/javascripts/mod_coordsLookup.php:100
+#: ../http/plugins/mb_measure_widget.php:96
+msgid "Perimeter: "
+msgstr "Umring: "
+
+#: ../http/javascripts/mod_coordsLookup.php:90
+msgid "Spatial Reference System"
+msgstr "Räumliches Bezugssystem"
+
+#: ../http/javascripts/mod_coordsLookup.php:81
+msgid "zoom to coordinates"
+msgstr "Auf Koordinaten zoomen"
+
+#: ../http/javascripts/mod_coordsLookup.php:71
+msgid "coordinates"
+msgstr "Koordinaten"
+
+#: ../http/javascripts/mod_coordsLookup.php:128
+msgid "Invalid X coordinate! Must be a float or a DMS value!"
+msgstr "Ungültige X Koordinate! Erlaubt sind lediglich Fließkomma oder GMS Werte!"
+
+#: ../http/javascripts/mod_coordsLookup.php:139
+msgid "Invalid Y coordinate! Must be a float or a DMS value!"
+msgstr "Ungültige Y Koordinate! Erlaubt sind lediglich Fließkomma oder GMS Werte!"
+
+#: ../http/javascripts/mod_coordsLookup.php:147
+msgid "Invalid SRS!"
+msgstr "Ungültiges KBS!"
+
+#: ../http/plugins/mb_measure_widget.php:66
+#: ../http/plugins/mb_measure_widget.php:99
+msgid "Area: "
+msgstr "Fläche: "
+
+#: ../http/plugins/mb_print.php:461
+msgid "print document"
+msgstr "Drucke Dokument"
+
+#: ../http/plugins/mb_print.php:560
+msgid "use print box"
+msgstr "Nutze Druckrahmen"
+
+#: ../http/php/mod_abo_show.php:40
+msgid "Mapbender Service Provider"
+msgstr ""
+
+#: ../http/php/mod_abo_show.php:41
+msgid "Confirmation of subscribers notification"
+msgstr "Bestätigung der Abonenntenbenachrichtigung"
+
+#: ../http/php/mod_abo_show.php:43
+msgid "Mapbender monitoring subscriber"
+msgstr "Monitoring abonnieren"
+
+#: ../http/php/mod_abo_show.php:44
+msgid "Mapbender subscribers notification"
+msgstr "Abonenntenbenachrichtigung"
+
+#: ../http/php/mod_abo_show.php:45
+msgid "The following services are affected"
+msgstr "Folgende Dienste sind betroffen "
+
+#: ../http/php/mod_abo_show.php:46
+msgid "e-mail form for notifications to the subscribers of the following WMS"
+msgstr ""
+
+#: ../http/php/mod_abo_show.php:47
+msgid "Subscriber notification for Mapbender service providers"
+msgstr ""
+
+#: ../http/php/mod_abo_show.php:48
+msgid "Notifications have been sent. You will receive a confirmation mail shortly."
+msgstr "Benachrichtung wurde gesendet. Sie werden in Kürze eine Bestätigungsmail erhalten."
+
+#: ../http/php/mod_abo_show.php:49
+msgid "Create mail form"
+msgstr "Erzeuge Mail Formular"
+
+#: ../http/php/mod_abo_show.php:50
+msgid "The subscribers to these WMS have been notified"
+msgstr "Die Abonnenten folgender WMS wurde benachrichtigt"
+
+#: ../http/php/mod_abo_show.php:51
+msgid "For further inquiries contact"
+msgstr "Für weitere Fragen kontaktieren sie bitte "
+
+#: ../http/php/mod_abo_show.php:52
+msgid "Subscriber notification"
+msgstr "Abonnenten Benachrichtigung"
+
+#: ../http/php/mod_abo_show.php:53
+msgid "# subscribers"
+msgstr "# Abonnenten"
+
+#: ../http/php/mod_abo_show.php:54
+msgid "Notify"
+msgstr "Benachrichtigung"
+
+#: ../http/php/mod_abo_show.php:55
+msgid "Send mail"
+msgstr "Sende EMail"
+
+#: ../http/php/mod_acceptedTou_server.php:39
+#: ../http/php/mod_loadwmc_server.php:269
+#: ../http/php/mod_sessionWmc_server.php:56
+msgid "No method specified."
+msgstr "Keine Methode definiert."
+
+#: ../http/php/mod_changeEPSG_server.php:30
+#: ../http/php/mod_coordsLookup_server.php:67
+msgid "PostGIS is not available. Please contact the administrator."
+msgstr "PostGIS ist nicht verfügbar. Bitte benachrichtigen sie den Administrator."
+
+#: ../http/php/mod_changeEPSG_server.php:71
+msgid "The coordinates could not be projected."
+msgstr "Die Koordinaten konnten nicht transformiert werden."
+
+#: ../http/php/mod_createCategory.php:71
+msgid "Please enter a category name!"
+msgstr "Geben sie bitte einen Namen für die Kategorie an! "
+
+#: ../http/php/mod_createCategory.php:76
+msgid "Please enter a category description!"
+msgstr "Bitte geben sie eine Beschreibung für die Kategorie an!"
+
+#: ../http/php/mod_createCategory.php:104
+msgid "existing Categories"
+msgstr "vorhandene Kategorien"
+
+#: ../http/php/mod_createCategory.php:116
+msgid "Category Name"
+msgstr "Kategorie Namen"
+
+#: ../http/php/mod_createCategory.php:117
+#: ../lib/editGroup.php:219
+#: ../lib/editUser.php:408
+msgid "Description"
+msgstr "Beschreibung"
+
+#: ../http/php/mod_createCategory.php:125
+msgid "The Category has been created successfully."
+msgstr "Die Kategorie wurde erfolgreich erstellt."
+
+#: ../http/php/mod_customTree.php:61
+msgid "You have changed the tree. All changes will be lost. Save changes?"
+msgstr ""
+
+#: ../http/php/mod_customTree.php:160
+msgid "You are about to delete your customized folder structure. Proceed?"
+msgstr ""
+
+#: ../http/php/mod_customTree.php:220
+msgid "Konfigure tree"
+msgstr ""
+
+#: ../http/php/mod_customTree.php:221
+msgid "Please select a gui which its tree should be configured."
+msgstr ""
+
+#: ../http/php/mod_customTree.php:229
+#: ../http/php/mod_customTree.php:236
+msgid "Add"
+msgstr "Hinzufügen"
+
+#: ../http/php/mod_customTree.php:231
+msgid "Edit"
+msgstr "Editieren"
+
+#: ../http/php/mod_editElements.php:563
+msgid "Please make sure you have made a backup of your application before using this feature! Continue?"
+msgstr ""
+
+#: ../http/php/mod_layerMetadata.php:277
+#: ../http/php/mod_showMetadata.php:710
+msgid "Monitoring Abo l&ouml;schen"
+msgstr ""
+
+#: ../http/php/mod_layerMetadata.php:283
+#: ../http/php/mod_showMetadata.php:715
+msgid "Subscribe Monitoring"
+msgstr "Monitoring abonnieren"
+
+#: ../http/php/mod_loadwmc_server.php:32
+msgid "The WMC document could not be found."
+msgstr "Das Dokument konnte nicht gefunden werden."
+
+#: ../http/php/mod_loadwmc_server.php:46
+msgid "WMC has been deleted from the database."
+msgstr "Das Dokument wurde aus der Datenbank entfernt."
+
+#: ../http/php/mod_loadwmc_server.php:50
+msgid "WMC could not be deleted."
+msgstr ""
+
+#: ../http/php/mod_loadwmc_server.php:78
+#: ../http/php/mod_loadwmc_server.php:87
+#: ../http/php/mod_loadwmc_server.php:101
+msgid "WMC could not be loaded."
+msgstr ""
+
+#: ../http/php/mod_loadwmc_server.php:132
+msgid "WMC could not be merged."
+msgstr ""
+
+#: ../http/php/mod_loadwmc_server.php:163
+msgid "WMC could not be appended."
+msgstr ""
+
+#: ../http/php/mod_loadwmc_server.php:174
+msgid "Updated public flag"
+msgstr ""
+
+#: ../http/php/mod_loadwmc_server.php:177
+msgid "could not update public flag"
+msgstr ""
+
+#: ../http/php/mod_map_messages.php:30
+msgid "The following WMS do not support the current SRS"
+msgstr "Folgende WMS unterstützen das verwendete Koordinatenbezugssystem nicht "
+
+#: ../http/php/mod_meetingPoint.php:222
+msgid "Input too long. Maximum of allowed characters is"
+msgstr ""
+
+#: ../http/php/mod_savewmc_server.php:75
+msgid "saved wmc document to session"
+msgstr "Speichere Dokument zwischen"
+
+#: ../http/php/mod_savewmc_server.php:84
+#: ../http/php/mod_savewmc_server.php:91
+msgid "WMC document must have a title."
+msgstr ""
+
+#: ../http/php/mod_savewmc_server.php:117
+#, php-format
+msgid "WMC %s has been saved."
+msgstr ""
+
+#: ../http/javascripts/mod_savewmc.js
+msgid "New / overwrite"
+msgstr "Neu / überschreiben"
+
+msgid "Categories"
+msgstr "Kategorien"
+
+#: ../http/php/mod_sessionWmc_server.php:27
+msgid "WMC in session reset."
+msgstr "Zwischenspeicherung wurde verworfen."
+
+#: ../http/php/mod_sessionWmc_server.php:30
+msgid "No WMC in session found."
+msgstr "Kein Dokument in der Session vorhanden."
+
+#: ../http/php/mod_sessionWmc_server.php:40
+msgid "No WMC in session."
+msgstr "Kein Dokument in der Session vorhanden."
+
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:144
+msgid "The map service contains too many layers. The layers of this service will not be activated"
+msgstr ""
+
+#: ../http/javascripts/mod_addWMSfromfilteredList_ajax.php:194
+msgid "The following Service has been added to the application"
+msgstr "Der Dienst beinhaltet zu viele Ebenen. Die Ebenen werden daher automatisch deaktiviert. "
+
+#: ../http/javascripts/mod_featureInfoTunnel.php:158
+msgid "No result"
+msgstr "Kein Ergebnis"
+
+#: ../http/javascripts/mod_georss.php:67
+msgid "mapframe: "
+msgstr ""
+
+#: ../http/javascripts/mod_georss.php:76
+#: ../http/javascripts/mod_georss.php:121
+msgid "No GeoRSS feed information found. Please check your URL."
+msgstr "Keine GeoRSS gefunden. Bitte checken sie die URL."
+
+#: ../http/javascripts/mod_help.php:27
+msgid "click highlighted elements for help"
+msgstr ""
+
+#: ../http/javascripts/mod_poi.php:95
+msgid "Invalid search term"
+msgstr "Invalider Suchbegriff"
+
+#: ../http/javascripts/mod_poi.php:111
+msgid "Invalid language"
+msgstr "Unzulässige Sprache"
+
+#: ../http/javascripts/mod_poi.php:125
+msgid "Invalid configuration file"
+msgstr ""
+
+#: ../http/javascripts/mod_searchCSW_ajax.php:363
+msgid "Record ID"
+msgstr "Datensatz Identifikator"
+
+#: ../http/javascripts/mod_searchCSW_form.php:49
+msgid "Search catalog metadata"
+msgstr ""
+
+#: ../http/javascripts/mod_searchCSW_form.php:77
+msgid "Lat-Maz"
+msgstr ""
+
+#: ../lib/ajax.php:134
+msgid "Fatal error: Could not detect ID of AJAX request."
+msgstr ""
+
+#: ../lib/ajax.php:144
+msgid "The session has expired. Please log in again."
+msgstr "Die Sitzung ist abgelaufen, bitte melden sie sich erneut an."
+
+#: ../lib/editGroup.php:189
+msgid "Name"
+msgstr "Name"
+
+#: ../lib/editGroup.php:198
+msgid "Title"
+msgstr "Titel"
+
+#: ../lib/editGroup.php:208
+#: ../lib/editUser.php:524
+msgid "Owner"
+msgstr "Eigentümer"
+
+#: ../lib/editGroup.php:228
+msgid "Address"
+msgstr "Adresse"
+
+#: ../lib/editGroup.php:237
+msgid "Postcode"
+msgstr "Postleitzahl"
+
+#: ../lib/editGroup.php:246
+#: ../lib/editUser.php:478
+msgid "City"
+msgstr "Stadt"
+
+#: ../lib/editGroup.php:255
+msgid "Province"
+msgstr "(Bundes) Land"
+
+#: ../lib/editGroup.php:264
+#: ../lib/editUser.php:510
+msgid "Country"
+msgstr "Staat"
+
+#: ../lib/editGroup.php:273
+msgid "Voicetelephone"
+msgstr "Telefonnummer"
+
+#: ../lib/editGroup.php:282
+msgid "Facsimiletelephone"
+msgstr "Faxnummer"
+
+#: ../lib/editUser.php:155
+#: ../lib/editUser.php:196
+msgid "Username must be unique!"
+msgstr "Der Nutzername muß eindeutig sein!"
+
+#: ../lib/editUser.php:273
+msgid "User"
+msgstr "Nutzer"
+
+#: ../lib/editUser.php:278
+msgid "NEW"
+msgstr "NEU"
+
+#: ../lib/editUser.php:344
+msgid "Username"
+msgstr "Nutzername"
+
+#: ../lib/editUser.php:351
+msgid "Firstname"
+msgstr "Vorname"
+
+#: ../lib/editUser.php:359
+msgid "Lastname"
+msgstr "Nachname"
+
+#: ../lib/editUser.php:366
+msgid "Academic title"
+msgstr "Akademischer Titel"
+
+#: ../lib/editUser.php:380
+msgid "Password"
+msgstr "Passwort"
+
+#: ../lib/editUser.php:393
+msgid "Confirm password"
+msgstr "Passwort bestätigen"
+
+#: ../lib/editUser.php:416
+msgid "Email"
+msgstr "EMail"
+
+#: ../lib/editUser.php:424
+msgid "Phone"
+msgstr "Telefon"
+
+#: ../lib/editUser.php:432
+msgid "Facsimile"
+msgstr "Fax"
+
+#: ../lib/editUser.php:446
+msgid "Street"
+msgstr "Straße"
+
+#: ../lib/editUser.php:454
+msgid "Housenumber"
+msgstr "Hausnummer"
+
+#: ../lib/editUser.php:462
+msgid "Delivery Point"
+msgstr ""
+
+#: ../lib/editUser.php:470
+msgid "Postal Code"
+msgstr ""
+
+#: ../lib/editUser.php:486
+msgid "Organization"
+msgstr ""
+
+#: ../lib/editUser.php:494
+msgid "Department"
+msgstr ""
+
+#: ../lib/editUser.php:502
+msgid "Position"
+msgstr ""
+
+#: ../lib/editUser.php:543
+msgid "Login_count"
+msgstr "Anzahl der fehlerhaften Einwahlversuche"
+
+#: ../http/php/mod_layerMetadata.php:283
+#: ../http/php/mod_showMetadata.php:715
+msgid "Monitoring abonnieren"
+msgstr ""
+
+#: ../http/javascripts/mod_coordsLookup.php:106
+msgid "Geographic Coordinates"
+msgstr "Geographische Koordinaten"
+
+#: ../http/javascripts/mod_coordsLookup.php:106
+msgid "Gauss-Krueger 2"
+msgstr "Gauß-Krüger 2 (DHDN)"
+
+#: ../http/javascripts/mod_coordsLookup.php:106
+msgid "Gauss-Krueger 3"
+msgstr "Gauß-Krüger 3 (DHDN)"
+
+#: ../http/javascripts/mod_coordsLookup.php:106
+msgid "Gauss-Krueger 4"
+msgstr "Gauß-Krüger 4 (DHDN)"
+
+#: ../http/javascripts/mod_coordsLookup.php:106
+msgid "Gauss-Krueger 5"
+msgstr "Gauß-Krüger 5 (DHDN)"
+
+#: ../http/javascripts/mod_coordsLookup.php:106
+msgid "UTM 32 North"
+msgstr "UTM 32 Nord (ETRS98)"
+
+#: ../http/javascripts/mod_wfsGazetteerEditor_client.php
+msgid "Informations"
+msgstr "Informationen"
+
+msgid "Moduletype: Search"
+msgstr "Modulart: Suche"
+
+msgid "Moduletype: Download"
+msgstr "Modulart: Download"
+
+msgid "Geometrytype: point"
+msgstr "Geometrietyp: Punkt"
+
+msgid "Geometrytype: line"
+msgstr "Geometrietyp: Linie"
+
+msgid "Geometrytype: area"
+msgstr "Geometrietyp: Fläche"
+
+msgid "The coordinate reference system (crs) of the objects differ from the crs of the viewer. A query will not be possible. Please change the crs of the viewer first."
+msgstr "Das Koordinatenreferenzsystem (CRS) der Objekte unterscheidet sich vom CRS des Viewers. Eine Suche ist nicht möglich. Bitte wechseln sie das Koordinatenreferenzsystem des Viewers."
+
+msgid "An error occured when start download."
+msgstr "Es ist ein Fehler beim Download aufgetreten."
+
+msgid "No information available."
+msgstr "Keine Information verfügbar."
+
+msgid "Show information"
+msgstr "Zeige Informationen"
+
+msgid "Set spatial filter"
+msgstr "Definiere räumliche Auswahl"
+
+msgid "Set attribute filter"
+msgstr "Definiere attributive Auswahl"
+
+msgid "Export data"
+msgstr "Exportiere Daten"
+
+msgid "Reset filter"
+msgstr "Filter zurücksetzen"
+
+msgid "Start query"
+msgstr "Anfrage starten"
+
+msgid "Examples (first 20 entries):"
+msgstr "Beispielinhalte (erste 20 Datensätze):"
+
+#: ../http/javascripts/initWmcObj.php
+msgid "You as User"
+msgstr "Sie als Nutzer"
+
+msgid "have no authorization to access following layers."
+msgstr "haben keine Berechtigung auf folgende Layer zuzugreifen."
+
+msgid "Following layers come from an unkown origin. There is no information about the links. They may be broken and the underlaying services may not exist anymore!"
+msgstr "Folgende Layer stammen aus einer der Registry unbekannten Quelle. Es kann daher nicht überprüft werden, ob die Links verwaist sind oder ob die Dienste überhaupt Daten liefern."
+
+msgid "The last monitoring had problems with the following layers. Maybe the underlying services will not be able to answer the requests for sometime."
+msgstr "Bei folgenden Diensten kam es während des letzten Monitorings zu Problemen. Es ist möglich, dass diese Dienste derzeit keine Informationen zur Verfügung stellen können."
+
+msgid "Following layers have been removed from the registry. They may be broken and the underlaying services may not exist anymore!"
+msgstr "Folgende Dienste/Layer sind aus der Registrierungsstelle gelöscht worden. Es kann daher nicht überprüft werden, ob die Links verwaist sind oder ob die Dienste überhaupt Daten liefern."
+
+msgid "MapService"
+msgstr "Kartendienst"
+
+msgid "The configuration, which should be loaded, consists of different services which have the following terms of use:"
+msgstr "Die zu ladende Konfiguration enthält verschiedene Dienste mit folgenden Nutzungsbedigungen:"
+
+msgid "Should this services be loaded regardless?"
+msgstr "Sollen die Dienste trotzdem hinzugeladen werden?"
+
+msgid "Confirmation"
+msgstr "Hinweis"
+
+#:../http/php/mod_subscribersServiceList.php
+msgid "WebMapService"
+msgstr "Kartendienst"
+
+msgid "Availability of Capabilities"
+msgstr "Verfügbarkeit Dienstebeschreibung"
+
+msgid "Average Response Time for GetCapabilities"
+msgstr "Durchschnittliche Antwortzeit Beschreibung"
+
+msgid "Availability of GetMap"
+msgstr "Verfügbarkeit Kartenbild"
+
+msgid "Availability (2 month)"
+msgstr "Verfügbarkeit (2 Monate)"
+
+msgid "Request GetCapabilities"
+msgstr "Aufruf des Capabilities Dokument"
+
+msgid "Tested GetMap Request"
+msgstr "Getesteter GetMap Aufruf"
+
+msgid "Service ID"
+msgstr "Dienst ID"
+
+msgid "cycles"
+msgstr "Zyklen"
+
+#:../http/php/mod_monitorCapabilities_read_single.php
+msgid "Monitoring results"
+msgstr "Monitoring Ergebnisse"
+
+msgid "Status"
+msgstr "Status"
+
+msgid "Response time"
+msgstr "Antwortzeit"
+
+#:../http/javascripts/mod_addWMSgeneralFunctions.js
+msgid "The selected service is already activated in your application and will not be included again:"
+msgstr "Der folgende Dienst befindet sich bereits unter 'Aktive Dienste', und wird nicht erneut hinzugefügt:"
+

Modified: branches/2.7/tools/wms_extent/extent_service.conf
===================================================================
--- branches/2.7/tools/wms_extent/extent_service.conf	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/tools/wms_extent/extent_service.conf	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,7 +1,9 @@
 <?php
 # --------------------------------------------
-# type of mapbender database
+# EXTENTSERVICEURL - Onlineresource to address the WMS to display the Service extent
+# EXTENTSERVICELAYER - definde the Layer to display in the Service extent
 # --------------------------------------------
 #DEFINE("EXTENTSERVICEURL","http://".$_SERVER['HTTP_HOST']."/cgi-bin/mapserv?map=/data/mapbender/tools/wms_extent/extents.map&");
+#DEFINE("EXTENTSERVICELAYER","demis,extent");
 
 ?>

Modified: branches/2.7/tools/wms_extent/extents.map
===================================================================
--- branches/2.7/tools/wms_extent/extents.map	2011-02-14 16:47:50 UTC (rev 7600)
+++ branches/2.7/tools/wms_extent/extents.map	2011-02-14 16:52:49 UTC (rev 7601)
@@ -1,181 +1,99 @@
 MAP
-NAME "extents"
-STATUS ON
-SIZE 600 600
-MAXSIZE 5000
-UNITS METERS
-SYMBOLSET  "symbolset_mapbender.sym"
-PROJECTION
-	"init=epsg:4326"
-END
-EXTENT 2475000 5425000 2724000 5658000
-WEB	
-	IMAGEPATH "/tmp/"
-	METADATA
-		WMS_TITLE "Layer Extent"
-		WMS_ABSTRACT "Geoportal Rheinland Pfalz, Layer Extent"
-		WMS_ONLINERESOURCE "http://localhost/cgi-bin/mapserv?map=/data/mapbender/tools/extents.map"
-		WMS_FEATURE_INFO_MIME_TYPE    "text/html"	
-		WMS_SRS "epsg:4326 epsg:31467 epsg:31466 epsg:31468 epsg:31469 epsg:31462 epsg:31463 epsg:31492 epsg:31493"
-		wms_extent "2508083 5427840 2681976 5646760"
-		"ows_keywordlist" "Geoportal RLP, Service Layer, WMS, WFS"
-		"ows_fees" "none"
-		"ows_accessconstraints" "none"
-		"ows_addresstype" "postal"
-		"ows_address" "Ferdinand-Sauerbruch-Str. 15"
-		"ows_city" "Koblenz"
-		"ows_stateorprovince" "Rheinland-Pfalz"
-		"ows_postcode" "56073"
-		"ows_country" "Germany"
-		"ows_contactperson" "Armin Retterath" 
-		"ows_contactinformation" "Infos Geoportal-RLP"
-		"ows_contactorganization" "Landesamt für Vermessung und Geobasisinformation Rheinland-Pfalz"
-		"ows_contactposition" "Vermessung und Geobasisinformation"
-		"ows_contactelectronicmailaddress" "armin.retterath at lvermgeo.rlp.de"
-		"wms_contactfacsimiletelephone" "0261/492-466"
-		"wms_contactvoicetelephone" "0261/492-492"
+	NAME "extents"
+	STATUS ON
+	MAXSIZE 5000
+	UNITS METERS
+	EXTENT -180 -90 180 90
+	SYMBOLSET  "symbolset_mapbender.sym"
+
+	PROJECTION
+		"init=epsg:4326"
 	END
-END
-SYMBOL
-	NAME 'my_hatch'
-	TYPE hatch
-END
-OUTPUTFORMAT
-  NAME 'png'
-  DRIVER 'GD/PNG'
-  MIMETYPE 'image/png'
-  EXTENSION PNG
-  IMAGEMODE PC256
-  TRANSPARENT ON
-END
-LEGEND
-  STATUS ON
-  KEYSIZE 10 8
-  KEYSPACING 10 10
-  IMAGECOLOR 255 255 255
-  LABEL
-    COLOR 128 128 128
-    TYPE TRUETYPE
-    FONT "arial"
-    SIZE 8
-  END
-END
-#--------------------------------------------------- use this to have a global map background
-#please set the right tmp path above
-LAYER
-  NAME "demis"
-  TYPE RASTER
-  CONNECTION "http://www2.demis.nl/wms/wms.asp?wms=WorldMap&"
-  CONNECTIONTYPE WMS
-  METADATA
-    "wms_srs"             "EPSG:4326"
-    "wms_name"            "Bathymetry,Countries,Topography,Hillshading,Coastlines,Waterbodies,Rivers,Streams,Railroads,Highways,Roads,Borders,Cities,Settlements,Airports"
-    "wms_connectiontimeout" "2"
-    "wms_server_version"  "1.1.1"
-    "wms_format"          "image/png"
-  END
-END
 
-#---------------------------------------------------
-LAYER
-	NAME "background"
-	STATUS ON
-	TYPE LINE
-	CONNECTIONTYPE postgis 
-	CONNECTION   "dbname=geoportal_latin user=postgres port=5432 host=10.7.101.135"
-	DATA "the_geom from (select gid , the_geom from gis.landes) as foo using unique gid using SRID=31466"  
-	METADATA
-		WMS_TITLE "Rheinland-Pfalz"
-		WMS_SRS "epsg:31466"
-		WMS_ABSTRACT "Bounding Box Rectangles of Geo Resources registered with the Geoportal Rhineland Palatinate"
-		wms_dataurl_format "text/html"
-		wms_dataurl_href "http://www.mapbender.org/"
-		wms_keywordlist "Geoportal, RLP, Rheinland Pfalz, Umgebungsrechteck, Kartensuche, Dienst, OGC WMS, Open Source Geospatial Foundation, OSGeo"
-		wms_metadataurl_format "text/html"
-		wms_metadataurl_href "http://wiki.osgeo.org/"
-		wms_metadataurl_type "TC211"
-		wms_extent "2508083.25 5427840 2681976 5646759.5"
+	WEB	
+		IMAGEPATH "/tmp/"
+		METADATA
+			WMS_TITLE "Layer Extent"
+			WMS_ABSTRACT "Layer Extent"
+			WMS_ONLINERESOURCE "http://localhost/cgi-bin/mapserv?map=/data/mapbender/tools/wms_extent/"
+			WMS_FEATURE_INFO_MIME_TYPE    "text/html"	
+			WMS_SRS "epsg:4326 epsg:31467 epsg:31466 epsg:31468 epsg:31469 epsg:31462 epsg:31463 epsg:31492 epsg:31493"
+			wms_extent "-180 -90 180 90"
+			include "include_metadata_wms.map"
+		END
 	END
-	MINSCALE 0
-	MAXSCALE 0
-	PROJECTION
-		"init=epsg:31466"
+
+	SYMBOL
+		NAME 'my_hatch'
+		TYPE hatch
 	END
-	CLASS
-		NAME "Rheinland_Pfalz"
-		STYLE
-			OUTLINECOLOR 0 0 0
-			COLOR -1 -1 -1
-		END 
+
+	OUTPUTFORMAT
+		NAME 'png'
+		DRIVER 'GD/PNG'
+		MIMETYPE 'image/png'
+		EXTENSION PNG
+		IMAGEMODE PC256
+		TRANSPARENT ON
 	END
+
+#-------- use this to have a global map background
+#-------- please set the right IMAGEPATH in the WEB-Section above
+
+LAYER
+	NAME "demis"
+	TYPE RASTER
+	CONNECTION "http://www2.demis.nl/wms/wms.asp?wms=WorldMap&"
+	CONNECTIONTYPE WMS
+	METADATA
+		"wms_srs"             "EPSG:4326"
+		"wms_name"            "Bathymetry,Countries,Topography,Hillshading,Coastlines,Waterbodies,Rivers,Streams,Railroads,Highways,Roads,Borders,Cities,Settlements,Airports"
+		"wms_connectiontimeout" "2"
+		"wms_server_version"  "1.1.1"
+		"wms_format"          "image/png"
+	END
 END
+
 #---------------------------------------------------
 LAYER
 	NAME "extent"
 	STATUS ON
 	TYPE POLYGON
 	CONNECTIONTYPE postgis 
-	CONNECTION   "dbname=geoportal user=postgres port=5432 host=geoportal-db1.gdi.rlp"
-	DATA "the_geom from (select GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326) as the_geom,area2d(transform(GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326),31466)) as area, 1 as oid ) as foo USING UNIQUE oid USING SRID=4326"
+	CONNECTION   "dbname=mapbender user=postgres port=5432 host=localhost"
+	DATA "the_geom from (select GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326) as the_geom,area2d(GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326)) as area, 1 as oid ) as foo USING UNIQUE oid USING SRID=4326"
+
 	METADATA
-		WMS_TITLE "RLP Geo-Services"
-		WMS_SRS "epsg:4326"
-		WMS_ABSTRACT "Bounding Box Rectangles of OWS Services registered with thte Geoportal Rhineland Palatinate"
-		wms_dataurl_format "text/html"
-		wms_dataurl_href "http://www.geoportal.rlp.de"
-		wms_keywordlist "Geoportal, RLP, Rheinland Pfalz, Umgebungsrechteck, Kartensuche, Dienst, OGC WMS, Open Source Geospatial Foundation. OSGeo"
-		wms_metadataurl_format "text/html"
-		wms_metadataurl_href "http://www.geoportal.rlp.de"
-		wms_metadataurl_type "TC211"
-		wms_extent "2508083.25 5427840 2681976 5646759.5"
+		WMS_TITLE "Service Extent"
+		WMS_SRS "EPSG:4326"
+		WMS_ABSTRACT "Bounding Box Rectangles of OWS Services registered"
+		include "include_metadata_layer.map"
 	END
+
 	PROJECTION
 		"init=epsg:4326"
-	END
- 	CLASS
-		EXPRESSION ([area] > 300000)
-		NAME "bbox2"
-		STYLE
-        		OUTLINECOLOR 135 30 50 
-        		WIDTH 2 
-      		END 
-	END
-END
-#-------------------------------------
-LAYER
-	NAME "ows_layer_target"
-	STATUS DEFAULT
-	TYPE POINT 
-	LABELMAXSCALE 5000000000
-	LABELMINSCALE 0
-	CONNECTIONTYPE postgis
-	CONNECTION   "dbname=geoportal user=postgres port=5432 host=10.7.101.135"
-	DATA "the_geom from (select centroid(GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326)) as the_geom,area2d(transform(GeomFromText('POLYGON((%minx% %miny%,%minx% %maxy%,%maxx% %maxy%,%maxx% %miny%, %minx% %miny%))',4326),31466)) as area, 1 as oid ) as foo USING UNIQUE oid USING SRID=4326"
-	LABELCACHE ON
-	METADATA
-		WMS_TITLE "RLP Geo-Services Annotations"
-		WMS_SRS "epsg:4326"
-		WMS_ABSTRACT "Bounding Box Rectangles of OWS Services registered with thte Geoportal Rhineland Palatinate"
-		wms_dataurl_format "text/html"
-		wms_dataurl_href "http://www.mapbender.org/"
-		wms_keywordlist "Geoportal, RLP, Rheinland Pfalz, Umgebungsrechteck, Kartensuche, Dienst,OGC WMS, Open Source Geospatial Foundation. OSGeo"
-		wms_metadataurl_format "text/html"
-		wms_metadataurl_href "http://wiki.osgeo.org/"
-		wms_metadataurl_type "TC211"
-		wms_extent "2508083.25 5427840 2681976 5646759.5"
-	END
-	PROJECTION
-		"init=epsg:4326"
-	END
+	END
+
+	CLASSITEM 'area'
+
 	CLASS
-		EXPRESSION ([area] <= 300000)
-		NAME "bbox"
+		EXPRESSION ([area] > 0.005)
+		NAME "WMS Extent"
 		STYLE
+			OUTLINECOLOR 135 30 50 
+			WIDTH 2 
+		END 
+	END
+
+	CLASS
+		EXPRESSION /./
+		STYLE
+			GEOMTRANSFORM 'centroid'
 			SYMBOL 'target'
-		END
+		END 
 	END
 END
+
 #-------------------------------------
 
-
 END

Copied: branches/2.7/tools/wms_extent/include_metadata_layer.map (from rev 7548, trunk/mapbender/tools/wms_extent/include_metadata_layer.map)
===================================================================
--- branches/2.7/tools/wms_extent/include_metadata_layer.map	                        (rev 0)
+++ branches/2.7/tools/wms_extent/include_metadata_layer.map	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,8 @@
+wms_dataurl_format "text/html"
+wms_dataurl_href "http://mapbender.org"
+wms_keywordlist "BoundingBox, Umgebungsrechteck, Kartensuche, Dienst, OGC WMS, Open Source Geospatial Foundation. OSGeo"
+wms_metadataurl_format "text/html"
+wms_metadataurl_href "http://mapbender.org"
+wms_metadataurl_type "TC211"
+wms_extent "-80 -90 180 90"
+

Copied: branches/2.7/tools/wms_extent/include_metadata_wms.map (from rev 7548, trunk/mapbender/tools/wms_extent/include_metadata_wms.map)
===================================================================
--- branches/2.7/tools/wms_extent/include_metadata_wms.map	                        (rev 0)
+++ branches/2.7/tools/wms_extent/include_metadata_wms.map	2011-02-14 16:52:49 UTC (rev 7601)
@@ -0,0 +1,17 @@
+"ows_keywordlist" "Mapbender,Service Layer, WMS, WFS"
+"ows_fees" "none"
+"ows_accessconstraints" "none"
+"ows_addresstype" "postal"
+"ows_address" ""
+"ows_city" "BONN"
+"ows_stateorprovince" "NRW"
+"ows_postcode" ""
+"ows_country" "Germany"
+"ows_contactperson" "" 
+"ows_contactinformation" "Mapbender"
+"ows_contactorganization" "Mapbender Team"
+"ows_contactposition" "Vermessung und Geobasisinformation"
+"ows_contactelectronicmailaddress" "info at mapbender.org"
+"wms_contactfacsimiletelephone" "0123"
+"wms_contactvoicetelephone" "0123"
+



More information about the Mapbender_commits mailing list