X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=93c71996c7ef94cc08c9e65661263d7f183457e3;hb=4b05b20576ddb14577d59c87c8257c6804449410;hp=5e722b04397321908780b947cd3f1094ca67891b;hpb=ed98fabaf7bc3f2127ca33e465632312bd8815fc;p=freeside.git
diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html
index 5e722b043..93c71996c 100644
--- a/httemplate/pref/pref.html
+++ b/httemplate/pref/pref.html
@@ -36,7 +36,7 @@ Interface
Locale: |
|
-% 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: |
@@ -145,12 +130,26 @@ Interface
|
+ 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 |
+
+ |
+
+
+
@@ -272,12 +271,13 @@ 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' )
@@ -287,4 +287,14 @@ my $menu_position = $1;
=~ /^([,\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 ;
+
+}
+
%init>