X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=29aeb4c67a86c936799fefa2ad4250623edee0f2;hb=62b18c75989a1b00a25079f8f110992aaad81bba;hp=1b0ea063005c8762c3a835357c457c8a10912057;hpb=86637503b5608164cf31aea501f131c74e27b724;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 1b0ea0630..29aeb4c67 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -1,5 +1,7 @@ <% include('/elements/header.html', 'Preferences for '. getotaker ) %> +% my $js_form_validate = { 'pref_form' => { 'name' => 'pref_form' } }; +
<% include('/elements/error.html') %> @@ -143,12 +145,30 @@ Interface - How many recently-modified customers displayed on dashboard + When printing, scale HTML documents to fit on a letter-size page + + option('printtofit') ? 'CHECKED' : '' %>> + + + + + <% emt("How many recently-modified customers displayed on dashboard") %> +% my $validate_field_cve = 'customer_view_emails'; +% $js_form_validate->{pref_form}->{validate_fields}{$validate_field_cve} = 'digits: true'; +% $js_form_validate->{pref_form}->{error_message}{$validate_field_cve} = 'Please only enter numbers here.'; + + + How many recent outbound emails to show in customer view + + + + +
@@ -157,7 +177,7 @@ Email Address <% ntable("#cccccc",2) %> - Email Address(es) (comma separated) + <% emt("Email Address(es) (comma separated) ") %> @@ -259,7 +279,11 @@ Vonage integration (see Click2Call -<% include('/elements/footer.html') %> +% my %footerdata = ( +% 'formvalidation' => $js_form_validate, +% ); +<% include("/elements/footer.html", %footerdata) %> + <%init> my $curuser = $FS::CurrentUser::CurrentUser;