<div id="center"> <a class="dialogsurv" href="<?=$this->url(array( 'controller' => 'surveillance', 'action' => 'ajouter', 'source' => $this->dialogSource, 'siret' => $this->siret, ))?>" title="<?=$this->dialogTitre?> <?=$this->dialogSource?>"> <?=$this->dialogTexte?> </a> <?php $cSource = 0; foreach ($this->surveillances as $item) { $cSource++; ?> <u tooltip="<?=$item['tooltipTexte']?>"><?=$item['sourceTexte']?></u> <?php if ($cSource<count($this->surveillances)) { ?>, <?php } ?> <?php } if (!empty($this->ref)) {?> (<?=$this->ref?>) <?php }?> </div>