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

bernd authored 16 years ago

1) <?php
2) 
3) require_once('session/start.php');
4) 
bernd Domain-Klasse benutzen

bernd authored 16 years ago

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

bernd authored 16 years ago

6) require_once('jabberaccounts.php');
7) 
8) require_role(ROLE_CUSTOMER);
9) 
10) $title = "Neues Jabber-Konto erstellen";
11) 
12) DEBUG("GET: ".htmlentities(print_r($_GET, true))." / POST: ".htmlentities(print_r($_POST, true)));
13) 
14) $jabberdomains = get_jabberable_domains();
15) 
16) $options = '';
17) foreach ($jabberdomains as $dom)
18) {
bernd Domain-Klasse benutzen

bernd authored 16 years ago

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

bernd authored 16 years ago

20) }
21) 
22) 
23) output("<h3>Neuen Jabber-Account erstellen</h3>");
24) 
25) output('<p>Erstellen Sie hier ein neues Jabber-Konto.</p>
26) 
27) '.html_form('jabber_new_account', 'save.php', 'action=new', '
28) <table>
bernd @ nachgereicht

bernd authored 16 years ago

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