PluginProbe
Wp Tracking Codes / 1.4.1
Wp Tracking Codes v1.4.1
trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.0, 1.10.0 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 1.5.0 1.6.0 1.7.0 1.8.0 1.9.0 1.9.1 1.9.2 1.9.3
wp-tracking-codes / includes / admin / views / html-admin-page.php

html-admin-page.php in Wp Tracking Codes 1.4.1, at includes/admin/views/html-admin-page.php

105 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Admin help message.
4 *
5 * @package WooCommerce_PagSeguro/Admin/Settings
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit;
10 }
11 ?>
12 <style type="text/css">
13 .form-table{
14 clear:none !important;
15 }
16 .title-section{
17 position: relative;
18 display: inline-block;
19 }
20 .title-section:after{
21 content:'NEW';
22 background: yellow;
23 padding: 5px;
24 color:#000;
25 font-weight: bold;
26 position: absolute;
27 right: -48px;
28 top: -5px;
29 }
30 .status{
31 display: inline-block;
32 position: relative;
33 top: -10px;
34 left: 0px;
35 }
36 .status .dashicons{
37 font-size: 40px;
38 color:green;
39 }
40 #google_merchant_estimative_delivery_days{
41 text-align: right;
42 }
43 </style>
44 <div class="wrap">
45 <form method="POST" action="options.php">
46 <h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
47 <div id="poststuff" class="metabox-holder has-right-sidebar">
48 <div class="inner-sidebar">
49 <div id="side-sortables" class="meta-box-sortabless ui-sortable" style="position:relative;">
50 <div id="sm_pnres" class="postbox">
51 <h3 class="hndle"><span>About this Plugin:</span></h3>
52 <div class="inside">
53 <br>
54 <a class="button activate-now button-primary" target="_blank" href="https://wordpress.org/support/plugin/wp-tracking-codes/reviews/" style="font-size:18px;display: block;text-align: center;">
55 Send Your Review
56 </a>
57 <br>
58 <br>
59 <a class="sm_button sm_pluginHome" target="_blank" href="https://wordpress.org/support/plugin/wp-tracking-codes/">Support Plugin</a><br><br>
60 <a class="sm_button sm_pluginHome" target="_blank" href="https://wordpress.org/plugins/wp-tracking-codes/">Page Plugin</a><br><br>
61 <a class="sm_button sm_pluginHome" target="_blank" href="https://profiles.wordpress.org/heitor_tito/">Author Plugin</a><br><br>
62 </div>
63 </div>
64 </div>
65 </div>
66 <div class="has-sidebar sm-padded">
67 <div id="post-body-content" class="has-sidebar-content">
68 <div class="meta-box-sortabless">
69 <!-- Rebuild Area -->
70 <div id="sm_rebuild" class="postbox">
71 <h3 class="hndle"><span>My Tracking Codes</span></h3>
72 <div class="inside">
73 <?php //echo $options = get_option( 'tracking_analytics' ); ?>
74 <?php settings_fields( 'wp-tracking-codes' ); //pass slug name of page, also referred
75 //to in Settings API as option group name
76 do_settings_sections( 'wp-tracking-codes' ); //pass slug name of page
77 submit_button();
78 ?>
79 </div>
80 </div>
81 </div>
82 <!-- <div class="meta-box-sortabless">-->
83 <!-- <div id="sm_rebuild" class="postbox">-->
84 <!-- <h3 class="hndle"><span>Add-ons</span></h3>-->
85 <!-- <div class="inside">-->
86 <!-- <p class="submit"><a class="button button-primary">DATA LAYER ENHANCED ECOMMERCE FOR WOOOCOMERCE</a></p>-->
87 <!-- </div>-->
88 <!-- </div>-->
89 <!-- </div>-->
90 </div>
91 </div>
92 </div>
93 </form>
94 </div>
95 <script>
96 let searchParams = new URLSearchParams(window.location.search);
97 let desativate_datalayer = searchParams.get('desativate_datalayer')
98 if(desativate_datalayer=='true'){
99 jQuery("#data_layer_google_tag_manager").trigger('click');
100 jQuery("#submit").trigger('click');
101 var href = new URL(window.location.href);
102 href.searchParams.set('desativate_datalayer', '');
103 location.replace(href.toString());
104 }
105 </script>