| 1 |
<?php defined('ABSPATH') or die("Protected By WT!");?> |
| 2 |
<div class="wtotem_welcome-wrapper"> |
| 3 |
<div class="wtotem_content" style="padding:1px"> |
| 4 |
<div class="wtotem_container"> |
| 5 |
<?php WTSEC_LIBRARY_Session::notifications() ?> |
| 6 |
</div> |
| 7 |
</div> |
| 8 |
<div class="wtotem_welcome-wrapper__head-height"> |
| 9 |
<div class="wtotem_modal"> |
| 10 |
<h2 class="wtotem_modal__subject"> |
| 11 |
<?= __( 'Activate the plugin', 'wtotem' ) ?> |
| 12 |
</h2> |
| 13 |
<form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" class="wtotem_modal__window wt_card"> |
| 14 |
<input type="hidden" name="action" value="wtsec_login_form"> |
| 15 |
<h3 class="wtotem_modal__title"> |
| 16 |
<?= __( 'Welcome friend!', 'wtotem' ) ?> |
| 17 |
</h3> |
| 18 |
<p class="wtotem_modal__text"> |
| 19 |
<?= __( 'Sign in to continue to WebTotem', 'wtotem' ) ?> |
| 20 |
</p> |
| 21 |
<div class="wtotem_modal__block"> |
| 22 |
<img src="<?=wtsec_getImagePath("logo-circle.svg")?>" alt="Web Totem" class="wtotem_modal__logo" /> |
| 23 |
</div> |
| 24 |
<div class="wtotem_modal__wrap"> |
| 25 |
<input name="key" type="text" class="wtotem_modal__api-key" placeholder="<?= __( 'API-KEY code', 'wtotem' ) ?>" /> |
| 26 |
|
| 27 |
</div> |
| 28 |
<button class="wtotem_modal__btn" type="submit"> |
| 29 |
<?= __( 'ACTIVATE', 'wtotem' ) ?> |
| 30 |
</button> |
| 31 |
</form> |
| 32 |
<p class="wtotem_modal__desc"> |
| 33 |
<?= str_replace( '<a>', '<a target="_blank" class="wtotem_modal__cabinet" href="https://wtotem.com/cabinet/profile/keys">', |
| 34 |
__( 'You can receive the keys in your personal account <a>cabinet</a>', 'wtotem' ) );?> |
| 35 |
<?= str_replace( '<a>', '<a target="_blank" class="wtotem_modal__cabinet" href="https://docs.wtotem.com/plugin-for-wordpress#vy-to-activate-the-plugin">', |
| 36 |
__( 'or read the activation <a>manual</a>', 'wtotem' ) );?> |
| 37 |
</p> |
| 38 |
|
| 39 |
</div> |
| 40 |
</div> |
| 41 |
|
| 42 |
<div class="wtotem_welcome-wrapper__footer-height"> |
| 43 |
<div class="wtotem_welcome-bottom"> |
| 44 |
<img src="<?=wtsec_getImagePath("logo-gray.svg")?>" alt="Web Totem" class="wtotem_welcome-bottom__logo" /> |
| 45 |
<p class="wtotem_welcome-bottom__label"> |
| 46 |
© 2017-2021 <?= __( 'All rights reserved', 'wtotem' ) ?> |
| 47 |
</p> |
| 48 |
</div> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
|
| 52 |
<?php if($arguments['logout']):?> |
| 53 |
<script> |
| 54 |
window.addEventListener('DOMContentLoaded', function () { |
| 55 |
AmplitudeAnalytics.loggedOut(); |
| 56 |
}); |
| 57 |
</script> |
| 58 |
<?php endif;?> |
| 59 |
|