mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-18 15:41:26 +02:00
Updated so admin link only displayed for admins
git-svn-id: file:///svn/phpbb/trunk@394 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
//
|
//
|
||||||
// Show the overall footer.
|
// Show the overall footer.
|
||||||
//
|
//
|
||||||
if($userdata['session_logged_in'])
|
if($userdata['user_level'] == ADMIN)
|
||||||
{
|
{
|
||||||
$admin_link = "<a href=\"admin/index.$phpEx\">Administration Panel</a>";
|
$admin_link = "<a href=\"admin/index.$phpEx\">Administration Panel</a>";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user