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