From 9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 4 May 2006 06:54:43 +0000 Subject: [PATCH] - fixed ul/li margin - fixed [code=php] tag (tags got mangled on edit) - fixed a tiny issue within the ban function git-svn-id: file:///svn/phpbb/trunk@5875 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 2 +- phpBB/includes/functions_user.php | 2 +- phpBB/includes/message_parser.php | 2 +- phpBB/includes/session.php | 2 +- phpBB/styles/subSilver/theme/stylesheet.css | 4 ++++ 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4ccdc1b3ec..d4be3ec65e 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1647,7 +1647,7 @@ function decode_message(&$message, $bbcode_uid = '') '#<.*?>#s' ); - $replace = array('\1', '\1', '\1', '\1', '\1', '', '<\1>'); + $replace = array('\1', '\1', '\1', '\1', '\1', '', ''); $message = preg_replace($match, $replace, $message); diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 6ac71e86db..b722549720 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -577,7 +577,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas switch ($mode) { case 'user': - $sql_where = 'WHERE session_user_id IN (' . implode(', ', $banlist_ary) . ')'; + $sql_where = (in_array('*', $banlist_ary)) ? '' : 'WHERE session_user_id IN (' . implode(', ', $banlist_ary) . ')'; break; case 'ip': diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index d05dd1e48f..ddb783e4b7 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -288,7 +288,7 @@ class bbcode_firstpass extends bbcode '#