[Mapbender-commits] r7946 -
branches/2.7/resources/db/pgsql/UTF-8/update
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jul 15 07:21:17 EDT 2011
Author: astrid_emde
Date: 2011-07-15 04:21:17 -0700 (Fri, 15 Jul 2011)
New Revision: 7946
Modified:
branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql
Log:
Modified: branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql
===================================================================
--- branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql 2011-07-15 11:20:41 UTC (rev 7945)
+++ branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql 2011-07-15 11:21:17 UTC (rev 7946)
@@ -41,6 +41,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 ('Administration_DE','allowPublishMetadata_icon',2,1,'icon','','img','../img/gnome/emblem-shared.png','',0,0,NULL ,NULL,2,'','','','','','','','');
UPDATE gui_element SET e_target = 'filteredGui_user_collection,filteredGui_group_collection,filteredGui_filteredGroup_collection,gui_owner_collection,allowPublishMetadata_collection' WHERE fkey_gui_id = 'Administration_DE' AND e_id = 'menu_auth';
+
-- set width and height of body element to NULL for Gui admin2_de, otherwise this gui is not displayed correctly in IE8
UPDATE gui_element set e_width = NULL, e_height = NULL
where fkey_gui_id = 'admin2_de' and e_id ='body' ;
@@ -123,4 +124,19 @@
UPDATE gui_element SET
e_attributes = '' ,
e_url = 'http://www.mapbender.org/ScaleSelect',
-e_js_file = '../plugins/mb_selectScale.js' where e_id = 'scaleSelect';
\ No newline at end of file
+e_js_file = '../plugins/mb_selectScale.js' where e_id = 'scaleSelect';
+
+--
+-- add legend div to template_print
+--
+INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_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','legend',2,1,'legend','Legend','div','','',-59,100,180,600,3,'','','div','mod_legendDiv.php','','mapframe1','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('template_print', '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('template_print', '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('template_print', 'legend', 'legendlink', 'false', '' ,'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('template_print', '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('template_print', '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('template_print', '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('template_print', '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('template_print','legendButton',1,1,'','Druck','img','../img/button_blue_red/select_choose_off.png','',440,10,28,28,NULL ,'','','','../plugins/mb_button.js','','legend','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('template_print', 'legendButton', 'position', '[720,100]', '' ,'var');
More information about the Mapbender_commits
mailing list