\n";
$res = $globals->xdb->iterRow("SELECT id, fonction_fr, FIND_IN_SET('titre', flags) from fonctions_def ORDER BY id");
while(list($fid, $flabel, $ftitre) = $res->next()){
if($ftitre)
$html.= "\n";
else
$html .= "\n";
}
return $html;
}
function _select_fonction_smarty($params){
return select_fonction($params['fonction']);
}
$page->register_function('select_fonction', '_select_fonction_smarty');
?>