<?php
/**
 * Maho
 *
 * @category    design
 * @package     default_default
 * @copyright   Copyright (c) 2006-2020 Magento, Inc. (https://magento.com)
 * @copyright   Copyright (c) 2021-2024 The OpenMage Contributors (https://openmage.org)
 * @copyright   Copyright (c) 2024 Maho (https://mahocommerce.com)
 * @license     https://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/**
 * Authorize confirmation simple template
 *
 * @var Mage_Oauth_Block_AuthorizeBaseAbstract $this
 */
?>
<div class="login-container">
    <div class="login-box">
        <div class="page-title">
            <h1><?= $this->__('Confirmation Of Authorization') ?></h1>
        </div>
        <div class="form-box">
            <?= $this->getMessagesBlock()->toHtml() ?>
            <?php if ($this->getVerifier()): ?>
                <h2><?= $this->__('Authorization confirmed') ?></h2>
                <p><?= $this->__('Give the verifier code to application administrator') ?></p>
                <p style="font-size: 14px;"><?= $this->__('Verifier code: %s', $this->getVerifier()) ?></p>
            <?php endif ?>
            <button type="submit" class="button"
                    onclick="window.close();"
                    title="<?= $this->quoteEscape($this->__('Close')) ?>">
                <?= $this->__('Close') ?>
            </button>
        </div>
    </div>
</div>
