PluginProbe
Two Factor Authentication / 1.16.0
Two Factor Authentication v1.16.0
1.12.2 1.13.0 1.14.10 1.14.11 1.14.14 1.14.15 1.14.16 1.14.17 1.14.23 1.14.24 1.14.26 1.14.27 1.14.3 1.14.4 1.14.5 1.14.7 1.14.8 1.15.5 1.16.0 1.2.10 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 All 98 releases
two-factor-authentication / simba-tfa / templates / shortcode-tfa-user-settings.php

shortcode-tfa-user-settings.php in Two Factor Authentication 1.16.0, at simba-tfa/templates/shortcode-tfa-user-settings.php

30 lines 836 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (!defined('ABSPATH')) die('No direct access.');
4
5 if (!$is_activated_for_user) {
6
7 global $current_user;
8 echo empty($current_user->ID) ? '(' . esc_html__('Not logged in.', 'two-factor-authentication').')' : esc_html__('Two factor authentication is not available for your user.', 'two-factor-authentication');
9
10 } else {
11
12 ?>
13
14 <div class="wrap" style="padding-bottom:10px">
15
16 <?php $simba_tfa->include_template('settings-intro-notices.php'); ?>
17
18 <?php $tfa_frontend->settings_enable_or_disable_output(); ?>
19
20 <?php $simba_tfa->get_controller('totp')->current_codes_box(); ?>
21
22 <?php if (!empty($show_algorithm_selector)) $simba_tfa->get_controller('totp')->advanced_settings_box(array($tfa_frontend, 'save_settings_button')); ?>
23
24 </div>
25
26 <?php $tfa_frontend->save_settings_javascript_output(); ?>
27
28 <?php
29 }
30