X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Ffonction.emploi.inc.php;h=ee67115f1d90c9bb6527d7ecce58faa8ad7e87ae;hb=493b6abebf3d6c35691f66fd1bfdc063efaab576;hp=82c172ee06bf232873e6f81c2321b014878c5f7b;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/include/fonction.emploi.inc.php b/include/fonction.emploi.inc.php index 82c172e..ee67115 100644 --- a/include/fonction.emploi.inc.php +++ b/include/fonction.emploi.inc.php @@ -1,6 +1,6 @@  \n"; - $res = $globals->xdb->iterRow("SELECT id, fonction_fr, FIND_IN_SET('titre', flags) from fonctions_def ORDER BY id"); + $res = 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"; @@ -38,4 +37,5 @@ function _select_fonction_smarty($params){ } $page->register_function('select_fonction', '_select_fonction_smarty'); +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>