From d6ca74a5f1412fc5d7272cecf9a31faabdc8e211 Mon Sep 17 00:00:00 2001 From: Daniel Tiefnig Date: Fri, 26 Feb 2010 02:08:16 +0000 Subject: [PATCH] added send_status and send_copy fax preferences to webinterface --- lib/admin/Controller/subscriber.pm | 2 ++ root/tt/subscriber_preferences.tt | 21 ++++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/lib/admin/Controller/subscriber.pm b/lib/admin/Controller/subscriber.pm index b845bf4..f0f6b9f 100644 --- a/lib/admin/Controller/subscriber.pm +++ b/lib/admin/Controller/subscriber.pm @@ -1411,6 +1411,8 @@ sub update_fax : Local { $$faxprefs{name} = $c->request->params->{name} || undef; $$faxprefs{password} = $c->request->params->{password} if length $c->request->params->{password}; $$faxprefs{active} = $c->request->params->{active} ? 1 : 0; + $$faxprefs{send_status} = $c->request->params->{send_status} ? 1 : 0; + $$faxprefs{send_copy} = $c->request->params->{send_copy} ? 1 : 0; ### save settings ### diff --git a/root/tt/subscriber_preferences.tt b/root/tt/subscriber_preferences.tt index abc7115..3a39829 100644 --- a/root/tt/subscriber_preferences.tt +++ b/root/tt/subscriber_preferences.tt @@ -335,6 +335,7 @@ name: @@ -343,7 +344,8 @@ password: [% IF edit_fax %] - + [% ELSE %] active: + + send reports: + + + + + + send copies: + + + + destinations: