Fix: sort dropdown list of countries and currencies after the translation of label

This commit is contained in:
Regis Houssin 2011-03-10 12:10:45 +00:00
parent 7a5d789282
commit 52f0efad3f

View File

@ -237,7 +237,6 @@ class Form
* @param selected Id or Code or Label of preselected country * @param selected Id or Code or Label of preselected country
* @param htmlname Name of html select object * @param htmlname Name of html select object
* @param htmloption Options html on select object * @param htmloption Options html on select object
* TODO trier liste sur noms apres traduction plutot que avant
*/ */
function select_pays($selected='',$htmlname='pays_id',$htmloption='') function select_pays($selected='',$htmlname='pays_id',$htmloption='')
{ {
@ -249,7 +248,6 @@ class Form
* @param selected Id or Code or Label of preselected country * @param selected Id or Code or Label of preselected country
* @param htmlname Name of html select object * @param htmlname Name of html select object
* @param htmloption Options html on select object * @param htmloption Options html on select object
* TODO trier liste sur noms apres traduction plutot que avant
*/ */
function select_country($selected='',$htmlname='pays_id',$htmloption='') function select_country($selected='',$htmlname='pays_id',$htmloption='')
{ {