6d76663cafeb1e193a6b90994cb1bebb0bd1f390
bernd Neues Jabber-Modul (noch ni...

bernd authored 16 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) */
bernd Neues Jabber-Modul (noch ni...

bernd authored 16 years ago

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

bernd authored 16 years ago

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

bernd authored 16 years ago

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

bernd authored 14 years ago

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

bernd authored 13 years ago

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

bernd authored 16 years ago

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

bernd authored 16 years ago

29) DEBUG($jabberdomains);
30) 
Bernd Wurst jabber: hide domains not ye...

Bernd Wurst authored 3 years ago

31) $need_warning = false;
bernd Neues Jabber-Modul (noch ni...

bernd authored 16 years ago

32) $options = '';
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

33) foreach ($jabberdomains as $dom) {
Bernd Wurst jabber: hide domains not ye...

Bernd Wurst authored 3 years ago

34)     if ($dom->jabber == 2) { // New domain, not yet ready for use
35)         $need_warning = true;
36)         continue;
37)     }
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

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

bernd authored 16 years ago

39) }
40) 
41) 
bernd Jabber-Sync-intervall höher

bernd authored 16 years ago

42) 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 16 years ago

43) 
bernd eliminate .php extensions f...

bernd authored 15 years ago

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

bernd authored 16 years ago

45) <table>
bernd Entities repariert

bernd authored 16 years ago

46) <tr><td>Account-Name:</td><td><input type="text" name="local" value="" />&#160;@&#160;<select name="domain" size="1">
bernd Neues Jabber-Modul (noch ni...

bernd authored 16 years ago

47) '.$options.'
48) </select></td></tr>
49) <tr><td>Passwort:</td><td><input type="password" name="password" value="" /></td></tr>
50) </table>
51) <br />
52) <input type="submit" name="submit" value="Anlegen" />
53) '));