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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Aug 23 08:36:03 PDT 2017


Author: armin11
Date: 2017-08-23 08:36:03 -0700 (Wed, 23 Aug 2017)
New Revision: 9771

Modified:
   trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.4_to_2.8_pgsql_UTF-8.sql
Log:
Add ckan sync module to Adminstration_DE gui

Modified: trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.4_to_2.8_pgsql_UTF-8.sql
===================================================================
--- trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.4_to_2.8_pgsql_UTF-8.sql	2017-08-23 15:11:33 UTC (rev 9770)
+++ trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.7.4_to_2.8_pgsql_UTF-8.sql	2017-08-23 15:36:03 UTC (rev 9771)
@@ -2010,3 +2010,13 @@
 
 ALTER TABLE mb_group ADD COLUMN mb_group_csw_catalogues text;
 
+--Eintragen der neuen Ckan-Sync-Elemente in Gui 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','ckan_sync',2,1,'ckan sync module','Ckan Synchronisierung','a','','href = "../javascripts/mod_syncCkan_client.php?compareTimestamps=true"',80,10,NULL ,NULL ,NULL ,'font-family: Arial, Helvetica, sans-serif; font-size : 12px; text-decoration : none; color: #808080;','Ckan Synchronisierungsmodul','a','','','','','');
+
+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','ckan_sync_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','','',0,80,200,30,NULL ,'','','div','../plugins/mb_div_collection.js','','ckan_sync,ckan_sync_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','ckan_sync_icon',2,1,'icon','','img','../img/misc/ckan.png','',0,0,NULL ,NULL ,2,'','','','','','','','');
+
+--ergänze Eintrag ckan_sync_collection in Target von Element menu_metadata in Administration_DE
+UPDATE gui_element SET e_target = replace(e_target, 'dataset_metadata_collection', 'dataset_metadata_collection,ckan_sync_collection') WHERE fkey_gui_id = 'Administration_DE' AND e_id = 'menu_metadata' AND e_target = 'dataset_metadata_collection';
+



More information about the Mapbender_commits mailing list