[Mapbender-commits] r1652 - trunk/mapbender/http/frames

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


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

Modified:
   trunk/mapbender/http/frames/index.php
Log:
new column e_title in gui_element

Modified: trunk/mapbender/http/frames/index.php
===================================================================
--- trunk/mapbender/http/frames/index.php	2007-08-09 15:07:35 UTC (rev 1651)
+++ trunk/mapbender/http/frames/index.php	2007-08-10 09:09:21 UTC (rev 1652)
@@ -103,9 +103,9 @@
 ?>
 </head>
 <?php
-$sql = "SELECT fkey_gui_id,e_id,e_pos,e_public,e_comment,e_element,";
+$sql = "SELECT fkey_gui_id,e_id,e_pos,e_public,e_comment,gettext($1, e_title) as e_title, e_element,";
 $sql .= "e_src,e_attributes,e_left,e_top,e_width,e_height,e_z_index,e_more_styles,";
-$sql .= "e_content,e_closetag,e_js_file,e_mb_mod,e_target,e_requires,e_url,gettext($1, e_title) as e_title FROM gui_element WHERE e_public = 1 AND fkey_gui_id = $2 ORDER BY e_pos";
+$sql .= "e_content,e_closetag,e_js_file,e_mb_mod,e_target,e_requires,e_url FROM gui_element WHERE e_public = 1 AND fkey_gui_id = $2 ORDER BY e_pos";
 $v = array($_SESSION["mb_lang"], $_REQUEST["gui_id"]);
 $t = array('s', 's');
 $res = db_prep_query($sql,$v,$t);



More information about the Mapbender_commits mailing list