aboutsummaryrefslogtreecommitdiffstats
path: root/templates/add-list.html
blob: fed5629bc623ec51fe9b234e1a61e80992c9509b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>Add list under <TMPL_VAR NAME=domainname></title>
    <link href="/css/style.css" media="all" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div id="header">
      <div class="left column">
        <a href="../">Root</a> /
        <a href="./"><TMPL_VAR NAME=domainname></a> /
      </div>
      <div class="right column">
        Logged as <a href="<TMPL_VAR NAME=user_URL>/?a=edit"
                  ><TMPL_VAR NAME=user_localpart>@<TMPL_VAR NAME=user_domainpart></a>
        | <a href="../?a=logout">Log out</a>
      </div>
      <br/>
    </div>
    <hr/>

    <div id="content">
    <h1>Add list under <span class="domain"><TMPL_VAR NAME=domainname></span></h1>

    <TMPL_IF NAME=error>
      <div class="fail">Error: <TMPL_VAR NAME=error></div>
    <TMPL_ELSE>
      <br/>
    </TMPL_IF>

    <br/>

    <form class="editform" name="editform" method="post" action="?">
      <div class="editform">
      <input type="hidden" name="a" value="add" />
      <input type="hidden" name="t" value="list" />

      <h4 class="label">List name</h4>
      <input type="text" name="name" size="15" value="<TMPL_VAR NAME=name>"/>@<TMPL_VAR NAME=domainname>

      <hr/>

      <h4 class="label">Status</h4>
      <select name="isActive">
        <option value="1" <TMPL_IF NAME=isActive>selected="selected"</TMPL_IF>>Active</option>
        <option value="0" <TMPL_UNLESS NAME=isActive>selected="selected"</TMPL_UNLESS>>Inactive</option>
      </select>
      <div class="help">
        <b>Warning</b>: emails are <i>not</i> delivered to inactive entries.
      </div>

      <hr/>

      <h4 class="label">Password</h4>

      <table class="loginform">
        <tr>
          <td class="label">Password</td>
          <td><input type="password" name="password" size="20" /></td>
        </tr>
        <tr>
          <td class="label">Repeat password</td>
          <td><input type="password" name="password2" size="20" /></td>
        </tr>
      </table>
      <div class="help">
        This is the admin password for the web interface of the chosen list manager.
        (The user name being yourself
        <span class="email"><TMPL_VAR NAME=user_localpart>@<TMPL_VAR NAME=user_domainpart></span>.)
      </div>

      <hr/>

      <h4 class="label">Description</h4>
      <textarea name="description" cols="50" rows="5" ><TMPL_VAR NAME=description></textarea>
      <div class="help">
        An optional description.
      </div>

      <hr/>

      <h4 class="label">Transport</h4>
      <select name="transport">
        <TMPL_LOOP NAME=transport>
          <option value="<TMPL_VAR NAME=item>" <TMPL_IF NAME=selected>selected="selected"</TMPL_IF>><TMPL_VAR NAME=name></option>
        </TMPL_LOOP>
      </select>
      <div class="help">
        The mailing list manager. (<i>Note</i>: It is not possible to
        switch once the list has been created.) The two current
        choices are the well-known
        <a href="http://list.org/">GNU Mailman</a>, and
        <a href="http://schleuder2.nadir.org/">Schleuder</a>. The
        latter offers GPG-enagbled lists (only).
      </div>

      <hr/>
      <br/>

      <input type="submit" name="submit" value="Submit" />
      <input type="submit" name="cancel" value="Cancel" />
      <div class="help">
        <i>Note</i>: No confirmation email will be sent. It may take a while for the list to be created (especially
        for the Schleuder list manager, as it requires a GPG key creation); Once the list has succefully been created,
        it will be visible under the
        <a href="./">management page for <span class="domain"><TMPL_VAR NAME=domainname></span></a>.
      </div>
      </div>
    </form>
    </div>
  </body>
</html>