<?php /** * * * @package opencimetiere * @version SVN : $Id$ */ // include('../gen/sql/pgsql/defunt.inc.php'); // $ent = " -> "._($obj); if (isset($idx) && $idx != ']' && trim($idx) != '') { $ent .= "-> ".$idx." "; } if (isset($idz) && trim($idz) != '') { $ent .= " ".strtoupper($idz)." "; } // EDITION $tab_actions['left']['etat-defunt'] = array( 'lien' => "../pdf/pdfetat.php?idx=", 'id' => '&obj=defunt_historique', 'target' => "_blank", 'lib' => "<img src='../app/img/ico_concession_pdf.png' title=\""._("Historique defunt")."\"class='actionicon' />", 'ordre' => 110, ); // SELECT $champAffiche = array( 'defunt.defunt as "'._("defunt").'"', 'defunt.nom as "'._("nom").'"', 'defunt.marital as "'._("marital").'"', 'defunt.prenom as "'._("prenom").'"', 'to_char(defunt.datenaissance ,\'DD/MM/YYYY\') as "'._("datenaissance").'"', 'to_char(defunt.dateinhumation ,\'DD/MM/YYYY\') as "'._("dateinhumation").'"', 'defunt.nature as "'._("nature").'"', 'defunt.taille as "'._("taille").'"', 'defunt.verrou as "'._("verrou").'"', ); // $champRecherche = array( 'defunt.nom as "'._("nom").'"', 'defunt.prenom as "'._("prenom").'"', 'defunt.marital as "'._("marital").'"', ); $tri= " order by nom,prenom"; $selection = ""; if (isset($idx)) $selection=" where defunt.emplacement=".$idx; $options = array(); $options[] = array( "type" => "condition", "field" => "defunt.verrou", "case" => array( array( "values" => array("Oui", ), "style" => "radiation-encours", // "href" => array( 0 => array("lien" => "", "id" => "", "lib" => ""), 1 => array("lien" => "", "id" => "", "lib" => ""), 2 => array("lien" => "", "id" => "", "lib" => ""), ), // ), ), ); ?>