aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-04 06:54:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-04 06:54:43 +0000
commit9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc (patch)
tree174006c7645f2ef9da727d84da1541a620cd6923
parent9a0ad16272ccb461a5864b2a0cd8aa8f769ffdad (diff)
downloadforums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.tar
forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.tar.gz
forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.tar.bz2
forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.tar.xz
forums-9a9a9ff6f3d4442ca7e3d1270bf137006c5bcdfc.zip
- 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
-rw-r--r--phpBB/includes/functions.php2
-rw-r--r--phpBB/includes/functions_user.php2
-rw-r--r--phpBB/includes/message_parser.php2
-rw-r--r--phpBB/includes/session.php2
-rw-r--r--phpBB/styles/subSilver/theme/stylesheet.css4
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', '', '&lt;\1&gt;');
+ $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
'#<!\-\- s(.*?) \-\-><img src="\{SMILIES_PATH\}\/.*? \/><!\-\- s\1 \-\->#',
'#&\#([0-9]+);#',
);
- $htm_replace = array('\1', '\1', '\1', '\1', '\1', '&lt;\1&gt;', '&amp;#\1;');
+ $htm_replace = array('\1', '\1', '\1', '\1', '\1', '&amp;#\1;');
$out = '';
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index cf074bb0c5..6571ff1433 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -723,7 +723,7 @@ class session
*
* Checks whether the supplied user is banned by id, ip or email. If no parameters
* are passed to the method pre-existing session data is used. If $return is false
- * this routine does not return on finding a banned user , it outputs a relevant
+ * this routine does not return on finding a banned user, it outputs a relevant
* message and stops execution.
*/
function check_ban($user_id = false, $user_ip = false, $user_email = false, $return = false)
diff --git a/phpBB/styles/subSilver/theme/stylesheet.css b/phpBB/styles/subSilver/theme/stylesheet.css
index 1654b32de5..a88b0b77b2 100644
--- a/phpBB/styles/subSilver/theme/stylesheet.css
+++ b/phpBB/styles/subSilver/theme/stylesheet.css
@@ -35,6 +35,10 @@ body {
margin: 0;
}
+ul, li {
+ margin-left: 20px;
+}
+
#wrapheader {
height: 120px;
background-image: url('./images/background.gif');