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