[Mapbender-commits] r3557 - branches/print_dev/resources/db/update

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Feb 17 09:58:46 EST 2009


Author: mschulz
Date: 2009-02-17 09:58:46 -0500 (Tue, 17 Feb 2009)
New Revision: 3557

Added:
   branches/print_dev/resources/db/update/update_gui2_print.sql
Log:
gui element sql for print div module in gui2

Added: branches/print_dev/resources/db/update/update_gui2_print.sql
===================================================================
--- branches/print_dev/resources/db/update/update_gui2_print.sql	                        (rev 0)
+++ branches/print_dev/resources/db/update/update_gui2_print.sql	2009-02-17 14:58:46 UTC (rev 3557)
@@ -0,0 +1,23 @@
+--replace old with new template print module
+
+DELETE FROM gui_element WHERE fkey_gui_id = 'gui2' AND e_id = 'printPDF';
+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','printPDF',2,1,'pdf print','Print','div','','',1,1,2,2,5,'','<div id="printPDF_working_bg"></div>
+<div id="printPDF_working">
+<img src="../img/indicator_wheel.gif" style="padding:10px 0 0 10px">
+Generating PDF
+</div>
+<div id="printPDF_input">
+<form id="printPDF_form" action="../print/printFactory.php">
+<div class="print_option">
+<input type="hidden" id="map_url" name="map_url" value=""/>
+<input type="hidden" id="overview_url" name="overview_url" value=""/><br />
+</div>
+<div class="print_option" id="printPDF_formsubmit">
+<input id="submit" type="submit" value="Print"><br />
+</div>
+</form>
+<div id="printPDF_result">
+</div>
+</div>','div','../print/mod_printPDF_div.php','','mapframe1','','http://www.mapbender.org/index.php/Print');
+DELETE FROM gui_element_vars WHERE fkey_gui_id = 'gui2' AND fkey_e_id = 'printPDF';
+INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('gui2', 'printPDF', 'css_file', '../css/print.css', '' ,'file/css');
\ No newline at end of file



More information about the Mapbender_commits mailing list