git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
3e33ab3
Branches
Tags
master
ticket
webinterface.git
modules
vmail
accounts.php
Löschen geht jetzt auch
bernd
commited
3e33ab3
at 2007-11-20 10:54:27
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="save.php?action=delete&id='.$account['id'].'">löschen</a></td></tr>'); } output('</table> <p><a href="edit.php">Neuen Account anlegen</a></p> '); ?>