summaryrefslogtreecommitdiff
path: root/httemplate/pref
diff options
context:
space:
mode:
authorjeff <jeff>2010-08-02 19:49:26 +0000
committerjeff <jeff>2010-08-02 19:49:26 +0000
commit0a3b346806615bd893048d2a5c26f8d126a12f4b (patch)
tree6912cbc88774bfa513e95a58e05e7ce76fbc04c1 /httemplate/pref
parent995a145c931164347683071c95c6754379d36604 (diff)
add svc_elec_features merged from reference code RT#7643svc_elec_features
Diffstat (limited to 'httemplate/pref')
-rw-r--r--httemplate/pref/pref-process.html1
-rw-r--r--httemplate/pref/pref.html16
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>