PluginProbe
DoLogin Security / trunk
DoLogin Security vtrunk
5.0.10 4.8.3 trunk 1.0 1.1 1.1.1 1.2 1.2.1 1.2.2 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 1.6 All 64 releases
dologin / tpl / entry.tpl.php

entry.tpl.php in DoLogin Security trunk, at tpl/entry.tpl.php

64 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Main settings page wrapper template.
4 *
5 * @package dologin
6 */
7
8 namespace dologin;
9
10 defined( 'WPINC' ) || exit;
11
12 $dologin_menu_list = array(
13 'site' => __( 'Site Connections', 'dologin' ),
14 'setting' => __( 'Settings', 'dologin' ),
15 'pswdless' => __( 'Passwordless Login', 'dologin' ),
16 'log' => __( 'Login Attempts Log', 'dologin' ),
17 );
18 ?>
19 <div class="wrap dologin-settings">
20 <h1 class="dologin-h1">
21 <?php esc_html_e( 'DoLogin Security', 'dologin' ); ?>
22 </h1>
23 <span class="dologin-desc">
24 v<?php echo esc_html( Core::VER ); ?>
25 </span>
26 <hr class="wp-header-end">
27 </div>
28
29 <div class="dologin-wrap">
30 <h2 class="dologin-header nav-tab-wrapper">
31 <?php
32 $dologin_i = 1;
33 foreach ( $dologin_menu_list as $dologin_tab => $dologin_val ) {
34 echo "<a class='dologin-tab nav-tab' href='#" . esc_attr( $dologin_tab ) . "' data-dologin-tab='" . esc_attr( $dologin_tab ) . "'";
35 if ( $dologin_i <= 9 ) {
36 echo " dologin-accesskey='" . (int) $dologin_i . "'";
37 }
38 echo '>' . esc_html( $dologin_val ) . '</a>';
39 ++$dologin_i;
40 }
41 ?>
42 </h2>
43
44 <div class="dologin-body">
45 <?php
46 // Include all tab templates up front for faster switching.
47 foreach ( $dologin_menu_list as $dologin_tab => $dologin_val ) {
48 echo "<div data-dologin-layout='" . esc_attr( $dologin_tab ) . "'>";
49 require DOLOGIN_DIR . 'tpl/' . $dologin_tab . '.tpl.php';
50 echo '</div>';
51 }
52 ?>
53 </div>
54
55 </div>
56
57 <h2 style="margin: 30px;">
58 <a href="https://wordpress.org/support/plugin/dologin/reviews/?rate=5#new-post" target="_blank"><?php esc_html_e( 'Rate Us!', 'dologin' ); ?>
59 <span class="wporg-ratings rating-stars" style="text-decoration: none;">
60 <span class="dashicons dashicons-star-filled" style="color:#ffb900 !important;"></span><span class="dashicons dashicons-star-filled" style="color:#ffb900 !important;"></span><span class="dashicons dashicons-star-filled" style="color:#ffb900 !important;"></span><span class="dashicons dashicons-star-filled" style="color:#ffb900 !important;"></span><span class="dashicons dashicons-star-filled" style="color:#ffb900 !important;"></span>
61 </span>
62 </a>
63 </h2>
64