[Mapbender-commits] r2493 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Jun 9 10:22:44 EDT 2008
Author: christoph
Date: 2008-06-09 10:22:44 -0400 (Mon, 09 Jun 2008)
New Revision: 2493
Modified:
trunk/mapbender/http/php/mb_listGUIs.php
Log:
edit user settings blocked for user "guest"
Modified: trunk/mapbender/http/php/mb_listGUIs.php
===================================================================
--- trunk/mapbender/http/php/mb_listGUIs.php 2008-06-09 14:21:36 UTC (rev 2492)
+++ trunk/mapbender/http/php/mb_listGUIs.php 2008-06-09 14:22:44 UTC (rev 2493)
@@ -36,7 +36,7 @@
}
$sql_list_guis .= ") ORDER BY gui_name";
$res_list_guis = db_prep_query($sql_list_guis,$v,$t);
- if ($_SESSION["mb_user_name"] != "test" && $_SESSION["mb_user_name"] != "demo") {
+ if ($_SESSION["mb_user_name"] != "test" && $_SESSION["mb_user_name"] != "demo" && $_SESSION["mb_user_name"] != "guest") {
echo "<a href=\"../php/mod_editSelf.php?".SID."\" class='list_guis' target=_blank>Change personal settings</a>";
}
echo "</td><td align = 'right'>";
More information about the Mapbender_commits
mailing list