From: jeff Date: Wed, 21 Mar 2007 01:35:32 +0000 (+0000) Subject: ticket 1427, automatically email excel a/r report (backport) X-Git-Tag: freeside_1_7_3rc1~502 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=feae6f6dff962a092787f0ad4c277b3d1fc20c1f;p=freeside.git ticket 1427, automatically email excel a/r report (backport) --- diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index ed3350971..a5e13f062 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -27,12 +27,19 @@ % % } % +% #XXX autogen +% my @paramlist = qw( menu_position email_address +% height width availHeight availWidth colorDepth +% ); +% +% foreach (@paramlist) { +% scalar($cgi->param($_)) =~ /^[,.\@\w]*$/ && next; +% $error ||= "Illegal value for parameter $_"; +% last; +% } +% % $error ||= $access_user->replace( { -% map { $_ => scalar($cgi->param($_)) } -% #XXX autogen -% qw( menu_position -% height width availHeight availWidth colorDepth -% ) +% map { $_ => scalar($cgi->param($_)) } @paramlist, % } ); % % if ( $error ) { diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 507a897d7..ec8aefd80 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -41,6 +41,20 @@ Interface
+Email Address + <% ntable("#cccccc",2) %> + + + Email Address(es) (comma separated) + + + + + + +
+ + % foreach my $prop (qw( height width availHeight availWidth colorDepth )) {