X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=29aeb4c67a86c936799fefa2ad4250623edee0f2;hb=62b18c75989a1b00a25079f8f110992aaad81bba;hp=832df78c6973fe562c16e6d97468a2b73df71635;hpb=e3efeaeaa661d78fcbf0a257b929db15f7892495;p=freeside.git diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 832df78c6..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) ") %> @@ -202,6 +222,8 @@ Development
+% if ( $curuser->access_right('Employee preference telephony integration') ) { + SNOM integration <% ntable("#cccccc",2) %> @@ -246,6 +268,7 @@ Vonage integration (see Click2Call
+% } % foreach my $prop (qw( height width availHeight availWidth colorDepth )) { @@ -256,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;