From 10d9d0dfe080a36ec7e4692fd1a1a0d9796f5717 Mon Sep 17 00:00:00 2001 From: sm6srw Date: Tue, 24 Feb 2026 09:53:21 -0500 Subject: [PATCH 1/2] Decode encoded strings --- assets/js/sections/distances.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/js/sections/distances.js b/assets/js/sections/distances.js index 12f1606df..b2af26231 100644 --- a/assets/js/sections/distances.js +++ b/assets/js/sections/distances.js @@ -42,7 +42,7 @@ function distPlot(form) { backgroundColor: getBodyBackground() }, title: { - text: lang_statistics_distances_worked, + text: decodeHtml(lang_statistics_distances_worked), style: { color: color } @@ -61,7 +61,7 @@ function distPlot(form) { }, yAxis: { title: { - text: lang_statistics_distances_number_of_qsos, + text: decodeHtml(lang_statistics_distances_number_of_qsos), style: { color: color } @@ -91,9 +91,9 @@ function distPlot(form) { tooltip: { formatter: function () { if(this.point) { - return lang_gen_hamradio_distance + ": " + options.xAxis.categories[this.point.x] + - "
" + lang_statistics_distances_callsigns_worked + ": " + myComments[this.point.x] + - "
" + lang_statistics_distances_number_of_qsos + ": " + series.data[this.point.x] + ""; + return decodeHtml(lang_gen_hamradio_distance) + ": " + options.xAxis.categories[this.point.x] + + "
" + decodeHtml(lang_statistics_distances_callsigns_worked) + ": " + myComments[this.point.x] + + "
" + decodeHtml(lang_statistics_distances_number_of_qsos) + ": " + series.data[this.point.x] + ""; } } }, From 296cb3e28538bf2f896393ee8a2a74a574fa4dfd Mon Sep 17 00:00:00 2001 From: sm6srw Date: Tue, 24 Feb 2026 09:53:37 -0500 Subject: [PATCH 2/2] Add missing space --- application/controllers/Distances.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Distances.php b/application/controllers/Distances.php index af4957501..7de8d6fd4 100644 --- a/application/controllers/Distances.php +++ b/application/controllers/Distances.php @@ -80,7 +80,7 @@ class Distances extends CI_Controller { // Render Page $data['page_title'] = "Log View - " . $distance; - $data['filter'] = __("QSOs with") . " " . $distance . " " . __("and band"). " " . $band. __("and propagation"). " " . $propagation; + $data['filter'] = __("QSOs with") . " " . $distance . " " . __("and band"). " " . $band. " " . __("and propagation"). " " . $propagation; $this->load->view('awards/details', $data); } }