X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=383e5f7ddb2ab44f895897e6883c37e2e96d961d;hb=bd619048c12c9df799ebdf1e571da79bf89513c0;hp=ab76c3bdcbbbe0143e2a1a45b5c4939f3f2e4026;hpb=b7c314a198c60a6f9236950994113aa422aa77ff;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index ab76c3bdc..383e5f7dd 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,6 +56,14 @@ Interface + Enable mobile-friendly menu: + + option('mobile_menu') ? 'CHECKED' : '' %>> + + + + Default customer view: + +% 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: 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 + + + + +
@@ -83,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' : '' %>> @@ -102,6 +196,10 @@ Development Save database profiling logs (when available): option('save_db_profile') ? 'CHECKED' : '' %>> + + Save temporary invoice typesetting files: + option('save_tmp_typesetting') ? 'CHECKED' : '' %>> +
@@ -183,7 +281,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;