[Mapbender-commits] r7345 - trunk/mapbender/resources/db
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Dec 20 17:33:57 EST 2010
Author: astrid_emde
Date: 2010-12-20 14:33:57 -0800 (Mon, 20 Dec 2010)
New Revision: 7345
Modified:
trunk/mapbender/resources/db/metadataGui.sql
trunk/mapbender/resources/db/metadataGuiWfs.sql
trunk/mapbender/resources/db/metadataGuiWmc.sql
Log:
added category 1
Modified: trunk/mapbender/resources/db/metadataGui.sql
===================================================================
--- trunk/mapbender/resources/db/metadataGui.sql 2010-12-20 19:37:37 UTC (rev 7344)
+++ trunk/mapbender/resources/db/metadataGui.sql 2010-12-20 22:33:57 UTC (rev 7345)
@@ -1,9 +1,11 @@
---INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('admin_wms_metadata','admin_wms_metadata','GUI with tab, search modules',1);
+INSERT INTO gui (gui_id, gui_name, gui_description, gui_public) VALUES ('admin_wms_metadata','admin_wms_metadata','GUI with tab, search modules',1);
-- give root access to admin_wms_metadata
---INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('admin_wms_metadata', 1, 'owner');
+INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('admin_wms_metadata', 1, 'owner');
+INSERT into gui_gui_category VALUES ('admin_wms_metadata', 1);
+
DELETE FROM gui_element WHERE fkey_gui_id = 'admin_wms_metadata';
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 ('admin_wms_metadata','body',1,1,'body (obligatory)','','body','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','','','','');
Modified: trunk/mapbender/resources/db/metadataGuiWfs.sql
===================================================================
--- trunk/mapbender/resources/db/metadataGuiWfs.sql 2010-12-20 19:37:37 UTC (rev 7344)
+++ trunk/mapbender/resources/db/metadataGuiWfs.sql 2010-12-20 22:33:57 UTC (rev 7345)
@@ -3,6 +3,8 @@
-- give root access to admin_wms_metadata
INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('admin_wfs_metadata', 1, 'owner');
+INSERT into gui_gui_category VALUES ('admin_wfs_metadata', 1);
+
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 ('admin_wfs_metadata','body',1,1,'body (obligatory)','','body','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','','','','','','');
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 ('admin_wfs_metadata','i18n',1,1,'Internationalization module, collects data from all elements and sends them to the server in a single POST request. The strings are translated via gettext only.','Internationalization','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_i18n.js','','','','http://www.mapbender.org/Gettext');
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 ('admin_wfs_metadata','jq_datatables',1,1,'Includes the jQuery plugin datatables, use like this
Modified: trunk/mapbender/resources/db/metadataGuiWmc.sql
===================================================================
--- trunk/mapbender/resources/db/metadataGuiWmc.sql 2010-12-20 19:37:37 UTC (rev 7344)
+++ trunk/mapbender/resources/db/metadataGuiWmc.sql 2010-12-20 22:33:57 UTC (rev 7345)
@@ -3,6 +3,8 @@
-- give root access to admin_wms_metadata
INSERT INTO gui_mb_user (fkey_gui_id, fkey_mb_user_id, mb_user_type) VALUES ('admin_wmc_metadata', 1, 'owner');
+INSERT into gui_gui_category VALUES ('admin_wmc_metadata', 1);
+
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 ('admin_wmc_metadata','mb_md_wmc_submit',1,1,'','','div','','',NULL ,NULL,NULL ,NULL,NULL ,'','<span style=''float:right''><input disabled="disabled" type=''button'' value=''Preview metadata''><input type=''submit'' value=''Save metadata''></span>','div','../plugins/mb_metadata_wmc_submit.js','','','','');
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wmc_metadata','mb_md_wmc_submit','inputs','[
{
More information about the Mapbender_commits
mailing list