diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-06-26 22:23:31 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-26 22:23:31 -0700 |
| commit | c1ed2fa00b9c023cbe2d57cfffcd9a49d183d725 (patch) | |
| tree | 13cf488f42000818c8134cf2748b4b67368eefd4 /httemplate/pref | |
| parent | 3752951f0e177998ef74f3ee3ea80d6a14050be3 (diff) | |
add a user preference to disable submitting the one-time charge form on [enter], RT#14387
Diffstat (limited to 'httemplate/pref')
| -rw-r--r-- | httemplate/pref/pref-process.html | 2 | ||||
| -rw-r--r-- | httemplate/pref/pref.html | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index 588921f45..e45b76e7a 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -49,7 +49,7 @@ unless ( $error ) { # if ($access_user) { #XXX autogen my @paramlist = qw( locale menu_position default_customer_view mobile_menu - disable_html_editor + disable_html_editor disable_enter_submit_onetimecharge email_address snom-ip snom-username snom-password vonage-fromnumber vonage-username vonage-password diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 947ddccd3..d3fcbdf05 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -32,7 +32,7 @@ Interface <TR> <TH ALIGN="right">Locale: </TH> - <TD> + <TD COLSPAN=2> <SELECT NAME="locale"> % foreach my $locale ( FS::Locales->locales ) { % my %info = FS::Locales->locale_info($locale); @@ -83,6 +83,13 @@ Interface </TD> </TR> + <TR> + <TH ALIGN="right" COLSPAN=1>Disable submission on [Enter] key - one-time charges: </TH> + <TD ALIGN="left" COLSPAN=2> + <INPUT TYPE="checkbox" NAME="disable_enter_submit_onetimecharge" VALUE="1" <% $curuser->option('disable_enter_submit_onetimecharge') ? 'CHECKED' : '' %>> + </TD> + </TR> + </TABLE> <BR> |
