- default to en-US

This commit is contained in:
ccooper%deadsquid.com 2006-03-06 19:58:18 +00:00
parent 17acbe7a5a
commit 6ed7e8a8ae

View File

@ -1,6 +1,7 @@
<select id="[% name %]" name="[% name %]"[% IF size %] size="[% size %]"[% END %][% IF disabled %] disabled[% END %][% IF onChange %] onChange="[% onChange %]"[% END %]>
[% IF placeholder %]<option value="">-Locale-</option>[% END %]
[% IF locales %]
[% IF ! defaults.locale %][% defaults.locale = "en-US" %][% END %]
[% FOREACH locale=locales %]
<option[% IF defaults.locale==locale.abbrev %] selected[% END %]
value="[% locale.abbrev | html %]">[% locale.abbrev | html %]</option>