X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=93c71996c7ef94cc08c9e65661263d7f183457e3;hb=4dc075fc38008d1c6cbe9b88b2bdb32bdc92adbf;hp=dc44db0b0fbd0d5a837662ac85ab79231d051b01;hpb=120718856665ca90ad852535d1155f8ea8ecb6b6;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index dc44db0b0..93c71996c 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -36,7 +36,7 @@ Interface Locale: option('enable_fuzzy_on_exact') ? 'CHECKED' : '' %>> - - - Disable HTML editor for customer notes: @@ -129,6 +122,34 @@ Interface + + Don't copy MAC address delimiters to clipboard + + option('enable_mask_clipboard_hack') ? 'CHECKED' : '' %>> + + + + + Scale documents to fit on a letter-size page + + option('printtofit') ? 'CHECKED' : '' %>> + + + + + How many recently-modified customers displayed on dashboard + + + + + + + How many recent outbound emails to show in customer view + + + + +
@@ -182,6 +203,8 @@ Development
+% if ( $curuser->access_right('Employee preference telephony integration') ) { + SNOM integration <% ntable("#cccccc",2) %> @@ -226,6 +249,7 @@ Vonage integration (see Click2Call
+% } % foreach my $prop (qw( height width availHeight availWidth colorDepth )) { @@ -247,19 +271,30 @@ 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; +my $conf = new FS::Conf; + +my @locales = $conf->config('available-locales'); + +if ( ! @locales ) { + + @locales = FS::Locales->locales ; + +} +