[Mapbender-commits] r3688 - trunk/mapbender/resources/db/update

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Mar 12 13:11:45 EDT 2009


Author: verenadiewald
Date: 2009-03-12 13:11:45 -0400 (Thu, 12 Mar 2009)
New Revision: 3688

Modified:
   trunk/mapbender/resources/db/update/update_2.6.sql
Log:
sqls for tooltip

Modified: trunk/mapbender/resources/db/update/update_2.6.sql
===================================================================
--- trunk/mapbender/resources/db/update/update_2.6.sql	2009-03-12 17:03:21 UTC (rev 3687)
+++ trunk/mapbender/resources/db/update/update_2.6.sql	2009-03-12 17:11:45 UTC (rev 3688)
@@ -445,6 +445,23 @@
 <div id="mbNW" style="position:absolute;width:0;height:0;top:0;left:0;background-color:#799FEB;">
 <img id="arrow_nw" style="position:relative;top:0;left:0" src="../img/arrows/arrow_nw.gif" width="10" height="10">
 </div>' WHERE fkey_gui_id = 'gui2' AND e_id = 'navFrame';
+
 -- layer 19011 and 19015 not queryable for gui2 for demo of tooltip 
 UPDATE gui_layer SET gui_layer_queryable = 0, gui_layer_querylayer = 0 WHERE fkey_gui_id = 'gui2' AND fkey_layer_id = 19011 AND gui_layer_wms_id = 893; 
 UPDATE gui_layer SET gui_layer_queryable = 0, gui_layer_querylayer = 0 WHERE fkey_gui_id = 'gui2' AND fkey_layer_id = 19015 AND gui_layer_wms_id = 893;
+
+-- tooltip module in gui2 + required gui elements wfs and wfs conf
+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 ('gui2','tooltip',1,1,'Tooltip demo modul','','div','','',1,1,1,1,NULL ,'visibility:hidden','','div','mod_tooltip.php','popup.js,geometry.js,wfsFilter.js','mapframe1','wfs,wfs_conf,featureInfoTunnel,popup','');
+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('gui2','wfs',2,1,'wfs request and result handling','','div','','',1,1,1,1,NULL ,'visibility:hidden','','div','wfs.php','../extensions/wz_jsgraphics.js,geometry.js','mapframe1,overview','','');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui2', 'wfs', 'displayWfsResultList', '1', '' ,'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('gui2','wfs_conf',2,1,'get all wfs_conf-params','','iframe','../php/mod_wfs.php','frameborder = "0"',1,1,1,1,NULL ,'visibility:hidden','','iframe','','','','','');
+
+-- element vars for tooltip
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_destinationFrame', '', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_noResultArray', '["Kein Ergebnis.","<body onLoad=\"javascript:window.close()\">"]', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_styles', '.list_even{font-size:11px;color:red;}.list_uneven{font-size:11px;color:blue;}', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_styles_detail', '.list_even{font-size:11px;color:green;}.list_uneven{font-size:11px;color:blue;}', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_timeDelay', '1000', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'wfs_conf_filename', 'wfs_default.conf', '', 'php_var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_width', '270', '', 'var');
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES ('gui2', 'tooltip', 'tooltip_height', '200', '', 'var');
\ No newline at end of file



More information about the Mapbender_commits mailing list