Changeset 2850780
- Timestamp:
- 01/18/2023 10:04:44 PM (3 years ago)
- Location:
- simplest-analytics/trunk
- Files:
-
- 9 edited
-
README.txt (modified) (3 diffs)
-
admin/class-admin.php (modified) (2 diffs)
-
admin/dashboard.php (modified) (7 diffs)
-
includes/class-activator.php (modified) (1 diff)
-
includes/class-simplest-analytics.php (modified) (1 diff)
-
languages/simplest-analytics-de_DE.mo (modified) (previous)
-
languages/simplest-analytics-de_DE.po (modified) (2 diffs)
-
languages/simplest-analytics.pot (modified) (2 diffs)
-
simplest-analytics.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simplest-analytics/trunk/README.txt
r2847231 r2850780 6 6 Tested up to: 6.1 7 7 Requires PHP: 7.4 8 Stable tag: 1.0. 08 Stable tag: 1.0.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 68 68 == Changelog == 69 69 70 = 1.0.1 - 2023-01-18 = 71 * updated style of the line charts 72 * moved php functions inside of a class 73 70 74 = 1.0.0 - 2023-01-10 = 71 75 * First Release … … 73 77 == Upgrade Notice == 74 78 75 = 1.0. 0=76 This is the first version of Simplest Analytics79 = 1.0.1 = 80 Fixed small issues with styles -
simplest-analytics/trunk/admin/class-admin.php
r2847231 r2850780 73 73 'manage_options', 74 74 'simplest-analytics', 75 'admin_start_page',75 array( $this, 'admin_start_page' ), 76 76 'dashicons-chart-bar' ); 77 78 function admin_start_page(){79 // require file that displays the admin settings page80 require_once plugin_dir_path( __FILE__ ) . 'dashboard.php';81 }82 77 83 78 … … 88 83 'manage_options', 89 84 'simplest-analytics-settings', 90 'admin_structure' ); 91 92 93 function admin_structure(){ 94 // require file that displays the admin settings page 95 require_once plugin_dir_path( __FILE__ ) . 'structure.php'; 96 } 85 array( $this, 'admin_structure' ) ); 97 86 98 87 99 88 } 89 90 public function admin_start_page(){ 91 // require file that displays the admin settings page 92 require_once plugin_dir_path( __FILE__ ) . 'dashboard.php'; 93 } 94 95 public function admin_structure(){ 96 // require file that displays the admin settings page 97 require_once plugin_dir_path( __FILE__ ) . 'structure.php'; 100 98 } 101 99 -
simplest-analytics/trunk/admin/dashboard.php
r2847231 r2850780 235 235 <!-- END top cards --> 236 236 237 237 238 <!-- daily visits --> 238 239 <script type="text/javascript"> … … 245 246 <?php 246 247 if ( sizeof($daily_data) == 0 ) { 247 ?> 248 [ 249 '<?php echo esc_html__( 'no results', 'simplest-analytics' ) ?>', 250 0, 251 ], 252 <?php 248 ?>['<?php echo esc_html__( 'no results', 'simplest-analytics' ) ?>',0],<?php 253 249 } 254 250 else { … … 262 258 $unique_visitors = array_unique($session_ids); 263 259 $unique_visitors = sizeof($unique_visitors); 264 ?> 265 [ 266 '<?php echo esc_html( $key ) ?>', 267 <?php echo esc_html( $visits ) ?>, 268 ], 269 <?php 260 ?>['<?php echo esc_html( $key ) ?>',<?php echo esc_html( $visits ) ?>],<?php 270 261 } 271 262 } … … 274 265 275 266 var options = { 276 title: '<?php echo esc_html__( 'Daily visits', 'simplest-analytics' ) ?>', 277 curveType: 'function', 278 legend: { position: 'none' } 267 title: '<?php echo esc_html__( 'Daily visits', 'simplest-analytics' ) ?>', 268 curveType: 'function', 269 legend: { position: 'none' }, 270 vAxis: { 271 format: '#', 272 } 279 273 }; 280 274 … … 282 276 283 277 chart.draw(data, options); 278 284 279 } 285 280 </script> 286 <div class="chart_table chart_table_3col" id="daily_chart"></div>281 <div class="chart_table chart_table_3col" style="height:300px" id="daily_chart"></div> 287 282 <!-- END daily visits --> 288 283 … … 331 326 title: '<?php echo esc_html__( 'Daily unique visitors', 'simplest-analytics' ) ?>', 332 327 curveType: 'function', 333 legend: { position: 'none' } 328 legend: { position: 'none' }, 329 vAxis: { 330 format: '#', 331 } 334 332 }; 335 333 … … 339 337 } 340 338 </script> 341 <div class="chart_table chart_table_3col" id="daily_uniques"></div>339 <div class="chart_table chart_table_3col" style="height:300px" id="daily_uniques"></div> 342 340 <!-- END daily uniques --> 343 341 -
simplest-analytics/trunk/includes/class-activator.php
r2847231 r2850780 43 43 */ 44 44 45 update_option( 'simplest_analytics_version', '1.0. 0' );45 update_option( 'simplest_analytics_version', '1.0.1' ); 46 46 47 47 /** -
simplest-analytics/trunk/includes/class-simplest-analytics.php
r2847231 r2850780 27 27 $this->version = SIMPLEST_ANALYTICS_VERSION; 28 28 } else { 29 $this->version = '1.0. 0';29 $this->version = '1.0.1'; 30 30 } 31 31 $this->simplest_analytics = 'simplest-analytics'; -
simplest-analytics/trunk/languages/simplest-analytics-de_DE.po
r2847231 r2850780 2 2 msgstr "" 3 3 "Project-Id-Version: simplest-analytics 1.0.0\n" 4 "POT-Creation-Date: 2023-01- 06 01:20+0100\n"5 "PO-Revision-Date: 2023-01- 06 01:20+0100\n"4 "POT-Creation-Date: 2023-01-18 22:32+0100\n" 5 "PO-Revision-Date: 2023-01-18 22:32+0100\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: https://www.coden-lassen.de\n" … … 20 20 msgstr "Webanalytics" 21 21 22 #: admin/class-admin.php:8 6 admin/class-admin.php:8722 #: admin/class-admin.php:81 admin/class-admin.php:82 23 23 msgid "Settings" 24 24 msgstr "Einstellungen" 25 25 26 #: admin/dashboard.php:6 726 #: admin/dashboard.php:69 27 27 msgid "Start date or end date is empty." 28 28 msgstr "Start- oder Enddatum ist leer." 29 29 30 #: admin/dashboard.php:7 030 #: admin/dashboard.php:72 31 31 msgid "End date has to be ealier than start date." 32 32 msgstr "Enddatum muss vor Startdatum liegen." 33 33 34 #: admin/dashboard.php:13 234 #: admin/dashboard.php:134 35 35 msgid "Dashboard" 36 36 msgstr "Dashboard" 37 37 38 #: admin/dashboard.php:13 538 #: admin/dashboard.php:137 39 39 msgid "Raw Data" 40 40 msgstr "Rohdaten" 41 41 42 #: admin/dashboard.php:21 6 admin/dashboard.php:242 admin/dashboard.php:35543 #: admin/dashboard.php:4 11 admin/dashboard.php:466 admin/dashboard.php:52742 #: admin/dashboard.php:218 admin/dashboard.php:245 admin/dashboard.php:349 43 #: admin/dashboard.php:405 admin/dashboard.php:460 admin/dashboard.php:521 44 44 msgid "Visits" 45 45 msgstr "Aufrufe" 46 46 47 #: admin/dashboard.php:22 347 #: admin/dashboard.php:225 48 48 msgid "Unique Visitors" 49 49 msgstr "Nutzer" 50 50 51 #: admin/dashboard.php:23 0 admin/dashboard.php:52651 #: admin/dashboard.php:232 admin/dashboard.php:520 52 52 msgid "Tracked events" 53 53 msgstr "Gemessene Events" 54 54 55 #: admin/dashboard.php:24 2 admin/dashboard.php:29755 #: admin/dashboard.php:245 admin/dashboard.php:291 56 56 msgid "Date" 57 57 msgstr "Datum" 58 58 59 #: admin/dashboard.php:24 7 admin/dashboard.php:302 admin/dashboard.php:36360 #: admin/dashboard.php:41 9 admin/dashboard.php:474 admin/dashboard.php:53559 #: admin/dashboard.php:248 admin/dashboard.php:296 admin/dashboard.php:357 60 #: admin/dashboard.php:413 admin/dashboard.php:468 admin/dashboard.php:529 61 61 msgid "no results" 62 62 msgstr "keine Ergebnisse" 63 63 64 #: admin/dashboard.php:2 7464 #: admin/dashboard.php:267 65 65 msgid "Daily visits" 66 66 msgstr "Tägliche Aufrufe" 67 67 68 #: admin/dashboard.php:29 7 admin/dashboard.php:356 admin/dashboard.php:41269 #: admin/dashboard.php:46 7 admin/dashboard.php:52868 #: admin/dashboard.php:291 admin/dashboard.php:350 admin/dashboard.php:406 69 #: admin/dashboard.php:461 admin/dashboard.php:522 70 70 msgid "Unique visitors" 71 71 msgstr "Nutzer" 72 72 73 #: admin/dashboard.php:32 973 #: admin/dashboard.php:323 74 74 msgid "Daily unique visitors" 75 75 msgstr "Tägliche Nutzer" 76 76 77 #: admin/dashboard.php:3 5477 #: admin/dashboard.php:348 78 78 msgid "Most visited sites" 79 79 msgstr "Meistbesuchte Seiten" 80 80 81 #: admin/dashboard.php:4 1081 #: admin/dashboard.php:404 82 82 msgid "Top external referrers" 83 83 msgstr "Top external Referrers" 84 84 85 #: admin/dashboard.php:4 6485 #: admin/dashboard.php:458 86 86 msgid "Top URL parameters" 87 87 msgstr "Top URL Parameters" 88 88 89 #: admin/dashboard.php:4 6589 #: admin/dashboard.php:459 90 90 msgid "Value" 91 91 msgstr "Wert" 92 92 93 #: admin/dashboard.php:66 793 #: admin/dashboard.php:661 94 94 msgid "choose daterange" 95 95 msgstr "Wähle eine Zeitspanne" 96 96 97 #: admin/dashboard.php:6 7197 #: admin/dashboard.php:665 98 98 msgid "today" 99 99 msgstr "heute" 100 100 101 #: admin/dashboard.php:6 75101 #: admin/dashboard.php:669 102 102 msgid "yesterday" 103 103 msgstr "gestern" 104 104 105 #: admin/dashboard.php:67 9105 #: admin/dashboard.php:673 106 106 msgid "last 7 days" 107 107 msgstr "letzte 7 Tage" 108 108 109 #: admin/dashboard.php:6 83109 #: admin/dashboard.php:677 110 110 msgid "last 14 days" 111 111 msgstr "letzte 14 Tage" 112 112 113 #: admin/dashboard.php:68 7113 #: admin/dashboard.php:681 114 114 msgid "last 30 days" 115 115 msgstr "letzte 30 Tage" 116 116 117 #: admin/dashboard.php:6 91117 #: admin/dashboard.php:685 118 118 msgid "last month" 119 119 msgstr "letzter Monat" 120 120 121 #: admin/dashboard.php:6 95121 #: admin/dashboard.php:689 122 122 msgid "alltime" 123 123 msgstr "Komplette Zeit" 124 124 125 #: admin/dashboard.php:69 9125 #: admin/dashboard.php:693 126 126 msgid "custom" 127 127 msgstr "benutzerdefiniert" 128 128 129 #: admin/dashboard.php:70 6129 #: admin/dashboard.php:700 130 130 msgid "custom daterange" 131 131 msgstr "Zeitspanne" 132 132 133 #: admin/dashboard.php:70 9133 #: admin/dashboard.php:703 134 134 msgid "from:" 135 135 msgstr "von:" 136 136 137 #: admin/dashboard.php:7 13137 #: admin/dashboard.php:707 138 138 msgid "to:" 139 139 msgstr "bis:" 140 140 141 #: admin/dashboard.php:71 7141 #: admin/dashboard.php:711 142 142 msgid "apply daterange" 143 143 msgstr "Zeitspanne auswählen" -
simplest-analytics/trunk/languages/simplest-analytics.pot
r2847231 r2850780 3 3 msgstr "" 4 4 "Project-Id-Version: simplest-analytics 1.0.0\n" 5 "POT-Creation-Date: 202 2-12-27 23:09+0100\n"5 "POT-Creation-Date: 2023-01-18 22:31+0100\n" 6 6 "PO-Revision-Date: 2021-04-08 20:06+0200\n" 7 7 "Last-Translator: \n" … … 17 17 "X-Poedit-SearchPath-0: .\n" 18 18 19 20 #: admin/class-admin.php:69 admin/class-admin.php:70 19 #: admin/class-admin.php:71 admin/class-admin.php:72 21 20 msgid "Webanalytics" 22 21 msgstr "" 23 22 24 #: admin/class-admin.php:8 4 admin/class-admin.php:8523 #: admin/class-admin.php:81 admin/class-admin.php:82 25 24 msgid "Settings" 26 25 msgstr "" 27 26 28 #: admin/dashboard.php:6 627 #: admin/dashboard.php:69 29 28 msgid "Start date or end date is empty." 30 29 msgstr "" 31 30 32 #: admin/dashboard.php: 6931 #: admin/dashboard.php:72 33 32 msgid "End date has to be ealier than start date." 34 33 msgstr "" 35 34 36 #: admin/dashboard.php:13 235 #: admin/dashboard.php:134 37 36 msgid "Dashboard" 38 37 msgstr "" 39 38 40 #: admin/dashboard.php:13 539 #: admin/dashboard.php:137 41 40 msgid "Raw Data" 42 41 msgstr "" 43 42 44 #: admin/dashboard.php:21 0 admin/dashboard.php:239 admin/dashboard.php:29545 #: admin/dashboard.php: 349 admin/dashboard.php:40543 #: admin/dashboard.php:218 admin/dashboard.php:245 admin/dashboard.php:349 44 #: admin/dashboard.php:405 admin/dashboard.php:460 admin/dashboard.php:521 46 45 msgid "Visits" 47 46 msgstr "" 48 47 49 #: admin/dashboard.php:2 1748 #: admin/dashboard.php:225 50 49 msgid "Unique Visitors" 51 50 msgstr "" 52 51 53 #: admin/dashboard.php:2 24 admin/dashboard.php:40452 #: admin/dashboard.php:232 admin/dashboard.php:520 54 53 msgid "Tracked events" 55 54 msgstr "" 56 55 57 #: admin/dashboard.php:238 56 #: admin/dashboard.php:245 admin/dashboard.php:291 57 msgid "Date" 58 msgstr "" 59 60 #: admin/dashboard.php:248 admin/dashboard.php:296 admin/dashboard.php:357 61 #: admin/dashboard.php:413 admin/dashboard.php:468 admin/dashboard.php:529 62 msgid "no results" 63 msgstr "" 64 65 #: admin/dashboard.php:267 66 msgid "Daily visits" 67 msgstr "" 68 69 #: admin/dashboard.php:291 admin/dashboard.php:350 admin/dashboard.php:406 70 #: admin/dashboard.php:461 admin/dashboard.php:522 71 msgid "Unique visitors" 72 msgstr "" 73 74 #: admin/dashboard.php:323 75 msgid "Daily unique visitors" 76 msgstr "" 77 78 #: admin/dashboard.php:348 58 79 msgid "Most visited sites" 59 80 msgstr "" 60 81 61 #: admin/dashboard.php:240 admin/dashboard.php:296 admin/dashboard.php:350 62 #: admin/dashboard.php:406 63 msgid "Unique visitors" 64 msgstr "" 65 66 #: admin/dashboard.php:247 admin/dashboard.php:303 admin/dashboard.php:357 67 #: admin/dashboard.php:413 68 msgid "no results" 69 msgstr "" 70 71 #: admin/dashboard.php:294 82 #: admin/dashboard.php:404 72 83 msgid "Top external referrers" 73 84 msgstr "" 74 85 75 #: admin/dashboard.php: 34886 #: admin/dashboard.php:458 76 87 msgid "Top URL parameters" 77 88 msgstr "" 78 89 79 #: admin/dashboard.php:545 90 #: admin/dashboard.php:459 91 msgid "Value" 92 msgstr "" 93 94 #: admin/dashboard.php:661 80 95 msgid "choose daterange" 81 96 msgstr "" 82 97 83 #: admin/dashboard.php: 54998 #: admin/dashboard.php:665 84 99 msgid "today" 85 100 msgstr "" 86 101 87 #: admin/dashboard.php: 553102 #: admin/dashboard.php:669 88 103 msgid "yesterday" 89 104 msgstr "" 90 105 91 #: admin/dashboard.php: 557106 #: admin/dashboard.php:673 92 107 msgid "last 7 days" 93 108 msgstr "" 94 109 95 #: admin/dashboard.php: 561110 #: admin/dashboard.php:677 96 111 msgid "last 14 days" 97 112 msgstr "" 98 113 99 #: admin/dashboard.php: 565114 #: admin/dashboard.php:681 100 115 msgid "last 30 days" 101 116 msgstr "" 102 117 103 #: admin/dashboard.php: 569118 #: admin/dashboard.php:685 104 119 msgid "last month" 105 120 msgstr "" 106 121 107 #: admin/dashboard.php: 573122 #: admin/dashboard.php:689 108 123 msgid "alltime" 109 124 msgstr "" 110 125 111 #: admin/dashboard.php: 577126 #: admin/dashboard.php:693 112 127 msgid "custom" 113 128 msgstr "" 114 129 115 #: admin/dashboard.php: 584130 #: admin/dashboard.php:700 116 131 msgid "custom daterange" 117 132 msgstr "" 118 133 119 #: admin/dashboard.php: 587134 #: admin/dashboard.php:703 120 135 msgid "from:" 121 136 msgstr "" 122 137 123 #: admin/dashboard.php: 591138 #: admin/dashboard.php:707 124 139 msgid "to:" 125 140 msgstr "" 126 141 127 #: admin/dashboard.php: 595142 #: admin/dashboard.php:711 128 143 msgid "apply daterange" 129 144 msgstr "" -
simplest-analytics/trunk/simplest-analytics.php
r2847231 r2850780 6 6 * 7 7 * @link https://www.coden-lassen.de 8 * @since 1.0. 08 * @since 1.0.1 9 9 * @package Simplest_Analytics 10 10 * … … 13 13 * Plugin URI: https://www.coden-lassen.de 14 14 * Description: Serverside and cookieless webanalytics. 15 * Version: 1.0. 015 * Version: 1.0.1 16 16 * Author: Stefan Klaes 17 17 * Author URI: https://www.coden-lassen.de/wordpress-freelancer … … 32 32 /** 33 33 * Currently plugin version: 34 * version 1.0. 034 * version 1.0.1 35 35 */ 36 36 37 define( 'SIMPLEST_ANALYTICS_VERSION', '1.0. 0' );37 define( 'SIMPLEST_ANALYTICS_VERSION', '1.0.1' ); 38 38 39 39
Note: See TracChangeset
for help on using the changeset viewer.