Ajouter une condition pour afficher l'erreur dans la vue

This commit is contained in:
Jean Vladimir TWAHIRWA 2016-12-15 11:03:09 +01:00
parent c3c966a518
commit 54b5952899

View File

@ -1,5 +1,15 @@
<div id="center">
<h1><?=$this->translate("LISTE DES &Eacute;TABLISSEMENTS")?></h1>
<?php if ($this->msg) {?>
<div class="paragraph">
<div style="padding: 0 .7em;" class="ui-state-error ui-corner-all">
<p><span style="float: left; margin-right: .3em;" class="ui-icon ui-icon-alert"></span>
<strong>Alert:</strong> <?=$this->msg?></p>
</div>
</div>
<?php } else {?>
<div class="paragraph">
<table class="identite">
<tr>
@ -131,7 +141,7 @@
<?php }?>
<?php } ?>
<?php }?>
<?php if ( empty($this->AutrePage) ) {?>
<?=$this->render('cgu.phtml', $this->cgu)?>
<?php }?>