From 8090f8d2c058e033abf7d6e770a5c37f8cee6341 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 23 Jul 2010 10:03:06 +0000 Subject: [PATCH] add EmptyTrash values and finish consolidating the CGP timezone arrays, RT#7083 --- FS/FS/svc_CGP_Mixin.pm | 34 +++++++++++++++++++++++++++++++++- FS/FS/svc_acct.pm | 13 +++++++------ FS/FS/svc_domain.pm | 12 +++++++----- httemplate/edit/svc_acct.cgi | 16 +++++++++++----- httemplate/edit/svc_domain.cgi | 10 ++++++++-- 5 files changed, 66 insertions(+), 19 deletions(-) diff --git a/FS/FS/svc_CGP_Mixin.pm b/FS/FS/svc_CGP_Mixin.pm index adde61fe2..489e9791f 100644 --- a/FS/FS/svc_CGP_Mixin.pm +++ b/FS/FS/svc_CGP_Mixin.pm @@ -30,7 +30,7 @@ Returns an arrayref of Communigate time zones. #http://www.communigate.com/pub/client/TimeZones.data #http://www.communigate.com/cgatepro/WebMail.html#Settings -sub cgp_timezone { +sub cgp_timezone_values { #my $self = shift; #i'm used as a class and object method but just return data [ '', @@ -96,7 +96,39 @@ sub cgp_timezone { 'SouthAmerica/Chile', 'SouthAmerica/Paraguay', ]; +} + +=item cgp_emptytrash_values + +Returns an arrayref of possible EmptyTrash values. + +=cut +#http://www.communigate.com/cgatepro/WebMail.html#Trash + +sub cgp_emptytrash_values { + #my $self = shift; #i'm used as a class and object method but just return data + + [ '', #