[Mapbender-commits] r4669 - in branches/2.6/resources/db:
mysql/ISO-8859-1/update mysql/UTF-8/update
pgsql/ISO-8859-1/update pgsql/UTF-8/update
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 21 09:51:47 EDT 2009
Author: christoph
Date: 2009-09-21 09:51:44 -0400 (Mon, 21 Sep 2009)
New Revision: 4669
Modified:
branches/2.6/resources/db/mysql/ISO-8859-1/update/update_2.6rc1_to_2.6_mysql_ISO-8859-1.sql
branches/2.6/resources/db/mysql/UTF-8/update/update_2.6rc1_to_2.6_mysql_UTF-8.sql
branches/2.6/resources/db/pgsql/ISO-8859-1/update/update_2.6rc1_to_2.6_pgsql_ISO-8859-1.sql
branches/2.6/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6_pgsql_UTF-8.sql
Log:
* set position of background select box
* set background colour of gazetteer
Modified: branches/2.6/resources/db/mysql/ISO-8859-1/update/update_2.6rc1_to_2.6_mysql_ISO-8859-1.sql
===================================================================
--- branches/2.6/resources/db/mysql/ISO-8859-1/update/update_2.6rc1_to_2.6_mysql_ISO-8859-1.sql 2009-09-21 12:21:41 UTC (rev 4668)
+++ branches/2.6/resources/db/mysql/ISO-8859-1/update/update_2.6rc1_to_2.6_mysql_ISO-8859-1.sql 2009-09-21 13:51:44 UTC (rev 4669)
@@ -212,3 +212,10 @@
-- set window.focus() function for print button in gui1
UPDATE gui_element set e_attributes = 'onclick=''printWindow = window.open("../print/mod_printPDF.php?target=mapframe1&sessionID&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 fkey_gui_id = 'gui1' and e_id = 'printPDF';
+
+-- set position of background select box
+UPDATE gui_element SET e_top = '210', e_left = '10' WHERE fkey_gui_id = 'gui' AND e_id = 'setBackground';
+
+-- set background colour of gazetteer
+UPDATE gui_element SET e_more_styles = 'visibility:hidden; background:#fff; border: 1px solid #a19c8f;' WHERE e_id = 'gazetteerWFS' AND fkey_gui_id IN ('gui');
+
Modified: branches/2.6/resources/db/mysql/UTF-8/update/update_2.6rc1_to_2.6_mysql_UTF-8.sql
===================================================================
--- branches/2.6/resources/db/mysql/UTF-8/update/update_2.6rc1_to_2.6_mysql_UTF-8.sql 2009-09-21 12:21:41 UTC (rev 4668)
+++ branches/2.6/resources/db/mysql/UTF-8/update/update_2.6rc1_to_2.6_mysql_UTF-8.sql 2009-09-21 13:51:44 UTC (rev 4669)
@@ -212,3 +212,8 @@
-- set window.focus() function for print button in gui1
UPDATE gui_element set e_attributes = 'onclick=''printWindow = window.open("../print/mod_printPDF.php?target=mapframe1&sessionID&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 fkey_gui_id = 'gui1' and e_id = 'printPDF';
+-- set position of background select box
+UPDATE gui_element SET e_top = '210', e_left = '10' WHERE fkey_gui_id = 'gui' AND e_id = 'setBackground';
+
+-- set background colour of gazetteer
+UPDATE gui_element SET e_more_styles = 'visibility:hidden; background:#fff; border: 1px solid #a19c8f;' WHERE e_id = 'gazetteerWFS' AND fkey_gui_id IN ('gui');
Modified: branches/2.6/resources/db/pgsql/ISO-8859-1/update/update_2.6rc1_to_2.6_pgsql_ISO-8859-1.sql
===================================================================
--- branches/2.6/resources/db/pgsql/ISO-8859-1/update/update_2.6rc1_to_2.6_pgsql_ISO-8859-1.sql 2009-09-21 12:21:41 UTC (rev 4668)
+++ branches/2.6/resources/db/pgsql/ISO-8859-1/update/update_2.6rc1_to_2.6_pgsql_ISO-8859-1.sql 2009-09-21 13:51:44 UTC (rev 4669)
@@ -53,21 +53,21 @@
INSERT INTO translations (locale, msgid, msgstr) VALUES ('hu', 'Logo', 'Logó');
INSERT INTO translations (locale, msgid, msgstr) VALUES ('hu', 'Measure distance', 'Távolságmérés');
---Bugfix for treegde in gui (tabs wideout)
+-- Bugfix for treegde in gui (tabs wideout)
UPDATE gui_element SET e_more_styles='visibility:hidden; background-color:#ffffff;border: 1px solid #a19c8f;overflow:auto;' WHERE fkey_gui_id='gui' AND e_id='treeGDE';
---remove treeGDE-css statement from 'treeGDE' because its handled in 'body' element
+-- remove treeGDE-css statement from 'treeGDE' because its handled in 'body' element
DELETE from gui_element_vars WHERE fkey_gui_id IN ('gui','gui2','gui1','gui_digitize') AND fkey_e_id= 'treeGDE' AND var_name='cssfile';
-- http://trac.osgeo.org/mapbender/ticket/442
DELETE FROM gui_element_vars WHERE fkey_gui_id = 'gui2' AND fkey_e_id = 'tooltip' AND var_name = 'tooltip_noResultArray';
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_noResultArray', E'["Kein Ergebnis.","<body onload=\'javascript:window.close()\'>"]', '', 'var');
---new element vars for module tooltip to control whether user likes to have wfs getFeature request and/or whether user likes to have wms getfeatureInfo requests
+-- new element vars for module tooltip to control whether user likes to have wfs getFeature request and/or whether user likes to have wms getfeatureInfo requests
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_disableWfs', '0', 'disable WFS getFeature Request', 'var');
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_disableWms', '1', 'disable WMS getFeatureInfo Request', 'var');
---update style of wfs_conf myPolygons (coloured buttons, background)
+-- update style of wfs_conf myPolygons (coloured buttons, background)
UPDATE wfs_conf SET g_style = 'body{
font-family:Verdana,Arial,sans-serif;
font-size: 12px;
@@ -208,6 +208,12 @@
-- dutch entry for translations table
INSERT INTO translations (locale, msgid, msgstr) VALUES ('nl', 'Set language', 'Taal instellen');
---set window.focus() function for print button in gui1
+-- set window.focus() function for print button in gui1
UPDATE gui_element set e_attributes = 'onclick=''printWindow = window.open("../print/mod_printPDF.php?target=mapframe1&sessionID&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 fkey_gui_id = 'gui1' and e_id = 'printPDF';
+-- set position of background select box
+UPDATE gui_element SET e_top = '210', e_left = '10' WHERE fkey_gui_id = 'gui' AND e_id = 'setBackground';
+
+-- set background colour of gazetteer
+UPDATE gui_element SET e_more_styles = 'visibility:hidden; background:#fff; border: 1px solid #a19c8f;' WHERE e_id = 'gazetteerWFS' AND fkey_gui_id IN ('gui');
+
Modified: branches/2.6/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6_pgsql_UTF-8.sql
===================================================================
--- branches/2.6/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6_pgsql_UTF-8.sql 2009-09-21 12:21:41 UTC (rev 4668)
+++ branches/2.6/resources/db/pgsql/UTF-8/update/update_2.6rc1_to_2.6_pgsql_UTF-8.sql 2009-09-21 13:51:44 UTC (rev 4669)
@@ -53,21 +53,21 @@
INSERT INTO translations (locale, msgid, msgstr) VALUES ('hu', 'Logo', 'Logó');
INSERT INTO translations (locale, msgid, msgstr) VALUES ('hu', 'Measure distance', 'Távolságmérés');
---Bugfix for treegde in gui (tabs wideout)
+-- Bugfix for treegde in gui (tabs wideout)
UPDATE gui_element SET e_more_styles='visibility:hidden; background-color:#ffffff;border: 1px solid #a19c8f;overflow:auto;' WHERE fkey_gui_id='gui' AND e_id='treeGDE';
---remove treeGDE-css statement from 'treeGDE' because its handled in 'body' element
+-- remove treeGDE-css statement from 'treeGDE' because its handled in 'body' element
DELETE from gui_element_vars WHERE fkey_gui_id IN ('gui','gui2','gui1','gui_digitize') AND fkey_e_id= 'treeGDE' AND var_name='cssfile';
-- http://trac.osgeo.org/mapbender/ticket/442
DELETE FROM gui_element_vars WHERE fkey_gui_id = 'gui2' AND fkey_e_id = 'tooltip' AND var_name = 'tooltip_noResultArray';
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_noResultArray', E'["Kein Ergebnis.","<body onload=\'javascript:window.close()\'>"]', '', 'var');
---new element vars for module tooltip to control whether user likes to have wfs getFeature request and/or whether user likes to have wms getfeatureInfo requests
+-- new element vars for module tooltip to control whether user likes to have wfs getFeature request and/or whether user likes to have wms getfeatureInfo requests
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_disableWfs', '0', 'disable WFS getFeature Request', 'var');
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_disableWms', '1', 'disable WMS getFeatureInfo Request', 'var');
---update style of wfs_conf myPolygons (coloured buttons, background)
+-- update style of wfs_conf myPolygons (coloured buttons, background)
UPDATE wfs_conf SET g_style = 'body{
font-family:Verdana,Arial,sans-serif;
font-size: 12px;
@@ -208,5 +208,11 @@
-- dutch entry for translations table
INSERT INTO translations (locale, msgid, msgstr) VALUES ('nl', 'Set language', 'Taal instellen');
---set window.focus() function for print button in gui1
+-- set window.focus() function for print button in gui1
UPDATE gui_element set e_attributes = 'onclick=''printWindow = window.open("../print/mod_printPDF.php?target=mapframe1&sessionID&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 fkey_gui_id = 'gui1' and e_id = 'printPDF';
+
+-- set position of background select box
+UPDATE gui_element SET e_top = '210', e_left = '10' WHERE fkey_gui_id = 'gui' AND e_id = 'setBackground';
+
+-- set background colour of gazetteer
+UPDATE gui_element SET e_more_styles = 'visibility:hidden; background:#fff; border: 1px solid #a19c8f;' WHERE e_id = 'gazetteerWFS' AND fkey_gui_id IN ('gui');
More information about the Mapbender_commits
mailing list