X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=5e722b04397321908780b947cd3f1094ca67891b;hb=ed98fabaf7bc3f2127ca33e465632312bd8815fc;hp=5cd75e26cee7348a38acfff9fba6f46eaa5104e4;hpb=6d43279ab6b571ad33d2d89d7403b72fdf5bc772;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 5cd75e26c..5e722b043 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -1,36 +1,52 @@ -<% include('/elements/header.html', 'Preferences for '. getotaker ) %> +<% include('/elements/header.html', 'Preferences for '. $FS::CurrentUser::CurrentUser->username ) %>
<% include('/elements/error.html') %> +% if ( FS::Auth->auth_class->can('change_password') ) { -Change password (leave blank for no change) -<% ntable("#cccccc",2) %> + <% mt('Change password (leave blank for no change)') |h %> + <% ntable("#cccccc",2) %> - - Current password: - - + + Current password: + + - - New password: - - + + New password: + + - - Re-enter new password: - - + + Re-enter new password: + + - -
+ +
+% } Interface <% ntable("#cccccc",2) %> + Locale: + + + + + + Menu location: > Left
@@ -40,7 +56,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' : '' %>> + + + + + How many recently-modified customers displayed on dashboard + + + + +
@@ -76,6 +173,10 @@ Development <% ntable("#cccccc",2) %> + Show customer package timestamps: + option('cust_pkg-display_times') ? 'CHECKED' : '' %>> + + Show internal package numbers: option('show_pkgnum') ? 'CHECKED' : '' %>> @@ -84,6 +185,10 @@ Development 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 +196,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 +250,7 @@ Vonage integration (see Click2Call
+% } % foreach my $prop (qw( height width availHeight availWidth colorDepth )) { @@ -172,7 +284,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;