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),