96649f21ba18d07757afa9d98998f7a22c0d86a3
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

1) <?php
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4) 
Bernd Wurst Copyright year update

Bernd Wurst authored 6 years ago

5) Written 2008-2018 by schokokeks.org Hosting, namely
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 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) 
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

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) 
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

17) require_once('mailman.php');
18) require_role(ROLE_SYSTEMUSER);
19) 
bernd Benutze überall title() sta...

bernd authored 13 years ago

20) title("Neue Mailingliste erstellen");
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

21) $section = 'mailman_lists';
22) $domains = get_mailman_domains();
23) 
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 2 years ago

24) $maildomains = ['0' => config('mailman_host')];
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

25) foreach ($domains as $domain) {
26)     $maildomains[$domain['id']] = $domain['fqdn'];
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

27) }
28) 
Bernd Wurst Erstelle Mailinglisten-Doma...

Bernd Wurst authored 4 years ago

29) $newdomains = get_possible_mailmandomains();
30) if ($newdomains) {
31)     $maildomains[null] = '--------------------------';
32)     foreach ($newdomains as $domain) {
33)         $maildomains['d'.$domain['id']] = 'lists.'.$domain['fqdn'];
34)     }
35) }
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

36) output(
Bernd Wurst Erstelle Mailinglisten-Doma...

Bernd Wurst authored 4 years ago

37)     '<p>Erstellen Sie hier eine neue Mailingliste auf unserem zentralen Mailinglisten-Manager (Mailman). 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>
Bernd Wurst Formulierung für neue Liste...

Bernd Wurst authored 5 years ago

38)     <p><strong>Hinweis zum Listen-Verwalter:</strong> Der Listen-Verwalter bzw. Moderator erhält später im Betrieb auch die Nachrichten, die Mailman nicht zur Liste sendet mit der Bitte um Moderation/Freigabe. Bitte geben Sie hier eine E-Mail-Adresse an, die über keinen besonders aggressiven Spamfilter verfügt und auf der keine Autoresponder aktiviert werden.</p>
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

39) 
40) '.html_form('mailman_newlist', 'save', 'action=new', '
41) <table>
Bernd Wurst Erstelle Mailinglisten-Doma...

Bernd Wurst authored 4 years ago

42) <tr><td>Listenname:</td><td><input type="text" name="listname" value="" />&#160;@&#160;'.html_select('maildomain', $maildomains, '0').'</td></tr>
bernd Mehr config-optionen und co...

bernd authored 14 years ago

43) <tr><td>E-Mail-Adresse des Listen-Verwalters:</td><td><input type="text" name="admin" value="'.$_SESSION['userinfo']['username'].'@'.config('masterdomain').'" /></td></tr>
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

44) </table>
45) <br />
46) <input type="submit" name="submit" value="Anlegen" />
bernd hinweis zu Mailman-Domains...

bernd authored 15 years ago

47) ').'
48) 
Bernd Wurst Erstelle Mailinglisten-Doma...

Bernd Wurst authored 4 years ago

49) <h4>Hinweis zu Domains:</h4>
50) <p>Die Angabe der Listen-Domain ist bei Mailman eher kosmetischer Natur. Auch wenn Sie eine eigene Domain benutzen, muss der Listennamen dennoch eindeutig auf dem gesamten Server sein.</p>
51) <p>Aufgrund der Architektur von Mailman ist es zudem notwendig, für einen Hostname jeweils die Mail-Zustellung fest auf Mailman zu konfigurieren. Unter diesen Subdomains kann keine anderweitige E-Mail-Adresse benutzt werden. Sofern Sie erstmalig eine Ihrer eigenen Domains für eine Mailingliste wählen (im Auswahlfeld unter der Linie) wird eine entsprechende Konfiguration erstellt. Die Liste ist in dem Fall erst nach einigen Minuten (bis zu maximal einer Stunde) für eingehende E-Mails erreichbar.</p>'