[Mapbender-commits] r7992 - branches/2.7/resources/db/pgsql/UTF-8/update

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jul 25 06:50:24 EDT 2011


Author: astrid_emde
Date: 2011-07-25 03:50:24 -0700 (Mon, 25 Jul 2011)
New Revision: 7992

Modified:
   branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql
Log:
* rename Customize Tree to CustomizeTree

* provide more space for the collections

* add CustomizeTree to Administration and Administration_de

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-25 09:39:29 UTC (rev 7991)
+++ branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7.1_to_2.7.2_pgsql_UTF-8.sql	2011-07-25 10:50:24 UTC (rev 7992)
@@ -140,3 +140,35 @@
 
 INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_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');
+
+
+
+-- add CustomizeTree to Administration and Administration_de
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, 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','CustomizeTree_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','CustomizeTree_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','','',200,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','CustomizeTree,CustomizeTree_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','CustomizeTree',2,1,'Customize Tree','Baumstruktur konfigurieren','a','','href = "../php/mod_customTree.php?elementID=Customize Tree&sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Customize Tree','a','','','','','http://www.mapbender.org/CustomTree');
+
+INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, e_title, e_element,e_src, e_attributes, e_left, e_top, e_width, e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target, e_requires,e_url) VALUES ('Administration','CustomizeTree_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','CustomizeTree_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','','',190,0,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','CustomizeTree,CustomizeTree_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','CustomizeTree',2,1,'Customize Tree','Baumstruktur konfigurieren','a','','href = "../php/mod_customTree.php?elementID=Customize Tree&sessionID"
+',80,15,NULL ,NULL,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Customize Tree','a','','','','','http://www.mapbender.org/CustomTree');
+
+-- update
+UPDATE gui_element set 
+e_target= 'newGui_collection,rename_copy_gui_collection,delete_filteredGui_collection,editElements_collection,category_filteredGui_collection,deleteCategory_collection,CustomizeTree_collection'
+where fkey_gui_id IN ('Administration','Administration_DE') AND e_id = 'menu_gui';
+
+-- provide more space for the collections
+Update gui_element set e_left = 200 where e_left = 150 and fkey_gui_id = 'Administration_DE' and e_element = 'div';
+Update gui_element set e_left = 200 where e_left = 150 and fkey_gui_id = 'Administration' and e_element = 'div';
+
+--
+-- rename Customize Tree to CustomizeTree
+--
+UPDATE gui_element set 
+e_id = 'CustomizeTree' where e_id = 'Customize Tree';



More information about the Mapbender_commits mailing list