X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=46291066cbfcb54379659cf30c638055732f903f;hp=7ded183777cfd129a77519d63d487b0fff2e4f2d;hb=9aee669886202be7035e6c6049fc71bc99dd3013;hpb=624b2d44625f69d71175c3348cae635d580c890b diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 7ded18377..46291066c 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 + + + + + + + How many recent outbound emails to show in customer view + + + + + + +
@@ -76,6 +182,10 @@ Development <% ntable("#cccccc",2) %> + Show customer package timestamps: + option('cust_pkg-display_times') ? 'CHECKED' : '' %>> + + Show internal package numbers: option('show_pkgnum') ? 'CHECKED' : '' %>> @@ -95,10 +205,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) %> @@ -143,6 +259,7 @@ Vonage integration (see Click2Call
+% } % foreach my $prop (qw( height width availHeight availWidth colorDepth )) { @@ -164,19 +281,20 @@ tie my %customer_views, 'Tie::IxHash', 'Basics' => 'basics', 'Notes' => 'notes', #notes and files? 'Tickets' => 'tickets', + 'Appointments' => 'appointments', + 'Quotations' => 'quotations', 'Packages' => 'packages', 'Payment History' => 'payment_history', ; $customer_views{'Change History'} = 'change_history' if $curuser->access_right('View customer history'); -$customer_views{'Jumbo'} = 'jumbo'; # XSS via your own preferences? seems unlikely, but nice try anyway... ( $curuser->option('menu_position') || 'top' ) =~ /^(\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;