X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fpref%2Fpref.html;h=f6ad36a0d3d91764fc502ad186bc8b5c577c7ef3;hb=deb45cd5e78b1d35548047b003d85c4f45dc48e3;hp=5cd75e26cee7348a38acfff9fba6f46eaa5104e4;hpb=6d43279ab6b571ad33d2d89d7403b72fdf5bc772;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 5cd75e26c..f6ad36a0d 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -5,7 +5,7 @@ <% include('/elements/error.html') %> -Change password (leave blank for no change) +<% mt('Change password (leave blank for no change)') |h %> <% ntable("#cccccc",2) %> @@ -30,6 +30,20 @@ Change password (leave blank for no change) Interface <% ntable("#cccccc",2) %> + + Locale: + + + + + Menu location: @@ -40,7 +54,15 @@ Interface - Default customer view: + Enable mobile-friendly menu: + + option('mobile_menu') ? 'CHECKED' : '' %>> + + + + + Default customer view: +% my $xls = $curuser->option('spreadsheet_format') eq 'XLS'; +% my $xlsx = $curuser->option('spreadsheet_format') eq 'XLSX'; + + + + + + + +% if ( FS::Conf->new->exists('enable_fuzzy_on_exact') ) { + + + +% } else { + + + Enable approximate customer searching
even when an exact match is found: + + option('enable_fuzzy_on_exact') ? 'CHECKED' : '' %>> + + + +% } + + + Disable HTML editor for customer notes: + + option('disable_html_editor') ? 'CHECKED' : '' %>> + + + + + Disable submission on [Enter] key - one-time charges: + + option('disable_enter_submit_onetimecharge') ? 'CHECKED' : '' %>> + + + + + Don't copy MAC address delimiters to clipboard + + option('enable_mask_clipboard_hack') ? 'CHECKED' : '' %>> + + + + + Scale documents to fit on a letter-size page + + option('printtofit') ? 'CHECKED' : '' %>> + + + + + <% emt('Hide notification of new ticket activity') %> + + option('hide_notify_tickets') ? 'CHECKED' : '' %>> + + + + + <% emt("How many recently-modified customers displayed on dashboard") %> + + + + + + + How many recent outbound emails to show in customer view + + + + +
@@ -75,6 +191,10 @@ Email Address Development <% ntable("#cccccc",2) %> + + Show customer package timestamps: + option('cust_pkg-display_times') ? 'CHECKED' : '' %>> + Show internal package numbers: option('show_pkgnum') ? 'CHECKED' : '' %>> @@ -83,6 +203,10 @@ Development Show config item counts: option('show_confitem_counts') ? 'CHECKED' : '' %>> + + Show export data on service view (when available): + option('export_getsettings') ? 'CHECKED' : '' %>> + Show database profiling (when available): option('show_db_profile') ? 'CHECKED' : '' %>> @@ -91,10 +215,16 @@ Development Save database profiling logs (when available): option('save_db_profile') ? 'CHECKED' : '' %>> + + Save temporary invoice typesetting files: + option('save_tmp_typesetting') ? 'CHECKED' : '' %>> +
+% if ( $curuser->access_right('Employee preference telephony integration') ) { + SNOM integration <% ntable("#cccccc",2) %> @@ -139,6 +269,7 @@ Vonage integration (see Click2Call
+% } % foreach my $prop (qw( height width availHeight availWidth colorDepth )) { @@ -172,7 +303,7 @@ $customer_views{'Jumbo'} = 'jumbo'; =~ /^(\w+)$/ or die "illegal menu_position"; my $menu_position = $1; ( $curuser->option('email_address') ) - =~ /^([,\w\@.]*)$/ or die "illegal email_address"; #too late + =~ /^([,\w\@.\-]*)$/ or die "illegal email_address"; #too late my $email_address = $1;