aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-04-12 03:55:44 -0700
committerCesar G <prototech91@gmail.com>2014-04-15 08:56:34 -0700
commit161b610a947f9de814aad228a2e62719c2096746 (patch)
treeec4024253463e2d9f6a1393271eba01530cc7e23 /phpBB
parented45981a50ccc3a5b2108b8abfb2dcf66a44dea8 (diff)
downloadforums-161b610a947f9de814aad228a2e62719c2096746.tar
forums-161b610a947f9de814aad228a2e62719c2096746.tar.gz
forums-161b610a947f9de814aad228a2e62719c2096746.tar.bz2
forums-161b610a947f9de814aad228a2e62719c2096746.tar.xz
forums-161b610a947f9de814aad228a2e62719c2096746.zip
[ticket/12265] Break the icons that aren't in loop in case extensions add more
PHPBB3-12265
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/styles/prosilver/template/ucp_pm_viewmessage.html6
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html6
2 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
index cf4364c9ff..35a9e41c92 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
@@ -47,15 +47,21 @@
<!-- EVENT ucp_pm_viewmessage_contact_fields_before -->
<!-- IF U_PM -->
<!-- DEFINE $CNT = definition.CNT + 1 -->
+ <!-- IF $CNT % 4 == 1 --><div><!-- ENDIF -->
<a <!-- IF $CNT % 4 == 0 -->class="last-cell" <!-- ENDIF -->href="{U_PM}" title="{L_PRIVATE_MESSAGE}"><span class="contact-icon pm-icon"></span></a>
+ <!-- IF $CNT % 4 == 0 --></div><!-- ENDIF -->
<!-- ENDIF -->
<!-- IF U_EMAIL -->
<!-- DEFINE $CNT = definition.CNT + 1 -->
+ <!-- IF $CNT % 4 == 1 --><div><!-- ENDIF -->
<a <!-- IF $CNT % 4 == 0 -->class="last-cell" <!-- ENDIF -->href="{U_EMAIL}" title="{L_SEND_EMAIL_USER} {POST_AUTHOR}"><span class="contact-icon email-icon"></span></a>
+ <!-- IF $CNT % 4 == 0 --></div><!-- ENDIF -->
<!-- ENDIF -->
<!-- IF U_JABBER -->
<!-- DEFINE $CNT = definition.CNT + 1 -->
+ <!-- IF $CNT % 4 == 1 --><div><!-- ENDIF -->
<a <!-- IF $CNT % 4 == 0 -->class="last-cell" <!-- ENDIF -->href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span class="contact-icon jabber-icon"></span></a>
+ <!-- IF $CNT % 4 == 0 --></div><!-- ENDIF -->
<!-- ENDIF -->
<!-- BEGIN custom_fields -->
<!-- IF custom_fields.S_PROFILE_CONTACT -->
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index cfccafbe26..efdf5e9993 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -155,15 +155,21 @@
<div>
<!-- IF postrow.U_PM -->
<!-- DEFINE $CNT = definition.CNT + 1 -->
+ <!-- IF $CNT % 4 == 1 --><div><!-- ENDIF -->
<a <!-- IF $CNT % 4 == 0 -->class="last-cell" <!-- ENDIF -->href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span class="contact-icon pm-icon"></span></a>
+ <!-- IF $CNT % 4 == 0 --></div><!-- ENDIF -->
<!-- ENDIF -->
<!-- IF postrow.U_EMAIL -->
<!-- DEFINE $CNT = definition.CNT + 1 -->
+ <!-- IF $CNT % 4 == 1 --><div><!-- ENDIF -->
<a <!-- IF $CNT % 4 == 0 -->class="last-cell" <!-- ENDIF -->href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span class="contact-icon email-icon"></span></a>
+ <!-- IF $CNT % 4 == 0 --></div><!-- ENDIF -->
<!-- ENDIF -->
<!-- IF postrow.U_JABBER -->
<!-- DEFINE $CNT = definition.CNT + 1 -->
+ <!-- IF $CNT % 4 == 1 --><div><!-- ENDIF -->
<a <!-- IF $CNT % 4 == 0 -->class="last-cell" <!-- ENDIF -->href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span class="contact-icon jabber-icon"></span></a>
+ <!-- IF $CNT % 4 == 0 --></div><!-- ENDIF -->
<!-- ENDIF -->
<!-- BEGIN custom_fields -->
<!-- IF postrow.custom_fields.S_PROFILE_CONTACT -->