prevent automatic geocoding when upgrading an old db, RT#15539
[freeside.git] / httemplate / pref / pref.html
index c7083e9..947ddcc 100644 (file)
@@ -30,6 +30,20 @@ Change password (leave blank for no change)
 Interface
 <% ntable("#cccccc",2) %>
 
 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>
   <TR>
     <TH ALIGN="right">Menu location: </TH>
     <TD>
@@ -39,6 +53,14 @@ Interface
     <TD><IMG NAME="menu_example" SRC="../images/menu-<% $menu_position %>-example.png"></TD>
   </TR>
 
     <TD><IMG NAME="menu_example" SRC="../images/menu-<% $menu_position %>-example.png"></TD>
   </TR>
 
+  <TR>
+    <TH ALIGN="right">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">Default customer view: </TH>
     <TD COLSPAN=2>
   <TR>
     <TH ALIGN="right">Default customer view: </TH>
     <TD COLSPAN=2>
@@ -53,7 +75,7 @@ Interface
       </SELECT>
     </TD>
   </TR>
       </SELECT>
     </TD>
   </TR>
-  
   <TR>
     <TH ALIGN="right" COLSPAN=1>Disable HTML editor for customer notes: </TH>
     <TD ALIGN="left" COLSPAN=2>
   <TR>
     <TH ALIGN="right" COLSPAN=1>Disable HTML editor for customer notes: </TH>
     <TD ALIGN="left" COLSPAN=2>
@@ -106,6 +128,10 @@ Development
     <TH>Save database profiling logs (when available): </TH>
     <TD><INPUT TYPE="checkbox" NAME="save_db_profile" VALUE="1" <% $curuser->option('save_db_profile') ? 'CHECKED' : '' %>></TD>
   </TR>
     <TH>Save database profiling logs (when available): </TH>
     <TD><INPUT TYPE="checkbox" NAME="save_db_profile" VALUE="1" <% $curuser->option('save_db_profile') ? 'CHECKED' : '' %>></TD>
   </TR>
+  <TR>
+    <TH>Save temporary invoice typesetting files: </TH>
+    <TD><INPUT TYPE="checkbox" NAME="save_tmp_typesetting" VALUE="1" <% $curuser->option('save_tmp_typesetting') ? 'CHECKED' : '' %>></TD>
+  </TR>
 
 </TABLE>
 <BR>
 
 </TABLE>
 <BR>