diff --git a/phpBB/styles/prosilver/template/mcp_notes_user.html b/phpBB/styles/prosilver/template/mcp_notes_user.html index d576297736..42e13cc97b 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 2442e72f99..7aefc4836f 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 5490f752a7..b9a75b8e94 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_view.html b/phpBB/styles/prosilver/template/memberlist_view.html index bddf223bd6..d53e907206 100644 --- a/phpBB/styles/prosilver/template/memberlist_view.html +++ b/phpBB/styles/prosilver/template/memberlist_view.html @@ -13,7 +13,7 @@
{AVATAR_IMG}
{RANK_TITLE}
-
{RANK_IMG}
+ {% if RANK_IMG %}
{{ RANK_IMG }}
{% endif %}
@@ -32,7 +32,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 d159299061..97487e639d 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 7163a3c4c9..fa507b1852 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}