558a2e4688b714079750063a934acf7de5fe3198
[citadel.git] / webcit / static / t / listsub / display.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2         "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5   <link href="/static/styles/webcit.css" rel="stylesheet" type="text/css">
6   <title><?_("List subscription")></title>
7 </head>
8 <body>
9
10 <div align=center>
11 <table border=0 width='75%'><tr><td>
12 <?=("box_begin_1")><?_("List subscribe/unsubscribe")><?=("box_begin_2")>
13 <div align=center><br>
14
15 <?!("COND:BSTR", 10, "cmd", "subscribe")>
16 <?!("COND:LISTSUB:EXECUTE:SUBSCRIBE", 11)>
17 <center>
18 <h1><?_("Confirmation request sent")></h1>
19 <?_("You are subscribing ")><tt><?BSTR("email", "X")></tt>
20 <?_(" to the ")><b><?BSTR("room", "X")></b>
21 <?_(" mailing list.")> 
22 <?_("The listserver has sent you an e-mail with one additional Web link for you to click on to confirm your subscription.")>  
23 <?_("This extra step is for your protection, as it prevents others from being able to subscribe you to lists without your consent.")>
24 <br><br>
25 <?_("Please click on the link which is being e-mailed to you and your subscription will be confirmed.")>
26 <br>
27 <a href="listsub"><?_("Go back...")></a>
28 </center>
29 <?!("X", 11)><??("COND:BSTR", 12, "__FAIL")>
30 <font size=+1><b><?_("ERROR")>: <?IMPORTANTMESSAGE></b></font><br><br>
31 <??("X", 12)>
32 <?!("X", 10)>
33
34 <?!("COND:BSTR", 20, "cmd", "unsubscribe")>
35 <?!("COND:LISTSUB:EXECUTE:UNSUBSCRIBE", 21)>
36 <center>
37 <h1><?_("Confirmation request sent")></h1>
38 <?_("You are unsubscribing")> 
39 <tt><?BSTR("email", "X")></tt> 
40 <?_("from the")> 
41 &quot;<?BSTR("room", "X")>&quot; 
42 <?_("mailing list.")>
43 <?_("The listserver has sent you an e-mail with one additional Web link for you to click on to confirm your unsubscription.")>
44 <?_("This extra step is for your protection, as it prevents others from being able to unsubscribe you from lists without your consent.")> 
45 <br><br>
46 <?_("Please click on the link which is being e-mailed to you and your unsubscription will be confirmed.")><br>
47 <a href="listsub"><?_("Back...")></a>
48 </center>
49 <?!("X", 21)><??("COND:BSTR", 22, "__FAIL")>
50 <font SIZE=+1><b><?_("ERROR")>: <?IMPORTANTMESSAGE></b></font>
51 <br><br>
52 <?!("X", 22)>
53 <?!("X", 20)>
54
55 <?!("COND:BSTR", 30, "cmd", "confirm")>
56 <?!("COND:LISTSUB:EXECUTE:CONFIRM:SUBSCRIBE", 31)>
57 <center><h1><?_("Confirmation successful!")></h1></center>
58 <?!("X", 31)><??("COND:BSTR", 32, "__FAIL")>
59 <center><h1><?_("Confirmation failed.")></h1></center>
60 <?_("This could mean one of two things:")>
61 <ul>
62 <li><?_("You waited too long to confirm your subscribe/unsubscribe request (the confirmation link is only valid for three days)")></li>
63 <li><?_("You have <i>already</i> successfully confirmed your subscribe/unsubscribe request and are attempting to do it again.")></li>
64 </ul>
65 <?_("The error returned by the server was: ")><?IMPORTANTMESSAGE>
66 <??("X", 32)>
67 <??("X", 30)>
68
69 <?!("COND:BSTR", 40, "cmd", "choose")>
70
71 <form method="POST" action="listsub">
72
73 <?_("Name of list:")>
74 <select name="room" size=1>
75 <?ITERATE("LPRM", ="listsub_subscribeable_rooms")>
76 </select><br><br>
77
78 <?_("Your e-mail address:")> 
79 <input type="text" name="email" value="<?BSTR('email', 'X')>" maxlength="128" size="60">
80 <br><br>
81
82 <?_("(If subscribing) preferred format: ")>
83 <input type="radio" name="subtype" value="list" CHECKED><?_("One message at a time")>&nbsp; 
84 <input type="radio" name="subtype" value="digest"><?_("Digest format")>&nbsp; 
85 <br><br>
86 <input type="submit" name="cmd" value="subscribe">
87 <input type="submit" name="cmd" value="unsubscribe">
88 <br><br>
89 </form>
90
91 <hr>
92 <?_("When you attempt to subscribe or unsubscribe to a mailing list, you will receive an e-mail containing one additional web link to click on for final confirmation.")>
93 <?_("This extra step is for your protection, as it prevents others from being able to subscribe or unsubscribe you to lists.")>
94 <br>
95 <??("X", 40)>
96 </div>
97 <?=("box_end")>
98 </td></tr></table></div>
99
100 </body></html>