PluginProbe
Wp Tracking Codes / 1.3.3
Wp Tracking Codes v1.3.3
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.3.3, at includes/admin/views/html-admin-page.php

71 lines 3.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 </style>
17 <div class="wrap">
18 <form method="POST" action="options.php">
19 <h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
20 <div id="poststuff" class="metabox-holder has-right-sidebar">
21 <div class="inner-sidebar">
22 <div id="side-sortables" class="meta-box-sortabless ui-sortable" style="position:relative;">
23 <div id="sm_pnres" class="postbox">
24 <h3 class="hndle"><span>About this Plugin:</span></h3>
25 <div class="inside">
26 <br>
27 <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;">
28 Send Your Review
29 </a>
30 <br>
31 <br>
32 <a class="sm_button sm_pluginHome" target="_blank" href="https://wordpress.org/support/plugin/wp-tracking-codes/">Support Plugin</a><br><br>
33 <a class="sm_button sm_pluginHome" target="_blank" href="https://wordpress.org/plugins/wp-tracking-codes/">Page Plugin</a><br><br>
34 <a class="sm_button sm_pluginHome" target="_blank" href="https://profiles.wordpress.org/heitor_tito/">Author Plugin</a><br><br>
35 <a class="sm_button sm_pluginHome" target="_blank" href="https://github.com/heitorspedroso/wp-tracking-codes">Contribute in repository GitHub</a><br><br>
36 </div>
37 </div>
38 </div>
39 </div>
40 <div class="has-sidebar sm-padded">
41 <div id="post-body-content" class="has-sidebar-content">
42 <div class="meta-box-sortabless">
43 <!-- Rebuild Area -->
44 <div id="sm_rebuild" class="postbox">
45 <h3 class="hndle"><span>My Tracking Codes</span></h3>
46 <div class="inside">
47 <?php //echo $options = get_option( 'tracking_analytics' ); ?>
48 <?php settings_fields( 'wp-tracking-codes' ); //pass slug name of page, also referred
49 //to in Settings API as option group name
50 do_settings_sections( 'wp-tracking-codes' ); //pass slug name of page
51 submit_button();
52 ?>
53 </div>
54 </div>
55 </div>
56 </div>
57 </div>
58 </div>
59 </form>
60 </div>
61 <script>
62 let searchParams = new URLSearchParams(window.location.search);
63 let desativate_datalayer = searchParams.get('desativate_datalayer')
64 if(desativate_datalayer=='true'){
65 jQuery("#data_layer_google_tag_manager").trigger('click');
66 jQuery("#submit").trigger('click');
67 var href = new URL(window.location.href);
68 href.searchParams.set('desativate_datalayer', '');
69 location.replace(href.toString());
70 }
71 </script>