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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Feb 24 08:45:26 EST 2010


Author: kmq
Date: 2010-02-24 08:45:23 -0500 (Wed, 24 Feb 2010)
New Revision: 5630

Modified:
   trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6.1_to_2.7rc1_pgsql_UTF-8.sql
Log:
add resultList_Popup to keep old functionality

Modified: trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6.1_to_2.7rc1_pgsql_UTF-8.sql
===================================================================
--- trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6.1_to_2.7rc1_pgsql_UTF-8.sql	2010-02-24 13:09:25 UTC (rev 5629)
+++ trunk/mapbender/resources/db/pgsql/UTF-8/update/update_2.6.1_to_2.7rc1_pgsql_UTF-8.sql	2010-02-24 13:45:23 UTC (rev 5630)
@@ -1279,6 +1279,13 @@
 gui_element.fkey_gui_id
 NOT IN (SELECT fkey_gui_id FROM gui_element WHERE e_id = 'jq_ui_draggable');
 
+
+
+
+
+
+
+
 INSERT INTO translations (locale, msgid, msgstr ) VALUES ('de', 'Add GeoRSS', 'GeoRSS hinzufügen');
 
 -- remove deprecated attributes of gui element addWMS
@@ -1299,5 +1306,16 @@
 gui_element.fkey_gui_id
 NOT IN (SELECT fkey_gui_id FROM gui_element_vars WHERE fkey_e_id = 'body' AND var_name = 'jq_datatables_css');
 
+-- add resultList_Popup to all resultLists to keep old functionality
+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) 
+	SELECT fkey_gui_id,'resultlist_Popup',2,1,'Popup For resultList','','div','','',
+	NULL ,NULL ,NULL ,NULL ,NULL ,'','','','../plugins/mb_resultList_DetailPopup.js', '', 'resultList','', 'http://www.mapbender.org/ResultList' 
+
+	FROM gui_element WHERE 
+		(	gui_element.e_id = 'resultList' AND
+  			gui_element.fkey_gui_id NOT IN ( SELECT fkey_gui_id FROM gui_element WHERE e_id = 'resultList_Popup')
+		)	
+
 -- deactivate slippy map by default
-INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) SELECT DISTINCT fkey_gui_id, 'mapframe1' AS fkey_e_id, 'slippy' AS var_name, '0' AS var_value, '1 = Activates an animated, pseudo slippy map' AS context, 'var' AS var_type FROM gui_element WHERE e_id = 'mapframe1' AND fkey_gui_id NOT IN (SELECT fkey_gui_id FROM gui_element_vars WHERE var_name = 'slippy');
\ No newline at end of file
+INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) SELECT DISTINCT fkey_gui_id, 'mapframe1' AS fkey_e_id, 'slippy' AS var_name, '0' AS var_value, '1 = Activates an animated, pseudo slippy map' AS context, 'var' AS var_type FROM gui_element WHERE e_id = 'mapframe1' AND fkey_gui_id NOT IN (SELECT fkey_gui_id FROM gui_element_vars WHERE var_name = 'slippy');



More information about the Mapbender_commits mailing list