[Mapbender-commits] r6160 - trunk/mapbender/resources/db
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue May 11 04:03:01 EDT 2010
Author: christoph
Date: 2010-05-11 04:03:00 -0400 (Tue, 11 May 2010)
New Revision: 6160
Modified:
trunk/mapbender/resources/db/metadataGui.sql
Log:
Modified: trunk/mapbender/resources/db/metadataGui.sql
===================================================================
--- trunk/mapbender/resources/db/metadataGui.sql 2010-05-11 08:01:19 UTC (rev 6159)
+++ trunk/mapbender/resources/db/metadataGui.sql 2010-05-11 08:03:00 UTC (rev 6160)
@@ -32,7 +32,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 ('admin_wms_metadata','mb_md_layer_tree',2,1,'Select a layer from a layer tree','Select a layer from a layer tree','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/mb_metadata_layerTree.js','','','','');
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','mb_md_select',2,1,'Select a WMS','Select WMS','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<table class=''display''></table>','div','../plugins/mb_metadata_select.js','','','jq_datatables','');
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','mb_md_showOriginal',2,1,'Show original metadata','Show original metadata','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'display:none;','','div','../plugins/mb_metadata_showOriginal.js','','','jq_ui_dialog','');
-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','mb_md_submit',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<input type=''button'' value=''Preview metadata''><input type=''button'' value=''Save metadata''>','div','','','','','');
+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','mb_md_submit',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<span style=''float:right''><input type=''button'' value=''Preview metadata''><input type=''submit'' value=''Save metadata''></span>','div','../plugins/mb_metadata_submit.js','','','','');
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','mb_pane',1,1,'','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'height:100%;width:100%','','div','../plugins/mb_pane.js','','','jq_layout','http://layout.jquery-dev.net');
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','mb_tabs_horizontal',3,1,'Puts existing elements into horizontal tabs, using jQuery UI tabs. List the elements comma-separated under target, and make sure they have a title.','','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','<ul></ul><div class=''ui-layout-content''></div>','div','../plugins/mb_tabs_horizontal.js','','mb_md_select,mb_md_edit,mb_md_layer','jq_ui_tabs','');
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','pan1',2,1,'pan','Pan','img','../img/button_gray/pan_off.png','',270,10,24,24,1,'','','','mod_pan.js','','mapframe1','','http://www.mapbender.org/index.php/Pan');
@@ -152,6 +152,16 @@
"attr": "wmsId"
}
]
+ },
+ {
+ "method": "serialize",
+ "linkedTo": [
+ {
+ "id": "mb_md_submit",
+ "event": "submit",
+ "attr": "callback"
+ }
+ ]
}
] ', '', 'var');
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer', 'inputs', '[
@@ -176,8 +186,17 @@
"attr": "layer"
}
]
+ },
+ {
+ "method": "serialize",
+ "linkedTo": [
+ {
+ "id": "mb_md_submit",
+ "event": "submit",
+ "attr": "callback"
+ }
+ ]
}
-
] ', '', 'var');
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'mb_md_layer_preview', 'inputs', '[
{
@@ -267,3 +286,4 @@
] ', '', 'var');
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'sandclock', 'mod_sandclock_image', '../img/sandclock.gif', 'define a sandclock image ', 'var');
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('admin_wms_metadata', 'switchLocale_noreload', 'languages', 'de,en,bg,gr,nl,hu,it,fr,es,pt', '', 'var');
+
More information about the Mapbender_commits
mailing list