[% IF ExpVar.expand('$appname') == 'webmail' %]
[% IF RAW_FORM('filtername') %]
[% locale.maketext('Edit a Filter') %]
[% ELSE %]
[% locale.maketext('Create a New Filter') %]
[% END %]
[% ELSE %]
[% IF RAW_FORM('filtername') && RAW_FORM('account') %]
[% locale.maketext('Edit a Filter for “[_1]”.', FORM.account) %]
[% ELSIF RAW_FORM('filtername') && !RAW_FORM('account') %]
[% locale.maketext('Edit a Filter for All Mail on Your Account.') %]
[% ELSIF !RAW_FORM('filtername') && RAW_FORM('account') %]
[% locale.maketext('Create a New Filter for “[_1]”.', FORM.account) %]
[% ELSIF !RAW_FORM('filtername') && !RAW_FORM('account') %]
[% locale.maketext('Create a New Filter for All Mail on Your Account.') %]
[% END %]
[% END %]
[% IF RAW_FORM('filtername') %]
[% locale.maketext('Please edit the filter below.') %]
[% ELSE %]
[% locale.maketext('Please create a filter below.') %]
[% END %]
[% locale.maketext('You can add multiple rules to match subjects, addresses, or other parts of the message. You can then add multiple actions to take on a message such as to deliver the message to a different address and then discard it.') %]