git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
d96a86a
Branches
Tags
master
ticket
webinterface.git
modules
jabber
accounts.php
Mehr config-optionen und config via Wrapper-Funktion benutzen
bernd
commited
d96a86a
at 2009-05-23 15:24:52
accounts.php
Blame
History
Raw
<?php require_once('session/start.php'); require_once('class/domain.php'); require_once('jabberaccounts.php'); require_once('inc/security.php'); require_role(ROLE_CUSTOMER); $jabberaccounts = get_jabber_accounts(); output("<h3>Jabber-Accounts</h3> <table> "); foreach ($jabberaccounts as $acc) { $local = filter_input_general($acc['local']); $domain = new Domain( (int) $acc['domain'] ); if ($domain->id == NULL) { $domain = new Domain(); $domain->fqdn = config('masterdomain'); } output("<tr><td>{$local}@{$domain->fqdn}</td><td>".internal_link('chpass', 'Passwort ändern', 'account='.$acc['id'])."   ".internal_link('save', 'Löschen', 'action=delete&account='.$acc['id']).'</td></tr>'); } output('</table> <p>'.internal_link("new_account", "Neues Jabber-Konto anlegen").'</p>'); ?>