[Mapbender-commits] r7945 - trunk/mapbender/resources/db/pgsql/UTF-8/update

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jul 15 07:20:41 EDT 2011


Author: astrid_emde
Date: 2011-07-15 04:20:41 -0700 (Fri, 15 Jul 2011)
New Revision: 7945

Modified:
   trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql
Log:
add legend div to template_print

Modified: trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql
===================================================================
--- trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql	2011-07-14 14:15:55 UTC (rev 7944)
+++ trunk/mapbender/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)
@@ -118,10 +118,25 @@
 --
 -- mb_metadata
 -- new column responsible_party_name
--- 
+--
 ALTER TABLE mb_metadata ADD COLUMN responsible_party_name character varying(100);
 
 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