[Mapbender-commits] r2839 - branches/nimix_dev/conf
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Aug 18 09:54:08 EDT 2008
Author: nimix
Date: 2008-08-18 09:54:07 -0400 (Mon, 18 Aug 2008)
New Revision: 2839
Added:
branches/nimix_dev/conf/wfs_additional_spatial_search.conf
Modified:
branches/nimix_dev/conf/mapbender.conf-dist
Log:
merge
Modified: branches/nimix_dev/conf/mapbender.conf-dist
===================================================================
--- branches/nimix_dev/conf/mapbender.conf-dist 2008-08-18 07:11:32 UTC (rev 2838)
+++ branches/nimix_dev/conf/mapbender.conf-dist 2008-08-18 13:54:07 UTC (rev 2839)
@@ -8,8 +8,8 @@
# --------------------------------------------
-define("SYS_DBTYPE", "mysql");
-#define("SYS_DBTYPE", "pgsql");
+#define("SYS_DBTYPE", "mysql");
+define("SYS_DBTYPE", "pgsql");
# --------------------------------------------
# database information
@@ -23,8 +23,6 @@
define("OWNER", "<owner>");
define("PW", "<password>");
- include_once(dirname(__FILE__) . "/../http/php/database-mysql.php");
-
# --------------------------------------------
# database with geos functions
# --------------------------------------------
@@ -42,8 +40,6 @@
define("DB", "<database>");
define("OWNER", "<owner>");
define("PW", "<password>");
-
- include_once(dirname(__FILE__) . "/../http/php/database-pgsql.php");
}
# --------------------------------------------
@@ -139,9 +135,18 @@
# Mapbender error logging
# --------------------------------------------
-define("LOG_LEVEL", "all"); //"off","error","warning","notice" or "all"
+define("LOG_LEVEL", "error"); //"off","error","warning","notice" or "all"
define("LOG_JS", "on"); // "on", "alert", "console" or "off"
+# --------------------------------------------
+# Internationalization
+# --------------------------------------------
+
+define("USE_I18N", false); // requires gettext for PHP.
+ // If "false", LANGUAGE is set to english
+define("LANGUAGE", "en"); // only available if USE_I18N is "true".
+ // "en", "de", "bg", "gr", "nl", "it", es"
+
###HACK for GLOBALS
$DBSERVER=DBSERVER;
$DB=DB;
Copied: branches/nimix_dev/conf/wfs_additional_spatial_search.conf (from rev 2653, trunk/mapbender/conf/wfs_additional_spatial_search.conf)
===================================================================
--- branches/nimix_dev/conf/wfs_additional_spatial_search.conf (rev 0)
+++ branches/nimix_dev/conf/wfs_additional_spatial_search.conf 2008-08-18 13:54:07 UTC (rev 2839)
@@ -0,0 +1,37 @@
+/**
+ * definition of buttons for spatialRequest
+ *
+ * [@param {integer} status show this button (value is 1 or 0)
+ * [@param {string} img image for the button
+ * [@param {string} title for the button
+ * [@param {string} filteroption type of filter for search (values: "intersects" or "within"), used for buttons buttonRectangle and buttonPolygon
+ */
+
+var buttonRectangle = {"status":1,"img":"select_rectangle_off.png","title":"Rechteckauswahl","filteroption":"intersects"};
+var buttonPolygon = {"status":1,"img":"select_polygon_off.png","title":"Vieleckauswahl","filteroption":"intersects"};
+var buttonPoint = {"status":1, "img":"select_point_off.png","title":"Punktauswahl"};
+var buttonExtent = {"status":1,"img":"select_extent_off.png","title":"Auswahl Kartenrahmen"};
+
+var spatialRequestIsSetMessage = "Gebiet eingegrenzt, bitte OK klicken!";
+var clearFilterButtonLabel = "Neu";
+
+var buttonWfs_imgdir = "../img/button_gray/";
+var buttonWfs_zIndex = 10;
+
+var generalHighlightZIndex = 90;
+var generalHighlightLineWidth = 2;
+
+var wfsResultModulePath = "php/";
+var wfsResultModuleFilename = "mod_wfs_result.php";
+
+var searchPopupTitle = "Suchergebnisse";
+var searchPopupWidth = 985;
+var searchPopupHeight =300;
+var searchPopupX = 220;
+var searchPopupY = 575;
+
+var detailPopupTitle = "Details";
+var detailPopupWidth = 350;
+var detailPopupHeight = 200;
+var detailPopupX = 840;
+var detailPopupY = 575;
More information about the Mapbender_commits
mailing list