OpenNIT

Quelltext des aktuellen Standes

Fassung 1.1.1

portal_magic_confirm.php

1 KB
<?php $this->layout('layouts/auth', ['page_title' => 'Anmeldung bestätigen']); ?>

<div class="auth-box-body">
    <p class="auth-box-msg">
        <?= $this->te('Self-Service-Portal: Anmeldung bestätigen.') ?>
    </p>

    <?php foreach ($this->flash() as $fm): ?>
        <div class="auth-alert <?= ($fm['type'] ?? '') === 'success' ? 'auth-alert-success' : 'auth-alert-error' ?>">
            <?= $this->e($fm['message'] ?? '') ?>
        </div>
    <?php endforeach; ?>

    <p style="font-size:0.83rem;color:var(--color-text-muted);line-height:1.5;margin:0 0 1rem;">
        <?= $this->t('Du meldest dich als <strong>{name}</strong> am Self-Service-Portal an. Eine bereits bestehende Anmeldung wird dabei ersetzt.', ['name' => $this->e($display_name)]) ?>
    </p>

    <form method="POST" action="/portal/magic/<?= $this->e($token) ?>">
        <input type="hidden" name="_csrf" value="<?= $this->csrf() ?>">
        <button type="submit" class="btn btn-primary btn-block"><?= $this->te('Jetzt anmelden') ?></button>
    </form>

    <p style="margin-top:1rem;text-align:center;">
        <a href="/login" style="font-size:0.83rem;"><?= $this->te('Abbrechen') ?></a>
    </p>
</div>