Neues Modul für Mailman-Ver...
bernd authored 15 years ago
|
1) <?php
|
Added license tags for CC0,...
Bernd Wurst authored 13 years ago
|
2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4)
|
Lizenzinfos in eigenes Modu...
Bernd Wurst authored 11 years ago
|
5) Written 2008-2014 by schokokeks.org Hosting, namely
|
Added license tags for CC0,...
Bernd Wurst authored 13 years ago
|
6) Bernd Wurst <bernd@schokokeks.org>
7) Hanno Böck <hanno@schokokeks.org>
8)
9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10)
11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
12) http://creativecommons.org/publicdomain/zero/1.0/
13)
14) Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
15) */
16)
|
Neues Modul für Mailman-Ver...
bernd authored 15 years ago
|
17) require_once('mailman.php');
18) require_role(ROLE_SYSTEMUSER);
19)
|
Benutze überall title() sta...
bernd authored 14 years ago
|
20) title("Neue Mailingliste erstellen");
|
Neues Modul für Mailman-Ver...
bernd authored 15 years ago
|
21) $section = 'mailman_lists';
22) $domains = get_mailman_domains();
23)
|
Mehr config-optionen und co...
bernd authored 15 years ago
|
24) $maildomains = array('0' => config('mailman_host'));
|
Neues Modul für Mailman-Ver...
bernd authored 15 years ago
|
25) foreach ($domains AS $domain)
26) {
27) $maildomains[$domain['id']] = $domain['fqdn'];
28) }
29)
30) output('<p>Tragen Sie hier die benötigten Daten zur Erstellung einer neuen Mailingliste ein. Die Liste wird <strong>mit etwas Zeitverzögerung</strong> angelegt, Sie erhalten dann eine E-Mail an die unten angegebene Adresse des Listen-Verwalters</p>
31)
32) '.html_form('mailman_newlist', 'save', 'action=new', '
33) <table>
34) <tr><td>Listenname:</td><td><input type="text" name="listname" value="" /> @ '.html_select('maildomain', $maildomains).'</td></tr>
|
Mehr config-optionen und co...
bernd authored 15 years ago
|
35) <tr><td>E-Mail-Adresse des Listen-Verwalters:</td><td><input type="text" name="admin" value="'.$_SESSION['userinfo']['username'].'@'.config('masterdomain').'" /></td></tr>
|
Neues Modul für Mailman-Ver...
bernd authored 15 years ago
|
36) </table>
37) <br />
38) <input type="submit" name="submit" value="Anlegen" />
|
hinweis zu Mailman-Domains...
bernd authored 15 years ago
|
39) ').'
40)
41) <p><strong>Hinweis zu Domains:</strong> Aufgrund der Architektur von Mailman ist es momentan notwendig, bestimmte Domains oder Subdomains vollständig auf Mailman zu konfigurieren. Unter diesen Domains oder Subdomains kann keine anderweitige E-Mail-Adresse benutzt werden. Sofern Sie eine Ihrer eigenen Domains oder eine Subdomain unter einer Ihrer Domains für Mailinglisten benutzen möchten, müssen Sie diese Domain oder Subdomain vorher von einem Administrator anlegen lassen. Sie können danach in dieser Auswahlliste Ihre eigene Domain wählen.</p>'
42) );
|