diff options
| author | ivan <ivan> | 2010-08-06 00:45:29 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2010-08-06 00:45:29 +0000 |
| commit | 0715eb639658bfde2c21c39cd5ccaf4bf22b18d4 (patch) | |
| tree | a4abf0d4d046b65151d8e7d13657467b8f2322de /httemplate/edit/process/cgp_rule-vacation.html | |
| parent | b93983d6758cd67b7bcb6c4118344981d8bb6e8d (diff) | |
communigate account rules: vacation & redirect all, RT#7514
Diffstat (limited to 'httemplate/edit/process/cgp_rule-vacation.html')
| -rw-r--r-- | httemplate/edit/process/cgp_rule-vacation.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/httemplate/edit/process/cgp_rule-vacation.html b/httemplate/edit/process/cgp_rule-vacation.html new file mode 100644 index 000000000..f10d72b73 --- /dev/null +++ b/httemplate/edit/process/cgp_rule-vacation.html @@ -0,0 +1,29 @@ +<% include('cgp_rule-simplified.html', + 'name' => '#Vacation', + 'priority' => 2, + 'redirect' => 'cgp_rule-vacation.html', + 'conditions' => [ + { conditionname => 'Human Generated', }, + { conditionname => 'From', + op => 'not in', + params => '#RepliedAddresses', + }, + ( $cgi->param('VacationTill') + ? ( { conditionname => 'Current Date', + op => 'less than', #is less? + params => scalar($cgi->param('VacationTill')), + } + ) + : () + ), + ], + 'actions' => [ + { action => 'Reply with', + params => scalar($cgi->param('VacationText')), + }, + { action => "Remember 'From' in", + params => 'RepliedAddresses', + }, + ], + ) +%> |
