X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.select_db_table.php;h=41d1bae72f9302200971180b9e95bb38d1bf0228;hb=47d7a24be4619466ce5936159d1efdf2eb25076b;hp=8bb048c8b8282e81a433955a4bce83bbf974016a;hpb=de4b22cce84e7196656040d89bf055c6dab6fe99;p=platal.git diff --git a/plugins/function.select_db_table.php b/plugins/function.select_db_table.php index 8bb048c..41d1bae 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 .= ''; @@ -71,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: ?>