Changeset 3674932
- Timestamp:
- 08/31/2026 08:33:05 PM (3 months ago)
- Location:
- thoughtmetric-for-woocommerce
- Files:
-
- 9 added
- 4 edited
-
tags/1.30.0 (added)
-
tags/1.30.0/css (added)
-
tags/1.30.0/css/style.css (added)
-
tags/1.30.0/images (added)
-
tags/1.30.0/images/tm-logo.png (added)
-
tags/1.30.0/inc (added)
-
tags/1.30.0/inc/thoughtmetric-admin-settings.php (added)
-
tags/1.30.0/readme.txt (added)
-
tags/1.30.0/thoughtmetric-ecommerce.php (added)
-
trunk/css/style.css (modified) (1 diff)
-
trunk/inc/thoughtmetric-admin-settings.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/thoughtmetric-ecommerce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
thoughtmetric-for-woocommerce/trunk/css/style.css
r2890651 r3674932 1 1 2 2 div#tm-wrap { 3 font-family: Roboto;3 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; 4 4 font-style: normal; 5 5 display: flex; -
thoughtmetric-for-woocommerce/trunk/inc/thoughtmetric-admin-settings.php
r2890651 r3674932 19 19 20 20 function thoughtmetric_base64encode() { 21 //only run on our own settings page, the elements below don't exist anywhere else in wp-admin 22 if ( ! isset( $_GET['page'] ) || 'thoughtmetric' !== $_GET['page'] ) { 23 return; 24 } 21 25 ?> 22 26 <script type="text/javascript"> 23 var tm_submit = document.getElementById( 'submit' ) 27 (function() { 28 var tm_submit = document.getElementById( 'submit' ); 24 29 var tm_snippet_unencoded = document.getElementById( 'tm_snippet_unencoded' ); 30 var thoughtmetric_snippet = document.getElementById( 'thoughtmetric_snippet' ); 31 if ( ! tm_submit || ! tm_snippet_unencoded || ! thoughtmetric_snippet ) { 32 return; 33 } 34 25 35 tm_submit.disabled = tm_snippet_unencoded.value === ''; 26 36 27 37 tm_submit.addEventListener( 'click', function() { 28 var thoughtmetric_snippet = document.getElementById( 'thoughtmetric_snippet' );29 38 thoughtmetric_snippet.value = window.btoa(window.btoa( tm_snippet_unencoded.value )); 30 39 }); … … 33 42 tm_submit.disabled = tm_snippet_unencoded.value === ''; 34 43 }, false); 44 })(); 35 45 </script> 36 46 <?php -
thoughtmetric-for-woocommerce/trunk/readme.txt
r3484208 r3674932 3 3 Tags: thoughtmetric, thought metric, marketing analytics, marketing attribution, attribution 4 4 Requires at least: 5.2 5 Tested up to: 6.9.16 Stable tag: 1. 29.05 Tested up to: 7.1 6 Stable tag: 1.30.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
thoughtmetric-for-woocommerce/trunk/thoughtmetric-ecommerce.php
r3484208 r3674932 6 6 * Description: ThoughtMetric Marketing Attribution for WooCommerce 7 7 * Text Domain: thoughtmetric 8 * Version: 1. 29.08 * Version: 1.30.0 9 9 * Requires at least: 5.2 10 10 * WC requires at least: 2.2 … … 34 34 function thoughtmetric_stylesheet(){ 35 35 wp_enqueue_style( 'thoughtmetric-styles', plugins_url( 'css/style.css', __FILE__ ) ); 36 wp_enqueue_style( 'roboto', 'https://fonts.googleapis.com/css?family=Roboto:400,500' );37 36 } 38 37 add_action( 'admin_print_styles', 'thoughtmetric_stylesheet' );
Note:
See TracChangeset
for help on using the changeset viewer.