summaryrefslogtreecommitdiff
path: root/httemplate/pref/pref.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/pref/pref.html')
-rw-r--r--httemplate/pref/pref.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html
index c7083e9d0..da8b42867 100644
--- a/httemplate/pref/pref.html
+++ b/httemplate/pref/pref.html
@@ -31,6 +31,20 @@ Interface
<% ntable("#cccccc",2) %>
<TR>
+ <TH ALIGN="right">Locale: </TH>
+ <TD>
+ <SELECT NAME="locale">
+% foreach my $locale ( FS::Locales->locales ) {
+% my %info = FS::Locales->locale_info($locale);
+% my $selected = ($locale eq $curuser->option('locale'))
+% ? 'SELECTED' : '';
+ <OPTION VALUE="<% $locale %>" <%$selected%>><% $info{name} %> (<% $info{country} %>)
+% }
+ </SELECT>
+ </TD>
+ </TR>
+
+ <TR>
<TH ALIGN="right">Menu location: </TH>
<TD>
<INPUT TYPE="radio" NAME="menu_position" VALUE="left" onClick="document.images['menu_example'].src='../images/menu-left-example.png';" <% $menu_position eq 'left' ? ' CHECKED' : ''%>> Left<BR>