X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=882975ad638077d34a8c321e22980f0e35ace0ce;hb=a0ef3549089ec5806f9e489ab6e54daebb62e380;hp=a6b5ba7408653dfcd032c3da646ff9dbd7a7fdb3;hpb=408574c3f92b84f422f9a95dd0ab904d9c23ece6;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index a6b5ba740..882975ad6 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -1,9 +1,16 @@ <% include('/elements/header.html', 'Preferences for '. getotaker ) %> +% my $js_form_validate = { 'pref_form' => { 'name' => 'pref_form' } }; +
<% include('/elements/error.html') %> +<<<<<<< HEAD +======= +<& /elements/alert.html &> + +% if ( FS::Auth->auth_class->can('change_password') ) { <% mt('Change password (leave blank for no change)') |h %> <% ntable("#cccccc",2) %> @@ -143,23 +150,27 @@ Interface - Scale documents to fit on a letter-size page + When printing, scale HTML documents to fit on a letter-size page option('printtofit') ? 'CHECKED' : '' %>> - How many recently-modified customers displayed on dashboard + <% 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 - + @@ -273,7 +284,13 @@ Vonage integration (see Click2Call -<% include('/elements/footer.html') %> +% my %footerdata = ( +% 'formvalidation' => $js_form_validate, +% ); +<% include("/elements/footer.html", %footerdata) %> + +%#<&/elements/footer.html &> + <%init> my $curuser = $FS::CurrentUser::CurrentUser;