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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Mar 25 08:58:11 EDT 2010


Author: kmq
Date: 2010-03-25 08:58:10 -0400 (Thu, 25 Mar 2010)
New Revision: 5833

Modified:
   trunk/mapbender/http/javascripts/map.php
Log:
makde user id availabe on the client side

Modified: trunk/mapbender/http/javascripts/map.php
===================================================================
--- trunk/mapbender/http/javascripts/map.php	2010-03-25 10:33:10 UTC (rev 5832)
+++ trunk/mapbender/http/javascripts/map.php	2010-03-25 12:58:10 UTC (rev 5833)
@@ -38,6 +38,7 @@
 echo "Mapbender.sessionName = '".session_name()."';\n";
 echo "var mb_session_name = Mapbender.sessionName;\n";
 echo "Mapbender.loginUrl = '".Mapbender::session()->get("mb_login")."';\n";
+echo "Mapbender.userId = '".Mapbender::session()->get("mb_user_id")."';\n";
 echo "var mb_myLogin = Mapbender.loginUrl;\n";
 echo "var mb_styleID = '".md5(Mapbender::session()->get("mb_user_name"))."';\n";
 echo "var mb_myBBOX = '".Mapbender::session()->get("mb_myBBOX")."';\n";



More information about the Mapbender_commits mailing list