diff --git a/phpBB/styles/prosilver/template/mcp_notes_user.html b/phpBB/styles/prosilver/template/mcp_notes_user.html index 83c3485356..98f56cbb60 100644 --- a/phpBB/styles/prosilver/template/mcp_notes_user.html +++ b/phpBB/styles/prosilver/template/mcp_notes_user.html @@ -17,7 +17,7 @@
{L_RANK}{L_COLON}
{RANK_TITLE}
-
 {L_RANK}{L_COLON}
{RANK_IMG}
+ {% if RANK_IMG %}
{% if RANK_TITLE %} {% else %}{{ lang('RANK') ~ lang('COLON') }}{% endif %}
{{ RANK_IMG }}
{% endif %}
{L_JOINED}{L_COLON}
{JOINED}
{L_TOTAL_POSTS}{L_COLON}
{POSTS}
{L_WARNINGS}{L_COLON}
{WARNINGS}
diff --git a/phpBB/styles/prosilver/template/mcp_warn_post.html b/phpBB/styles/prosilver/template/mcp_warn_post.html index 0e37e6bd9a..231a80fcc0 100644 --- a/phpBB/styles/prosilver/template/mcp_warn_post.html +++ b/phpBB/styles/prosilver/template/mcp_warn_post.html @@ -17,7 +17,7 @@
{L_RANK}{L_COLON}
{RANK_TITLE}
-
 {L_RANK}{L_COLON}
{RANK_IMG}
+ {% if RANK_IMG %}
{% if RANK_TITLE %} {% else %}{{ lang('RANK') ~ lang('COLON') }}{% endif %}
{{ RANK_IMG }}
{% endif %}
{L_JOINED}{L_COLON}
{JOINED}
{L_TOTAL_POSTS}{L_COLON}
{POSTS}
{L_WARNINGS}{L_COLON}
{WARNINGS}
diff --git a/phpBB/styles/prosilver/template/mcp_warn_user.html b/phpBB/styles/prosilver/template/mcp_warn_user.html index b1c24c18e9..64a940de7e 100644 --- a/phpBB/styles/prosilver/template/mcp_warn_user.html +++ b/phpBB/styles/prosilver/template/mcp_warn_user.html @@ -17,7 +17,7 @@
{L_RANK}{L_COLON}
{RANK_TITLE}
-
 {L_RANK}{L_COLON}
{RANK_IMG}
+ {% if RANK_IMG %}
{% if RANK_TITLE %} {% else %}{{ lang('RANK') ~ lang('COLON') }}{% endif %}
{{ RANK_IMG }}
{% endif %}
{L_JOINED}{L_COLON}
{JOINED}
{L_TOTAL_POSTS}{L_COLON}
{POSTS}
{L_WARNINGS}{L_COLON}
{WARNINGS}
diff --git a/phpBB/styles/prosilver/template/memberlist_body.html b/phpBB/styles/prosilver/template/memberlist_body.html index 402917befe..a91b9d89a2 100644 --- a/phpBB/styles/prosilver/template/memberlist_body.html +++ b/phpBB/styles/prosilver/template/memberlist_body.html @@ -28,7 +28,7 @@

{AVATAR_HTML} {% EVENT memberlist_body_group_rank_before %} - {% if RANK_IMG %}{{ RANK_IMG }}{% endif %} + {% if RANK_IMG %}{{ RANK_IMG }}{% endif %} {% if GROUP_RANK %} {% if not RANK_IMG %} {{ lang('GROUP_RANK') ~ lang('COLON') }} diff --git a/phpBB/styles/prosilver/template/memberlist_view.html b/phpBB/styles/prosilver/template/memberlist_view.html index c5d2794ce4..92410e9c04 100644 --- a/phpBB/styles/prosilver/template/memberlist_view.html +++ b/phpBB/styles/prosilver/template/memberlist_view.html @@ -12,8 +12,7 @@

{AVATAR_HTML}
-
{RANK_TITLE}
-
{RANK_IMG}
+
{RANK_TITLE}
@@ -32,7 +31,7 @@
{L_RANK}{L_COLON}
{RANK_TITLE}
-
 {L_RANK}{L_COLON}
{RANK_IMG}
+ {% if RANK_IMG %}
{% if RANK_TITLE %} {% else %}{{ lang('RANK') ~ lang('COLON') }}{% endif %}
{{ RANK_IMG }}
{% endif %}
{L_USER_IS_INACTIVE}{L_COLON}
{USER_INACTIVE_REASON}
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html index dd17292382..adf8f3e0f3 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html @@ -41,7 +41,7 @@ -
{RANK_TITLE}
{RANK_IMG}
+ {% if RANK_IMG or RANK_TITLE %}
{{ RANK_TITLE }}{% if RANK_IMG and RANK_TITLE %}
{% endif %}{{ RANK_IMG }}
{% endif %}
{L_POSTS}{L_COLON} {AUTHOR_POSTS}{AUTHOR_POSTS}
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 526f0bcd5b..7fba365010 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -154,7 +154,7 @@ -
{postrow.RANK_TITLE}
{postrow.RANK_IMG}
+ {% if postrow.RANK_IMG or postrow.RANK_TITLE %}
{{ postrow.RANK_TITLE }}{% if postrow.RANK_IMG and postrow.RANK_TITLE %}
{% endif %}{{ postrow.RANK_IMG }}
{% endif %}
{L_POSTS}{L_COLON} {postrow.POSTER_POSTS}
diff --git a/phpBB/styles/prosilver/theme/content.css b/phpBB/styles/prosilver/theme/content.css index 7d732d288e..338016ac2c 100644 --- a/phpBB/styles/prosilver/theme/content.css +++ b/phpBB/styles/prosilver/theme/content.css @@ -833,6 +833,10 @@ dd.profile-contact { } /* Profile used on view-profile */ +.profile-avatar { + text-align: center; +} + .profile-avatar img { max-width: 100%; }