Commit 73d6987d authored by sikeda's avatar sikeda
Browse files

[-bug] Use [%|mailto%] template filter to get correct mailto: URLs on web interface.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12703 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent f88e3371
......@@ -91,7 +91,11 @@
[% END %]
<li>
[%|obfuscate(listconf.spam_protection) %]<a href="mailto:[% list %]-request@[% domain %]">[%|loc%]Contact owners[%END%]</a>[% END %]
[% | obfuscate(listconf.spam_protection) ~%]
[% | mailto("${list}-request@${domain}") ~%][%# FIXME: Use host. ~%]
[%|loc%]Contact owners[%END%]
[%~ END %]
[%~ END %]
</li>
<!-- end list_panel.tt2 -->
......@@ -33,7 +33,9 @@
[% FOREACH user_with_errors = errors_summary -%]
<li>[%|loc(user_with_errors.key)%] List %1: [%END%]
[% IF user_with_errors.value %] [%|loc(user_with_errors.value.count)%] %1 error(s)[% END %],
<a href="mailto:[% user_with_errors.key %]-request@[% conf.host %]">[%|loc()%]please contact the list owners[% END %]</a>
[% | mailto("${user_with_errors.key}-request@${conf.host}") ~%]
[%|loc()%]please contact the list owners[% END %]
[%~ END%]
<ul>
<li>[%|loc(user_with_errors.value.first)%]first bounce: %1[% END %]</li>
<li>[%|loc(user_with_errors.value.last)%]last bounce: %1[% END %]</li>
......
......@@ -19,7 +19,7 @@
<br /><br />
[%|loc%]You might have subscribed with another address.
Please contact the list owner to help you unsubscribe:[%END%]
<a href="mailto:[% list %]-request@[% conf.host %]">[% list %]-request@[% conf.host %]</a>
[% '' | mailto("${list}-request@${conf.host}") %]
[% ELSIF ! email %]
[%|loc(list)%]We need to check your identity before validating your unsubscription request for list %1. If you have a user account you should login or create an account. <br/>Otherwise we can send you an email with a validation link inside; please provide your email address below to receive this validation link.[%END%]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment