aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-04-12 03:44:05 -0700
committerCesar G <prototech91@gmail.com>2014-04-15 08:56:34 -0700
commited45981a50ccc3a5b2108b8abfb2dcf66a44dea8 (patch)
treeeffeb6da1b92ce5ad8463b81e17d1ffb504bd2af
parent89532ebbbe03245c186084780e49bdaf0b4a79ea (diff)
downloadforums-ed45981a50ccc3a5b2108b8abfb2dcf66a44dea8.tar
forums-ed45981a50ccc3a5b2108b8abfb2dcf66a44dea8.tar.gz
forums-ed45981a50ccc3a5b2108b8abfb2dcf66a44dea8.tar.bz2
forums-ed45981a50ccc3a5b2108b8abfb2dcf66a44dea8.tar.xz
forums-ed45981a50ccc3a5b2108b8abfb2dcf66a44dea8.zip
[ticket/12265] Fix modulo logic.
PHPBB3-12265
-rw-r--r--phpBB/styles/prosilver/template/ucp_pm_viewmessage.html2
-rw-r--r--phpBB/styles/prosilver/template/viewtopic_body.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
index 2b170bc45b..cf4364c9ff 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
@@ -60,7 +60,7 @@
<!-- BEGIN custom_fields -->
<!-- IF custom_fields.S_PROFILE_CONTACT -->
<!-- DEFINE $CNT = definition.CNT + 1 -->
- <!-- IF $CNT % 5 == 0 --><div><!-- ENDIF -->
+ <!-- IF $CNT % 4 == 1 --><div><!-- ENDIF -->
<a <!-- IF $CNT % 4 == 0 -->class="last-cell" <!-- ENDIF -->href="<!-- IF postrow.custom_fields.PROFILE_FIELD_CONTACT -->{custom_fields.PROFILE_FIELD_CONTACT}<!-- ELSE -->{U_POST_AUTHOR}<!-- ENDIF -->" title="{custom_fields.PROFILE_FIELD_NAME}">
<span class="contact-icon {custom_fields.PROFILE_FIELD_IDENT}-icon"></span>
</a>
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html
index cf66c5b34c..cfccafbe26 100644
--- a/phpBB/styles/prosilver/template/viewtopic_body.html
+++ b/phpBB/styles/prosilver/template/viewtopic_body.html
@@ -168,7 +168,7 @@
<!-- BEGIN custom_fields -->
<!-- IF postrow.custom_fields.S_PROFILE_CONTACT -->
<!-- DEFINE $CNT = definition.CNT + 1 -->
- <!-- IF $CNT % 5 == 0 --><div><!-- ENDIF -->
+ <!-- IF $CNT % 4 == 1 --><div><!-- ENDIF -->
<a <!-- IF $CNT % 4 == 0 -->class="last-cell" <!-- ENDIF -->href="<!-- IF postrow.custom_fields.PROFILE_FIELD_CONTACT -->{postrow.custom_fields.PROFILE_FIELD_CONTACT}<!-- ELSE -->{postrow.U_POST_AUTHOR}<!-- ENDIF -->" title="{postrow.custom_fields.PROFILE_FIELD_NAME}">
<span class="contact-icon {postrow.custom_fields.PROFILE_FIELD_IDENT}-icon"></span>
</a>