<?php

use auctionforge\inc\helpers\LotHelper;
use auctionforge\inc\helpers\SettingsHelper;
use auctionforge\inc\helpers\View;

$acceptPrivacyData = SettingsHelper::getOption('accept_privacy_data', 'off');
$pageAuctionListId = SettingsHelper::getOption('profile', 0);

?>
<div id="modal-register" aria-hidden="true"
     class="bp-modal modal micromodal-slide">
    <div class="modal__overlay" tabindex="-1">
        <div class="modal__overlay__inner" tabindex="-1">
            <div class="modal__container" role="dialog" aria-modal="true" aria-labelledby="modal-register-title">
                <header class="modal__header">
                    <h2 class="modal__title" id="modal-register-title">
                        <?= __('Register', 'auctionforge') ?>
                    </h2>
                </header>
                <main class="modal__content" id="modal-register-content">
                    <button class="modal__close" aria-label="Close modal" data-micromodal-close></button>
                    <div class="errors-group bp-text-red hidden"></div>
                    <?php do_action('bp_register_form_print_action', array('name' => 'registerSection')) ?>
                </main>
                <footer class="modal__footer">
                    <div class="modal_links bp-d-flex bp-f-center bp-f-wrap">
                        <a id="doLogin" class="modal_links__item" href="#"><?= __('Already registered? Log in', 'auctionforge') ?></a>
                    </div>
                </footer>
            </div>
        </div>
    </div>
</div>