summaryrefslogtreecommitdiff
path: root/httemplate/pref
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/pref')
-rw-r--r--httemplate/pref/pref-process.html3
-rw-r--r--httemplate/pref/pref.html4
2 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html
index 09eb71a7e..466218947 100644
--- a/httemplate/pref/pref-process.html
+++ b/httemplate/pref/pref-process.html
@@ -30,9 +30,10 @@
% my %param = $access_user->options;
%
% #XXX autogen
-% my @paramlist = qw( menu_position show_pkgnum
+% my @paramlist = qw( menu_position
% email_address
% vonage-fromnumber vonage-username vonage-password
+% show_pkgnum show_db_profile
% height width availHeight availWidth colorDepth
% );
%
diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html
index 4007bb9f1..44b844891 100644
--- a/httemplate/pref/pref.html
+++ b/httemplate/pref/pref.html
@@ -64,6 +64,10 @@ Development
<TH>Show internal package numbers: </TH>
<TD><INPUT TYPE="checkbox" NAME="show_pkgnum" VALUE="1" <% $curuser->option('show_pkgnum') ? 'CHECKED' : '' %>></TD>
</TR>
+ <TR>
+ <TH>Show database profiling (when available): </TH>
+ <TD><INPUT TYPE="checkbox" NAME="show_db_profile" VALUE="1" <% $curuser->option('show_db_profile') ? 'CHECKED' : '' %>></TD>
+ </TR>
</TABLE>
<BR>