2626dd47daad110c63a82c0560b134e2364eeac3
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 6 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 14 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) 
bernd Mehr config-optionen und co...

bernd authored 15 years ago

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

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

Hanno authored 6 years ago

29) output(
30)     '<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>
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

31) 
32) '.html_form('mailman_newlist', 'save', 'action=new', '
33) <table>
34) <tr><td>Listenname:</td><td><input type="text" name="listname" value="" />&#160;@&#160;'.html_select('maildomain', $maildomains).'</td></tr>
bernd 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>
bernd Neues Modul für Mailman-Ver...

bernd authored 15 years ago

36) </table>
37) <br />
38) <input type="submit" name="submit" value="Anlegen" />