mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-25 04:23:38 +01:00
[ticket/12265] Fix modulo logic.
PHPBB3-12265
This commit is contained in:
parent
89532ebbbe
commit
ed45981a50
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user