php-mpos/public/templates/mpos/home/default.tpl
Sebastian Grewe bb55001db7 [ADDED] ACL to hide news post author
This will allow admins to hide the actual username/author from their newsposts.
Useful if you don't wish to give your admin account away or in case you
have no admin-only account.
2013-12-07 22:30:27 +01:00

10 lines
417 B
Smarty

{section name=news loop=$NEWS}
<article class="module width_full">
<header><h3>{$NEWS[news].header}, <font size=\"1px\">posted {$NEWS[news].time|date_format:"%b %e, %Y at %H:%M"}{if $HIDEAUTHOR|default:"0" == 0} by <b>{$NEWS[news].author}</b>{/if}</font></h3></header>
<div class="module_content">
{$NEWS[news].content}
<div class="clear"></div>
</div>
</article>
{/section}