svn commit: r375 - trunk/mapbender/http/php/mod_editElements.php

uli at osgeo.org uli at osgeo.org
Thu Jun 1 05:26:59 EDT 2006


Author: uli
Date: 2006-06-01 09:26:59+0000
New Revision: 375

Modified:
   trunk/mapbender/http/php/mod_editElements.php

Log:
name and password is required to show the selected gui in a new window

Modified: trunk/mapbender/http/php/mod_editElements.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_editElements.php?view=diff&rev=375&p1=trunk/mapbender/http/php/mod_editElements.php&p2=trunk/mapbender/http/php/mod_editElements.php&r1=374&r2=375
==============================================================================
--- trunk/mapbender/http/php/mod_editElements.php	(original)
+++ trunk/mapbender/http/php/mod_editElements.php	2006-06-01 09:26:59+0000
@@ -240,7 +240,7 @@
 if(isset($myShow) && $myShow == '1'){
    $_SESSION["mb_user_myGui"] = $guiList1;
    echo "<script language='javascript'>";
-   echo "window.open('../frames/login.php?".strip_tags (SID)."&mb_user_myGui=".$guiList1."','','');";
+   echo "window.open('../frames/login.php?".strip_tags (SID)."&name=".$_SESSION["mb_user_name"]."&password=".$_SESSION["mb_user_password"]."&mb_user_myGui=".$guiList1."','','');";
    echo "</script>";
 }
 if(isset($all) && $all == '1'){




More information about the Mapbender_commits mailing list