aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-05-04 22:07:03 +0200
committerPayBas <contact@paybas.com>2014-05-04 22:07:03 +0200
commitcefeb7f752e59edc1c1a48f0e3563c2f090625b6 (patch)
tree09460341a6fbc56e8d4d5387e38477159a6a0647 /phpBB
parent2c5a2a13902975183ccf43c949aa9bc943641f06 (diff)
downloadforums-cefeb7f752e59edc1c1a48f0e3563c2f090625b6.tar
forums-cefeb7f752e59edc1c1a48f0e3563c2f090625b6.tar.gz
forums-cefeb7f752e59edc1c1a48f0e3563c2f090625b6.tar.bz2
forums-cefeb7f752e59edc1c1a48f0e3563c2f090625b6.tar.xz
forums-cefeb7f752e59edc1c1a48f0e3563c2f090625b6.zip
[ticket/12488] Removed <em> and removed anonymous check
PHPBB3-12488
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html2
-rw-r--r--phpBB/styles/prosilver/theme/colours.css2
-rw-r--r--phpBB/styles/prosilver/theme/content.css3
-rw-r--r--phpBB/viewtopic.php2
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 @@
<!-- IF postrow.POSTER_POSTS != '' --><dd class="profile-posts"><strong>{L_POSTS}{L_COLON}</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
<!-- IF postrow.POSTER_JOINED --><dd class="profile-joined"><strong>{L_JOINED}{L_COLON}</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
- <!-- IF postrow.POSTER_WARNINGS --><dd class="profile-warnings"><strong>{L_WARNINGS}{L_COLON}</strong> <em>{postrow.POSTER_WARNINGS}</em></dd><!-- ENDIF -->
+ <!-- IF postrow.POSTER_WARNINGS --><dd class="profile-warnings"><strong>{L_WARNINGS}{L_COLON}</strong> {postrow.POSTER_WARNINGS}</dd><!-- ENDIF -->
<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
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),