mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 06:18:52 +00: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:
parent
ce5f81049e
commit
326197f7f0
1 changed files with 1 additions and 1 deletions
|
@ -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>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue