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

bernd authored 16 years ago

1) <?php
2) 
3) require_once('session/start.php');
4) 
5) require_once('domains.php');
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) {
19)   $options .= '<option value="'.$dom['id'].'">'.$dom['name'].'</option>'."\n";
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">