git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
90ff574
Branches
Tags
master
ticket
webinterface.git
modules
vmail
accounts.php
Erste Version des vmail-Modul
bernd
commited
90ff574
at 2007-11-20 10:30:34
accounts.php
Blame
History
Raw
<?php require_once('inc/base.php'); require_once('inc/security.php'); require_role(ROLE_SYSTEMUSER); require_once('vmail.php'); $accounts = get_vmail_accounts(); output('<h3>E-Mail-Accounts</h3> <p>Folgende E-Mail-Konten sind eingerichtet:</p> <table style="margin-bottom: 1em;"> <tr><th>Adresse</th><th>Aktion</th><th>...</th><th> </th></tr> '); foreach ($accounts as $account) { $action = ($account['type'] == 'mailbox' ? 'Speichern in Postfach' : 'Weiterleiten an '.filter_input_general($account['data'])); output('<tr> <td>'.internal_link('edit.php', $account['local'].'@'.$account['domain'], 'id='.$account['id']).'</td> <td>'.$action.'</td> <td><a href="delete.php?account='.$account['id'].'">löschen</a></td></tr>'); } output('</table> <p><a href="edit.php">Neuen Account anlegen</a></p> '); ?>