change country to selectbox, to force use of the correct 2-digit iso-code

This commit is contained in:
Ralf Becker 2004-03-22 07:59:10 +00:00
parent 70ea5b9de7
commit 68fc63f2a6

View File

@ -273,7 +273,7 @@
$t->set_var($var); $t->set_var($var);
// Locale // Locale
$this->display_item($t,lang('Country'),'<input name="holiday[locale]" size="3" maxlength="2" value="'.$holiday[locale].'">'); $this->display_item($t,lang('Country'),$this->sb->form_select($holiday['locale'],'holiday[locale]'));
// Title/Name // Title/Name
$this->display_item($t,lang('title'),'<input name="holiday[name]" size="60" maxlength="50" value="'.$holiday['name'].'">'); $this->display_item($t,lang('title'),'<input name="holiday[name]" size="60" maxlength="50" value="'.$holiday['name'].'">');