[Mapbender-commits] r1653 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 10 05:09:40 EDT 2007


Author: christoph
Date: 2007-08-10 05:09:40 -0400 (Fri, 10 Aug 2007)
New Revision: 1653

Modified:
   trunk/mapbender/http/classes/class_gui.php
Log:
new column e_title in gui_element

Modified: trunk/mapbender/http/classes/class_gui.php
===================================================================
--- trunk/mapbender/http/classes/class_gui.php	2007-08-10 09:09:21 UTC (rev 1652)
+++ trunk/mapbender/http/classes/class_gui.php	2007-08-10 09:09:40 UTC (rev 1653)
@@ -183,7 +183,7 @@
 				$error = true;
 			}
 
-			$sql = "INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment, 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 '" . $newGuiName . "', e_id, e_pos, e_public, e_comment, 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 FROM gui_element WHERE fkey_gui_id = '" . $guiList . "';";
+			$sql = "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 '" . $newGuiName . "', 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 FROM gui_element WHERE fkey_gui_id = '" . $guiList . "';";
 			$res = db_query($sql);
 			if (!$res) {
 				$report .= "<br><br>" . $sql . "<br><br>" . db_error() . "<br>";



More information about the Mapbender_commits mailing list