From 4668b1090c1621f2ee7269ffb07666a07751bca0 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 27 Nov 2002 22:57:51 +0000 Subject: [PATCH] More fixes git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3121 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/docs/CHANGELOG.html | 10 ++++++++++ phpBB/modcp.php | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 5c5583f7fc..6f032257d5 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -94,6 +94,16 @@ h3 {font-size:12pt;color:blue}
  • Fixed session not setting userdata['user_id'] to ANON as appropriate
  • Added check for non-empty name in disallow admin
  • Fixed validation of SSL website addresses in profile
  • +
  • Fixed inability of admins to upload avatars via user admin panel
  • +
  • Fixed non-deletion of private message text upon full box overwrite
  • +
  • Fixed incorrect error message in smiley admin
  • +
  • Fixed incorrect alt-text for "Stop Watching Topic" image
  • +
  • Temporary fix for missing lang strings in forum admin - translators should update their packages if not done already
  • +
  • Use selected localisation during later stages of installation
  • +
  • Fixed non-check of permissions when deleting a topic via Moderator Control Panel
  • +
  • Fixed non-update of banlist upon user deletion
  • +
  • Check approved users boxes by default in usergroup approve form
  • +
  • diff --git a/phpBB/modcp.php b/phpBB/modcp.php index e9d98e5f42..1dde498038 100644 --- a/phpBB/modcp.php +++ b/phpBB/modcp.php @@ -8,7 +8,6 @@ * * $Id$ * - * ***************************************************************************/ /*************************************************************************** @@ -196,6 +195,11 @@ if ( !$is_auth['auth_mod'] ) switch( $mode ) { case 'delete': + if (!$is_auth['auth_delete']) + { + message_die(MESSAGE, sprintf($lang['Sorry_auth_delete'], $is_auth['auth_delete_type'])); + } + $page_title = $lang['Mod_CP']; include($phpbb_root_path . 'includes/page_header.'.$phpEx);