c208bd906b3991555db11b9229846c4601ca408c
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 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) 
5) Written 2008-2012 by schokokeks.org Hosting, namely
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) */
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

16) 
17) require_once('session/start.php');
18) 
bernd Domain-Klasse benutzen

bernd authored 17 years ago

19) require_once('class/domain.php');
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

20) require_once('jabberaccounts.php');
21) 
22) require_role(ROLE_CUSTOMER);
23) 
bernd Neue Jabber-Domains selbst...

bernd authored 15 years ago

24) $section = 'jabber_accounts';
bernd Benutze überall title() sta...

bernd authored 14 years ago

25) title("Neues Jabber-Konto erstellen");
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

26) 
27) $jabberdomains = get_jabberable_domains();
28) 
bernd schokokeks.org-Domain ist w...

bernd authored 17 years ago

29) DEBUG($jabberdomains);
30) 
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

31) $options = '';
32) foreach ($jabberdomains as $dom)
33) {
bernd Domain-Klasse benutzen

bernd authored 17 years ago

34)   $options .= '<option value="'.$dom->id.'">'.$dom->fqdn.'</option>'."\n";
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

35) }
36) 
37) 
bernd Jabber-Sync-intervall höher

bernd authored 17 years ago

38) output('<p>Erstellen Sie hier ein neues Jabber-Konto. Ihre Änderungen werden nach ca. 10 Minuten automatisch in das System übertragen. Accounts funktionieren also nicht unmittelbar nach dem Anlegen.</p>
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

39) 
bernd eliminate .php extensions f...

bernd authored 16 years ago

40) '.html_form('jabber_new_account', 'save', 'action=new', '
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

41) <table>
bernd Entities repariert

bernd authored 17 years ago

42) <tr><td>Account-Name:</td><td><input type="text" name="local" value="" />&#160;@&#160;<select name="domain" size="1">