[Mapbender-commits] r3298 - branches/2.5/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Dec 11 11:25:09 EST 2008


Author: astrid_emde
Date: 2008-12-11 11:25:09 -0500 (Thu, 11 Dec 2008)
New Revision: 3298

Modified:
   branches/2.5/http/php/mb_listGUIs.php
Log:
Deleted the possibility to change the personal settings:
../php/mod_editSelf.php

This should be possible in defined GUIs but not at the start page in general

Modified: branches/2.5/http/php/mb_listGUIs.php
===================================================================
--- branches/2.5/http/php/mb_listGUIs.php	2008-12-11 08:59:49 UTC (rev 3297)
+++ branches/2.5/http/php/mb_listGUIs.php	2008-12-11 16:25:09 UTC (rev 3298)
@@ -36,9 +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" && $_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'>";
 		echo "<a href=\"../php/mod_logout.php?".SID."\"><img src =\"../img/button_gray/logout_off.png\" border='0' onmouseover='this.src=\"../img/button_gray/logout_over.png\"' onmouseout='this.src=\"../img/button_gray/logout_off.png\"' title=\"Logout\"></a>";
 		echo "</td></tr></table>";



More information about the Mapbender_commits mailing list