mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12265] Fix modulo logic.
PHPBB3-12265
This commit is contained in:
parent
89532ebbbe
commit
ed45981a50
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@
|
||||||
<!-- BEGIN custom_fields -->
|
<!-- BEGIN custom_fields -->
|
||||||
<!-- IF custom_fields.S_PROFILE_CONTACT -->
|
<!-- IF custom_fields.S_PROFILE_CONTACT -->
|
||||||
<!-- DEFINE $CNT = definition.CNT + 1 -->
|
<!-- 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}">
|
<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>
|
<span class="contact-icon {custom_fields.PROFILE_FIELD_IDENT}-icon"></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -168,7 +168,7 @@
|
||||||
<!-- BEGIN custom_fields -->
|
<!-- BEGIN custom_fields -->
|
||||||
<!-- IF postrow.custom_fields.S_PROFILE_CONTACT -->
|
<!-- IF postrow.custom_fields.S_PROFILE_CONTACT -->
|
||||||
<!-- DEFINE $CNT = definition.CNT + 1 -->
|
<!-- 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}">
|
<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>
|
<span class="contact-icon {postrow.custom_fields.PROFILE_FIELD_IDENT}-icon"></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue