i18n, RT#12515
[freeside.git] / httemplate / pref / pref.html
index 5cd75e2..da8b428 100644 (file)
@@ -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>
@@ -40,7 +54,7 @@ Interface
   </TR>
 
   <TR>
-    <TH ALIGN="right">Default customer view: </TD>
+    <TH ALIGN="right">Default customer view: </TH>
     <TD COLSPAN=2>
       <SELECT NAME="default_customer_view">
 %       foreach my $view ( keys %customer_views ) {
@@ -53,6 +67,13 @@ Interface
       </SELECT>
     </TD>
   </TR>
+  
+  <TR>
+    <TH ALIGN="right" COLSPAN=1>Disable HTML editor for customer notes: </TH>
+    <TD ALIGN="left" COLSPAN=2>
+      <INPUT TYPE="checkbox" NAME="disable_html_editor" VALUE="1" <% $curuser->option('disable_html_editor') ? 'CHECKED' : '' %>>
+    </TD>
+  </TR>
 
 </TABLE>
 <BR>
@@ -76,6 +97,10 @@ Development
 <% ntable("#cccccc",2) %>
 
   <TR>
+    <TH>Show customer package timestamps: </TH>
+    <TD><INPUT TYPE="checkbox" NAME="cust_pkg-display_times" VALUE="1" <% $curuser->option('cust_pkg-display_times') ? 'CHECKED' : '' %>></TD>
+  </TR>
+  <TR>
     <TH>Show internal package numbers: </TH>
     <TD><INPUT TYPE="checkbox" NAME="show_pkgnum" VALUE="1" <% $curuser->option('show_pkgnum') ? 'CHECKED' : '' %>></TD>
   </TR>
@@ -84,6 +109,10 @@ Development
     <TD><INPUT TYPE="checkbox" NAME="show_confitem_counts" VALUE="1" <% $curuser->option('show_confitem_counts') ? 'CHECKED' : '' %>></TD>
   </TR>
   <TR>
+    <TH>Show export data on service view (when available): </TH>
+    <TD><INPUT TYPE="checkbox" NAME="export_getsettings" VALUE="1" <% $curuser->option('export_getsettings') ? 'CHECKED' : '' %>></TD>
+  </TR>
+  <TR>
     <TH>Show database profiling (when available): </TH>
     <TD><INPUT TYPE="checkbox" NAME="show_db_profile" VALUE="1" <% $curuser->option('show_db_profile') ? 'CHECKED' : '' %>></TD>
   </TR>