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

bernd authored 17 years ago

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

bernd authored 17 years ago

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

bernd authored 17 years ago

6) require_once('jabberaccounts.php');
7) 
bernd bisschen XSS-Schutz

bernd authored 17 years ago

8) require_once('inc/security.php');
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

9) require_once('inc/icons.php');
bernd bisschen XSS-Schutz

bernd authored 17 years ago

10) 
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

11) require_role(ROLE_CUSTOMER);
12) 
13) $jabberaccounts = get_jabber_accounts();
14) 
bernd Benutze überall title() sta...

bernd authored 14 years ago

15) title("Jabber-Accounts");
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

16) 
bernd Benutze überall title() sta...

bernd authored 14 years ago

17) output("<table>");
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

18) 
19) foreach ($jabberaccounts as $acc)
20) {
bernd bisschen XSS-Schutz

bernd authored 17 years ago

21)   $local = filter_input_general($acc['local']);
bernd Domain-Klasse benutzen

bernd authored 17 years ago

22)   $domain = new Domain( (int) $acc['domain']  );
23)   if ($domain->id == NULL)
24)   {
25)     $domain = new Domain();
bernd Mehr config-optionen und co...

bernd authored 15 years ago

26)     $domain->fqdn = config('masterdomain');
bernd Domain-Klasse benutzen

bernd authored 17 years ago

27)   }
bernd neue Bilder, mehr SSL-Zerti...

bernd authored 15 years ago

28)   output("<tr><td>{$local}@{$domain->fqdn}</td><td>".internal_link('chpass', icon_pwchange('Passwort ändern'), 'account='.$acc['id'])."&#160;&#160;&#160;".internal_link('save', icon_delete("»{$local}@{$domain->fqdn}« löschen"), 'action=delete&account='.$acc['id']).'</td></tr>');
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

29) }
30) 
bernd addnew() eingeführt

bernd authored 15 years ago

31) output('</table>');
bernd Neues Jabber-Modul (noch ni...

bernd authored 17 years ago

32) 
bernd addnew() eingeführt

bernd authored 15 years ago

33) addnew("new_account", "Neues Jabber-Konto anlegen");
bernd Neue Jabber-Domains selbst...

bernd authored 15 years ago

34) addnew("new_domain", "Eigene Domain für Jabber freischalten");