we're defaulting to a top menu in 1.9
[freeside.git] / httemplate / pref / pref.html
index 4007bb9..1f4edf2 100644 (file)
@@ -64,6 +64,14 @@ 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>
+  <TR>
+    <TH>Save database profiling logs (when available): </TH>
+    <TD><INPUT TYPE="checkbox" NAME="save_db_profile" VALUE="1" <% $curuser->option('save_db_profile') ? 'CHECKED' : '' %>></TD>
+  </TR>
 
 </TABLE>
 <BR>
@@ -106,7 +114,7 @@ Vonage integration (see <a href="https://secure.click2callu.com/">Click2Call</a>
 my $curuser = $FS::CurrentUser::CurrentUser;
 
 # XSS via your own preferences?  seems unlikely, but nice try anyway...
-( $curuser->option('menu_position') || 'left' )
+( $curuser->option('menu_position') || 'top' )
   =~ /^(\w+)$/ or die "illegal menu_position";
 my $menu_position = $1;
 ( $curuser->option('email_address') )