[Mapbender-commits] r5961 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Apr 15 10:18:41 EDT 2010
Author: christoph
Date: 2010-04-15 10:18:41 -0400 (Thu, 15 Apr 2010)
New Revision: 5961
Modified:
trunk/mapbender/http/javascripts/mod_legend.php
Log:
width and height are no longer used!
Modified: trunk/mapbender/http/javascripts/mod_legend.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_legend.php 2010-04-15 14:17:27 UTC (rev 5960)
+++ trunk/mapbender/http/javascripts/mod_legend.php 2010-04-15 14:18:41 UTC (rev 5961)
@@ -18,6 +18,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
$e_id = "legend";
+$e_id_css = "legend";
require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
@@ -33,7 +34,6 @@
<title>Legend</title>
<?php
include '../include/dyn_css.php';
-
$sql = "SELECT DISTINCT e_target, e_width, e_height FROM gui_element WHERE e_id = $1 AND fkey_gui_id = $2";
$v = array($e_id, $gui_id);
$t = array('s', 's');
@@ -55,8 +55,8 @@
echo "var mod_legend_target = '".$e_target."';\n";
echo "var mod_legend_target_left = ".db_result($res2,0,"e_left").";\n";
echo "var mod_legend_target_top = ".db_result($res2,0,"e_top").";\n";
-echo "var mod_legend_target_width = ".db_result($res2,0,"e_width").";\n";
-echo "var mod_legend_target_height = ".db_result($res2,0,"e_height").";\n";
+//echo "var mod_legend_target_width = ".db_result($res2,0,"e_width").";\n";
+//echo "var mod_legend_target_height = ".db_result($res2,0,"e_height").";\n";
echo "</script>\n";
?>
More information about the Mapbender_commits
mailing list