1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 12:33:29 +01:00

[ticket/12265] Fix modulo logic.

PHPBB3-12265
This commit is contained in:
Cesar G 2014-04-12 03:44:05 -07:00
parent 89532ebbbe
commit ed45981a50
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>