+ <FONT CLASS="fsinnerbox-title"><% emt('Change password (leave blank for no change)') %></FONT>
+ <TABLE CLASS="fsinnerbox">
+
+ <TR>
+ <TH ALIGN="right"><% emt("Current password:") %> </TH>
+ <TD><INPUT TYPE="password" NAME="_password"></TD>
+ </TR>
+
+ <TR>
+ <TH ALIGN="right"><% emt("New password:") %> </TH>
+ <TD><INPUT TYPE="password" NAME="new_password"></TD>
+ </TR>
+
+ <TR>
+ <TH ALIGN="right"><% emt("Re-enter new password:") %> </TH>
+ <TD><INPUT TYPE="password" NAME="new_password2"></TD>
+ </TR>
+
+ </TABLE>
+ <BR>
+
+% }
+
+<FONT CLASS="fsinnerbox-title"><% emt("Interface") %></FONT>
+<TABLE CLASS="fsinnerbox">
+
+ <TR>
+ <TH ALIGN="right"><% emt("Locale:") %> </TH>
+ <TD COLSPAN=2>
+ <SELECT NAME="locale">
+% foreach my $locale ( @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" STYLE="vertical-align:top"><% emt("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' : ''%>> <% emt("Left") %><BR>
+ <INPUT TYPE="radio" NAME="menu_position" VALUE="top" onClick="document.images['menu_example'].src='../images/menu-top-example.png';" <% $menu_position eq 'top' ? ' CHECKED' : ''%>> <% emt("Top") %> <BR>
+ </TD>
+ <TD><IMG NAME="menu_example" SRC="../images/menu-<% $menu_position %>-example.png"></TD>
+ </TR>
+
+ <TR>
+ <TH ALIGN="right"><% emt("Enable mobile-friendly menu:") %> </TH>
+ <TD COLSPAN=2>
+ <INPUT TYPE="checkbox" NAME="mobile_menu" VALUE="Y"
+<% $curuser->option('mobile_menu') ? 'CHECKED' : '' %>>
+ </TD>
+ </TR>
+
+ <TR>
+ <TH ALIGN="right"><% emt("Default customer view:") %> </TH>
+ <TD COLSPAN=2>
+ <SELECT NAME="default_customer_view">
+% foreach my $view ( keys %customer_views ) {
+% my $selected =
+% $customer_views{$view} eq $curuser->option('default_customer_view')
+% ? 'SELECTED'
+% : '';
+ <OPTION VALUE="<%$customer_views{$view}%>" <%$selected%>><% emt($view) %></OPTION>
+% }
+ </SELECT>
+ </TD>
+ </TR>