diff options
Diffstat (limited to 'httemplate/pref')
-rw-r--r-- | httemplate/pref/pref-process.html | 1 | ||||
-rw-r--r-- | httemplate/pref/pref.html | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index a340b7fc9..7522b8e78 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -56,6 +56,7 @@ unless ( $error ) { # if ($access_user) { show_pkgnum show_confitem_counts export_getsettings show_db_profile save_db_profile height width availHeight availWidth colorDepth + dashboard_customer_history_length ); foreach (@paramlist) { diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index ab76c3bdc..0e24e6aef 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -53,6 +53,22 @@ Interface </SELECT> </TD> </TR> + + <TR> + <TH ALIGN="right">Dashboard customer history: </TH> + <TD COLSPAN=2> + <SELECT NAME="dashboard_customer_history_length"> +% foreach my $view ( qw( 5 10 15 20 25 ) ) { +% my $selected = +% $customer_views{$view} eq +% $curuser->option('dashboard_customer_history_length') +% ? 'SELECTED' +% : ''; + <OPTION VALUE="<%$view%>" <%$selected%>><%$view%></OPTION> +% } + </SELECT> + </TD> + </TR> <TR> <TH ALIGN="right" COLSPAN=1>Disable HTML editor for customer notes: </TH> |