[Mapbender-commits] r4208 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jun 25 06:47:38 EDT 2009


Author: vera
Date: 2009-06-25 06:47:37 -0400 (Thu, 25 Jun 2009)
New Revision: 4208

Modified:
   trunk/mapbender/http/javascripts/mod_export_image.php
Log:
session var angepasst

Modified: trunk/mapbender/http/javascripts/mod_export_image.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_export_image.php	2009-06-25 10:35:58 UTC (rev 4207)
+++ trunk/mapbender/http/javascripts/mod_export_image.php	2009-06-25 10:47:37 UTC (rev 4208)
@@ -52,13 +52,13 @@
 /**********************************/
 include(dirname(__FILE__)."/../../conf/print.conf");
 
-$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