admin.tt2 5.63 KB
Newer Older
1
<!-- admin.tt2 -->
2
3
<h2>[%|loc%]Casual administration[%END%]</h2>
<ul>
Luc Didry's avatar
Luc Didry committed
4
5
6
7
8
9
10
11
12
13
14
    [% IF is_listmaster || is_owner %]
        <li>
            <strong><a href="[% 'edit_list_request' | url_rel([list]) %]">[%|loc%]Edit List Config:[%END%]</a></strong>
            [%|loc%]It must be used with care. It allows you to modify some of the list parameters. The list of parameters you can modify depends on your privilege.[%END%]
        </li>
    [% END %]
    [% IF is_listmaster || is_owner || may_del %]
        <li>
            <strong><a href="[% 'review' | url_rel([list]) %]">[%|loc%]Manage Subscribers:[%END%]</a></strong>
            [%|loc%]Allows you to add or delete list members, moderate subscriptions, and so on.[%END%]
        </li>
15
        [% IF conf.use_blocklist != 'none' %]
Luc Didry's avatar
Luc Didry committed
16
            <li>
17
                <strong><a href="[% 'blocklist' | url_rel([list]) %]" >[%|loc%]Blocklist:[%END%]</a></strong>
Luc Didry's avatar
Luc Didry committed
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
                [%|loc%]Handles the set of black-listed mail addresses for this list.[%END%]
            </li>
        [% END %]
    [% END %]
    [% IF is_listmaster || is_owner %]
        [% IF is_archived %]
            <li>
                <strong><a href="[% 'arc_manage' | url_rel([list]) %]">[%|loc%]Manage archives:[%END%]</a></strong>
                [%|loc%]Allows you to download and delete list archives.[%END%]
            </li>
        [% END %]
        [% IF is_listmaster || is_owner  || ( is_editor && may_review ) %]
            <li>
                <strong><a href="[% 'reviewbouncing' | url_rel([list]) %]">[%|loc%]Bounces:[%END%]</a></strong>
                [%|loc%]Manage non-delivery reports (also called bounces).[%END%]
            </li>
        [% END %]
        [% IF is_priv || is_listmaster %]
            <li>
                <strong><a href="[% 'viewlogs' | url_rel([list]) %]">[%|loc%]Logs:[%END%]</a></strong>
                [%|loc%]A tool for exploring the list logs.[%END%]
            </li>
        [% END %]
    [% END %]
42
43
44
</ul>

[% IF is_listmaster || is_owner || is_privileged_owner %]
Luc Didry's avatar
Luc Didry committed
45
    <h2>[%|loc%]Drastic operations[%END%]</h2>
46

Luc Didry's avatar
Luc Didry committed
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
    [% IF is_privileged_owner %]
        [% IF list_conf.status == 'closed' ~%]
            <form name="manage_list_status" action="[% path_cgi %]" method="post">
                <div>
                    <input class="MainMenuLinks" type="submit" name="action_open_list" value="[%|loc%]Restore List[%END%]" />
                    [%|loc%]This list is currently closed. Clicking this button will make it active again.[%END%]
                    <input type="hidden" name="previous_action" value="[% action %]"/>
                    <input type="hidden" name="list" value="[% list %]"/>
                </div>
            </form>
        [%~ ELSIF is_included ~%]
            <p>
                [%|loc%]Closing or renaming this list is impossible, because it is included by other mailing list(s).[%END%]
                <br />
                <a class="button" href="[% 'including_lists' | url_rel([list]) %]">
                    [%|loc(list)%]View lists including %1[%END%]
                </a>
            </p>
        [%~ ELSE ~%]
            <form name="manage_list_status" action="[% path_cgi %]" method="post">
                <div>
                    <input class="MainMenuLinks" type="submit" name="action_close_list" value="[%|loc%]Remove List[%END%]" />
                    [%|loc%]Completely removes the current list. Listmaster privileges are required to restore a list once it has been removed.[%END%]
                    <input type="hidden" name="list" value="[% list %]"/>
                </div>
            </form>
        [%~ END %]
        [% IF may_create_list && ! is_included ~%]
            <form name="manage_list_name" action="[% path_cgi %]" method="post">
                <fieldset>
                    <input class="MainMenuLinks" type="submit" name="action_rename_list_request" value="[%|loc%]Rename List[%END%]"/>
                    [%|loc%]Allows you to change this list's name. Everything related to the list will be renamed, including the mail aliases and the web archives.[%END%]
                    <input type="hidden" name="list" value="[% list %]"/>
                </fieldset>
            </form>
        [%~ END ~%]
    [% END %]
84

Luc Didry's avatar
Luc Didry committed
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
    [% IF is_shared_allowed && (is_listmaster || is_owner) %]
        <form name="manage_shared_status" action="[% path_cgi %]" method="post">
            <div>
                [% IF shared == 'none' %]
                    <input class="MainMenuLinks" type="submit" name="action_d_admin" value="[%|loc%]Create Shared[%END%]"/>
                    [%|loc%]Initializes the shared document web space.[%END%]
                    <input type="hidden" name="list" value="[% list %]"/>
                    <input type="hidden" name="d_admin" value="create"/>
                [% ELSIF shared == 'exist' %]
                    <input class="MainMenuLinks" type="submit" name="action_d_admin" value="[%|loc%]Delete Shared[%END%]" />
                    [%|loc%]Closes the shared document web space. It can be restored using "Restore shared" button.[%END%]
                    <input type="hidden" name="list" value="[% list %]"/>
                    <input type="hidden" name="d_admin" value="delete"/>
                [% ELSIF shared == 'deleted' %]
                    <input class="MainMenuLinks" type="submit" name="action_d_admin" value="[%|loc%]Restore Shared[%END%]"/>
                    [%|loc%]Restores the previously closed shared document web space.[%END%]
                    <input type="hidden" name="list" value="[% list %]"/>
                    <input type="hidden" name="d_admin" value="restore"/>
                [% END %]
            </div>
        </form>
    [% END %]
107
[% END %]
108
<!-- end admin.tt2 -->