<!-- $Id: sigrequest.tt2 12703 2016-02-26 08:03:30Z sikeda $ -->

  [% IF status == 'user.email' %]
      [%|loc(list)%]You asked to be unsubscribed  from list %1[%END%]. <br />[%|loc%]To confirm
      your request, please click the button below:[%END%]<br />
	<br />

	<form action="[% path_cgi %]" method="post">
	<fieldset>
	  <input type="hidden" name="list" value="[% list %]" />
	  <input type="hidden" name="email" value="[% user.email %]" />
	  <input class="MainMenuLinks" type="submit" name="action_signoff" value="[%|loc(list)%]I unsubscribe from list %1[%END%]" />
	</fieldset>
	</form>

  [% ELSIF not_subscriber %]

      [%|loc(list,email)%]You are not subscribed to list %1 with e-mail address %2[%END%].
      <br /><br />
      [%|loc%]You might have subscribed with another address.
      Please contact the list owner to help you unsubscribe:[%END%]
      [% '' | 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%]

      <form action="[% path_cgi %]" method="post">
	<fieldset>
          <strong><label for="email">[%|loc%]Your e-mail address:[%END%]</label></strong> 
          <input id="email" type="text" name="email"><br />
          <input type="hidden" name="action" value="sigrequest" />
	  <input type="hidden" name="list" value="[% list %]" />
	  <input class="MainMenuLinks" type="submit" name="action_sigrequest" value="[%|loc%]Send me a validation link[%END%]" />
	</fieldset>
         </form>


  [% ELSE %]

	[%|loc%]We've sent you an email including a validation link. You should check your mailbox to read this email and use this validation link.[%END%] <br /><br />


  [% END %]      
<!-- end sigrequest.tt2 -->

