X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.select_db_table.php;h=85f86331c4867161e9f800bf42190b4cb0ab579e;hb=ca476935c2eed1151b14a783f2ca404218ebfae4;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..85f8633 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 +70,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: ?>