<?php if ($sf_user->getFlash('error') || $sf_user->getFlash('notice')): ?>
<div class="ui-widget">

<?php if ($sf_user->getFlash('error')): ?>
	<div class="ui-state-error ui-corner-all" style="padding: 0pt 0.7em;">
		<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: 0.3em;"></span>
		<?php echo $sf_user->getFlash('error') ?></p>
	</div>
<?php endif ?>
<?php if ($sf_user->getFlash('notice')): ?>
	<div class="ui-state-highlight ui-corner-all" style="padding: 0pt 0.7em; margin-top: 20px;">
		<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: 0.3em;"></span>
		<?php echo $sf_user->getFlash('notice') ?></p>
	</div>
<?php endif ?>
</div>
<?php endif ?>