Merge pull request #3010 from sm6srw/decode-encoded-string-in-distance-window

Decode encoded strings in distances window
This commit is contained in:
Florian (DF2ET)
2026-02-24 16:04:40 +01:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ class Distances extends CI_Controller {
// Render Page // Render Page
$data['page_title'] = "Log View - " . $distance; $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); $this->load->view('awards/details', $data);
} }
} }

View File

@@ -42,7 +42,7 @@ function distPlot(form) {
backgroundColor: getBodyBackground() backgroundColor: getBodyBackground()
}, },
title: { title: {
text: lang_statistics_distances_worked, text: decodeHtml(lang_statistics_distances_worked),
style: { style: {
color: color color: color
} }
@@ -61,7 +61,7 @@ function distPlot(form) {
}, },
yAxis: { yAxis: {
title: { title: {
text: lang_statistics_distances_number_of_qsos, text: decodeHtml(lang_statistics_distances_number_of_qsos),
style: { style: {
color: color color: color
} }
@@ -91,9 +91,9 @@ function distPlot(form) {
tooltip: { tooltip: {
formatter: function () { formatter: function () {
if(this.point) { if(this.point) {
return lang_gen_hamradio_distance + ": " + options.xAxis.categories[this.point.x] + return decodeHtml(lang_gen_hamradio_distance) + ": " + options.xAxis.categories[this.point.x] +
"<br />" + lang_statistics_distances_callsigns_worked + ": " + myComments[this.point.x] + "<br />" + decodeHtml(lang_statistics_distances_callsigns_worked) + ": " + myComments[this.point.x] +
"<br />" + lang_statistics_distances_number_of_qsos + ": <strong>" + series.data[this.point.x] + "</strong>"; "<br />" + decodeHtml(lang_statistics_distances_number_of_qsos) + ": <strong>" + series.data[this.point.x] + "</strong>";
} }
} }
}, },