images
3 years ago
templates
3 years ago
templates-provider
3 years ago
EditUser.php
6 years ago
admin.php
3 years ago
interim.php
6 years ago
notice.php
3 years ago
style.css
4 years ago
upgrader.php
4 years ago
interim.php
38 lines
| 1 | <?php |
| 2 | if (!defined('ABSPATH')) { |
| 3 | exit; |
| 4 | } |
| 5 | |
| 6 | global $interim_login; |
| 7 | $customize_login = isset($_REQUEST['customize-login']); |
| 8 | if ($customize_login) { |
| 9 | wp_enqueue_script('customize-base'); |
| 10 | } |
| 11 | |
| 12 | $message = '<p class="message">' . __('You have logged in successfully.') . '</p>'; |
| 13 | $interim_login = 'success'; |
| 14 | ?><!DOCTYPE html> |
| 15 | <!--[if IE 8]> |
| 16 | <html xmlns="http://www.w3.org/1999/xhtml" class="ie8" <?php language_attributes(); ?>> |
| 17 | <![endif]--> |
| 18 | <!--[if !(IE 8) ]><!--> |
| 19 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
| 20 | <!--<![endif]--> |
| 21 | <head> |
| 22 | <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>"/> |
| 23 | <title><?php __('You have logged in successfully.'); ?></title> |
| 24 | </head> |
| 25 | <body class="login interim-login interim-login-success"> |
| 26 | <?php |
| 27 | echo $message; |
| 28 | /** This action is documented in wp-login.php */ |
| 29 | do_action('login_footer'); ?> |
| 30 | <?php if ($customize_login) : ?> |
| 31 | <script type="text/javascript">setTimeout(function () { |
| 32 | new wp.customize.Messenger({url: '<?php echo wp_customize_url(); ?>', channel: 'login'}).send( |
| 33 | 'login'); |
| 34 | }, 1000);</script> |
| 35 | <?php endif; ?> |
| 36 | </body> |
| 37 | </html> |
| 38 | <?php exit; |