PluginProbe
Two Factor Authentication / 1.2.6
Two Factor Authentication v1.2.6
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
← All changes | includes/admin_settings.php +35 -35 1.2.151.2.6 View file →
@@ -13,24 +13,24 @@
13 13
14 14 <div>
15 15
16 16 <?php screen_icon(); ?>
17 - <h1><?php echo sprintf(__('Two Factor Authentication (Version: %s) - Admin Settings', 'two-factor-authentication'), $simba_two_factor_authentication->version); ?> </h1>
17 + <h1><?php echo sprintf(__('Two Factor Authentication (Version: %s) - Admin Settings', SIMBA_TFA_TEXT_DOMAIN), $simba_two_factor_authentication->version); ?> </h1>
18 18
19 19 <?php
20 20 if (!class_exists('Simba_Two_Factor_Authentication_Premium')) {
21 21 ?>
22 - <a href="https://www.simbahosting.co.uk/s3/product/two-factor-authentication/"><?php _e("Premium version", 'two-factor-authentication');?></a> |
22 + <a href="https://www.simbahosting.co.uk/s3/product/two-factor-authentication/"><?php _e("Premium version", SIMBA_TFA_TEXT_DOMAIN);?></a> |
23 23 <?php
24 24 }
25 25 ?>
26 - <a href="<?php echo apply_filters('simba_tfa_support_url', 'https://wordpress.org/support/plugin/two-factor-authentication/');?>"><?php _e("Support", 'two-factor-authentication');?></a> |
27 - <a href="https://profiles.wordpress.org/davidanderson#content-plugins"><?php _e('More free plugins', 'two-factor-authentication');?></a> |
28 - <a href="http://updraftplus.com">UpdraftPlus - <?php _e('WordPress backups', 'two-factor-authentication'); ?></a> |
29 - <a href="https://www.simbahosting.co.uk/s3/shop/"><?php _e('More premium plugins', 'two-factor-authentication');?></a> |
30 - <a href="https://twitter.com/updraftplus"><?php _e('Twitter', 'two-factor-authentication');?></a> |
26 + <a href="<?php echo apply_filters('simba_tfa_support_url', 'https://wordpress.org/support/plugin/two-factor-authentication/');?>"><?php _e("Support", SIMBA_TFA_TEXT_DOMAIN);?></a> |
27 + <a href="https://profiles.wordpress.org/davidanderson#content-plugins"><?php _e('More free plugins', SIMBA_TFA_TEXT_DOMAIN);?></a> |
28 + <a href="http://updraftplus.com">UpdraftPlus - <?php _e('WordPress backups', SIMBA_TFA_TEXT_DOMAIN); ?></a> |
29 + <a href="https://www.simbahosting.co.uk/s3/shop/"><?php _e('More premium plugins', SIMBA_TFA_TEXT_DOMAIN);?></a> |
30 + <a href="https://twitter.com/updraftplus"><?php _e('Twitter', SIMBA_TFA_TEXT_DOMAIN);?></a> |
31 31
32 - <a href="http://david.dw-perspective.org.uk"><?php _e("Lead developer's homepage", 'two-factor-authentication');?></a>
32 + <a href="http://david.dw-perspective.org.uk"><?php _e("Lead developer's homepage", SIMBA_TFA_TEXT_DOMAIN);?></a>
33 33 <br>
34 34
35 35 </div>
36 36
@@ -35,11 +35,11 @@
35 35 </div>
36 36
37 37 <?php if (defined('TWO_FACTOR_DISABLE') && TWO_FACTOR_DISABLE) { ?>
38 38 <div class="error">
39 - <h3><?php _e('Two Factor Authentication currently disabled', 'two-factor-authentication');?></h3>
39 + <h3><?php _e('Two Factor Authentication currently disabled', SIMBA_TFA_TEXT_DOMAIN);?></h3>
40 40 <p>
41 - <?php _e('Two factor authentication is currently disabled via the TWO_FACTOR_DISABLE constant (which is mostly likely to be defined in your wp-config.php)', 'two-factor-authentication'); ?>
41 + <?php _e('Two factor authentication is currently disabled via the TWO_FACTOR_DISABLE constant (which is mostly likely to be defined in your wp-config.php)', SIMBA_TFA_TEXT_DOMAIN); ?>
42 42 </p>
43 43 </div>
44 44 <?php } ?>
45 45
@@ -50,9 +50,9 @@
50 50 global $wpdb;
51 51 if (is_super_admin() && is_object($wpdb) && isset($wpdb->blogid) && 1 == $wpdb->blogid) {
52 52 ?>
53 53 <p style="font-size: 120%; font-weight: bold;">
54 - <?php _e('N.B. These two-factor settings apply to your entire WordPress network. (i.e. They are not localised to one particular site).', 'two-factor-authentication');?>
54 + <?php _e('N.B. These two-factor settings apply to your entire WordPress network. (i.e. They are not localised to one particular site).', SIMBA_TFA_TEXT_DOMAIN);?>
55 55 </p>
56 56 <?php
57 57 } else {
58 58 // Should not be possible to reach this; but an extra check does not hurt.
@@ -64,10 +64,10 @@
64 64 <form method="post" action="options.php" style="margin-top: 12px">
65 65 <?php
66 66 settings_fields('tfa_user_roles_group');
67 67 ?>
68 - <h2><?php _e('User roles', 'two-factor-authentication'); ?></h2>
69 - <?php _e('Choose which user roles will have two factor authentication available.', 'two-factor-authentication'); ?>
68 + <h2><?php _e('User roles', SIMBA_TFA_TEXT_DOMAIN); ?></h2>
69 + <?php _e('Choose which user roles will have two factor authentication available.', SIMBA_TFA_TEXT_DOMAIN); ?>
70 70 <p>
71 71 <?php
72 72 $simba_two_factor_authentication->tfaListUserRolesCheckboxes();
73 73 ?></p>
@@ -75,13 +75,13 @@
75 75 </form>
76 76
77 77 <hr>
78 78
79 - <h2><?php _e('Make two factor authentication compulsory', 'two-factor-authentication'); ?></h2>
79 + <h2><?php _e('Make two factor authentication compulsory', SIMBA_TFA_TEXT_DOMAIN); ?></h2>
80 80
81 81 <?php
82 82
83 - $output = '<p><a href="https://www.simbahosting.co.uk/s3/product/two-factor-authentication/">'.__('Requiring users to use two-factor authentication is a feature of the Premium version of this plugin.', 'two-factor-authentication').'</a><p>';
83 + $output = '<p><a href="https://www.simbahosting.co.uk/s3/product/two-factor-authentication/">'.__('Requiring users to use two-factor authentication is a feature of the Premium version of this plugin.', SIMBA_TFA_TEXT_DOMAIN).'</a><p>';
84 84 echo apply_filters('simba_tfa_after_user_roles', $output);
85 85
86 86 ?>
87 87
@@ -90,21 +90,21 @@
90 90 <form method="post" action="options.php" style="margin-top: 40px">
91 91 <?php
92 92 settings_fields('tfa_xmlrpc_status_group');
93 93 ?>
94 - <h2><?php _e('XMLRPC requests', 'two-factor-authentication'); ?></h2>
94 + <h2><?php _e('XMLRPC requests', SIMBA_TFA_TEXT_DOMAIN); ?></h2>
95 95 <?php
96 96
97 97 echo '<p>';
98 - echo __("XMLRPC is a feature within WordPress allowing other computers to talk to your WordPress install. For example, it could be used by an app on your tablet that allows you to blog directly from the app (instead of needing the WordPress dashboard).", 'two-factor-authentication');
98 + echo __("XMLRPC is a feature within WordPress allowing other computers to talk to your WordPress install. For example, it could be used by an app on your tablet that allows you to blog directly from the app (instead of needing the WordPress dashboard).");
99 99
100 100 echo '<p></p>';
101 101
102 - echo __("Unfortunately, XMLRPC also provides a way for attackers to perform actions on your WordPress site, using only a password (i.e. without a two-factor password). More unfortunately, authors of legitimate programmes using XMLRPC have not yet added two-factor support to their code.", 'two-factor-authentication');
102 + echo __("Unfortunately, XMLRPC also provides a way for attackers to perform actions on your WordPress site, using only a password (i.e. without a two-factor password). More unfortunately, authors of legitimate programmes using XMLRPC have not yet added two-factor support to their code.", SIMBA_TFA_TEXT_DOMAIN);
103 103
104 104 echo '<p></p>';
105 105
106 - echo __(" i.e. XMLRPC requests coming in to WordPress (whether from a legitimate app, or from an attacker) can only be verified using the password - not with a two-factor code. As a result, there not be an ideal option to pick below. You may have to choose between the convenience of using your apps, or the security of two factor authentication.", 'two-factor-authentication');
106 + echo __(" i.e. XMLRPC requests coming in to WordPress (whether from a legitimate app, or from an attacker) can only be verified using the password - not with a two-factor code. As a result, there not be an ideal option to pick below. You may have to choose between the convenience of using your apps, or the security of two factor authentication.", SIMBA_TFA_TEXT_DOMAIN);
107 107
108 108 echo '</p>';
109 109 ?>
110 110 <p>
@@ -119,10 +119,10 @@
119 119 <form method="post" action="options.php" style="margin-top: 40px">
120 120 <?php
121 121 settings_fields('simba_tfa_default_hmac_group');
122 122 ?>
123 - <h2><?php _e('Default algorithm', 'two-factor-authentication'); ?></h2>
124 - <?php _e('Your users can change this in their own settings if they want.', 'two-factor-authentication'); ?>
123 + <h2><?php _e('Default algorithm', SIMBA_TFA_TEXT_DOMAIN); ?></h2>
124 + <?php _e('Your users can change this in their own settings if they want.', SIMBA_TFA_TEXT_DOMAIN); ?>
125 125 <p>
126 126 <?php
127 127 $simba_two_factor_authentication->tfaListDefaultHMACRadios();
128 128 ?></p>
@@ -129,17 +129,17 @@
129 129 <?php submit_button(); ?>
130 130 </form>
131 131 <hr>
132 132 <br><br>
133 - <h2><?php _e("Users' settings", 'two-factor-authentication'); ?></h2>
133 + <h2><?php _e("Users' settings", SIMBA_TFA_TEXT_DOMAIN); ?></h2>
134 134 <p>
135 135
136 136 <?php
137 137 if (!class_exists('Simba_Two_Factor_Authentication_Premium')) { ?>
138 138
139 - <a href="https://www.simbahosting.co.uk/s3/product/two-factor-authentication/"><?php _e("The Premium version of this plugin allows you to see and reset the TFA settings of other users.", 'two-factor-authentication'); ?></a>
139 + <a href="https://www.simbahosting.co.uk/s3/product/two-factor-authentication/"><?php _e("The Premium version of this plugin allows you to see and reset the TFA settings of other users.", SIMBA_TFA_TEXT_DOMAIN); ?></a>
140 140
141 - <a href="https://wordpress.org/plugins/user-switching/"><?php _e('Another way to do that is by using a user-switching plugin like this one.', 'two-factor-authentication'); ?></a>
141 + <a href="https://wordpress.org/plugins/user-switching/"><?php _e('Another way to do that is by using a user-switching plugin like this one.', SIMBA_TFA_TEXT_DOMAIN); ?></a>
142 142
143 143 <?php } ?>
144 144
145 145 <?php do_action('simba_tfa_users_settings'); ?>
@@ -171,11 +171,11 @@
171 171 $userdata = get_userdata( $user->ID );
172 172 $tfa_type = get_user_meta($user->ID, 'simbatfa_delivery_type', true);
173 173 print '<span style="font-size: 1.2em">'.esc_attr( $userdata->user_nicename ).'</span>';
174 174 if(!$tfa_type)
175 - print ' - '.__('Default', 'two-factor-authentication');
175 + print ' - '.__('Default', SIMBA_TFA_TEXT_DOMAIN);
176 176 else
177 - print ' - <a class="button" href="'.esc_url(add_query_arg(array('tfa_change_to_email' => 1, 'tfa_user_id' => $user->ID))).'">'.__('Change to email', 'two-factor-authentication').'</a>';
177 + print ' - <a class="button" href="'.esc_url(add_query_arg(array('tfa_change_to_email' => 1, 'tfa_user_id' => $user->ID))).'">'.__('Change to email', SIMBA_TFA_TEXT_DOMAIN).'</a>';
178 178 print '<br>';
179 179 }
180 180 }
181 181 }
@@ -182,27 +182,27 @@
182 182
183 183 ?>
184 184 <hr>
185 185 <?php if (!class_exists('Simba_Two_Factor_Authentication_Premium')) { ?>
186 - <h2><?php _e('Premium version', 'two-factor-authentication'); ?></h2>
186 + <h2><?php _e('Premium version', SIMBA_TFA_TEXT_DOMAIN); ?></h2>
187 187 <p>
188 - <a href="https://www.simbahosting.co.uk/s3/product/two-factor-authentication/"><?php _e("If you want to say 'thank you' or help this plugin's development, or get extra features, then please take a look at the premium version of this plugin.", 'two-factor-authentication'); ?></a> <?php _e('It comes with these extra features:', 'two-factor-authentication');?><br>
188 + <a href="https://www.simbahosting.co.uk/s3/product/two-factor-authentication/"><?php _e("If you want to say 'thank you' or help this plugin's development, or get extra features, then please take a look at the premium version of this plugin.", SIMBA_TFA_TEXT_DOMAIN); ?></a> <?php _e('It comes with these extra features:', SIMBA_TFA_TEXT_DOMAIN);?><br>
189 189 </p>
190 190 <p>
191 191 <ul style="list-style: disc inside;">
192 - <li><strong><?php _e('Emergency codes', 'two-factor-authentication');?></strong> - <?php _e('provide your users with one-time codes to use in case they lose their device.', 'two-factor-authentication');?></li>
193 - <li><strong><?php _e('Manage all users centrally', 'two-factor-authentication');?></strong> - <?php _e('enable, disable or see TFA codes for all your users from one central location.', 'two-factor-authentication');?></li>
194 - <li><strong><?php _e('More shortcodes', 'two-factor-authentication');?></strong> - <?php _e('flexible shortcodes allowing you to design your front-end settings page for your users exactly as you wish.', 'two-factor-authentication');?></li>
195 - <li><strong><?php _e('Personal support', 'two-factor-authentication');?></strong> - <?php _e('access to our personal support desk for 12 months.', 'two-factor-authentication');?></li>
192 + <li><strong><?php _e('Emergency codes', SIMBA_TFA_TEXT_DOMAIN);?></strong> - <?php _e('provide your users with one-time codes to use in case they lose their device.', SIMBA_TFA_TEXT_DOMAIN);?></li>
193 + <li><strong><?php _e('Manage all users centrally', SIMBA_TFA_TEXT_DOMAIN);?></strong> - <?php _e('enable, disable or see TFA codes for all your users from one central location.', SIMBA_TFA_TEXT_DOMAIN);?></li>
194 + <li><strong><?php _e('More shortcodes', SIMBA_TFA_TEXT_DOMAIN);?></strong> - <?php _e('flexible shortcodes allowing you to design your front-end settings page for your users exactly as you wish.', SIMBA_TFA_TEXT_DOMAIN);?></li>
195 + <li><strong><?php _e('Personal support', SIMBA_TFA_TEXT_DOMAIN);?></strong> - <?php _e('access to our personal support desk for 12 months.', SIMBA_TFA_TEXT_DOMAIN);?></li>
196 196 </ul>
197 197 </p>
198 198 <hr>
199 199 <?php } ?>
200 200
201 - <h2><?php _e('Translations', 'two-factor-authentication'); ?></h2>
201 + <h2><?php _e('Translations', SIMBA_TFA_TEXT_DOMAIN); ?></h2>
202 202 <p>
203 - <?php _e("If you translate this plugin, please send the translations .po-file to us so we can include it in future releases - paste a link in the plugin's support forum.", 'two-factor-authentication'); ?>
203 + <?php _e("If you translate this plugin, please send the translations .po-file to us so we can include it in future releases - paste a link in the plugin's support forum.", SIMBA_TFA_TEXT_DOMAIN); ?>
204 204 <br>
205 205 </p>
206 206
207 207 </div>
208 -</div>
208 +</div>