Changeset 2996631
- Timestamp:
- 11/15/2023 06:36:54 PM (2 years ago)
- Location:
- lara-google-analytics/trunk
- Files:
-
- 2 added
- 11 edited
-
core/GoogleAnalyticsAPI.class.php (modified) (1 diff)
-
core/lrgawidget.class.php (modified) (1 diff)
-
core/lrgawidget.permissions.php (modified) (2 diffs)
-
dist/css/lrgalite-main.css (modified) (3 diffs)
-
dist/css/lrgawidget.css (modified) (2 diffs)
-
dist/img/flags.png (added)
-
dist/img/jquery.minicolors.png (added)
-
dist/js/lrgalite-main.js (modified) (1 diff)
-
dist/plugins/chartjs/Chart.min.js (modified) (1 diff)
-
dist/plugins/minicolors/jquery.minicolors.css (modified) (1 diff)
-
lara-google-analytics.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
widgets/lrgawidget.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lara-google-analytics/trunk/core/GoogleAnalyticsAPI.class.php
r2820580 r2996631 57 57 } 58 58 59 public function getAccounts() {60 return $this->httpRequest(self::ACCOUNTS_SUMMARY_URL, array('access_token' => $this->access_token), "GET");61 } 59 public function getAccounts() { 60 return $this->httpRequest(self::ACCOUNTS_SUMMARY_URL, array('access_token' => $this->access_token, 'pageSize' => 200), "GET"); 61 } 62 62 63 63 public function getProperty($property_id) { -
lara-google-analytics/trunk/core/lrgawidget.class.php
r2818551 r2996631 75 75 } 76 76 } 77 78 77 79 return $graphObject; 78 80 } -
lara-google-analytics/trunk/core/lrgawidget.permissions.php
r2818551 r2996631 15 15 private $laraStockPermissions; 16 16 private $userRoles; 17 private $userPermissions; 17 18 private $output = array(); 18 19 private $errors = array(); … … 59 60 ) 60 61 ), 62 61 63 ); 62 63 64 $this->userRoles = array("administrator"); 64 65 $this->userPermissions = array("admin", -
lara-google-analytics/trunk/dist/css/lrgalite-main.css
r2818551 r2996631 6994 6994 6995 6995 .minicolors-sprite { 6996 background-image: url(../ plugins/minicolors/jquery.minicolors.png);6996 background-image: url(../img/jquery.minicolors.png); 6997 6997 } 6998 6998 … … 9357 9357 .lrghop_colorselector_item { 9358 9358 display: inline-block; 9359 width: 2 0px;9359 width: 25px; 9360 9360 height: 18px; 9361 9361 border-radius: 3px; … … 9373 9373 left: auto; 9374 9374 right:23px; 9375 min-width: 650px;9375 min-width:850px; 9376 9376 padding: 15px; 9377 9377 min-height: 500px; -
lara-google-analytics/trunk/dist/css/lrgawidget.css
r2818551 r2996631 1935 1935 .lrghop_colorselector_item { 1936 1936 display: inline-block; 1937 width: 2 0px;1937 width: 25px; 1938 1938 height: 18px; 1939 1939 border-radius: 3px; … … 1951 1951 left: auto; 1952 1952 right:23px; 1953 min-width: 650px;1953 min-width:850px; 1954 1954 padding: 15px; 1955 1955 min-height: 500px; -
lara-google-analytics/trunk/dist/js/lrgalite-main.js
r2820580 r2996631 100 100 else if (this.options.middleIconName.indexOf('fal') === 0) {fweight = 300;} 101 101 else if (this.options.middleIconName.indexOf('far') === 0) {fweight = 400;} 102 102 103 103 this.chart.ctx.fillStyle = this.options.middleIconColor; 104 104 this.chart.ctx.font = fweight + ' 80px "'+this.options.middleIconType+'"'; -
lara-google-analytics/trunk/dist/plugins/chartjs/Chart.min.js
r2346774 r2996631 31 31 else if (this.options.middleIconName.indexOf('fal') === 0) {fweight = 300;} 32 32 else if (this.options.middleIconName.indexOf('far') === 0) {fweight = 400;} 33 33 34 #ifdef WHMCS_BUILD 35 if (this.options.middleIconType == "Font Awesome 5 Free"){this.options.middleIconType = "Font Awesome 5 Pro";} 36 #endif 34 37 this.chart.ctx.fillStyle = this.options.middleIconColor; 35 38 this.chart.ctx.font = fweight + ' 80px "'+this.options.middleIconType+'"'; -
lara-google-analytics/trunk/dist/plugins/minicolors/jquery.minicolors.css
r2346774 r2996631 4 4 5 5 .minicolors-sprite { 6 background-image: url(../ plugins/minicolors/jquery.minicolors.png);6 background-image: url(../img/jquery.minicolors.png); 7 7 } 8 8 -
lara-google-analytics/trunk/lara-google-analytics.php
r2820580 r2996631 5 5 Plugin URI: https://www.xtraorbit.com/wordpress-google-analytics-dashboard-widget/ 6 6 Description: Full width Google Analytics dashboard widget for Wordpress admin interface, which also inserts latest Google Analytics (GA4) tracking code to your pages. 7 Version: 4.0. 17 Version: 4.0.3 8 8 Author: XtraOrbit Web Development SRL 9 9 Author URI: https://www.xtraorbit.com/ … … 16 16 die("This file cannot be accessed directly"); 17 17 18 define ("lrgawidget_plugin_version", "4.0. 1");18 define ("lrgawidget_plugin_version", "4.0.3"); 19 19 define ("lrgawidget_plugin_prefiex", "lrgalite-"); 20 define ("lrgawidget_plugin_scripts_version", "40 1");20 define ("lrgawidget_plugin_scripts_version", "403"); 21 21 define ("lrgawidget_plugin_dir", dirname(__FILE__ ) . DIRECTORY_SEPARATOR); 22 22 define ("lrgawidget_plugin_dir_url", plugin_dir_url( __FILE__ )); -
lara-google-analytics/trunk/readme.txt
r2942039 r2996631 4 4 Requires PHP: 5.6.0 5 5 Requires at least: 4.7.0 6 Tested up to: 6. 3.07 Stable tag: 4.0. 16 Tested up to: 6.5.0 7 Stable tag: 4.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 82 82 83 83 == Changelog == 84 = 4.0.3 = 85 * 15-Nov-2023 86 * Fix : Several small tweaks. 87 84 88 = 4.0.1 = 85 89 * 18-Nov-2022 -
lara-google-analytics/trunk/widgets/lrgawidget.php
r2820580 r2996631 106 106 <span id="lrgawidget_reportrange"></span> 107 107 </button> 108 <span id="lrgawidget_remove" ><i class="fas fa-times"></i></span>108 <span id="lrgawidget_remove" data-lrwidgetools="remove"><i class="fas fa-times"></i></span> 109 109 </div> 110 110 </div> … … 371 371 $lock_settings = DataStore::database_get("settings","lock_settings"); 372 372 373 $trac hing_enabled = "";373 $tracking_enabled = ""; 374 374 $enable_ga4_tracking = DataStore::database_get("settings","enable_ga4_tracking"); 375 375 if ($enable_ga4_tracking !== "off"){ 376 $trac hing_enabled = "checked";376 $tracking_enabled = "checked"; 377 377 } 378 378 … … 386 386 387 387 <div class="lrgawidget-settings-checkbox"> 388 <input name="enable_ga4_tracking" id="enable_ga4_tracking" <?php echo $trac hing_enabled ?> type="checkbox" value="on">388 <input name="enable_ga4_tracking" id="enable_ga4_tracking" <?php echo $tracking_enabled ?> type="checkbox" value="on"> 389 389 <label for="enable_ga4_tracking"><?php _e('Add <b>Google Analytics GA4</b> tracking code to all pages.', 'lara-google-analytics'); ?></label> 390 390 </div> … … 428 428 <div id="ga4-notfound-answer" class="alert" style="background-color: #eef7fb; margin-top:5px;"> 429 429 <p><b><?php _e('Cannot find your Google Universal Analytics property ?', 'lara-google-analytics'); ?></b></p> 430 <p><?php _e('Google will willstop processing data for Universal Analytics properties on July 1, 2023, so it is time to upgrade to the new GA4 properties.', 'lara-google-analytics'); ?></p>430 <p><?php _e('Google will stop processing data for Universal Analytics properties on July 1, 2023, so it is time to upgrade to the new GA4 properties.', 'lara-google-analytics'); ?></p> 431 431 <p><b><?php _e('Upgrading to <b>Google Analytics 4</b> :', 'lara-google-analytics'); ?></b></p> 432 432 <span style="margin-top:10px;">
Note: See TracChangeset
for help on using the changeset viewer.