bernd
eliminate .php extensions for URLs
bernd commited 63a0529 at 2008-08-08 19:32:32
<?php
require_once('inc/debug.php');
require_once('inc/security.php');
require_once('vmail.php');
$title = "E-Mail-Adresse bearbeiten";
$section = 'email_vmail';
require_role(ROLE_SYSTEMUSER);
$id = (int) $_GET['id'];
$account = empty_account();
if ($id != 0)
$account = get_account_details($id);
DEBUG($account);
if ($id == 0) {
output("<h3>Neue E-Mail-Adresse anlegen</h3>");
$title = "E-Mail-Adresse anlegen";
}
else {
output("<h3>E-Mail-Adresse bearbeiten</h3>");
}
$is_forward = (count($account['forwards']) > 0);
$is_mailbox = ($account['password'] != NULL || $id == 0);
$numforwards = max(count($account['forwards']), 1);
output("<script type=\"text/javascript\">
var numForwards = {$numforwards};
function moreForward()
{
numForwards += 1;
P1 = document.createElement('p');
TXT1 = document.createTextNode('Weiterleiten an ');
INPUT = document.createElement('input');
INPUT.type = 'text';
INPUT.name = 'forward_to_' + numForwards;
INPUT.value = '';
P1.appendChild(TXT1);
P1.appendChild(INPUT);
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX