summaryrefslogtreecommitdiff
path: root/httemplate/pref
diff options
context:
space:
mode:
authorivan <ivan>2009-02-17 02:28:48 +0000
committerivan <ivan>2009-02-17 02:28:48 +0000
commitd7b1a575ccef91f704b1573c431235441d52e47d (patch)
tree69ae1551039a77ded47c36d162ee2ef83cc85ddd /httemplate/pref
parent74190e6834c47c73b7f073fb1de444e572180333 (diff)
per-user preference for turning on profiling display when DBIx::Profile is loaded, RT#4830
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>