41 lines
3.0 KiB
PHP
41 lines
3.0 KiB
PHP
<?php
|
|
use Bitrix\Main\Localization\Loc;
|
|
|
|
if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) {
|
|
die();
|
|
}
|
|
|
|
Loc::loadMessages(__FILE__);
|
|
$this->addExternalCss("/local/components/jinove/auth.login/templates/.default/style.css");
|
|
$uid = "vino-forgot";
|
|
?>
|
|
<section class="vino-auth vino-auth--single">
|
|
<div class="vino-auth__card">
|
|
<p class="vino-auth__kicker"><?= Loc::getMessage("VINO_FORGOT_KICKER") ?></p>
|
|
<h1 class="vino-auth__title"><?= Loc::getMessage("VINO_FORGOT_TITLE") ?></h1>
|
|
<p class="vino-auth__lead"><?= Loc::getMessage("VINO_FORGOT_LEAD") ?></p>
|
|
<p class="vino-auth__demo" role="note"><?= Loc::getMessage("VINO_FORGOT_DEMO") ?></p>
|
|
<p class="vino-auth__done" role="status" tabindex="-1" hidden data-auth-done><?= Loc::getMessage("VINO_FORGOT_DONE") ?></p>
|
|
<form class="vino-auth__form" method="post" novalidate data-auth-forgot
|
|
data-msg-email="<?= htmlspecialcharsbx(Loc::getMessage("VINO_FORGOT_ERR_EMAIL")) ?>"
|
|
data-msg-consent="<?= htmlspecialcharsbx(Loc::getMessage("VINO_FORGOT_ERR_CONSENT")) ?>"
|
|
data-msg-altcha="<?= htmlspecialcharsbx(Loc::getMessage("VINO_FORGOT_ERR_ALTCHA")) ?>"
|
|
data-msg-too-often="<?= htmlspecialcharsbx(Loc::getMessage("VINO_FORGOT_ERR_TOO_OFTEN")) ?>"
|
|
data-msg-retry="<?= htmlspecialcharsbx(Loc::getMessage("VINO_FORGOT_ERR_RETRY")) ?>"
|
|
data-msg-error="<?= htmlspecialcharsbx(Loc::getMessage("VINO_FORGOT_ERR_COMMON")) ?>">
|
|
<input type="text" name="website" class="vino-hp" tabindex="-1" autocomplete="off" aria-hidden="true">
|
|
<div class="vino-auth__field">
|
|
<label class="vino-auth__label" for="<?= $uid ?>-email"><?= Loc::getMessage("VINO_FORGOT_EMAIL") ?></label>
|
|
<input class="vino-inp vino-auth__input" id="<?= $uid ?>-email" type="email" name="email" autocomplete="email" inputmode="email" maxlength="254" aria-describedby="<?= $uid ?>-err" required>
|
|
</div>
|
|
<label class="vino-consent vino-consent--sm vino-auth__consent"><input class="vino-consent__checkbox" type="checkbox" name="consent" value="1" aria-describedby="<?= $uid ?>-err" required><span class="vino-consent__text"><?= Loc::getMessage("VINO_FORGOT_CONSENT", array("#BUTTON#" => Loc::getMessage("VINO_FORGOT_SUBMIT"), "#URL#" => SITE_DIR . "consent/", "#PRIVACY_URL#" => SITE_DIR . "privacy/")) ?></span></label>
|
|
<altcha-widget name="altcha" challenge="/bitrix/services/main/ajax.php?action=jinove:vinoteca.lead.challenge" auto="onload" display="invisible"></altcha-widget>
|
|
<p class="vino-auth__err" id="<?= $uid ?>-err" role="alert" data-auth-err></p>
|
|
<button class="vino-btn vino-auth__submit" type="submit"><?= Loc::getMessage("VINO_FORGOT_SUBMIT") ?></button>
|
|
<div class="vino-auth__links">
|
|
<a class="vino-auth__link" href="<?= htmlspecialcharsbx($arResult["LOGIN_URL"]) ?>"><?= Loc::getMessage("VINO_FORGOT_BACK") ?></a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</section>
|