Ajouter une condition pour afficher l'erreur dans la vue
This commit is contained in:
parent
c3c966a518
commit
54b5952899
@ -1,5 +1,15 @@
|
|||||||
<div id="center">
|
<div id="center">
|
||||||
<h1><?=$this->translate("LISTE DES ÉTABLISSEMENTS")?></h1>
|
<h1><?=$this->translate("LISTE DES É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">
|
<div class="paragraph">
|
||||||
<table class="identite">
|
<table class="identite">
|
||||||
<tr>
|
<tr>
|
||||||
@ -131,7 +141,7 @@
|
|||||||
<?php }?>
|
<?php }?>
|
||||||
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
<?php }?>
|
||||||
<?php if ( empty($this->AutrePage) ) {?>
|
<?php if ( empty($this->AutrePage) ) {?>
|
||||||
<?=$this->render('cgu.phtml', $this->cgu)?>
|
<?=$this->render('cgu.phtml', $this->cgu)?>
|
||||||
<?php }?>
|
<?php }?>
|
||||||
|
Loading…
Reference in New Issue
Block a user