X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=eaa7d3281f56ceff2a691f0da32b1ba07d928bad;hb=439d00a59c67a7d9d53b5d89c14ab332be16e38b;hp=9537fed34b040ae2f04bc47a56d09aac6fcade23;hpb=c6782ab85ea83e0c78d85b8975985aac9d467f9d;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 9537fed34..eaa7d3281 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') ) { -<% mt('Change password (leave blank for no change)') |h %> -<% 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,6 +77,37 @@ Interface + + + Hide package changes: + + <& /elements/select.html, + field => 'hide_package_changes', + options => [ '', 'location', 'all' ], + labels => { '' => 'never', + 'location' => 'location changes', + 'all' => 'all package changes', + }, + curr_value => ($cgi->param('hide_package_changes') + || $curuser->option('hide_package_changes')), + &> + + + +% 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: @@ -91,13 +124,21 @@ Interface +% if ( FS::Conf->new->exists('enable_fuzzy_on_exact') ) { + + + +% } else { + - Enable approximate customer searching even when an exact match is found: + Enable approximate customer searching
even when an exact match is found: option('enable_fuzzy_on_exact') ? 'CHECKED' : '' %>> +% } + Disable HTML editor for customer notes: @@ -112,6 +153,13 @@ Interface + + Don't copy MAC address delimiters to clipboard + + option('enable_mask_clipboard_hack') ? 'CHECKED' : '' %>> + + +