diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2014-10-06 10:54:58 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-10-08 11:38:22 +0100 |
commit | cf866de4b2e9d402c4333c083f35d0d7ec99142c (patch) | |
tree | ca2c96955531e9c3db788365849de909167e13d8 /perllib/CrossSell.pm | |
parent | 7cfbf5d5f9e0b54dff4e116f53e06f5fb5b68a34 (diff) |
replace Mailman cross-sell with Mailchimp signup form
Diffstat (limited to 'perllib/CrossSell.pm')
-rw-r--r-- | perllib/CrossSell.pm | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/perllib/CrossSell.pm b/perllib/CrossSell.pm index 5c7bf04ac..0c621e9d0 100644 --- a/perllib/CrossSell.pm +++ b/perllib/CrossSell.pm @@ -129,12 +129,15 @@ sub display_news_form { address below and we’ll send you occasional emails about what mySociety and our users have been up to.</p> -<form method="post" action="https://secure.mysociety.org/admin/lists/mailman/subscribe/news"> +<form method="post" action="//mysociety.us9.list-manage.com/subscribe/post?u=53d0d2026dea615ed488a8834&id=287dc28511"> +<label style="position: absolute; left: -5000px;"> +Leave this box empty: <input type="text" name="b_53d0d2026dea615ed488a8834_287dc28511" tabindex="-1" value="" /> +</label> <label for="name">Name:</label> -<input type="text" name="fullname" id="name" value="$input_h{name}" size="30"> +<input type="text" name="NAME" id="name" value="$input_h{name}" size="30"> <br><label for="email">Email:</label> -<input type="text" name="email" id="email" value="$input_h{email}" size="30"> - <input type="submit" value="Add me to the list"> +<input type="text" name="EMAIL" id="email" value="$input_h{email}" size="30"> + <input type="submit" name="subscribe" value="Add me to the list"> </form> <p>mySociety respects your privacy, and we'll never sell or give away your private |