X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.select_db_table.php;h=eef9e1d64164fb61fdf91dc3d448410b833d5beb;hb=a7ca06c6ca08cf004a6904e46c2daa78ab4a40f5;hp=4bb641cc5242d2b729e26f9465f307ddd54fe368;hpb=8a7fab54e8236fbe382d382d13a9676bd555e89e;p=platal.git diff --git a/plugins/function.select_db_table.php b/plugins/function.select_db_table.php index 4bb641c..eef9e1d 100644 --- a/plugins/function.select_db_table.php +++ b/plugins/function.select_db_table.php @@ -1,6 +1,6 @@ '; } - $html .= ''; + $html .= ''; $optgrp = $my_grp; } - $html .= sprintf("\n", - $my_id, ($valeur==$my_id?$sel:""), $my_text); + $html .= sprintf("\n", + $my_id, $valeur==$my_id ? $sel : "", pl_entities($my_text)); } if (!is_null($optgrp)) { $html .= ''; @@ -72,4 +72,5 @@ function smarty_function_select_db_table($params, &$smarty) { $params['where'], $params['join'], $params['group']); } +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>