phpbb template comment conditional
- by john
I see in PHPBB they use conditional statements inside their html, or xhtml, if you dont know what I mean here is a snippet:
<!-- IF MODERATORS -->
<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE
-->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
<!-- ENDIF -->
<!-- IF U_MCP -->
<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
<!-- ENDIF -->
Is there an explanation on how to implement this in my own site, as it would be very useful and clean up a lot of code.