<h4>Fiches liées</h4> <ul class="etatcivil"> <?php $fiches = $data->linked_people(); foreach ($fiches as $identifiant => $fiche) { $ficheLiee = new contact($identifiant); ?> <li class="lien fiche-liee-<?php echo $ficheLiee->get('id'); ?> "><a href="<?php Core::goPage('contact', array('contact' => $ficheLiee->get('id'))); ?> "><?php echo $ficheLiee->display_name(); ?> </a> <a href="#" class="retraitLiaison nostyle" data-fiche="<?php echo $ficheLiee->get('id'); ?> "><small></small></a></li> <?php } ?> <li class="ajout ajouterLien">Ajouter une nouvelle fiche liée</li> </ul> </section> <section class="contenu demi"> <button class="deleting long supprimerFiche" style="margin: .25em auto .15em;">Suppression de la fiche</button> </section>