Beispiel #1
0
            }
        }
    }
    FormularInput::setStandardSize(FormularInput::$SIZE_MIDDLE);
    $Field = new FormularInput('new_username', __('Username'));
    $Field->setLayout(FormularFieldset::$LAYOUT_FIELD_W100);
    $Field->setUnit(FormularUnit::$USER);
    $Field->display();
    $Field = new FormularInput('name', __('Name'));
    $Field->setLayout(FormularFieldset::$LAYOUT_FIELD_W100);
    $Field->setUnit(FormularUnit::$USER);
    $Field->display();
    $Field = new FormularInput('email', __('Email'));
    $Field->setLayout(FormularFieldset::$LAYOUT_FIELD_W100);
    $Field->setUnit(FormularUnit::$MAIL);
    $Field->display();
    $Field = new FormularInputPassword('password', __('Password'));
    $Field->setLayout(FormularFieldset::$LAYOUT_FIELD_W100);
    $Field->setUnit(FormularUnit::$PASS);
    $Field->display();
    $Field = new FormularInputPassword('password_again', __('Password again'));
    $Field->setLayout(FormularFieldset::$LAYOUT_FIELD_W100);
    $Field->setUnit(FormularUnit::$PASS);
    $Field->display();
}
?>

			<?php 
if (isset($_POST['new_username'])) {
    if (is_array($Errors)) {
        foreach ($Errors as $Error) {