dcc202fb249a446ac15c7cf413b9f1b4a3f31b58
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) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 1 year ago

5) Written 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) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 1 year ago

9) This code is published under a 0BSD license.
Bernd Wurst Added license tags for CC0,...

Bernd Wurst authored 12 years ago

10) 
11) 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.
12) */
13) 
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

14) require_once('mailman.php');
15) require_role(ROLE_SYSTEMUSER);
16) 
bernd Benutze überall title() sta...

bernd authored 13 years ago

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

bernd authored 15 years ago

18) $section = 'mailman_lists';
19) $domains = get_mailman_domains();
20) 
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 2 years ago

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

Hanno authored 5 years ago

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

bernd authored 15 years ago

24) }
25) 
Bernd Wurst Erstelle Mailinglisten-Doma...

Bernd Wurst authored 4 years ago

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

Hanno authored 5 years ago

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

Bernd Wurst authored 4 years ago

34)     '<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

35)     <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

36) 
37) '.html_form('mailman_newlist', 'save', 'action=new', '
38) <table>
Bernd Wurst Erstelle Mailinglisten-Doma...

Bernd Wurst authored 4 years ago

39) <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

40) <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

41) </table>
42) <br />
43) <input type="submit" name="submit" value="Anlegen" />
bernd hinweis zu Mailman-Domains...

bernd authored 15 years ago

44) ').'
45) 
Bernd Wurst Erstelle Mailinglisten-Doma...

Bernd Wurst authored 4 years ago

46) <h4>Hinweis zu Domains:</h4>
47) <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>
48) <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>'