[Mapbender-commits] r4230 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Jun 25 08:04:19 EDT 2009
Author: vera
Date: 2009-06-25 08:04:19 -0400 (Thu, 25 Jun 2009)
New Revision: 4230
Modified:
trunk/mapbender/http/javascripts/mod_print1.php
Log:
session var angepasst
Modified: trunk/mapbender/http/javascripts/mod_print1.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_print1.php 2009-06-25 12:02:50 UTC (rev 4229)
+++ trunk/mapbender/http/javascripts/mod_print1.php 2009-06-25 12:04:19 UTC (rev 4230)
@@ -51,13 +51,13 @@
$mb_module_id = "print1";
/**********************************/
-$sql = "SELECT * from gui_element WHERE fkey_gui_id = '".$_SESSION["mb_user_gui"]."' AND e_id = $1";
+$sql = "SELECT * from gui_element WHERE fkey_gui_id = '".Mapbender::session()->get("mb_user_gui")."' AND e_id = $1";
$v = array($mb_module_id);
$t = array('s');
$res = db_prep_query($sql, $v, $t);
echo "<script type='text/javascript'>";
-#echo "var mb_user_resolution = ".$_SESSION["mb_user_resolution"]." / 2.54;";
+#echo "var mb_user_resolution = ".Mapbender::session()->get("mb_user_resolution")." / 2.54;";
echo "var deformation = ".$deformation.";";
#echo "var DPC = 28.35 * deformation;";
echo "var DPC = 28.35;";
More information about the Mapbender_commits
mailing list