PluginProbe
To Top / trunk
To Top vtrunk
trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.6 1.7 1.8 1.8.1 1.9 2.0 2.1 2.2 2.2.1 2.2.2 2.3 2.4 All 34 releases
to-top / admin / partials / to-top-admin-display.php

to-top-admin-display.php in To Top trunk, at admin/partials/to-top-admin-display.php

93 lines 5.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if (! defined('ABSPATH')) {
4 exit; // Exit if accessed directly
5 }
6
7
8 ?>
9
10 <div class="wrap">
11 <h1 class="wp-heading-inline"><?php esc_html_e('To Top', 'to-top'); ?></h1>
12
13 <div class="catchp-content-wrapper">
14 <div class="catchp_widget_settings">
15 <form id="catch-instagram-feed-gallery-widget-main" method="post" action="options.php">
16
17 <h2 class="nav-tab-wrapper">
18 <a class="nav-tab nav-tab-active" id="dashboard-tab" href="#dashboard"><?php esc_html_e('Dashboard', 'to-top'); ?></a>
19 <a class="nav-tab" id="features-tab" href="#features"><?php esc_html_e('Features', 'to-top'); ?></a>
20 </h2>
21
22 <div id="dashboard" class="wpcatchtab nosave active">
23 <?php require_once plugin_dir_path(dirname(__FILE__)) . '/partials/to-top-dashboard.php'; ?>
24
25 <div id="ctp-switch" class="content-wrapper col-3 to-top-main">
26 <div class="header">
27 <h2><?php esc_html_e('Catch Themes & Catch Plugins Tabs', 'to-top'); ?></h2>
28 </div> <!-- .Header -->
29
30 <div class="content">
31
32 <p><?php echo esc_html__('If you want to turn off Catch Themes & Catch Plugins tabs option in Add Themes and Add Plugins page, please uncheck the following option.', 'to-top'); ?>
33 </p>
34 <table>
35 <tr>
36 <td>
37 <?php echo esc_html__('Turn On Catch Themes & Catch Plugin tabs', 'to-top'); ?>
38 </td>
39 <td><?php
40 $ctp_options = ctp_get_options(); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- template-scope variable inside a required partial.
41 ?>
42 <div class="module-header <?php echo esc_attr( $ctp_options['theme_plugin_tabs'] ? 'active' : 'inactive' ); ?>">
43 <div class="switch">
44 <input type="hidden" name="ctp_tabs_nonce" id="ctp_tabs_nonce" value="<?php echo esc_attr(wp_create_nonce('ctp_tabs_nonce')); ?>" />
45 <input type="checkbox" id="ctp_options[theme_plugin_tabs]" class="ctp-switch" rel="theme_plugin_tabs" <?php checked(true, $ctp_options['theme_plugin_tabs']); ?>>
46 <label for="ctp_options[theme_plugin_tabs]"></label>
47 </div>
48 <div class="loader"></div>
49 </div>
50 </td>
51 </tr>
52 </table>
53
54 </div>
55 </div><!-- .content-wrapper -->
56 </div><!-- .dashboard -->
57
58 <div id="features" class="wpcatchtab save">
59 <div class="content-wrapper col-3">
60 <div class="header">
61 <h3><?php esc_html_e('Features', 'to-top'); ?></h3>
62 </div><!-- .header -->
63 <div class="content">
64 <ul class="catchp-lists">
65 <li>
66 <strong><?php esc_html_e('Supports all themes on WordPress', 'to-top'); ?></strong>
67 <p><?php esc_html_e('You don’t have to worry if you have a slightly different or complicated theme installed on your website. It supports all the themes on WordPress and makes your website more striking and playful.', 'to-top'); ?></p>
68 </li>
69
70 <li>
71 <strong><?php esc_html_e('Lightweight', 'to-top'); ?></strong>
72 <p><?php esc_html_e('It is extremely lightweight. You do not need to worry about it affecting the space and speed of your website.', 'to-top'); ?></p>
73 </li>
74
75 <li>
76 <strong><?php esc_html_e('Incredible Support', 'to-top'); ?></strong>
77 <p><?php esc_html_e('We have a great line of support team and support documentation. You do not need to worry about how to use the plugins we provide, just refer to our Tech Support Forum. Further, if you need to do advanced customization to your website, you can always hire our theme customizer!', 'to-top'); ?></p>
78 </li>
79 </ul>
80 </div><!-- .content -->
81 </div><!-- content-wrapper -->
82 </div> <!-- Featured -->
83
84 </form><!-- #catch-instagram-feed-gallery-widget-main -->
85
86 </div><!-- .catchp_widget_settings -->
87
88
89 <?php require_once plugin_dir_path(dirname(__FILE__)) . '/partials/sidebar.php'; ?>
90 </div> <!-- .catchp-content-wrapper -->
91
92 <?php require_once plugin_dir_path(dirname(__FILE__)) . '/partials/footer.php'; ?>
93 </div><!-- .wrap -->