From cefeb7f752e59edc1c1a48f0e3563c2f090625b6 Mon Sep 17 00:00:00 2001 From: PayBas Date: Sun, 4 May 2014 22:07:03 +0200 Subject: [PATCH] [ticket/12488] Removed and removed anonymous check PHPBB3-12488 --- phpBB/styles/prosilver/template/viewtopic_body.html | 2 +- phpBB/styles/prosilver/theme/colours.css | 2 +- phpBB/styles/prosilver/theme/content.css | 3 +-- phpBB/viewtopic.php | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 01b98bbf8f..af4a44bfc8 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -129,7 +129,7 @@
{L_POSTS}{L_COLON} {postrow.POSTER_POSTS}
{L_JOINED}{L_COLON} {postrow.POSTER_JOINED}
-
{L_WARNINGS}{L_COLON} {postrow.POSTER_WARNINGS}
+
{L_WARNINGS}{L_COLON} {postrow.POSTER_WARNINGS}
diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css index d15d776b2a..f43dfcfcce 100644 --- a/phpBB/styles/prosilver/theme/colours.css +++ b/phpBB/styles/prosilver/theme/colours.css @@ -660,7 +660,7 @@ fieldset.polls dd div { background-image: url("./en/icon_user_online.gif"); } -dd.profile-warnings em { +dd.profile-warnings { color: #BC2A4D; } diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index f5a5650f87..1bc9100871 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -731,8 +731,7 @@ fieldset.polls dd div { height: auto !important; } -dd.profile-warnings em { - font-style: normal; +dd.profile-warnings { font-weight: bold; } diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 789d7a2a19..34eee8bfc5 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1641,7 +1641,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'POSTER_JOINED' => $user_cache[$poster_id]['joined'], 'POSTER_POSTS' => $user_cache[$poster_id]['posts'], 'POSTER_AVATAR' => $user_cache[$poster_id]['avatar'], - 'POSTER_WARNINGS' => ($auth->acl_get('m_warn') && $poster_id != ANONYMOUS) ? $user_cache[$poster_id]['warnings'] : '', + 'POSTER_WARNINGS' => $auth->acl_get('m_warn' ? $user_cache[$poster_id]['warnings'] : '', 'POSTER_AGE' => $user_cache[$poster_id]['age'], 'POST_DATE' => $user->format_date($row['post_time'], false, ($view == 'print') ? true : false),