{if $messages}
	<ol>
		{foreach $messages as $counter=>$message}
			<li>
				<span class='message'>{$message['message']}</span>

				{if $message['field']}
					<span class='field'>{$message['field']}</span>
				{/if}
				{if $message['value']}
					<span class='value'>{$message['value']}</span>
				{/if}
			</li>
		{/foreach}

		{if count($messages)<$totalItems}
			<li class="message warning" >... {$absLang['reportErrors']['messageListTruncated']} ...</li>
			<li class="message warning" value="{$totalItems}">{$absLang['reportErrors']['messageListCount']|sprintf:$totalItems}</li>
		{/if}
	</ol>
{else}
	<div class="message info">{$absLang['reportErrors']['messageListEmpty']}</div>
{/if}
