diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php
index 924959104..ebf2d2776 100644
--- a/application/views/interface_assets/footer.php
+++ b/application/views/interface_assets/footer.php
@@ -389,10 +389,10 @@ $(function () {
$('#btn-save').on('click', function() {
var resultquery = $('#builder').queryBuilder('getRules');
if (!$.isEmptyObject(resultquery)) {
- let message = '= __("Description:"); ?> '
+ let message = "= __("Description:"); ?>" + ''
BootstrapDialog.confirm({
- title: '= __("Query description"); ?>',
+ title: "= __("Query description"); ?>",
size: BootstrapDialog.SIZE_NORMAL,
cssClass: 'description-dialog',
closable: true,
@@ -408,16 +408,16 @@ $(function () {
})
.done(function(data) {
$(".alert").remove();
- $(".card-body.main").append('
= __("Your query has been saved!"); ?>
');
+ $(".card-body.main").append(''+"= __("Your query has been saved!"); ?>"+'
');
if ($("#querydropdown option").length == 0) {
- var dropdowninfo = ' ' +
+ var dropdowninfo = ' ' +
'';
$("#btn-save").after(dropdowninfo);
}
@@ -429,12 +429,12 @@ $(function () {
} else {
BootstrapDialog.show({
- title: '= __("Stored Queries"); ?>',
+ title: "= __("Stored Queries"); ?>",
type: BootstrapDialog.TYPE_WARNING,
size: BootstrapDialog.SIZE_NORMAL,
cssClass: 'queries-dialog',
nl2br: false,
- message: '= __("You need to make a query before you search!"); ?>',
+ message: "= __("You need to make a query before you search!"); ?>",
buttons: [{
label: lang_admin_close,
action: function(dialogItself) {
@@ -455,7 +455,7 @@ $(function () {
})
.done(function(data) {
- $('.exportbutton').html('');
+ $('.exportbutton').html('');
$('.card-body.result').empty();
$(".search-results-box").show();
@@ -492,8 +492,8 @@ $(function () {
function delete_stored_query(id) {
BootstrapDialog.confirm({
- title: '= __("DANGER"); ?>',
- message: '= __("Warning! Are you sure you want delete this stored query?"); ?>',
+ title: "= __("DANGER"); ?>",
+ message: "= __("Warning! Are you sure you want delete this stored query?"); ?>",
type: BootstrapDialog.TYPE_DANGER,
closable: true,
draggable: true,
@@ -507,7 +507,7 @@ $(function () {
'id': id
},
success: function(data) {
- $(".bootstrap-dialog-message").prepend('= __("The stored query has been deleted!"); ?>
');
+ $(".bootstrap-dialog-message").prepend(''+"= __("The stored query has been deleted!"); ?>"+'
');
$("#query_" + id).remove(); // removes query from table in dialog
$("#querydropdown option[value='" + id + "']").remove(); // removes query from dropdown
if ($("#querydropdown option").length == 0) {
@@ -516,7 +516,7 @@ $(function () {
};
},
error: function() {
- $(".bootstrap-dialog-message").prepend('= __("The stored query could not be deleted. Please try again!"); ?>
');
+ $(".bootstrap-dialog-message").prepend(''+"= __("The stored query could not be deleted. Please try again!"); ?>"+'
');
},
});
}
@@ -527,12 +527,12 @@ $(function () {
function edit_stored_query(id) {
$('#description_' + id).attr('contenteditable', 'true');
$('#description_' + id).focus();
- $('#edit_' + id).html('= __("Save"); ?>'); // Change to save button
+ $('#edit_' + id).html(''+"= __("Save"); ?>"+''); // Change to save button
}
function save_edited_query(id) {
$('#description_' + id).attr('contenteditable', 'false');
- $('#edit_' + id).html('= __("Edit"); ?>');
+ $('#edit_' + id).html(''+"= __("Edit"); ?>"+'');
$.ajax({
url: base_url + 'index.php/search/save_edited_query',
type: 'post',
@@ -541,12 +541,12 @@ $(function () {
description: $('#description_' + id).html(),
},
success: function(html) {
- $('#edit_' + id).html('= __("Edit"); ?>'); // Change to edit button
- $(".bootstrap-dialog-message").prepend('= __("The query description has been updated!"); ?>
');
+ $('#edit_' + id).html(''+"= __("Edit"); ?>"+''); // Change to edit button
+ $(".bootstrap-dialog-message").prepend(''+"= __("The query description has been updated!"); ?>"+'
');
$("#querydropdown option[value='" + id + "']").text($('#description_' + id).html()); // Change text in dropdown
},
error: function() {
- $(".bootstrap-dialog-message").prepend('= __("Something went wrong with the save. Please try again!"); ?>
');
+ $(".bootstrap-dialog-message").prepend(''+"= __("Something went wrong with the save. Please try again!"); ?>"+'
');
},
});
}
@@ -558,7 +558,7 @@ $(function () {
type: 'post',
success: function(html) {
BootstrapDialog.show({
- title: '= __("Stored Queries"); ?>',
+ title: "= __("Stored Queries"); ?>",
size: BootstrapDialog.SIZE_WIDE,
cssClass: 'queries-dialog',
nl2br: false,
@@ -586,7 +586,7 @@ $(function () {
temp: "testvar"
})
.done(function(data) {
- $('.exportbutton').html('');
+ $('.exportbutton').html('');
$('.card-body.result').empty();
$(".search-results-box").show();
@@ -622,12 +622,12 @@ $(function () {
});
} else {
BootstrapDialog.show({
- title: '= __("Stored Queries"); ?>',
+ title: "= __("Stored Queries"); ?>",
type: BootstrapDialog.TYPE_WARNING,
size: BootstrapDialog.SIZE_NORMAL,
cssClass: 'queries-dialog',
nl2br: false,
- message: '= __("You need to make a query before you search!"); ?>',
+ message: "= __("You need to make a query before you search!"); ?>",
buttons: [{
label: lang_admin_close,
action: function(dialogItself) {
@@ -1171,7 +1171,7 @@ $($('#callsign')).on('keypress',function(e) {
if (data.error == 'not_logged_in') {
$(".radio_cat_state" ).remove();
if($('.radio_login_error').length == 0) {
- $('.qso_panel').prepend(" = sprintf(__("You're not logged it. Please
login"), base_url()); ?>
");
+ $('.qso_panel').prepend(' '+"= sprintf(__("You're not logged it. Please
login"), base_url()); ?>"+'
');
}
}
// Put future Errorhandling here
@@ -1377,14 +1377,14 @@ $(document).ready(function(){
if (grid_four_confirmed_count > 0) {
var span = document.getElementById('confirmed_grids');
- span.innerText = span.textContent = '('+grid_four_confirmed_count+' = __("grid square"); ?>'+(grid_four_confirmed_count != 1 ? 's' : '')+') ';
+ span.innerText = span.textContent = '('+grid_four_confirmed_count+" = __("grid square"); ?>"+(grid_four_confirmed_count != 1 ? 's' : '')+') ';
}
if ((grid_four_count-grid_four_confirmed_count) > 0) {
var span = document.getElementById('worked_grids');
- span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' = __("grid square"); ?>'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') ';
+ span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+" = __("grid square"); ?>"+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') ';
}
var span = document.getElementById('sum_grids');
- span.innerText = span.textContent = ' = __("Total count"); ?>'+': '+grid_four_count+' = __("grid square"); ?>'+(grid_four_count != 1 ? 's' : '');
+ span.innerText = span.textContent = " = __("Total count"); ?>"+': '+grid_four_count+" = __("grid square"); ?>"+(grid_four_count != 1 ? 's' : '');
var maidenhead = L.maidenhead().addTo(map);
@@ -1450,7 +1450,7 @@ $(document).ready(function(){
uri->segment(1) == "gridsquares" && $this->uri->segment(2) == "band") { ?>
var bands_available = ;
- $('#gridsquare_bands').append('')
+ $('#gridsquare_bands').append('')
$.each(bands_available, function(key, value) {
$('#gridsquare_bands')
.append($("")
@@ -1521,14 +1521,14 @@ $(document).ready(function(){
if (grid_four_confirmed_count > 0) {
var span = document.getElementById('confirmed_grids');
- span.innerText = span.textContent = '('+grid_four_confirmed_count+' = __("grid square"); ?>'+(grid_four_confirmed_count != 1 ? 's' : '')+') ';
+ span.innerText = span.textContent = '('+grid_four_confirmed_count+" = __("grid square"); ?>"+(grid_four_confirmed_count != 1 ? 's' : '')+') ';
}
if ((grid_four_count-grid_four_confirmed_count) > 0) {
var span = document.getElementById('activated_grids');
- span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+' = __("grid square"); ?>'+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') ';
+ span.innerText = span.textContent = '('+(grid_four_count-grid_four_confirmed_count)+" = __("grid square"); ?>"+(grid_four_count-grid_four_confirmed_count != 1 ? 's' : '')+') ';
}
var span = document.getElementById('sum_grids');
- span.innerText = span.textContent = ' = __("Total count"); ?>'+': '+grid_four_count+' = __("grid square"); ?>'+(grid_four_count != 1 ? 's' : '');
+ span.innerText = span.textContent = " = __("Total count"); ?>"+': '+grid_four_count+" = __("grid square"); ?>"+(grid_four_count != 1 ? 's' : '');
var maidenhead = L.maidenhead().addTo(map);
@@ -1589,7 +1589,7 @@ $(document).ready(function(){
uri->segment(1) == "activated_grids" && $this->uri->segment(2) == "band") { ?>
var bands_available = ;
- $('#gridsquare_bands').append('')
+ $('#gridsquare_bands').append('')
$.each(bands_available, function(key, value) {
$('#gridsquare_bands')
.append($("")
@@ -2113,9 +2113,9 @@ function viewQsl(picture, callsign) {
textAndPic.append('
');
var title = '';
if (callsign == null) {
- title = '= __("QSL Card"); ?>';
+ title = "= __("QSL Card"); ?>";
} else {
- title = '= __("QSL Card for "); ?>' + callsign.replace('0', 'Ø');
+ title = "= __("QSL Card for "); ?>" + callsign.replace('0', 'Ø');
}
BootstrapDialog.show({
@@ -2134,8 +2134,8 @@ function viewQsl(picture, callsign) {