Location: PHPKode > projects > Adroit > 1.2.1/adroit/templates/alerts.tpl
{if $alertHandler->alerts.$ALERT_TYPE_ERROR|@count > 0 }
<div id="alerts-error" class="alerts">
	<div>
		<ul>
		{foreach item=alert from=$alertHandler->alerts.$ALERT_TYPE_ERROR }
			<li><img src="{$WEB_ROOT}images/exclamation.png" align="absmiddle" /> {$alert->message}</li>
		{/foreach}
		</ul>
	</div>
</div>
{/if}

{if $alertHandler->alerts.$ALERT_TYPE_SUCCESS|@count > 0 }
<div id="alerts-success" class="alerts">
	<div>
		<ul>
		{foreach item=alert from=$alertHandler->alerts.$ALERT_TYPE_SUCCESS }
			<li><img src="{$WEB_ROOT}images/tick.png" align="absmiddle" /> {$alert->message}</li>
		{/foreach}
		</ul>
	</div>
</div>
{/if}
Return current item: Adroit