X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=5e722b04397321908780b947cd3f1094ca67891b;hb=ed98fabaf7bc3f2127ca33e465632312bd8815fc;hp=8e56355dbeb0c3afb5e353e3d226a6a7f40076c4;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 8e56355db..5e722b043 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -1,31 +1,33 @@ -<% 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) %> @@ -75,7 +77,52 @@ Interface - + +% my $history_order = $curuser->option('history_order') || 'oldest'; + + Customer history sort order: + + <& /elements/select.html, + field => 'history_order', + curr_value => $history_order, + options => [ 'oldest', 'newest' ], + labels => { 'oldest' => 'Oldest first', + 'newest' => 'Newest first', + }, + &> + + + + + Spreadsheet download format: + + + + + +% 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: @@ -90,6 +137,20 @@ Interface + + Don't copy MAC address delimiters to clipboard + + option('enable_mask_clipboard_hack') ? 'CHECKED' : '' %>> + + + + + How many recently-modified customers displayed on dashboard + + + + +
@@ -135,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) %> @@ -183,6 +250,7 @@ Vonage integration (see Click2Call
+% } % foreach my $prop (qw( height width availHeight availWidth colorDepth )) { @@ -216,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;