stringify

This commit is contained in:
HB9HIL
2024-06-07 21:38:09 +02:00
parent 2d8ac68aaf
commit 778fc05496
46 changed files with 471 additions and 470 deletions

View File

@@ -34,7 +34,7 @@ class Logbook extends CI_Controller {
$data['user_map_custom'] = $this->optionslib->get_map_custom();
if(!$data['results']) {
$this->session->set_flashdata('notice', __("No logbooks were found. You need to define a logbook under Station Logbooks! Do it here:") . ' <a href="' . site_url('logbooks') . '" title="Station Logbooks">' . __('Station Logbooks') . '</a>');
$this->session->set_flashdata('notice', __("No logbooks were found. You need to define a logbook under Station Logbooks! Do it here:") . ' <a href="' . site_url('logbooks') . '" title="Station Logbooks">' . __("Station Logbooks") . '</a>');
}
// Calculate Lat/Lng from Locator to use on Maps

View File

@@ -47,7 +47,7 @@ class Stationsetup extends CI_Controller {
$data['success']=1;
} else {
$data['success']=0;
$data['flashdata'] = __('Not allowed');
$data['flashdata'] = __("Not allowed");
}
} else {
$data['success']=0;
@@ -65,11 +65,11 @@ class Stationsetup extends CI_Controller {
$data['success']=1;
} else {
$data['success']=0;
$data['flashdata'] = __('Not allowed');
$data['flashdata'] = __("Not allowed");
}
} else {
$data['success']=0;
$data['flashdata'] = __('Error');
$data['flashdata'] = __("Error");
}
echo json_encode($data);
}
@@ -83,7 +83,7 @@ class Stationsetup extends CI_Controller {
$data['success']=1;
} else {
$data['success']=0;
$data['flashdata'] = __('Error');
$data['flashdata'] = __("Error");
}
echo json_encode($data);
}
@@ -102,7 +102,7 @@ class Stationsetup extends CI_Controller {
$data['success'] = 1;
} else {
$data['success'] = 0;
$data['flashdata'] = __('Error');
$data['flashdata'] = __("Error");
}
echo json_encode($data);
}
@@ -115,7 +115,7 @@ class Stationsetup extends CI_Controller {
$data['success']=1;
} else {
$data['success']=0;
$data['flashdata'] = __('Error');
$data['flashdata'] = __("Error");
}
echo json_encode($data);
}
@@ -128,7 +128,7 @@ class Stationsetup extends CI_Controller {
$data['success']=1;
} else {
$data['success']=0;
$data['flashdata'] = __('Error');
$data['flashdata'] = __("Error");
}
echo json_encode($data);
}
@@ -149,7 +149,7 @@ class Stationsetup extends CI_Controller {
$data['success']=1;
} else {
$data['success']=0;
$data['flashdata'] = __('Error');
$data['flashdata'] = __("Error");
}
echo json_encode($data);
}
@@ -209,7 +209,7 @@ class Stationsetup extends CI_Controller {
$data['success'] = 1;
} else {
$data['success'] = 0;
$data['flashdata'] = __('Error. Link is already in use!');
$data['flashdata'] = __("Error. Link is already in use!");
}
echo json_encode($data);
@@ -250,7 +250,7 @@ class Stationsetup extends CI_Controller {
}
private function lbpublicsearch2html($publicsearch, $id) {
$htmret = ($publicsearch=='1' ? '<span class="badge text-bg-success">Enabled</span>' : '<span class="badge bg-dark">' . __('Disabled') . '</span>');
$htmret = ($publicsearch=='1' ? '<span class="badge text-bg-success">Enabled</span>' : '<span class="badge bg-dark">' . __("Disabled") . '</span>');
$htmret .= '<div class="form-check" style="margin-top: -1.5em"><input id="'.$id.'" class="form-check-input publicSearchCheckbox" type="checkbox"'. ($publicsearch=='1' ? 'checked' : '') . '/></div>';
return $htmret;
@@ -278,7 +278,7 @@ class Stationsetup extends CI_Controller {
$htmret = '<button class="btn btn-outline-primary btn-sm editVisitorLink" id="' . $id . '"><i class="fas fa-edit"></i></button> ';
if($public_slug != '') {
$htmret .= '<a target="_blank" href="'.site_url('visitor')."/".$public_slug.'" class="btn btn-outline-primary btn-sm"><i class="fas fa-globe" title="'.__("View Public Page for Logbook: ") . $logbook_name.'"></i></a>';
$htmret .= ' <button id="' . $id . '" class="deletePublicSlug btn btn-outline-danger btn-sm" cnftext="' . __('Are you sure you want to delete the public slug?') . '"><i class="fas fa-trash-alt"></i></button>';
$htmret .= ' <button id="' . $id . '" class="deletePublicSlug btn btn-outline-danger btn-sm" cnftext="' . __("Are you sure you want to delete the public slug?") . '"><i class="fas fa-trash-alt"></i></button>';
$htmret .= ' <button id="' . $id . '" class="editExportmapOptions btn btn-outline-primary btn-sm"><i class="fas fa-globe-europe"></i></button>';
}
return $htmret;
@@ -368,7 +368,7 @@ class Stationsetup extends CI_Controller {
}
private function stationcountry2html($station_country, $dxcc_end) {
$returntext = $station_country == '' ? '- ' . __('NONE') . ' -' : $station_country;
$returntext = $station_country == '' ? '- ' . __("NONE") . ' -' : $station_country;
if ($dxcc_end != NULL) {
$returntext .= ' <span class="badge badge-danger">'.__("Deleted DXCC").'</span>';
}
@@ -384,7 +384,7 @@ class Stationsetup extends CI_Controller {
$data['success']=1;
} else {
$data['success']=0;
$data['flashdata'] = __('Not allowed');
$data['flashdata'] = __("Not allowed");
}
echo json_encode($data);
}
@@ -398,7 +398,7 @@ class Stationsetup extends CI_Controller {
$data['success']=1;
} else {
$data['success']=0;
$data['flashdata'] = __('Not allowed');
$data['flashdata'] = __("Not allowed");
}
echo json_encode($data);
}
@@ -425,7 +425,7 @@ class Stationsetup extends CI_Controller {
$data['locationdata'] = $this->stationsetup_model->locationInfo($locationid)->result();
} else {
$data['success']=0;
$data['flashdata'] = __('Error');
$data['flashdata'] = __("Error");
}
echo json_encode($data);
}

View File

@@ -55,7 +55,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="qsl"><?= __('QSL'); ?></label>
<label class="form-check-label" for="qsl"><?= __("QSL"); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" type="checkbox" name="lotw" id="lotw"';
@@ -63,7 +63,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="lotw"><?= __('LoTW'); ?></label>
<label class="form-check-label" for="lotw"><?= __("LoTW"); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" type="checkbox" name="eqsl" id="eqsl"';
@@ -71,7 +71,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="eqsl"><?= __('eQSL'); ?></label>
<label class="form-check-label" for="eqsl"><?= __("eQSL"); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" type="checkbox" name="qrz" id="qrz"';
@@ -79,7 +79,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
</div>

View File

@@ -9,8 +9,8 @@
<thead>
<tr>
<td>#</td>
<td>' . __('State') . '</td>
<td>' . __('County') . '</td>
<td>' . __("State") . '</td>
<td>' . __("County") . '</td>
</tr>
</thead>
<tbody>';
@@ -24,6 +24,6 @@
echo '</tbody></table></div>';
}
else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>

View File

@@ -17,9 +17,9 @@
<table style="width:100%" class="countiestable table table-sm table-bordered table-hover table-striped table-condensed text-center">
<thead>
<tr>
<td><?= __('State'); ?></td>
<td><?= __('Counties Worked'); ?></td>
<td><?= __('Counties Confirmed'); ?></td>
<td><?= __("State"); ?></td>
<td><?= __("Counties Worked"); ?></td>
<td><?= __("Counties Confirmed"); ?></td>
</tr>
</thead>
<tbody>
@@ -43,7 +43,7 @@
</tbody>
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>
</div>

View File

@@ -63,7 +63,7 @@
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qrz" value="1" id="qrz" <?php if ($this->input->post('qrz')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
</div>
</div>
@@ -193,7 +193,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>

View File

@@ -17,10 +17,10 @@
<fieldset>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="band"><?= __('DOK / SDOK'); ?></label>
<label class="col-md-2 control-label" for="band"><?= __("DOK / SDOK"); ?></label>
<div class="col-md-2">
<select id="doks" name="doks" class="form-select form-select-sm">
<option value="both" <?php if ($this->input->post('doks') == "both" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __('DOK + SDOK'); ?></option>
<option value="both" <?php if ($this->input->post('doks') == "both" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __("DOK + SDOK"); ?></option>
<?php echo '<option value="dok"';
if ($this->input->post('doks') == 'dok') echo ' selected';
echo '>DOK</option>'."\n";
@@ -34,15 +34,15 @@
</div>
<div class="mb-3 row">
<div class="col-md-2" for="checkboxes"><?= __('Worked / Confirmed'); ?></div>
<div class="col-md-2" for="checkboxes"><?= __("Worked / Confirmed"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="worked" id="worked" value="1" <?php if ($this->input->post('worked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="worked"><?= __('Show worked'); ?></label>
<label class="form-check-label" for="worked"><?= __("Show worked"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="confirmed" id="confirmed" value="1" <?php if ($this->input->post('confirmed') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="confirmed"><?= __('Show confirmed'); ?></label>
<label class="form-check-label" for="confirmed"><?= __("Show confirmed"); ?></label>
</div>
</div>
</div>
@@ -52,19 +52,19 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qsl" value="1" id="qsl" <?php if ($this->input->post('qsl') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qsl"><?= __('QSL'); ?></label>
<label class="form-check-label" for="qsl"><?= __("QSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="lotw" value="1" id="lotw" <?php if ($this->input->post('lotw') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="lotw"><?= __('LoTW'); ?></label>
<label class="form-check-label" for="lotw"><?= __("LoTW"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="eqsl" value="1" id="eqsl" <?php if ($this->input->post('eqsl')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="eqsl"><?= __('eQSL'); ?></label>
<label class="form-check-label" for="eqsl"><?= __("eQSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qrz" value="1" id="qrz" <?php if ($this->input->post('qrz')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="clublog" value="1" id="clublog" <?php if ($this->input->post('clublog')) echo ' checked="checked"'; ?> >

View File

@@ -13,7 +13,7 @@
var lang_awards_info_button = "<?= __("Award Info"); ?>";
var lang_award_info_ln1 = "<?= __("DXCC Award"); ?>";
var lang_award_info_ln2 = "<?php echo sprintf(__("DXCC stands for 'DX Century Club,' an award based on worked countries. The DXCC List is based on an article created in 1935 by Clinton B. DeSoto, W1CBD, titled %s."), "<a href='http://www.arrl.org/desoto' target='_blank'>" . __("'How to Count Countries Worked, A New DX Scoring System'") . "</a>"); ?>";
var lang_award_info_ln3 = "<?php echo sprintf(__("You can find all information about the DXCC Award on the %s."), "<a href='https://www.arrl.org/dxcc-rules' target='_blank'>" . __('ARRL website') . "</a>"); ?>";
var lang_award_info_ln3 = "<?php echo sprintf(__("You can find all information about the DXCC Award on the %s."), "<a href='https://www.arrl.org/dxcc-rules' target='_blank'>" . __("ARRL website") . "</a>"); ?>";
var lang_award_info_ln4 = "<?= __("Important Note: Over time, the criteria for the DXCC List have changed. The List remains unchanged until an entity no longer satisfies the criteria under which it was added, at which time it is moved to the Deleted List. You will find Deleted DXCC entities also in the lists on Wavelog. Be aware that these DXCC entities are outdated and no longer valid."); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
@@ -25,30 +25,30 @@
<fieldset>
<div class="mb-3 row">
<div class="col-md-2 control-label" for="checkboxes"><?= __('Deleted DXCC'); ?></div>
<div class="col-md-2 control-label" for="checkboxes"><?= __("Deleted DXCC"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="includedeleted" id="includedeleted" value="1" <?php if ($this->input->post('includedeleted')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="includedeleted"><?= __('Include deleted'); ?></label>
<label class="form-check-label" for="includedeleted"><?= __("Include deleted"); ?></label>
</div>
</div>
</div>
<!-- Multiple Checkboxes (inline) -->
<div class="mb-3 row">
<div class="col-md-2" for="checkboxes"><?= __('Worked / Confirmed'); ?></div>
<div class="col-md-2" for="checkboxes"><?= __("Worked / Confirmed"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="worked" id="worked" value="1" <?php if ($this->input->post('worked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="worked"><?= __('Show worked'); ?></label>
<label class="form-check-label" for="worked"><?= __("Show worked"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="confirmed" id="confirmed" value="1" <?php if ($this->input->post('confirmed') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="confirmed"><?= __('Show confirmed'); ?></label>
<label class="form-check-label" for="confirmed"><?= __("Show confirmed"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="notworked" id="notworked" value="1" <?php if ($this->input->post('notworked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="notworked"><?= __('Show not worked'); ?></label>
<label class="form-check-label" for="notworked"><?= __("Show not worked"); ?></label>
</div>
</div>
</div>
@@ -58,19 +58,19 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qsl" value="1" id="qsl" <?php if ($this->input->post('qsl') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qsl"><?= __('QSL'); ?></label>
<label class="form-check-label" for="qsl"><?= __("QSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="lotw" value="1" id="lotw" <?php if ($this->input->post('lotw') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="lotw"><?= __('LoTW'); ?></label>
<label class="form-check-label" for="lotw"><?= __("LoTW"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="eqsl" value="1" id="eqsl" <?php if ($this->input->post('eqsl')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="eqsl"><?= __('eQSL'); ?></label>
<label class="form-check-label" for="eqsl"><?= __("eQSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qrz" value="1" id="qrz" <?php if ($this->input->post('qrz')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="clublog" value="1" id="clublog" <?php if ($this->input->post('clublog')) echo ' checked="checked"'; ?> >
@@ -80,44 +80,44 @@
</div>
<div class="mb-3 row">
<div class="col-md-2"><?= __('Continents'); ?></div>
<div class="col-md-2"><?= __("Continents"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Antarctica" id="Antarctica" value="1" <?php if ($this->input->post('Antarctica') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Antarctica"><?= __('Antarctica'); ?></label>
<label class="form-check-label" for="Antarctica"><?= __("Antarctica"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Africa" id="Africa" value="1" <?php if ($this->input->post('Africa') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Africa"><?= __('Africa'); ?></label>
<label class="form-check-label" for="Africa"><?= __("Africa"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Asia" id="Asia" value="1" <?php if ($this->input->post('Asia') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Asia"><?= __('Asia'); ?></label>
<label class="form-check-label" for="Asia"><?= __("Asia"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Europe" id="Europe" value="1" <?php if ($this->input->post('Europe') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Europe"><?= __('Europe'); ?></label>
<label class="form-check-label" for="Europe"><?= __("Europe"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="NorthAmerica" id="NorthAmerica" value="1" <?php if ($this->input->post('NorthAmerica') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="NorthAmerica"><?= __('North America'); ?></label>
<label class="form-check-label" for="NorthAmerica"><?= __("North America"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="SouthAmerica" id="SouthAmerica" value="1" <?php if ($this->input->post('SouthAmerica') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="SouthAmerica"><?= __('South America'); ?></label>
<label class="form-check-label" for="SouthAmerica"><?= __("South America"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Oceania" id="Oceania" value="1" <?php if ($this->input->post('Oceania') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Oceania"><?= __('Oceania'); ?></label>
<label class="form-check-label" for="Oceania"><?= __("Oceania"); ?></label>
</div>
</div>
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="band"><?= __('Band'); ?></label>
<label class="col-md-2 control-label" for="band"><?= __("Band"); ?></label>
<div class="col-md-2">
<select id="band2" name="band" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __('Every band'); ?></option>
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __("Every band"); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -159,10 +159,10 @@
</div>
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="mode"><?= __('Mode'); ?></label>
<label class="col-md-2 control-label" for="mode"><?= __("Mode"); ?></label>
<div class="col-md-2">
<select id="mode" name="mode" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __('All'); ?></option>
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __("All"); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -183,10 +183,10 @@
<div class="mb-3 row">
<label class="col-md-2 control-label" for="button1id"></label>
<div class="col-md-10">
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __('Show'); ?></button>
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __("Reset"); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __("Show"); ?></button>
<?php if ($dxcc_array) {
?><button type="button" onclick="load_dxcc_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> <?= __('Show DXCC Map'); ?></button>
?><button type="button" onclick="load_dxcc_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> <?= __("Show DXCC Map"); ?></button>
<?php }?>
</div>
</div>
@@ -196,10 +196,10 @@
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __('Table'); ?></a>
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __("Table"); ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="map-tab" onclick="load_dxcc_map();" data-bs-toggle="tab" href="#dxccmaptab" role="tab" aria-controls="home" aria-selected="false"><?= __('Map'); ?></a>
<a class="nav-link" id="map-tab" onclick="load_dxcc_map();" data-bs-toggle="tab" href="#dxccmaptab" role="tab" aria-controls="home" aria-selected="false"><?= __("Map"); ?></a>
</li>
</ul>
<br />
@@ -222,8 +222,8 @@
<thead>
<tr>
<td>#</td>
<td>' . __('DXCC Name') . '</td>
<td>' . __('Prefix') . '</td>';
<td>' . __("DXCC Name") . '</td>
<td>' . __("Prefix") . '</td>';
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
}
@@ -245,7 +245,7 @@
echo '</tr>';
}
echo '</table>
<h2>' . __('Summary') . '</h2>
<h2>' . __("Summary") . '</h2>
<table class="table-sm tablesummary table table-bordered table-hover table-striped table-condensed text-center">
<thead>
@@ -254,12 +254,12 @@
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
}
echo '<td>' . __('Total') . '</td>
echo '<td>' . __("Total") . '</td>
</tr>
</thead>
<tbody>
<tr><td>' . __('Total worked') . '</td>';
<tr><td>' . __("Total worked") . '</td>';
foreach ($dxcc_summary['worked'] as $dxcc) { // Fills the table with the data
echo '<td style="text-align: center">' . $dxcc . '</td>';
@@ -277,7 +277,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>
</div>

View File

@@ -6,7 +6,7 @@
var lang_awards_info_button = "<?= __("Award Info"); ?>";
var lang_award_info_ln1 = "<?= __("US Gridmaster Award"); ?>";
var lang_award_info_ln2 = "<?= __("The GridMaster Award is the most prestigious AMSAT award, first introduced in 2014 by the Star Comm Group. It is available to all amateur radio operators worldwide who manage to work all 488 grid squares in the USA via satellite and can provide QSL confirmations for each contact."); ?>";
var lang_award_info_ln3 = "<?php echo sprintf(__("Official information from the %s: Two-way communication must be established via amateur satellite with each grid. There is no minimum signal report required. Contacts must be made from the same location or from locations no two of which are more than 200 kilometers apart. The applicant's attestation in the award application serves as affirmation of abidance by the distance rule. Individuals may apply for and be granted multiple GridMaster awards when achieved from another location, which is in a different 200-kilometer circle."), "<a href='https://www.amsat.org/gridmaster/' target='_blank'>" . __('website') . "</a>"); ?>";
var lang_award_info_ln3 = "<?php echo sprintf(__("Official information from the %s: Two-way communication must be established via amateur satellite with each grid. There is no minimum signal report required. Contacts must be made from the same location or from locations no two of which are more than 200 kilometers apart. The applicant's attestation in the award application serves as affirmation of abidance by the distance rule. Individuals may apply for and be granted multiple GridMaster awards when achieved from another location, which is in a different 200-kilometer circle."), "<a href='https://www.amsat.org/gridmaster/' target='_blank'>" . __("website") . "</a>"); ?>";
var lang_award_info_ln4 = "<?= __("This map shows only QSOs worked on SAT."); ?>";
</script>
<h2><?php echo $page_title; ?></h2>

View File

@@ -28,19 +28,19 @@
<fieldset>
<div class="mb-3 row">
<div class="col-md-2" for="checkboxes"><?= __('Worked / Confirmed'); ?></div>
<div class="col-md-2" for="checkboxes"><?= __("Worked / Confirmed"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="worked" id="worked" value="1" <?php if ($this->input->post('worked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="worked"><?= __('Show worked'); ?></label>
<label class="form-check-label" for="worked"><?= __("Show worked"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="confirmed" id="confirmed" value="1" <?php if ($this->input->post('confirmed') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="confirmed"><?= __('Show confirmed'); ?></label>
<label class="form-check-label" for="confirmed"><?= __("Show confirmed"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="notworked" id="notworked" value="1" <?php if ($this->input->post('notworked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="notworked"><?= __('Show not worked'); ?></label>
<label class="form-check-label" for="notworked"><?= __("Show not worked"); ?></label>
</div>
</div>
</div>
@@ -50,28 +50,28 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qsl" value="1" id="qsl" <?php if ($this->input->post('qsl') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qsl"><?= __('QSL'); ?></label>
<label class="form-check-label" for="qsl"><?= __("QSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="lotw" value="1" id="lotw" <?php if ($this->input->post('lotw') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="lotw"><?= __('LoTW'); ?></label>
<label class="form-check-label" for="lotw"><?= __("LoTW"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="eqsl" value="1" id="eqsl" <?php if ($this->input->post('eqsl')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="eqsl"><?= __('eQSL'); ?></label>
<label class="form-check-label" for="eqsl"><?= __("eQSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qrz" value="1" id="qrz" <?php if ($this->input->post('qrz')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
</div>
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="band"><?= __('Band'); ?></label>
<label class="col-md-2 control-label" for="band"><?= __("Band"); ?></label>
<div class="col-md-2">
<select id="band2" name="band" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __('Every band'); ?></option>
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __("Every band"); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -82,10 +82,10 @@
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="mode"><?= __('Mode'); ?></label>
<label class="col-md-2 control-label" for="mode"><?= __("Mode"); ?></label>
<div class="col-md-2">
<select id="mode" name="mode" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __('All'); ?></option>
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __("All"); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -106,10 +106,10 @@
<div class="mb-3 row">
<label class="col-md-2 control-label" for="button1id"></label>
<div class="col-md-10">
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __('Show'); ?></button>
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __("Reset"); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __("Show"); ?></button>
<?php if ($helvetia_array) {
?><button type="button" onclick="load_helvetia_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> <?= __('Show Helvetia Map'); ?></button>
?><button type="button" onclick="load_helvetia_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> <?= __("Show Helvetia Map"); ?></button>
<?php }?>
</div>
</div>
@@ -119,10 +119,10 @@
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __('Table'); ?></a>
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __("Table"); ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="map-tab" onclick="load_helvetia_map();" data-bs-toggle="tab" href="#helvetiamaptab" role="tab" aria-controls="home" aria-selected="false"><?= __('Map'); ?></a>
<a class="nav-link" id="map-tab" onclick="load_helvetia_map();" data-bs-toggle="tab" href="#helvetiamaptab" role="tab" aria-controls="home" aria-selected="false"><?= __("Map"); ?></a>
</li>
</ul>
<br />
@@ -146,7 +146,7 @@
<thead>
<tr>
<td>#</td>
<td>' . __('Canton') . '</td>';
<td>' . __("Canton") . '</td>';
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
}
@@ -165,7 +165,7 @@
}
echo '</table>
<h2>' . __('Summary') . '</h2>
<h2>' . __("Summary") . '</h2>
<table class="table tablesummary table-sm table-bordered table-hover table-striped table-condensed text-center">
<thead>
@@ -174,11 +174,11 @@
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
}
echo '<td>' . __('Total') . '</td></tr>
echo '<td>' . __("Total") . '</td></tr>
</thead>
<tbody>
<tr><td>' . __('Total worked') . '</td>';
<tr><td>' . __("Total worked") . '</td>';
foreach ($helvetia_summary['worked'] as $helvetia) { // Fills the table with the data
echo '<td style="text-align: center">' . $helvetia . '</td>';
@@ -195,7 +195,7 @@
</div>';
}
else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>
</div>

View File

@@ -16,7 +16,7 @@
var lang_award_info_ln1 = "<?= __("IOTA Awards"); ?>";
var lang_award_info_ln2 = "<?= __("IOTA is an exciting and innovative activity program that has captured the interest of thousands of radio amateurs worldwide. Established in 1964, it promotes radio contacts with stations located on islands around the world to enhance the experience of all those active on the amateur bands. To achieve this, it draws on the widespread mystique surrounding islands."); ?>";
var lang_award_info_ln3 = "<?= __("It is administered by Islands On The Air (IOTA) Ltd (referred to as IOTA Management) in partnership with the Radio Society of Great Britain (RSGB). IOTA Management has grouped the world's islands into approximately 1200 'IOTA groups,' each having varying numbers of 'counters,' which are qualifying islands. These listings are published in the IOTA Directory and on the IOTA website. The objective for the IOTA Island Chaser is to make radio contact with at least one counter in as many of these groups as possible. The program has a well-defined set of rules and encourages friendly competition among chasers by publishing participant performance in an Honor Roll and annual listings, as well as recognizing it with certificates and prestigious awards."); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("You can also find this information on %s."), "<a href='https://www.iota-world.org/' target='_blank'>" . __('here') . "</a>"); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("You can also find this information on %s."), "<a href='https://www.iota-world.org/' target='_blank'>" . __("here") . "</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?= __("Award Info"); ?></button>
@@ -26,29 +26,29 @@
<fieldset>
<div class="mb-3 row">
<div class="col-md-2 control-label" for="checkboxes"><?= __('Deleted IOTA'); ?></div>
<div class="col-md-2 control-label" for="checkboxes"><?= __("Deleted IOTA"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="includedeleted" id="includedeleted" value="1" <?php if ($this->input->post('includedeleted')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="includedeleted"><?= __('Include deleted'); ?></label>
<label class="form-check-label" for="includedeleted"><?= __("Include deleted"); ?></label>
</div>
</div>
</div>
<div class="mb-3 row">
<div class="col-md-2" for="checkboxes"><?= __('Worked / Confirmed'); ?></div>
<div class="col-md-2" for="checkboxes"><?= __("Worked / Confirmed"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="worked" id="worked" value="1" <?php if ($this->input->post('worked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="worked"><?= __('Show worked'); ?></label>
<label class="form-check-label" for="worked"><?= __("Show worked"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="confirmed" id="confirmed" value="1" <?php if ($this->input->post('confirmed') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="confirmed"><?= __('Show confirmed'); ?></label>
<label class="form-check-label" for="confirmed"><?= __("Show confirmed"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="notworked" id="notworked" value="1" <?php if ($this->input->post('notworked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="notworked"><?= __('Show not worked'); ?></label>
<label class="form-check-label" for="notworked"><?= __("Show not worked"); ?></label>
</div>
</div>
</div>
@@ -58,40 +58,40 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Antarctica" id="Antarctica" value="1" <?php if ($this->input->post('Antarctica') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Antarctica"><?= __('Antarctica'); ?></label>
<label class="form-check-label" for="Antarctica"><?= __("Antarctica"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Africa" id="Africa" value="1" <?php if ($this->input->post('Africa') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Africa"><?= __('Africa'); ?></label>
<label class="form-check-label" for="Africa"><?= __("Africa"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Asia" id="Asia" value="1" <?php if ($this->input->post('Asia') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Asia"><?= __('Asia'); ?></label>
<label class="form-check-label" for="Asia"><?= __("Asia"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Europe" id="Europe" value="1" <?php if ($this->input->post('Europe') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Europe"><?= __('Europe'); ?></label>
<label class="form-check-label" for="Europe"><?= __("Europe"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="NorthAmerica" id="NorthAmerica" value="1" <?php if ($this->input->post('NorthAmerica') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="NorthAmerica"><?= __('North America'); ?></label>
<label class="form-check-label" for="NorthAmerica"><?= __("North America"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="SouthAmerica" id="SouthAmerica" value="1" <?php if ($this->input->post('SouthAmerica') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="SouthAmerica"><?= __('South America'); ?></label>
<label class="form-check-label" for="SouthAmerica"><?= __("South America"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="Oceania" id="Oceania" value="1" <?php if ($this->input->post('Oceania') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="Oceania"><?= __('Oceania'); ?></label>
<label class="form-check-label" for="Oceania"><?= __("Oceania"); ?></label>
</div>
</div>
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="band"><?= __('Band'); ?></label>
<label class="col-md-2 control-label" for="band"><?= __("Band"); ?></label>
<div class="col-md-2">
<select id="band2" name="band" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __('Every band'); ?></option>
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __("Every band"); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -102,10 +102,10 @@
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="mode"><?= __('Mode'); ?></label>
<label class="col-md-2 control-label" for="mode"><?= __("Mode"); ?></label>
<div class="col-md-2">
<select id="mode" name="mode" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __('All'); ?></option>
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __("All"); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -126,10 +126,10 @@
<div class="mb-3 row">
<label class="col-md-2 control-label" for="button1id"></label>
<div class="col-md-10">
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __('Show'); ?></button>
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __("Reset"); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __("Show"); ?></button>
<?php if ($iota_array) {
?><button type="button" onclick="load_iota_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> <?= __('Show IOTA Map'); ?></button>
?><button type="button" onclick="load_iota_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> <?= __("Show IOTA Map"); ?></button>
<?php }?>
</div>
</div>
@@ -139,10 +139,10 @@
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __('Table'); ?></a>
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __("Table"); ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="map-tab" onclick="load_iota_map();" data-bs-toggle="tab" href="#iotamaptab" role="tab" aria-controls="home" aria-selected="false"><?= __('Map'); ?></a>
<a class="nav-link" id="map-tab" onclick="load_iota_map();" data-bs-toggle="tab" href="#iotamaptab" role="tab" aria-controls="home" aria-selected="false"><?= __("Map"); ?></a>
</li>
</ul>
<br />
@@ -166,11 +166,11 @@
<thead>
<tr>
<td>#</td>
<td>' . __('IOTA') . '</td>
<td>' . __('Prefix') . '</td>
<td>' . __('Name') . '</td>';
<td>' . __("IOTA") . '</td>
<td>' . __("Prefix") . '</td>
<td>' . __("Name") . '</td>';
if ($this->input->post('includedeleted'))
echo ' <td>' . __('Deleted') . '</td>';
echo ' <td>' . __("Deleted") . '</td>';
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
@@ -189,7 +189,7 @@
}
echo '</table>
<h2>' . __('Summary') . '</h2>
<h2>' . __("Summary") . '</h2>
<table class="table-sm tablesummary table table-bordered table-hover table-striped table-condensed text-center">
<thead>
@@ -198,19 +198,19 @@
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
}
echo '<td>' . __('Total') . '</td></tr>';
echo '<td>' . __("Total") . '</td></tr>';
echo '</thead>
<tbody>
<tr><td>' . __('Total worked') . '</td>';
<tr><td>' . __("Total worked") . '</td>';
foreach ($iota_summary['worked'] as $dxcc) { // Fills the table with the data
echo '<td style="text-align: center">' . $dxcc . '</td>';
}
echo '</tr><tr>
<td>' . __('Total confirmed') . '</td>';
<td>' . __("Total confirmed") . '</td>';
foreach ($iota_summary['confirmed'] as $dxcc) { // Fills the table with the data
echo '<td style="text-align: center">' . $dxcc . '</td>';
}
@@ -221,7 +221,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>
</div>

View File

@@ -63,7 +63,7 @@
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qrz" value="1" id="qrz" <?php if ($this->input->post('qrz')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
</div>
</div>

View File

@@ -27,19 +27,19 @@
<fieldset>
<div class="mb-3 row">
<div class="col-md-2" for="checkboxes"><?= __('Worked / Confirmed'); ?></div>
<div class="col-md-2" for="checkboxes"><?= __("Worked / Confirmed"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="worked" id="worked" value="1" <?php if ($this->input->post('worked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="worked"><?= __('Show worked'); ?></label>
<label class="form-check-label" for="worked"><?= __("Show worked"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="confirmed" id="confirmed" value="1" <?php if ($this->input->post('confirmed') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="confirmed"><?= __('Show confirmed'); ?></label>
<label class="form-check-label" for="confirmed"><?= __("Show confirmed"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="notworked" id="notworked" value="1" <?php if ($this->input->post('notworked')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="notworked"><?= __('Show not worked'); ?></label>
<label class="form-check-label" for="notworked"><?= __("Show not worked"); ?></label>
</div>
</div>
</div>
@@ -49,19 +49,19 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qsl" value="1" id="qsl" <?php if ($this->input->post('qsl') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qsl"><?= __('QSL'); ?></label>
<label class="form-check-label" for="qsl"><?= __("QSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="lotw" value="1" id="lotw" <?php if ($this->input->post('lotw') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="lotw"><?= __('LoTW'); ?></label>
<label class="form-check-label" for="lotw"><?= __("LoTW"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="eqsl" value="1" id="eqsl" <?php if ($this->input->post('eqsl')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="eqsl"><?= __('eQSL'); ?></label>
<label class="form-check-label" for="eqsl"><?= __("eQSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qrz" value="1" id="qrz" <?php if ($this->input->post('qrz')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="clublog" value="1" id="clublog" <?php if ($this->input->post('clublog')) echo ' checked="checked"'; ?> >
@@ -71,10 +71,10 @@
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="band"><?= __('Band'); ?></label>
<label class="col-md-2 control-label" for="band"><?= __("Band"); ?></label>
<div class="col-md-2">
<select id="band2" name="band" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __('Every band'); ?></option>
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __("Every band"); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -85,10 +85,10 @@
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="mode"><?= __('Mode'); ?></label>
<label class="col-md-2 control-label" for="mode"><?= __("Mode"); ?></label>
<div class="col-md-2">
<select id="mode" name="mode" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __('All'); ?></option>
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __("All"); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -109,11 +109,11 @@
<div class="mb-3 row">
<label class="col-md-2 control-label" for="button1id"></label>
<div class="col-md-10">
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __('Show'); ?></button>
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __("Reset"); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __("Show"); ?></button>
<?php if ($jcc_array) {?>
<button type="button" onclick="load_jcc_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-asia"></i> <?= __("Show JCC Map"); ?></button>
<button id="button3id" type="button" onclick="export_qsos();" name="button3id" class="btn btn-sm btn-info"><?= __('Export'); ?></button>
<button id="button3id" type="button" onclick="export_qsos();" name="button3id" class="btn btn-sm btn-info"><?= __("Export"); ?></button>
<?php } ?>
</div>
</div>
@@ -123,7 +123,7 @@
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __('Results'); ?></a>
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __("Results"); ?></a>
</li>
<li class="nav-item">
<a class="nav-link" onclick="load_jcc_map();" id="map-tab" data-bs-toggle="tab" href="#jccmaptab" role="tab" aria-controls="home" aria-selected="false"><?= __("Map"); ?></a>
@@ -148,8 +148,8 @@
<table id="jccTable" style="width:100%" class="table-sm table table-bordered table-hover table-striped table-condensed text-center">
<thead>
<tr>
<td>' . __('Number') . '</td>
<td>' . __('City') . '</td>';
<td>' . __("Number") . '</td>
<td>' . __("City") . '</td>';
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
@@ -165,7 +165,7 @@
echo '</tr>';
}
echo '</table>
<h2>' . __('Summary') . '</h2>
<h2>' . __("Summary") . '</h2>
<table class="table-sm tablesummary table table-bordered table-hover table-striped table-condensed text-center">';
$sat = 0;
@@ -182,9 +182,9 @@
echo '<td>' . $band . '</td>';
}
}
echo '<td><b>' . __('Total') . '</b></td>';
echo '<td><b>' . __("Total") . '</b></td>';
if ($sat == 1) {
echo '<td>' . __('SAT') . '</td>';
echo '<td>' . __("SAT") . '</td>';
}
} else {
echo '<td></td><td><b>'.$bands[0].'</b></td>';
@@ -192,7 +192,7 @@
echo '</tr></thead>';
echo '<tbody>
<tr><td>' . __('Total worked') . '</td>';
<tr><td>' . __("Total worked") . '</td>';
if (count($bands) > 2) {
$len_worked = count($jcc_summary['worked']);
@@ -211,7 +211,7 @@
echo '</tr><tr>';
echo '<td>' . __('Total confirmed') . '</td>';
echo '<td>' . __("Total confirmed") . '</td>';
if (count($bands) > 2) {
$len_confirmed = count($jcc_summary['confirmed']);
$j = 0;
@@ -233,7 +233,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>
</div>

View File

@@ -64,6 +64,6 @@
</tbody>
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}?>
</div>

View File

@@ -20,12 +20,12 @@
<table class="table table-sm table-striped table-hover">
<tr>
<td><?= __('Reference'); ?></td>
<td><?= __('Date/Time'); ?></td>
<td><?= __('Callsign'); ?></td>
<td><?= __('Band'); ?></td>
<td><?= __('RST Sent'); ?></td>
<td><?= __('RST Received'); ?></td>
<td><?= __("Reference"); ?></td>
<td><?= __("Date/Time"); ?></td>
<td><?= __("Callsign"); ?></td>
<td><?= __("Band"); ?></td>
<td><?= __("RST Sent"); ?></td>
<td><?= __("RST Received"); ?></td>
</tr>
<?php
@@ -50,6 +50,6 @@
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}?>
</div>

View File

@@ -18,9 +18,9 @@
<table class="table table-sm table-bordered table-hover table-striped table-condensed text-center">
<thead>
<tr>
<td><?= __('Band'); ?></td>
<td><?= __('Grids Worked'); ?></td>
<td><?= __('Grids Confirmed'); ?></td>
<td><?= __("Band"); ?></td>
<td><?= __("Grids Worked"); ?></td>
<td><?= __("Grids Confirmed"); ?></td>
</tr>
</thead>
<tbody>
@@ -36,6 +36,6 @@
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
} ?>
</div>

View File

@@ -69,7 +69,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="qsl"><?= __('QSL'); ?></label>
<label class="form-check-label" for="qsl"><?= __("QSL"); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" value="1" type="checkbox" name="lotw" id="lotw"';
@@ -77,7 +77,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="lotw"><?= __('LoTW'); ?></label>
<label class="form-check-label" for="lotw"><?= __("LoTW"); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" value="1" type="checkbox" name="eqsl" id="eqsl"';
@@ -85,7 +85,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="eqsl"><?= __('eQSL'); ?></label>
<label class="form-check-label" for="eqsl"><?= __("eQSL"); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" value="1" type="checkbox" name="qrz" id="qrz"';
@@ -93,7 +93,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
<div>
<?php echo '<input class="form-check-input" value="1" type="checkbox" name="clublog" id="clublog"';
@@ -105,8 +105,8 @@
</div>
</div>
<button id="plot" type="button" name="plot" class="btn btn-primary me-1 ld-ext-right ld-ext-right-plot" onclick="plotmap()"><?= __('Map'); ?><div class="ld ld-ring ld-spin"></div></button>
<button id="list" type="button" name="list" class="btn btn-primary me-1 ld-ext-right ld-ext-right-list" onclick="showlist()"><?= __('List'); ?><div class="ld ld-ring ld-spin"></div></button>
<button id="plot" type="button" name="plot" class="btn btn-primary me-1 ld-ext-right ld-ext-right-plot" onclick="plotmap()"><?= __("Map"); ?><div class="ld ld-ring ld-spin"></div></button>
<button id="list" type="button" name="list" class="btn btn-primary me-1 ld-ext-right ld-ext-right-list" onclick="showlist()"><?= __("List"); ?><div class="ld ld-ring ld-spin"></div></button>
</form>
</div>
<div id="mapcontainer">

View File

@@ -28,19 +28,19 @@
<fieldset>
<div class="mb-3 row">
<div class="col-md-2" for="checkboxes"><?= __('Worked / Confirmed'); ?></div>
<div class="col-md-2" for="checkboxes"><?= __("Worked / Confirmed"); ?></div>
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="worked" id="worked" value="1" <?php if ($this->input->post('worked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="worked"><?= __('Show worked'); ?></label>
<label class="form-check-label" for="worked"><?= __("Show worked"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="confirmed" id="confirmed" value="1" <?php if ($this->input->post('confirmed') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="confirmed"><?= __('Show confirmed'); ?></label>
<label class="form-check-label" for="confirmed"><?= __("Show confirmed"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="notworked" id="notworked" value="1" <?php if ($this->input->post('notworked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="notworked"><?= __('Show not worked'); ?></label>
<label class="form-check-label" for="notworked"><?= __("Show not worked"); ?></label>
</div>
</div>
</div>
@@ -50,19 +50,19 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qsl" value="1" id="qsl" <?php if ($this->input->post('qsl') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qsl"><?= __('QSL'); ?></label>
<label class="form-check-label" for="qsl"><?= __("QSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="lotw" value="1" id="lotw" <?php if ($this->input->post('lotw') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="lotw"><?= __('LoTW'); ?></label>
<label class="form-check-label" for="lotw"><?= __("LoTW"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="eqsl" value="1" id="eqsl" <?php if ($this->input->post('eqsl')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="eqsl"><?= __('eQSL'); ?></label>
<label class="form-check-label" for="eqsl"><?= __("eQSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qrz" value="1" id="qrz" <?php if ($this->input->post('qrz')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="clublog" value="1" id="clublog" <?php if ($this->input->post('clublog')) echo ' checked="checked"'; ?> >
@@ -72,10 +72,10 @@
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="band"><?= __('Band'); ?></label>
<label class="col-md-2 control-label" for="band"><?= __("Band"); ?></label>
<div class="col-md-2">
<select id="band2" name="band" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __('Every band'); ?></option>
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __("Every band"); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -86,10 +86,10 @@
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="mode"><?= __('Mode'); ?></label>
<label class="col-md-2 control-label" for="mode"><?= __("Mode"); ?></label>
<div class="col-md-2">
<select id="mode" name="mode" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __('All'); ?></option>
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __("All"); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -110,10 +110,10 @@
<div class="mb-3 row">
<label class="col-md-2 control-label" for="button1id"></label>
<div class="col-md-10">
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __('Show'); ?></button>
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __("Reset"); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __("Show"); ?></button>
<?php if ($waja_array) {
?><button type="button" onclick="load_waja_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i><?= __('Show WAJA Map'); ?></button>
?><button type="button" onclick="load_waja_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i><?= __("Show WAJA Map"); ?></button>
<?php }?>
</div>
</div>
@@ -123,10 +123,10 @@
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __('Table'); ?></a>
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __("Table"); ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="map-tab" onclick="load_waja_map();" data-bs-toggle="tab" href="#wajamaptab" role="tab" aria-controls="home" aria-selected="false"><?= __('Map'); ?></a>
<a class="nav-link" id="map-tab" onclick="load_waja_map();" data-bs-toggle="tab" href="#wajamaptab" role="tab" aria-controls="home" aria-selected="false"><?= __("Map"); ?></a>
</li>
</ul>
<br />
@@ -148,8 +148,8 @@
<table style="width:100%" class="table-sm table tablewaja table-bordered table-hover table-striped table-condensed text-center">
<thead>
<tr>
<td>' . __('Number') . '</td>
<td>' . __('Prefecture') . '</td>';
<td>' . __("Number") . '</td>
<td>' . __("Prefecture") . '</td>';
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
@@ -165,7 +165,7 @@
echo '</tr>';
}
echo '</table>
<h2>' . __('Summary') . '</h2>
<h2>' . __("Summary") . '</h2>
<table class="table-sm tablesummary table table-bordered table-hover table-striped table-condensed text-center">
<thead>
@@ -174,19 +174,19 @@
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
}
echo '<td>' . __('Total') . '</td>
echo '<td>' . __("Total") . '</td>
</tr>
</thead>
<tbody>
<tr><td>' . __('Total worked') . '</td>';
<tr><td>' . __("Total worked") . '</td>';
foreach ($waja_summary['worked'] as $waja) { // Fills the table with the data
echo '<td style="text-align: center">' . $waja . '</td>';
}
echo '</tr><tr>
<td>' . __('Total confirmed') . '</td>';
<td>' . __("Total confirmed") . '</td>';
foreach ($waja_summary['confirmed'] as $waja) { // Fills the table with the data
echo '<td style="text-align: center">' . $waja . '</td>';
}
@@ -197,7 +197,7 @@
}
else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>
</div>

View File

@@ -32,15 +32,15 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="worked" id="worked" value="1" <?php if ($this->input->post('worked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="worked"><?= __('Show worked'); ?></label>
<label class="form-check-label" for="worked"><?= __("Show worked"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="confirmed" id="confirmed" value="1" <?php if ($this->input->post('confirmed') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="confirmed"><?= __('Show confirmed'); ?></label>
<label class="form-check-label" for="confirmed"><?= __("Show confirmed"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="notworked" id="notworked" value="1" <?php if ($this->input->post('notworked') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="notworked"><?= __('Show not worked'); ?></label>
<label class="form-check-label" for="notworked"><?= __("Show not worked"); ?></label>
</div>
</div>
</div>
@@ -50,28 +50,28 @@
<div class="col-md-10">
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qsl" value="1" id="qsl" <?php if ($this->input->post('qsl') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qsl"><?= __('QSL'); ?></label>
<label class="form-check-label" for="qsl"><?= __("QSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="lotw" value="1" id="lotw" <?php if ($this->input->post('lotw') || $this->input->method() !== 'post') echo ' checked="checked"'; ?> >
<label class="form-check-label" for="lotw"><?= __('LoTW'); ?></label>
<label class="form-check-label" for="lotw"><?= __("LoTW"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="eqsl" value="1" id="eqsl" <?php if ($this->input->post('eqsl')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="eqsl"><?= __('eQSL'); ?></label>
<label class="form-check-label" for="eqsl"><?= __("eQSL"); ?></label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qrz" value="1" id="qrz" <?php if ($this->input->post('qrz')) echo ' checked="checked"'; ?> >
<label class="form-check-label" for="qrz"><?= __('QRZ.com'); ?></label>
<label class="form-check-label" for="qrz"><?= __("QRZ.com"); ?></label>
</div>
</div>
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="band"><?= __('Band'); ?></label>
<label class="col-md-2 control-label" for="band"><?= __("Band"); ?></label>
<div class="col-md-2">
<select id="band2" name="band" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __('Every band'); ?></option>
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?= __("Every band"); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -82,10 +82,10 @@
</div>
<div class="mb-3 row">
<label class="col-md-2 control-label" for="mode"><?= __('Mode'); ?></label>
<label class="col-md-2 control-label" for="mode"><?= __("Mode"); ?></label>
<div class="col-md-2">
<select id="mode" name="mode" class="form-select form-select-sm">
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __('All'); ?></option>
<option value="All" <?php if ($this->input->post('mode') == "All" || $this->input->method() !== 'mode') echo ' selected'; ?>><?= __("All"); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -106,10 +106,10 @@
<div class="mb-3 row">
<label class="col-md-2 control-label" for="button1id"></label>
<div class="col-md-10">
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __('Show'); ?></button>
<button id="button2id" type="reset" name="button2id" class="btn btn-sm btn-warning"><?= __("Reset"); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?= __("Show"); ?></button>
<?php if ($was_array) {
?><button type="button" onclick="load_was_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> <?= __('Show WAS Map'); ?></button>
?><button type="button" onclick="load_was_map();" class="btn btn-info btn-sm"><i class="fas fa-globe-americas"></i> <?= __("Show WAS Map"); ?></button>
<?php }?>
</div>
</div>
@@ -119,10 +119,10 @@
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __('Table'); ?></a>
<a class="nav-link active" id="table-tab" data-bs-toggle="tab" href="#table" role="tab" aria-controls="table" aria-selected="true"><?= __("Table"); ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="map-tab" onclick="load_was_map();" data-bs-toggle="tab" href="#wasmaptab" role="tab" aria-controls="home" aria-selected="false"><?= __('Map'); ?></a>
<a class="nav-link" id="map-tab" onclick="load_was_map();" data-bs-toggle="tab" href="#wasmaptab" role="tab" aria-controls="home" aria-selected="false"><?= __("Map"); ?></a>
</li>
</ul>
<br />
@@ -165,7 +165,7 @@
}
echo '</table>
<h2>' . __('Summary') . '</h2>
<h2>' . __("Summary") . '</h2>
<table class="table tablesummary table-sm table-bordered table-hover table-striped table-condensed text-center">
<thead>
@@ -174,18 +174,18 @@
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
}
echo '<td>' . __('Total') . '</td></tr>
echo '<td>' . __("Total") . '</td></tr>
</thead>
<tbody>
<tr><td>' . __('Total worked') . '</td>';
<tr><td>' . __("Total worked") . '</td>';
foreach ($was_summary['worked'] as $was) { // Fills the table with the data
echo '<td style="text-align: center">' . $was . '</td>';
}
echo '</tr><tr>
<td>' . __('Total confirmed') . '</td>';
<td>' . __("Total confirmed") . '</td>';
foreach ($was_summary['confirmed'] as $was) { // Fills the table with the data
echo '<td style="text-align: center">' . $was . '</td>';
}
@@ -195,7 +195,7 @@
</div>';
}
else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}
?>
</div>

View File

@@ -61,6 +61,6 @@
</tbody>
</table>
<?php } else {
echo '<div class="alert alert-danger" role="alert">' . __('Nothing found!') . '</div>';
echo '<div class="alert alert-danger" role="alert">' . __("Nothing found!") . '</div>';
}?>
</div>

View File

@@ -92,24 +92,24 @@
<label for="selectPropagation"><?= __("Propagation Mode"); ?></label>
<select class="form-select" id="selectPropagation" name="prop_mode">
<option value="All"><?= __("All"); ?></option>
<option value="AS"><?= _pgettext('Propagation Mode','Aircraft Scatter'); ?></option>
<option value="AUR"><?= _pgettext('Propagation Mode','Aurora'); ?></option>
<option value="AUE"><?= _pgettext('Propagation Mode','Aurora-E'); ?></option>
<option value="BS"><?= _pgettext('Propagation Mode','Back scatter'); ?></option>
<option value="ECH"><?= _pgettext('Propagation Mode','EchoLink'); ?></option>
<option value="EME"><?= _pgettext('Propagation Mode','Earth-Moon-Earth'); ?></option>
<option value="ES"><?= _pgettext('Propagation Mode','Sporadic E'); ?></option>
<option value="FAI"><?= _pgettext('Propagation Mode','Field Aligned Irregularities'); ?></option>
<option value="F2"><?= _pgettext('Propagation Mode','F2 Reflection'); ?></option>
<option value="INTERNET"><?= _pgettext('Propagation Mode','Internet-assisted'); ?></option>
<option value="ION"><?= _pgettext('Propagation Mode','Ionoscatter'); ?></option>
<option value="IRL"><?= _pgettext('Propagation Mode','IRLP'); ?></option>
<option value="MS"><?= _pgettext('Propagation Mode','Meteor scatter'); ?></option>
<option value="RPT"><?= _pgettext('Propagation Mode','Terrestrial or atmospheric repeater or transponder'); ?></option>
<option value="RS"><?= _pgettext('Propagation Mode','Rain scatter'); ?></option>
<option value="SAT"><?= _pgettext('Propagation Mode','Satellite'); ?></option>
<option value="TEP"><?= _pgettext('Propagation Mode','Trans-equatorial'); ?></option>
<option value="TR"><?= _pgettext('Propagation Mode','Tropospheric ducting'); ?></option>
<option value="AS"><?= _pgettext("Propagation Mode","Aircraft Scatter"); ?></option>
<option value="AUR"><?= _pgettext("Propagation Mode","Aurora"); ?></option>
<option value="AUE"><?= _pgettext("Propagation Mode","Aurora-E"); ?></option>
<option value="BS"><?= _pgettext("Propagation Mode","Back scatter"); ?></option>
<option value="ECH"><?= _pgettext("Propagation Mode","EchoLink"); ?></option>
<option value="EME"><?= _pgettext("Propagation Mode","Earth-Moon-Earth"); ?></option>
<option value="ES"><?= _pgettext("Propagation Mode","Sporadic E"); ?></option>
<option value="FAI"><?= _pgettext("Propagation Mode","Field Aligned Irregularities"); ?></option>
<option value="F2"><?= _pgettext("Propagation Mode","F2 Reflection"); ?></option>
<option value="INTERNET"><?= _pgettext("Propagation Mode","Internet-assisted"); ?></option>
<option value="ION"><?= _pgettext("Propagation Mode","Ionoscatter"); ?></option>
<option value="IRL"><?= _pgettext("Propagation Mode","IRLP"); ?></option>
<option value="MS"><?= _pgettext("Propagation Mode","Meteor scatter"); ?></option>
<option value="RPT"><?= _pgettext("Propagation Mode","Terrestrial or atmospheric repeater or transponder"); ?></option>
<option value="RS"><?= _pgettext("Propagation Mode","Rain scatter"); ?></option>
<option value="SAT"><?= _pgettext("Propagation Mode","Satellite"); ?></option>
<option value="TEP"><?= _pgettext("Propagation Mode","Trans-equatorial"); ?></option>
<option value="TR"><?= _pgettext("Propagation Mode","Tropospheric ducting"); ?></option>
</select>
</div>
</div>

View File

@@ -150,7 +150,7 @@ function echo_table_col($row, $name) {
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE || ($this->config->item('show_time'))) { ?>
<th><?= __("Time"); ?></th>
<?php } ?>
<th><?= __('Callsign'); ?></th>
<th><?= __("Callsign"); ?></th>
<?php
echo_table_header_col($this->session->userdata('user_column1')==""?'Mode':$this->session->userdata('user_column1'));
echo_table_header_col($this->session->userdata('user_column2')==""?'RSTS':$this->session->userdata('user_column2'));

View File

@@ -92,24 +92,24 @@
<label for="selectPropagation"><?= __("Propagation Mode"); ?></label>
<select class="form-select" id="selectPropagation" name="prop_mode">
<option value="All"><?= __("All"); ?></option>
<option value="AS"><?= _pgettext('Propagation Mode','Aircraft Scatter'); ?></option>
<option value="AUR"><?= _pgettext('Propagation Mode','Aurora'); ?></option>
<option value="AUE"><?= _pgettext('Propagation Mode','Aurora-E'); ?></option>
<option value="BS"><?= _pgettext('Propagation Mode','Back scatter'); ?></option>
<option value="ECH"><?= _pgettext('Propagation Mode','EchoLink'); ?></option>
<option value="EME"><?= _pgettext('Propagation Mode','Earth-Moon-Earth'); ?></option>
<option value="ES"><?= _pgettext('Propagation Mode','Sporadic E'); ?></option>
<option value="FAI"><?= _pgettext('Propagation Mode','Field Aligned Irregularities'); ?></option>
<option value="F2"><?= _pgettext('Propagation Mode','F2 Reflection'); ?></option>
<option value="INTERNET"><?= _pgettext('Propagation Mode','Internet-assisted'); ?></option>
<option value="ION"><?= _pgettext('Propagation Mode','Ionoscatter'); ?></option>
<option value="IRL"><?= _pgettext('Propagation Mode','IRLP'); ?></option>
<option value="MS"><?= _pgettext('Propagation Mode','Meteor scatter'); ?></option>
<option value="RPT"><?= _pgettext('Propagation Mode','Terrestrial or atmospheric repeater or transponder'); ?></option>
<option value="RS"><?= _pgettext('Propagation Mode','Rain scatter'); ?></option>
<option value="SAT"><?= _pgettext('Propagation Mode','Satellite'); ?></option>
<option value="TEP"><?= _pgettext('Propagation Mode','Trans-equatorial'); ?></option>
<option value="TR"><?= _pgettext('Propagation Mode','Tropospheric ducting'); ?></option>
<option value="AS"><?= _pgettext("Propagation Mode","Aircraft Scatter"); ?></option>
<option value="AUR"><?= _pgettext("Propagation Mode","Aurora"); ?></option>
<option value="AUE"><?= _pgettext("Propagation Mode","Aurora-E"); ?></option>
<option value="BS"><?= _pgettext("Propagation Mode","Back scatter"); ?></option>
<option value="ECH"><?= _pgettext("Propagation Mode","EchoLink"); ?></option>
<option value="EME"><?= _pgettext("Propagation Mode","Earth-Moon-Earth"); ?></option>
<option value="ES"><?= _pgettext("Propagation Mode","Sporadic E"); ?></option>
<option value="FAI"><?= _pgettext("Propagation Mode","Field Aligned Irregularities"); ?></option>
<option value="F2"><?= _pgettext("Propagation Mode","F2 Reflection"); ?></option>
<option value="INTERNET"><?= _pgettext("Propagation Mode","Internet-assisted"); ?></option>
<option value="ION"><?= _pgettext("Propagation Mode","Ionoscatter"); ?></option>
<option value="IRL"><?= _pgettext("Propagation Mode","IRLP"); ?></option>
<option value="MS"><?= _pgettext("Propagation Mode","Meteor scatter"); ?></option>
<option value="RPT"><?= _pgettext("Propagation Mode","Terrestrial or atmospheric repeater or transponder"); ?></option>
<option value="RS"><?= _pgettext("Propagation Mode","Rain scatter"); ?></option>
<option value="SAT"><?= _pgettext("Propagation Mode","Satellite"); ?></option>
<option value="TEP"><?= _pgettext("Propagation Mode","Trans-equatorial"); ?></option>
<option value="TR"><?= _pgettext("Propagation Mode","Tropospheric ducting"); ?></option>
</select>
</div>
</div>

View File

@@ -39,24 +39,24 @@
<div class="col-sm-4">
<select class="form-select form-select-sm w-auto" id="propagation" <?php if ($user_default_band == 'SAT') {echo 'disabled';} ?>>
<option value=""><?= __("All"); ?></option>
<option value="AS"><?= _pgettext('Propagation Mode','Aircraft Scatter'); ?></option>
<option value="AUR"><?= _pgettext('Propagation Mode','Aurora'); ?></option>
<option value="AUE"><?= _pgettext('Propagation Mode','Aurora-E'); ?></option>
<option value="BS"><?= _pgettext('Propagation Mode','Back scatter'); ?></option>
<option value="ECH"><?= _pgettext('Propagation Mode','EchoLink'); ?></option>
<option value="EME"><?= _pgettext('Propagation Mode','Earth-Moon-Earth'); ?></option>
<option value="ES"><?= _pgettext('Propagation Mode','Sporadic E'); ?></option>
<option value="FAI"><?= _pgettext('Propagation Mode','Field Aligned Irregularities'); ?></option>
<option value="F2"><?= _pgettext('Propagation Mode','F2 Reflection'); ?></option>
<option value="INTERNET"><?= _pgettext('Propagation Mode','Internet-assisted'); ?></option>
<option value="ION"><?= _pgettext('Propagation Mode','Ionoscatter'); ?></option>
<option value="IRL"><?= _pgettext('Propagation Mode','IRLP'); ?></option>
<option value="MS"><?= _pgettext('Propagation Mode','Meteor scatter'); ?></option>
<option value="RPT"><?= _pgettext('Propagation Mode','Terrestrial or atmospheric repeater or transponder'); ?></option>
<option value="RS"><?= _pgettext('Propagation Mode','Rain scatter'); ?></option>
<option value="SAT" <?php if ($user_default_band == $band) {echo 'selected="selected"';} ?>><?= _pgettext('Propagation Mode','Satellite'); ?></option>
<option value="TEP"><?= _pgettext('Propagation Mode','Trans-equatorial'); ?></option>
<option value="TR"><?= _pgettext('Propagation Mode','Tropospheric ducting'); ?></option>
<option value="AS"><?= _pgettext("Propagation Mode","Aircraft Scatter"); ?></option>
<option value="AUR"><?= _pgettext("Propagation Mode","Aurora"); ?></option>
<option value="AUE"><?= _pgettext("Propagation Mode","Aurora-E"); ?></option>
<option value="BS"><?= _pgettext("Propagation Mode","Back scatter"); ?></option>
<option value="ECH"><?= _pgettext("Propagation Mode","EchoLink"); ?></option>
<option value="EME"><?= _pgettext("Propagation Mode","Earth-Moon-Earth"); ?></option>
<option value="ES"><?= _pgettext("Propagation Mode","Sporadic E"); ?></option>
<option value="FAI"><?= _pgettext("Propagation Mode","Field Aligned Irregularities"); ?></option>
<option value="F2"><?= _pgettext("Propagation Mode","F2 Reflection"); ?></option>
<option value="INTERNET"><?= _pgettext("Propagation Mode","Internet-assisted"); ?></option>
<option value="ION"><?= _pgettext("Propagation Mode","Ionoscatter"); ?></option>
<option value="IRL"><?= _pgettext("Propagation Mode","IRLP"); ?></option>
<option value="MS"><?= _pgettext("Propagation Mode","Meteor scatter"); ?></option>
<option value="RPT"><?= _pgettext("Propagation Mode","Terrestrial or atmospheric repeater or transponder"); ?></option>
<option value="RS"><?= _pgettext("Propagation Mode","Rain scatter"); ?></option>
<option value="SAT" <?php if ($user_default_band == $band) {echo 'selected="selected"';} ?>><?= _pgettext("Propagation Mode","Satellite"); ?></option>
<option value="TEP"><?= _pgettext("Propagation Mode","Trans-equatorial"); ?></option>
<option value="TR"><?= _pgettext("Propagation Mode","Tropospheric ducting"); ?></option>
</select>
</div>

View File

@@ -30,6 +30,7 @@
var lang_general_word_worked_not_confirmed = "<?= __("Worked not confirmed"); ?>";
var lang_general_word_not_worked = "<?= __("Not worked"); ?>";
var lang_admin_close = "<?= __("Close"); ?>";
var lang_admin_save = "<?= __("Save"); ?>";
var lang_admin_clear = "<?= __("Clear"); ?>";
</script>

View File

@@ -77,24 +77,24 @@
<label for="selectPropagation"><?= __("Propagation Mode"); ?></label>
<select class="form-select" id="selectPropagation" name="prop_mode">
<option value="All"><?= __("All"); ?></option>
<option value="AS"><?= _pgettext('Propagation Mode','Aircraft Scatter'); ?></option>
<option value="AUR"><?= _pgettext('Propagation Mode','Aurora'); ?></option>
<option value="AUE"><?= _pgettext('Propagation Mode','Aurora-E'); ?></option>
<option value="BS"><?= _pgettext('Propagation Mode','Back scatter'); ?></option>
<option value="ECH"><?= _pgettext('Propagation Mode','EchoLink'); ?></option>
<option value="EME"><?= _pgettext('Propagation Mode','Earth-Moon-Earth'); ?></option>
<option value="ES"><?= _pgettext('Propagation Mode','Sporadic E'); ?></option>
<option value="FAI"><?= _pgettext('Propagation Mode','Field Aligned Irregularities'); ?></option>
<option value="F2"><?= _pgettext('Propagation Mode','F2 Reflection'); ?></option>
<option value="INTERNET"><?= _pgettext('Propagation Mode','Internet-assisted'); ?></option>
<option value="ION"><?= _pgettext('Propagation Mode','Ionoscatter'); ?></option>
<option value="IRL"><?= _pgettext('Propagation Mode','IRLP'); ?></option>
<option value="MS"><?= _pgettext('Propagation Mode','Meteor scatter'); ?></option>
<option value="RPT"><?= _pgettext('Propagation Mode','Terrestrial or atmospheric repeater or transponder'); ?></option>
<option value="RS"><?= _pgettext('Propagation Mode','Rain scatter'); ?></option>
<option value="SAT"><?= _pgettext('Propagation Mode','Satellite'); ?></option>
<option value="TEP"><?= _pgettext('Propagation Mode','Trans-equatorial'); ?></option>
<option value="TR"><?= _pgettext('Propagation Mode','Tropospheric ducting'); ?></option>
<option value="AS"><?= _pgettext("Propagation Mode","Aircraft Scatter"); ?></option>
<option value="AUR"><?= _pgettext("Propagation Mode","Aurora"); ?></option>
<option value="AUE"><?= _pgettext("Propagation Mode","Aurora-E"); ?></option>
<option value="BS"><?= _pgettext("Propagation Mode","Back scatter"); ?></option>
<option value="ECH"><?= _pgettext("Propagation Mode","EchoLink"); ?></option>
<option value="EME"><?= _pgettext("Propagation Mode","Earth-Moon-Earth"); ?></option>
<option value="ES"><?= _pgettext("Propagation Mode","Sporadic E"); ?></option>
<option value="FAI"><?= _pgettext("Propagation Mode","Field Aligned Irregularities"); ?></option>
<option value="F2"><?= _pgettext("Propagation Mode","F2 Reflection"); ?></option>
<option value="INTERNET"><?= _pgettext("Propagation Mode","Internet-assisted"); ?></option>
<option value="ION"><?= _pgettext("Propagation Mode","Ionoscatter"); ?></option>
<option value="IRL"><?= _pgettext("Propagation Mode","IRLP"); ?></option>
<option value="MS"><?= _pgettext("Propagation Mode","Meteor scatter"); ?></option>
<option value="RPT"><?= _pgettext("Propagation Mode","Terrestrial or atmospheric repeater or transponder"); ?></option>
<option value="RS"><?= _pgettext("Propagation Mode","Rain scatter"); ?></option>
<option value="SAT"><?= _pgettext("Propagation Mode","Satellite"); ?></option>
<option value="TEP"><?= _pgettext("Propagation Mode","Trans-equatorial"); ?></option>
<option value="TR"><?= _pgettext("Propagation Mode","Tropospheric ducting"); ?></option>
</select>
</div>
</div>

View File

@@ -1,23 +1,23 @@
<form method="post" class="d-flex align-items-center">
<select id="editColumn" name="type" class="form-select form-select-sm w-auto me-2">
<option value="band">Band</option>
<option value="date">Date</option>
<option value="comment">Comment</option>
<option value="cqz">CQ Zone</option>
<option value="dxcc">DXCC</option>
<option value="gridsquare">Gridsquare</option>
<option value="iota">IOTA</option>
<option value="ituz">ITU Zone</option>
<option value="mode">Mode</option>
<option value="operator">Operator</option>
<option value="pota">POTA</option>
<option value="propagation">Propagation</option>
<option value="qslvia">QSL via</option>
<option value="satellite">Satellite</option>
<option value="sota">SOTA</option>
<option value="station">Station Location</option>
<option value="wwff">WWFF</option>
<option value="state">State</option>
<option value="band"><?= __("Band"); ?></option>
<option value="date"><?= __("Date"); ?></option>
<option value="comment"><?= __("Comment"); ?></option>
<option value="cqz"><?= __("CQ Zone"); ?></option>
<option value="dxcc"><?= __("DXCC"); ?></option>
<option value="gridsquare"><?= __("Gridsquare"); ?></option>
<option value="iota"><?= __("IOTA"); ?></option>
<option value="ituz"><?= __("ITU Zone"); ?></option>
<option value="mode"><?= __("Mode"); ?></option>
<option value="operator"><?= __("Operator"); ?></option>
<option value="pota"><?= __("POTA"); ?></option>
<option value="propagation"><?= __("Propagation"); ?></option>
<option value="qslvia"><?= __("QSL via"); ?></option>
<option value="satellite"><?= __("Satellite"); ?></option>
<option value="sota"><?= __("SOTA"); ?></option>
<option value="station"><?= __("Station Location"); ?></option>
<option value="wwff"><?= __("WWFF"); ?></option>
<option value="state"><?= __("State"); ?></option>
</select>
<div>&nbsp;</div>
@@ -58,7 +58,7 @@
?>
</select>
<label style="display:none" id="editDxccStateListLabel" class="mx-2 w-auto" for="statelabel">State</label>
<label style="display:none" id="editDxccStateListLabel" class="mx-2 w-auto" for="statelabel"><?= __("State"); ?></label>
<select style="display:none" class="form-select form-select-sm w-auto" id="editDxccStateList" name="dxccstatelist" required>
@@ -67,7 +67,7 @@
<select style="display:none" class="form-select form-select-sm w-auto" id="editSatellite" name="satellite" required>
</select>
<label style="display:none" id="editSatelliteModeLabel" class="mx-2 w-auto" for="editSatelliteMode">SAT Mode</label>
<label style="display:none" id="editSatelliteModeLabel" class="mx-2 w-auto" for="editSatelliteMode"><?= __("SAT Mode"); ?></label>
<input style="display:none" class="form-control form-control-sm w-auto" id="editSatelliteMode" type="text" name="editSatelliteMode" placeholder="" aria-label="editSatelliteMode">
<select id="editBand" class="form-select w-auto form-select-sm" name="editBand">
@@ -81,7 +81,7 @@
?>
</select>
<label id="editBandRxLabel" class="mx-2 w-auto" for="gridlabel">Band RX</label>
<label id="editBandRxLabel" class="mx-2 w-auto" for="gridlabel"><?= __("Band RX"); ?></label>
<select id="editBandRx" class="form-select w-auto form-select-sm" name="editBandRx">
<option value="">-</option>
<?php foreach($bands as $key=>$bandgroup) {

View File

@@ -140,13 +140,13 @@ $options = json_decode($options);
<label class="form-label" for="dxcc"><?= __("DXCC"); ?></label>
<select class="form-select form-select-sm" id="dxcc" name="dxcc">
<option value="">-</option>
<option value="0"><?= __("- NONE - (e.g. /MM, /AM)"); ?></option>
<option value="0"><?= _pgettext("Logbook Advanced DXCC Select", "- NONE - (e.g. /MM, /AM)"); ?></option>
<?php
foreach($dxccarray as $dxcc){
echo '<option value=' . $dxcc->adif;
echo '>' . $dxcc->prefix . ' - ' . ucwords(strtolower($dxcc->name), "- (/");
if ($dxcc->Enddate != null) {
echo ' - (Deleted DXCC)';
echo ' - (' . __("Deleted DXCC") . ')';
}
echo '</option>';
}
@@ -217,28 +217,28 @@ $options = json_decode($options);
<label class="form-label" for="selectPropagation"><?= __("Propagation"); ?></label>
<select id="selectPropagation" class="form-select form-select-sm" name="propmode">
<option value=""><?= __("All"); ?></option>
<option value="AS"><?= _pgettext('Propagation Mode','Aircraft Scatter'); ?></option>
<option value="AUR"><?= _pgettext('Propagation Mode','Aurora'); ?></option>
<option value="AUE"><?= _pgettext('Propagation Mode','Aurora-E'); ?></option>
<option value="BS"><?= _pgettext('Propagation Mode','Back scatter'); ?></option>
<option value="ECH"><?= _pgettext('Propagation Mode','EchoLink'); ?></option>
<option value="EME"><?= _pgettext('Propagation Mode','Earth-Moon-Earth'); ?></option>
<option value="ES"><?= _pgettext('Propagation Mode','Sporadic E'); ?></option>
<option value="FAI"><?= _pgettext('Propagation Mode','Field Aligned Irregularities'); ?></option>
<option value="F2"><?= _pgettext('Propagation Mode','F2 Reflection'); ?></option>
<option value="INTERNET"><?= _pgettext('Propagation Mode','Internet-assisted'); ?></option>
<option value="ION"><?= _pgettext('Propagation Mode','Ionoscatter'); ?></option>
<option value="IRL"><?= _pgettext('Propagation Mode','IRLP'); ?></option>
<option value="MS"><?= _pgettext('Propagation Mode','Meteor scatter'); ?></option>
<option value="RPT"><?= _pgettext('Propagation Mode','Terrestrial or atmospheric repeater or transponder'); ?></option>
<option value="RS"><?= _pgettext('Propagation Mode','Rain scatter'); ?></option>
<option value="SAT"><?= _pgettext('Propagation Mode','Satellite'); ?></option>
<option value="TEP"><?= _pgettext('Propagation Mode','Trans-equatorial'); ?></option>
<option value="TR"><?= _pgettext('Propagation Mode','Tropospheric ducting'); ?></option>
<option value="AS"><?= _pgettext("Propagation Mode","Aircraft Scatter"); ?></option>
<option value="AUR"><?= _pgettext("Propagation Mode","Aurora"); ?></option>
<option value="AUE"><?= _pgettext("Propagation Mode","Aurora-E"); ?></option>
<option value="BS"><?= _pgettext("Propagation Mode","Back scatter"); ?></option>
<option value="ECH"><?= _pgettext("Propagation Mode","EchoLink"); ?></option>
<option value="EME"><?= _pgettext("Propagation Mode","Earth-Moon-Earth"); ?></option>
<option value="ES"><?= _pgettext("Propagation Mode","Sporadic E"); ?></option>
<option value="FAI"><?= _pgettext("Propagation Mode","Field Aligned Irregularities"); ?></option>
<option value="F2"><?= _pgettext("Propagation Mode","F2 Reflection"); ?></option>
<option value="INTERNET"><?= _pgettext("Propagation Mode","Internet-assisted"); ?></option>
<option value="ION"><?= _pgettext("Propagation Mode","Ionoscatter"); ?></option>
<option value="IRL"><?= _pgettext("Propagation Mode","IRLP"); ?></option>
<option value="MS"><?= _pgettext("Propagation Mode","Meteor scatter"); ?></option>
<option value="RPT"><?= _pgettext("Propagation Mode","Terrestrial or atmospheric repeater or transponder"); ?></option>
<option value="RS"><?= _pgettext("Propagation Mode","Rain scatter"); ?></option>
<option value="SAT"><?= _pgettext("Propagation Mode","Satellite"); ?></option>
<option value="TEP"><?= _pgettext("Propagation Mode","Trans-equatorial"); ?></option>
<option value="TR"><?= _pgettext("Propagation Mode","Tropospheric ducting"); ?></option>
</select>
</div>
<div class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
<label class="form-label" for="cqzone">CQ Zone</label>
<label class="form-label" for="cqzone"><?= __("CQ Zone"); ?></label>
<select id="cqzone" name="cqzone" class="form-select form-select-sm">
<option value=""><?= __("All"); ?></option>
<?php
@@ -249,7 +249,7 @@ $options = json_decode($options);
</select>
</div>
<div class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
<label class="form-label" for="ituzone">ITU Zone</label>
<label class="form-label" for="ituzone"><?= __("ITU Zone"); ?></label>
<select id="ituzone" name="ituzone" class="form-select form-select-sm">
<option value=""><?= __("All"); ?></option>
<?php
@@ -481,13 +481,13 @@ $options = json_decode($options);
</select>
<button type="submit" class="btn btn-sm btn-primary me-1 ld-ext-right" id="searchButton"><?= __("Search"); ?><div class="ld ld-ring ld-spin"></div></button>
<button type="button" class="btn btn-sm btn-primary me-1 ld-ext-right" id="dupeButton"><?= __("Dupes"); ?><div class="ld ld-ring ld-spin"></div></button>
<button type="button" class="btn btn-sm btn-primary me-1 ld-ext-right" id="editButton">Edit<div class="ld ld-ring ld-spin"></div></button>
<button type="button" class="btn btn-sm btn-primary me-1 ld-ext-right" id="editButton"><?= __("Edit"); ?><div class="ld ld-ring ld-spin"></div></button>
<button type="button" class="btn btn-sm btn-danger me-1" id="deleteQsos"><?= __("Delete"); ?></button>
<div class="btn-group me-1" role="group">
<button type="button" class="btn btn-sm btn-primary ld-ext-right" id="mapButton" onclick="mapQsos(this.form);"><?= __("Map"); ?><div class="ld ld-ring ld-spin"></div></button>
<button id="btnGroupDrop1" type="button" class="btn btn-sm btn-primary dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"></button>
<ul class="dropdown-menu" aria-labelledby="btnGroupDrop1">
<li><button type="button" class="dropdown-item" onclick="mapGlobeQsos(this.form);" id="mapGlobeButton">Globe map</button></li>
<li><button type="button" class="dropdown-item" onclick="mapGlobeQsos(this.form);" id="mapGlobeButton"><?= __("Globe map"); ?></button></li>
</ul>
</div>
<button type="options" class="btn btn-sm btn-primary me-1" id="optionButton"><?= __("Options"); ?></button>

View File

@@ -56,7 +56,7 @@
?>
</tbody>
</table>
<?php echo '<img class="img-fluid w-qsl" src="' . base_url() . '/'. $this->paths->getPathQsl() .'/' . $image->filename .'" alt="QSL picture #'. $i++.'">';
<?php echo '<img class="img-fluid w-qsl" src="' . base_url() . '/'. $this->paths->getPathQsl() .'/' . $image->filename .'" alt="' . __("QSL picture #") . $i++.'">';
echo '</div>';
}
?>

View File

@@ -1,10 +1,10 @@
<div class="tabs">
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="logbook-tab" data-bs-toggle="tab" href="#logbooktab" role="tab" aria-controls="home" aria-selected="true">Logbook</a>
<a class="nav-link active" id="logbook-tab" data-bs-toggle="tab" href="#logbooktab" role="tab" aria-controls="home" aria-selected="true"><?= __("Logbook"); ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="map-tab" data-bs-toggle="tab" href="#maptab" role="tab" aria-controls="map" aria-selected="false">Map</a>
<a class="nav-link" id="map-tab" data-bs-toggle="tab" href="#maptab" role="tab" aria-controls="map" aria-selected="false"><?= __("Map"); ?></a>
</li>
</ul>
</div>
@@ -115,23 +115,23 @@
<td><div class="form-check"><input class="form-check-input" name="propagation" type="checkbox" <?php if (($options->propagation->show ?? "true") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>Contest</td>
<td><?= __("Contest"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="contest" type="checkbox" <?php if (($options->contest->show ?? "true") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>Gridsquare</td>
<td><?= __("Gridsquare"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="gridsquare" type="checkbox" <?php if (($options->gridsquare->show ?? "true") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>DOK</td>
<td><?= __("DOK"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="dok" type="checkbox" <?php if (($options->dok->show ?? "true") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>WWFF</td>
<td><?= __("WWFF"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="wwff" type="checkbox" <?php if (($options->wwff->show ?? "true") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>SIG</td>
<td><?= __("SIG"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="sig" type="checkbox" <?php if (($options->sig->show ?? "true") == "true") { echo 'checked'; } ?>></div></td>
</tr>
</tbody>
@@ -141,29 +141,29 @@
<table style="width:100%" class="table-sm table table-hover table-striped table-condensed text-start" id="mapoptions">
<thead>
<tr>
<th class="text-start">Layer</th>
<th>Default on</th>
<th class="text-start"><?= _pgettext("Map Options", "Layer"); ?></th>
<th><?= __("Default on"); ?></th>
</tr>
</thead>
<tbody>
<tr>
<td>Path lines</td>
<td><?= _pgettext("Map Options", "Path lines"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="pathlines" type="checkbox" <?php if (($mapoptions['path_lines']->option_value ?? "false") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>Gridsquares</td>
<td><?= _pgettext("Map Options", "Gridsquares"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="gridsquareoverlay" type="checkbox" <?php if (($mapoptions['gridsquare_layer']->option_value ?? "false") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>CQ Zones</td>
<td><?= _pgettext("Map Options", "CQ Zones"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="cqzones" type="checkbox" <?php if (($mapoptions['cqzones_layer']->option_value ?? "false") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>ITU Zones</td>
<td><?= _pgettext("Map Options", "ITU Zones"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="ituzones" type="checkbox" <?php if (($mapoptions['ituzones_layer']->option_value ?? "false") == "true") { echo 'checked'; } ?>></div></td>
</tr>
<tr>
<td>Night Shadow</td>
<td><?= _pgettext("Map Options", "Night Shadow"); ?></td>
<td><div class="form-check"><input class="form-check-input" name="nightshadow" type="checkbox" <?php if (($mapoptions['nightshadow_layer']->option_value ?? "false") == "true") { echo 'checked'; } ?>></div></td>
</tr>
</tbody>

View File

@@ -1,13 +1,13 @@
<form method="post" class="d-flex align-items-center">
<select id="quicklookuptype" name="type" class="form-select w-auto me-2">
<option value="cq">CQ Zone</option>
<option value="dxcc">DXCC</option>
<option value="vucc">Gridsquare</option>
<option value="iota">IOTA</option>
<option value="sota">SOTA</option>
<option value="was">US State</option>
<option value="wwff">WWFF</option>
<option value="lotw">LoTW user</option>
<option value="cq"><?= __("CQ Zone"); ?></option>
<option value="dxcc"><?= __("DXCC"); ?></option>
<option value="vucc"><?= __("Gridsquare"); ?></option>
<option value="iota"><?= __("IOTA"); ?></option>
<option value="sota"><?= __("SOTA"); ?></option>
<option value="was"><?= __("US State"); ?></option>
<option value="wwff"><?= __("WWFF"); ?></option>
<option value="lotw"><?= __("LoTW user"); ?></option>
</select>
<div>&nbsp;</div>
<input style="display:none" class="form-control input-group-sm w-auto" id="quicklookuptext" type="text" name="searchfield" placeholder="" aria-label="Search">
@@ -43,7 +43,7 @@
$state_list = $CI->subdivisions->get_state_list('291'); // USA hardcoded
?>
<option value="">Choose a State</option>
<option value=""><?= __("Choose a State"); ?></option>
<?php foreach ($state_list->result() as $state) {?>
<option value="<?php echo $state->state; ?>">
<?php echo $state->subdivision . ' (' . $state->state . ')'; ?>
@@ -60,7 +60,7 @@
?>
</select>
<div>&nbsp;</div><button id="button1id" type="button" name="button1id" class="btn btn-primary ld-ext-right ms-5" onclick="getLookupResult(this.form)">Show<div class="ld ld-ring ld-spin"></div></button>
<div>&nbsp;</div><button id="button1id" type="button" name="button1id" class="btn btn-primary ld-ext-right ms-5" onclick="getLookupResult(this.form)"><?= __("Show"); ?><div class="ld ld-ring ld-spin"></div></button>
</form>
<br />
<div class="table-responsive" id="lookupresulttable">

View File

@@ -1,5 +1,5 @@
<?php
echo 'LoTW User: ';
echo __("LoTW User") . ': ';
if (isset($lotw_lastupload) && $lotw_lastupload != '') {
$lotw_hint = '';
if ($lotw_lastupload > 365) {
@@ -9,8 +9,8 @@ if (isset($lotw_lastupload) && $lotw_lastupload != '') {
} elseif ($lotw_lastupload > 7) {
$lotw_hint = ' lotw_info_yellow';
}
echo '<a id="lotw_badge" href="https://lotw.arrl.org/lotwuser/act?act='.$callsign.'" target="_blank"><small id="lotw_info" class="badge text-bg-success'.$lotw_hint.'" data-bs-toggle="tooltip" title="LoTW User">Yes</small></a> <a id="lotw_badge" href="https://lotw.arrl.org/lotwuser/act?act='.$callsign.'" target="_blank"> last upload</a> '.$lotw_lastupload.' days ago';
echo '<a id="lotw_badge" href="https://lotw.arrl.org/lotwuser/act?act='.$callsign.'" target="_blank"><small id="lotw_info" class="badge text-bg-success'.$lotw_hint.'" data-bs-toggle="tooltip" title="' . __("LoTW User") . '">' . __("Yes") . '</small></a> <a id="lotw_badge" href="https://lotw.arrl.org/lotwuser/act?act='.$callsign.'" target="_blank"> ' . __("last upload") . '</a> '.sprintf(_ngettext("%d day ago", "%d days ago",intval($lotw_lastupload)), intval($lotw_lastupload));
} else {
echo "<span data-bs-toggle=\"tooltip\" title=\"No LoTW User\" class=\"badge text-bg-danger\" style=\"padding-left: 0.2em; padding-right: 0.2em;\">No</span>";
echo "<span data-bs-toggle=\"tooltip\" title=\"" . __("No LoTW User") . "\" class=\"badge text-bg-danger\" style=\"padding-left: 0.2em; padding-right: 0.2em;\">" . __("No") . "</span>";
}
?>

View File

@@ -5,7 +5,7 @@
if (isset ($lotw_table_headers)) {
echo $lotw_table_headers;
} else {
echo 'No data imported. please check selected date. Must be in the past!';
echo __("No data imported. please check selected date. Must be in the past!");
}
?>
<?php if (isset ($lotw_table)) {echo $lotw_table;} ?>

View File

@@ -51,7 +51,7 @@
$options[$call->callsign] = $call->callsign;
}
ksort($options);
array_unshift($options, 'All');
array_unshift($options, __("All"));
echo form_dropdown('callsign', $options, 'All');
?>
</div>

View File

@@ -102,10 +102,10 @@
$last_upload_fail_ts = strtotime($row->last_upload_fail ?? '1970-01-01');
$last_upload_fail = date($this->config->item('qso_date_format').' H:i:s', $last_upload_fail_ts);
if ($last_upload_fail_ts > $last_upload_ts) { ?>
<span data-bs-toggle="tooltip" data-bs-original-title="<?php echo $row->last_upload_status;?>. Last success: <?php echo $last_upload; ?>" class="badge text-bg-danger"><?php echo $last_upload_fail; ?></span>
<span data-bs-toggle="tooltip" data-bs-original-title="<?php echo $row->last_upload_status;?>. <?= sprintf(__("Last success: %s"), $last_upload); ?>" class="badge text-bg-danger"><?php echo $last_upload_fail; ?></span>
<?php } else {
if ($last_upload_fail && $row->last_upload_status) { ?>
<span data-bs-toggle="tooltip" data-bs-original-title="<?php echo $row->last_upload_status;?>. Last fail: <?php echo $last_upload_fail; ?>" class="badge text-bg-success"><?php echo $last_upload; ?></span>
<span data-bs-toggle="tooltip" data-bs-original-title="<?php echo $row->last_upload_status;?>. <?= sprintf(__("Last fail: %s"), $last_upload_fail); ?>" class="badge text-bg-success"><?php echo $last_upload; ?></span>
<?php } else { ?>
<span class="badge text-bg-success"><?php echo $last_upload; ?></span>
<?php } ?>

View File

@@ -21,15 +21,15 @@
<form>
<div class="mb-3">
<label for="modeInput">ADIF Mode</label>
<label for="modeInput"><?= _pgettext("Name of mode in ADIF-specification", "ADIF Mode"); ?></label>
<input type="text" class="form-control" name="mode" id="modeInput" aria-describedby="modeInputHelp" required>
<small id="modeInputHelp" class="form-text text-muted">Name of mode in ADIF-specification</small>
<small id="modeInputHelp" class="form-text text-muted"><?= __("Name of mode in ADIF-specification"); ?></small>
</div>
<div class="mb-3">
<label for="submodeInput">ADIF Sub-Mode</label>
<label for="submodeInput"><?= _pgettext("Name of sub-mode in ADIF-specification", "ADIF Sub-Mode"); ?></label>
<input type="text" class="form-control" name="submode" id="submodeInput" aria-describedby="submodeInputHelp">
<small id="submodeInputHelp" class="form-text text-muted">Name of sub-mode in ADIF-specification</small>
<small id="submodeInputHelp" class="form-text text-muted"><?= __("Name of sub-mode in ADIF-specification"); ?></small>
</div>
<div class="mb-3">
@@ -39,19 +39,19 @@
<option value="SSB">SSB</option>
<option value="DATA">DATA</option>
</select>
<small id="qrgmodeInputHelp" class="form-text text-muted">Defines the QRG-segment in bandplan.</small>
<small id="qrgmodeInputHelp" class="form-text text-muted"><?= __("Defines the QRG-segment in bandplan."); ?></small>
</div>
<div class="mb-3">
<label for="activeInput">Active</label>
<label for="activeInput"><?= __("Active"); ?></label>
<select id="activeInput" class="form-select mode form-select-sm" name="active">
<option value="1">active</option>
<option value="0">not active</option>
<option value="1"><?= __("Active"); ?></option>
<option value="0"><?= __("Not active"); ?></option>
</select>
<small id="activeInputHelp" class="form-text text-muted">Set to active if to be listed in Modes-list</small>
<small id="activeInputHelp" class="form-text text-muted"><?= __("Set to active if to be listed in Modes-list"); ?></small>
</div>
<button type="button" onclick="createMode(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> Create mode</button>
<button type="button" onclick="createMode(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?= __("Create mode"); ?></button>
</form>
</div>

View File

@@ -30,15 +30,15 @@
<input type="hidden" name="id" value="<?php echo $my_mode->id; ?>">
<div class="mb-3">
<label for="modeInput">ADIF Mode</label>
<label for="modeInput"><?= _pgettext("Name of mode in ADIF-specification", "ADIF Mode"); ?></label>
<input type="text" class="form-control" name="mode" id="modeInput" aria-describedby="modeInputHelp" value="<?php if(set_value('mode') != "") { echo set_value('mode'); } else { echo $my_mode->mode; } ?>" required>
<small id="modeInputHelp" class="form-text text-muted">Name of mode in ADIF-specification</small>
<small id="modeInputHelp" class="form-text text-muted"><?= __("Name of mode in ADIF-specification"); ?></small>
</div>
<div class="mb-3">
<label for="modeInput">ADIF Sub-Mode</label>
<label for="modeInput"><?= _pgettext("Name of sub-mode in ADIF-specification", "ADIF Sub-Mode"); ?></label>
<input type="text" class="form-control" name="submode" id="submodeInput" aria-describedby="submodeInputHelp" value="<?php if(set_value('submode') != "") { echo set_value('submode'); } else { echo $my_mode->submode; } ?>">
<small id="submodeInputHelp" class="form-text text-muted">Name of sub-mode in ADIF-specification</small>
<small id="submodeInputHelp" class="form-text text-muted"><?= __("Name of sub-mode in ADIF-specification"); ?></small>
</div>
<div class="mb-3">
@@ -50,21 +50,21 @@
printf("<option value=\"DATA\" %s>DATA</option>", $my_mode->qrgmode=="DATA"?"selected=\"selected\"":"");
?>
</select>
<small id="qrgmodeInputHelp" class="form-text text-muted">Defines the QRG-segment in bandplan.</small>
<small id="qrgmodeInputHelp" class="form-text text-muted"><?= __("Defines the QRG-segment in bandplan."); ?></small>
</div>
<div class="mb-3">
<label for="activeInput">Active</label>
<label for="activeInput"><?= __("Active"); ?></label>
<select id="activeInput" class="form-select mode form-select-sm" name="active">
<?php
printf("<option value=\"1\" %s>active</option>", $my_mode->active==1?"selected=\"selected\"":"");
printf("<option value=\"0\" %s>not active</option>", $my_mode->active==0?"selected=\"selected\"":"");
printf("<option value=\"1\" %s>" . __("Active") . "</option>", $my_mode->active==1?"selected=\"selected\"":"");
printf("<option value=\"0\" %s>" . __("Not active") . "</option>", $my_mode->active==0?"selected=\"selected\"":"");
?>
</select>
<small id="activeInputHelp" class="form-text text-muted">Set to active if to be listed in Modes-list</small>
<small id="activeInputHelp" class="form-text text-muted"><?= __("Set to active if to be listed in Modes-list"); ?></small>
</div>
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Update mode</button>
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?= __("Update mode"); ?></button>
</form>
</div>

View File

@@ -12,23 +12,23 @@
<div class="card">
<div class="card-header">
Modes
<?= __("Modes"); ?>
</div>
<div class="card-body">
<p class="card-text">
Using the modes list you can control which modes are shown when creating a new QSO.
<?= __("Using the modes list you can control which modes are shown when creating a new QSO."); ?>
</p>
<p class="card-text">
Active modes will be shown in the QSO "Mode" drop-down, while inactive modes will be hidden and cannot be selected.
<?= __("Active modes will be shown in the QSO 'Mode' drop-down, while inactive modes will be hidden and cannot be selected."); ?>
</p>
<div class="table-responsive">
<table style="width:100%" class="modetable table table-striped">
<thead>
<tr>
<th class="select-filter" scope="col">Mode</th>
<th class="select-filter" scope="col">Sub-Mode</th>
<th class="select-filter" scope="col"><?= __("Mode"); ?></th>
<th class="select-filter" scope="col"><?= __("Sub-Mode"); ?></th>
<th class="select-filter" scope="col">SSB / DATA / CW</th>
<th class="select-filter" scope="col">Status</th>
<th class="select-filter" scope="col"><?= __("Status"); ?></th>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col"></th>
@@ -40,19 +40,19 @@
<td style="text-align: center; vertical-align: middle;" ><?php echo $row->mode;?></td>
<td style="text-align: center; vertical-align: middle;" ><?php echo $row->submode;?></td>
<td style="text-align: center; vertical-align: middle;" ><?php echo $row->qrgmode;?></td>
<td style="text-align: center; vertical-align: middle;" class='mode_<?php echo $row->id ?>'><?php if ($row->active == 1) { echo "active";} else { echo "not active";};?></td>
<td style="text-align: center; vertical-align: middle;" class='mode_<?php echo $row->id ?>'><?php if ($row->active == 1) { echo __("Active");} else { echo __("Not active");};?></td>
<td style="text-align: center; vertical-align: middle;" style="text-align: center">
<?php if ($row->active == 1) {
echo "<button onclick='javascript:deactivateMode(". $row->id . ")' class='btn_" . $row->id . " btn btn-secondary btn-sm'>Deactivate</button>";
echo "<button onclick='javascript:deactivateMode(". $row->id . ")' class='btn_" . $row->id . " btn btn-secondary btn-sm'>" . __("Deactivate") . "</button>";
} else {
echo "<button onclick='javascript:activateMode(". $row->id . ")' class='btn_" . $row->id . " btn btn-primary btn-sm'>Activate</button>";
echo "<button onclick='javascript:activateMode(". $row->id . ")' class='btn_" . $row->id . " btn btn-primary btn-sm'>" . __("Activate") . "</button>";
};?>
</td>
<td style="text-align: center; vertical-align: middle;" >
<a href="<?php echo site_url('mode/edit')."/".$row->id; ?>" class="btn btn-outline-primary btn-sm"><i class="fas fa-edit"></i> Edit</a>
<a href="<?php echo site_url('mode/edit')."/".$row->id; ?>" class="btn btn-outline-primary btn-sm"><i class="fas fa-edit"></i> <?= __("Edit"); ?></a>
</td>
<td style="text-align: center; vertical-align: middle;" >
<a href="javascript:deleteMode('<?php echo $row->id; ?>', '<?php echo $row->mode; ?>');" class="btn btn-danger btn-sm" ><i class="fas fa-trash-alt"></i> Delete</a>
<a href="javascript:deleteMode('<?php echo $row->id; ?>', '<?php echo $row->mode; ?>');" class="btn btn-danger btn-sm" ><i class="fas fa-trash-alt"></i> <?= __("Delete"); ?></a>
</td>
</tr>
@@ -73,9 +73,9 @@
</div>
<br/>
<p>
<button onclick="createModeDialog();" class="btn btn-primary btn-sm"><i class="fas fa-plus"></i> Create a Mode</button>
<button onclick="activateAllModes();" class="btn btn-primary btn-sm">Activate All</button>
<button onclick="deactivateAllModes();" class="btn btn-primary btn-sm">Deactivate All </button>
<button onclick="createModeDialog();" class="btn btn-primary btn-sm"><i class="fas fa-plus"></i> <?= __("Create a Mode"); ?></button>
<button onclick="activateAllModes();" class="btn btn-primary btn-sm"><?= __("Activate All"); ?></button>
<button onclick="deactivateAllModes();" class="btn btn-primary btn-sm"><?= __("Deactivate All"); ?> </button>
</p>
</div>
</div>

View File

@@ -53,15 +53,15 @@
<select class="form-select" id="globalSearch" name="globalSearch" style="display: none;">
<option value='true' <?php if($this->optionslib->get_option('global_search') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('global_search') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
<option value='true' <?php if($this->optionslib->get_option('global_search') == "true") { echo "selected=\"selected\""; } ?>><?= __("Enabled"); ?></option>
<option value='false' <?php if($this->optionslib->get_option('global_search') == "false") { echo "selected=\"selected\""; } ?>><?= __("Disabled"); ?></option>
</select>
<div class="mb-3">
<label for="dashboardBanner"><?= __("Dashboard Notification Banner"); ?></label>
<select class="form-select" id="dashboardBanner" name="dashboardBanner" aria-describedby="dashboardBannerHelp" required>
<option value='true' <?php if($this->optionslib->get_option('dashboard_banner') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('dashboard_banner') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
<option value='true' <?php if($this->optionslib->get_option('dashboard_banner') == "true") { echo "selected=\"selected\""; } ?>><?= __("Enabled"); ?></option>
<option value='false' <?php if($this->optionslib->get_option('dashboard_banner') == "false") { echo "selected=\"selected\""; } ?>><?= __("Disabled"); ?></option>
</select>
<small id="dashboardBannerHelp" class="form-text text-muted"><?= __("This allows to disable the global notification banner on the dashboard."); ?></small>
</div>
@@ -69,9 +69,9 @@
<div class="mb-3">
<label for="dashboardMap"><?= __("Dashboard Map"); ?></label>
<select class="form-select" id="dashboardMap" name="dashboardMap" aria-describedby="dashboardMapHelp" required>
<option value='true' <?php if($this->optionslib->get_option('dashboard_map') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('dashboard_map') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
<option value='map_at_right' <?php if($this->optionslib->get_option('dashboard_map') == "map_at_right") { echo "selected=\"selected\""; } ?>>Map at right</option>
<option value='true' <?php if($this->optionslib->get_option('dashboard_map') == "true") { echo "selected=\"selected\""; } ?>><?= __("Enabled"); ?></option>
<option value='false' <?php if($this->optionslib->get_option('dashboard_map') == "false") { echo "selected=\"selected\""; } ?>><?= __("Disabled"); ?></option>
<option value='map_at_right' <?php if($this->optionslib->get_option('dashboard_map') == "map_at_right") { echo "selected=\"selected\""; } ?>><?= __("Map at right"); ?></option>
</select>
<small id="dashboardMapHelp" class="form-text text-muted"><?= __("This allows the map on the dashboard to be disabled or placed on the right."); ?></small>
</div>
@@ -79,8 +79,8 @@
<div class="mb-3">
<label for="logbookMap"><?= __("Logbook Map"); ?></label>
<select class="form-select" id="logbookMap" name="logbookMap" aria-describedby="logbookMapHelp" required>
<option value='true' <?php if($this->optionslib->get_option('logbook_map') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('logbook_map') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
<option value='true' <?php if($this->optionslib->get_option('logbook_map') == "true") { echo "selected=\"selected\""; } ?>><?= __("Enabled"); ?></option>
<option value='false' <?php if($this->optionslib->get_option('logbook_map') == "false") { echo "selected=\"selected\""; } ?>><?= __("Disabled"); ?></option>
</select>
<small id="logbookMapHelp" class="form-text text-muted"><?= __("This allows to disable the map in the logbook."); ?></small>
</div>
@@ -88,19 +88,19 @@
<div class="mb-3">
<label for="publicMaps"><?= __("Public Maps"); ?></label>
<select class="form-select" id="publicMaps" name="publicMaps" aria-describedby="publicMapsHelp" required>
<option value='true' <?php if($this->optionslib->get_option('public_maps') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('public_maps') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
<option value='true' <?php if($this->optionslib->get_option('public_maps') == "true") { echo "selected=\"selected\""; } ?>><?= __("Enabled"); ?></option>
<option value='false' <?php if($this->optionslib->get_option('public_maps') == "false") { echo "selected=\"selected\""; } ?>><?= __("Disabled"); ?></option>
</select>
<small id="publicMapsHelp" class="form-text text-muted"><?= __("This allows to disable all maps in the public view. This affects the main map and the gridsquares map."); ?></small>
</div>
<div class="mb-3">
<label for="publicGithubButton">Public Github Button</label>
<label for="publicGithubButton"><?= __("Public Github Button"); ?></label>
<select class="form-select" id="publicGithubButton" name="publicGithubButton" aria-describedby="publicGithubButtonHelp" required>
<option value='true' <?php if($this->optionslib->get_option('public_github_button') == "true") { echo "selected=\"selected\""; } ?>>Enabled</option>
<option value='false' <?php if($this->optionslib->get_option('public_github_button') == "false") { echo "selected=\"selected\""; } ?>>Disabled</option>
<option value='true' <?php if($this->optionslib->get_option('public_github_button') == "true") { echo "selected=\"selected\""; } ?>><?= __("Enabled"); ?></option>
<option value='false' <?php if($this->optionslib->get_option('public_github_button') == "false") { echo "selected=\"selected\""; } ?>><?= __("Disabled"); ?></option>
</select>
<small id="publicGithubButtonHelp" class="form-text text-muted">This enables the button to Wavelog's Github page in the public view</small>
<small id="publicGithubButtonHelp" class="form-text text-muted"><?= __("This enables the button to Wavelog's Github page in the public view"); ?></small>
</div>
<!-- Save the Form -->

View File

@@ -43,22 +43,22 @@
<div class="mb-3">
<label for="maxAgeSelect"><?= __("Maximum Age of spots taken care of"); ?></label>
<select class="form-select" id="maxAgeSelect" name="dxcluster_maxage" aria-describedby="dxcluster_maxageHelp" required>
<option value="120"<?php if ($this->optionslib->get_option('dxcluster_maxage') == '120') { echo " selected"; } ?>><?= __('2 Hours'); ?></option>
<option value="60"<?php if ($this->optionslib->get_option('dxcluster_maxage') == '60') { echo " selected"; } ?>><?= __('60 Minutes'); ?></option>
<option value="30"<?php if ($this->optionslib->get_option('dxcluster_maxage') == '30') { echo " selected"; } ?>><?= __('30 Minutes'); ?></option>
<option value="120"<?php if ($this->optionslib->get_option('dxcluster_maxage') == '120') { echo " selected"; } ?>><?= __("2 Hours"); ?></option>
<option value="60"<?php if ($this->optionslib->get_option('dxcluster_maxage') == '60') { echo " selected"; } ?>><?= __("60 Minutes"); ?></option>
<option value="30"<?php if ($this->optionslib->get_option('dxcluster_maxage') == '30') { echo " selected"; } ?>><?= __("30 Minutes"); ?></option>
</select>
<small id="dxcluster_maxageHelp" class="form-text text-muted"><?= __("The Age in Minutes of spots, that will be taken care at bandplan/lookup"); ?></small>
</div>
<div class="mb-3">
<label for="decontSelect"><?= __("Show spots which are spotted from following continent"); ?></label>
<select class="form-select" id="decontSelect" name="dxcluster_decont" aria-describedby="dxcluster_decontHelp" required>
<option value="AF"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'AF') { echo " selected"; } ?>><?= __('Africa'); ?></option>
<option value="AN"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'AN') { echo " selected"; } ?>><?= __('Antarctica'); ?></option>
<option value="AS"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'AS') { echo " selected"; } ?>><?= __('Asia'); ?></option>
<option value="EU"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'EU') { echo " selected"; } ?>><?= __('Europe'); ?></option>
<option value="NA"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'NA') { echo " selected"; } ?>><?= __('North America'); ?></option>
<option value="OC"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'OC') { echo " selected"; } ?>><?= __('Oceania'); ?></option>
<option value="SA"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'SA') { echo " selected"; } ?>><?= __('South America'); ?></option>
<option value="AF"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'AF') { echo " selected"; } ?>><?= __("Africa"); ?></option>
<option value="AN"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'AN') { echo " selected"; } ?>><?= __("Antarctica"); ?></option>
<option value="AS"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'AS') { echo " selected"; } ?>><?= __("Asia"); ?></option>
<option value="EU"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'EU') { echo " selected"; } ?>><?= __("Europe"); ?></option>
<option value="NA"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'NA') { echo " selected"; } ?>><?= __("North America"); ?></option>
<option value="OC"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'OC') { echo " selected"; } ?>><?= __("Oceania"); ?></option>
<option value="SA"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'SA') { echo " selected"; } ?>><?= __("South America"); ?></option>
</select>
<small id="dxcluster_decontHelp" class="form-text text-muted"><?= __("Only spots by spotters from this continent are shown"); ?></small>
</div>

View File

@@ -53,7 +53,7 @@
<div class="mb-3">
<label for="smtpEncryption"><?= __("SMTP Encryption"); ?></label>
<select name="smtpEncryption" class="form-select" id="smtpEncryption">
<option value="" <?php if($this->optionslib->get_option('smtpEncryption') == "") { echo "selected=\"selected\""; } ?>>None</option>
<option value="" <?php if($this->optionslib->get_option('smtpEncryption') == "") { echo "selected=\"selected\""; } ?>><?= __("No Encryption"); ?></option>
<option value="tls" <?php if($this->optionslib->get_option('smtpEncryption') == "tls") { echo "selected=\"selected\""; } ?>>TLS</option>
<option value="ssl" <?php if($this->optionslib->get_option('smtpEncryption') == "ssl") { echo "selected=\"selected\""; } ?>>SSL</option>
</select>

View File

@@ -43,8 +43,8 @@
<div class="mb-3">
<label for="groupedSearch"><?= __("Grouped search"); ?></label>
<select name="groupedSearch" class="form-select" id="groupedSearch">
<option value="off" <?php if($this->optionslib->get_option('groupedSearch') == "off") { echo "selected=\"selected\""; } ?>>Off</option>
<option value="on" <?php if($this->optionslib->get_option('groupedSearch') == "on") { echo "selected=\"selected\""; } ?>>On</option>
<option value="off" <?php if($this->optionslib->get_option('groupedSearch') == "off") { echo "selected=\"selected\""; } ?>><?= __("Off"); ?></option>
<option value="on" <?php if($this->optionslib->get_option('groupedSearch') == "on") { echo "selected=\"selected\""; } ?>><?= __("On"); ?></option>
</select>
<small id="groupedSearchHelp" class="form-text text-muted"><?= __("When this is on, all station locations with OQRS active, will be searched at once."); ?></small>
</div>
@@ -52,8 +52,8 @@
<div class="mb-3">
<label for="groupedSearchShowStationName"><?= __("Show station location name in grouped search results"); ?></label>
<select name="groupedSearchShowStationName" class="form-select" id="groupedSearchShowStationName">
<option value="off" <?php if($this->optionslib->get_option('groupedSearchShowStationName') == "off") { echo "selected=\"selected\""; } ?>>Off</option>
<option value="on" <?php if($this->optionslib->get_option('groupedSearchShowStationName') == "on") { echo "selected=\"selected\""; } ?>>On</option>
<option value="off" <?php if($this->optionslib->get_option('groupedSearchShowStationName') == "off") { echo "selected=\"selected\""; } ?>><?= __("Off"); ?></option>
<option value="on" <?php if($this->optionslib->get_option('groupedSearchShowStationName') == "on") { echo "selected=\"selected\""; } ?>><?= __("On"); ?></option>
</select>
<small id="groupedSearchShowStationNameHelp" class="form-text text-muted"><?= __("If grouped search is ON, you can decide if the name of the station location shall be shown in the results table."); ?></small>
</div>

View File

@@ -180,33 +180,33 @@
</div>
<div class="mb-3">
<label for="comment"><?= __('Comment'); ?></label>
<label for="comment"><?= __("Comment"); ?></label>
<input type="text" class="form-control" id="comment" name="comment" value="<?php echo htmlspecialchars($qso->COL_COMMENT ? $qso->COL_COMMENT : '', ENT_QUOTES, 'UTF-8'); ?>">
</div>
<div class="row">
<div class="mb-3 col-sm-6">
<label for="prop_mode"><?= __('Propagation Mode'); ?></label>
<label for="prop_mode"><?= __("Propagation Mode"); ?></label>
<select class="form-select" id="prop_mode" name="prop_mode">
<option value="" <?php if($qso->COL_PROP_MODE == "") { echo "selected=\"selected\""; } ?>></option>
<option value="AS" <?php if($qso->COL_PROP_MODE == "AS") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Aircraft Scatter'); ?></option>
<option value="AUR" <?php if($qso->COL_PROP_MODE == "AUR") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Aurora'); ?></option>
<option value="AUE" <?php if($qso->COL_PROP_MODE == "AUE") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Aurora-E'); ?></option>
<option value="BS" <?php if($qso->COL_PROP_MODE == "BS") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Back scatter'); ?></option>
<option value="ECH" <?php if($qso->COL_PROP_MODE == "ECH") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','EchoLink'); ?></option>
<option value="EME" <?php if($qso->COL_PROP_MODE == "EME") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Earth-Moon-Earth'); ?></option>
<option value="ES" <?php if($qso->COL_PROP_MODE == "ES") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Sporadic E'); ?></option>
<option value="FAI" <?php if($qso->COL_PROP_MODE == "FAI") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Field Aligned Irregularities'); ?></option>
<option value="F2" <?php if($qso->COL_PROP_MODE == "F2") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','F2 Reflection'); ?></option>
<option value="INTERNET" <?php if($qso->COL_PROP_MODE == "INTERNET") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Internet-assisted'); ?></option>
<option value="ION" <?php if($qso->COL_PROP_MODE == "ION") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Ionoscatter'); ?></option>
<option value="IRL" <?php if($qso->COL_PROP_MODE == "IRL") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','IRLP'); ?></option>
<option value="MS" <?php if($qso->COL_PROP_MODE == "MS") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Meteor scatter'); ?></option>
<option value="RPT" <?php if($qso->COL_PROP_MODE == "RPT") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Terrestrial or atmospheric repeater or transponder'); ?></option>
<option value="RS" <?php if($qso->COL_PROP_MODE == "RS") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Rain scatter'); ?></option>
<option value="SAT" <?php if($qso->COL_PROP_MODE == "SAT") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Satellite'); ?></option>
<option value="TEP" <?php if($qso->COL_PROP_MODE == "TEP") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Trans-equatorial'); ?></option>
<option value="TR" <?php if($qso->COL_PROP_MODE == "TR") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Tropospheric ducting'); ?></option>
<option value="AS" <?php if($qso->COL_PROP_MODE == "AS") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Aircraft Scatter"); ?></option>
<option value="AUR" <?php if($qso->COL_PROP_MODE == "AUR") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Aurora"); ?></option>
<option value="AUE" <?php if($qso->COL_PROP_MODE == "AUE") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Aurora-E"); ?></option>
<option value="BS" <?php if($qso->COL_PROP_MODE == "BS") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Back scatter"); ?></option>
<option value="ECH" <?php if($qso->COL_PROP_MODE == "ECH") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","EchoLink"); ?></option>
<option value="EME" <?php if($qso->COL_PROP_MODE == "EME") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Earth-Moon-Earth"); ?></option>
<option value="ES" <?php if($qso->COL_PROP_MODE == "ES") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Sporadic E"); ?></option>
<option value="FAI" <?php if($qso->COL_PROP_MODE == "FAI") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Field Aligned Irregularities"); ?></option>
<option value="F2" <?php if($qso->COL_PROP_MODE == "F2") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","F2 Reflection"); ?></option>
<option value="INTERNET" <?php if($qso->COL_PROP_MODE == "INTERNET") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Internet-assisted"); ?></option>
<option value="ION" <?php if($qso->COL_PROP_MODE == "ION") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Ionoscatter"); ?></option>
<option value="IRL" <?php if($qso->COL_PROP_MODE == "IRL") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","IRLP"); ?></option>
<option value="MS" <?php if($qso->COL_PROP_MODE == "MS") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Meteor scatter"); ?></option>
<option value="RPT" <?php if($qso->COL_PROP_MODE == "RPT") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Terrestrial or atmospheric repeater or transponder"); ?></option>
<option value="RS" <?php if($qso->COL_PROP_MODE == "RS") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Rain scatter"); ?></option>
<option value="SAT" <?php if($qso->COL_PROP_MODE == "SAT") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Satellite"); ?></option>
<option value="TEP" <?php if($qso->COL_PROP_MODE == "TEP") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Trans-equatorial"); ?></option>
<option value="TR" <?php if($qso->COL_PROP_MODE == "TR") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Tropospheric ducting"); ?></option>
</select>
</div>

View File

@@ -401,24 +401,24 @@
<label for="selectPropagation"><?= __("Propagation Mode"); ?></label>
<select class="form-select" id="selectPropagation" name="prop_mode">
<option value="" <?php if(!empty($this->session->userdata('prop_mode'))) { echo "selected=\"selected\""; } ?>></option>
<option value="AS" <?php if($this->session->userdata('prop_mode') == "AS") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Aircraft Scatter'); ?></option>
<option value="AUR" <?php if($this->session->userdata('prop_mode') == "AUR") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Aurora'); ?></option>
<option value="AUE" <?php if($this->session->userdata('prop_mode') == "AUE") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Aurora-E'); ?></option>
<option value="BS" <?php if($this->session->userdata('prop_mode') == "BS") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Back scatter'); ?></option>
<option value="ECH" <?php if($this->session->userdata('prop_mode') == "ECH") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','EchoLink'); ?></option>
<option value="EME" <?php if($this->session->userdata('prop_mode') == "EME") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Earth-Moon-Earth'); ?></option>
<option value="ES" <?php if($this->session->userdata('prop_mode') == "ES") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Sporadic E'); ?></option>
<option value="FAI" <?php if($this->session->userdata('prop_mode') == "FAI") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Field Aligned Irregularities'); ?></option>
<option value="F2" <?php if($this->session->userdata('prop_mode') == "F2") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','F2 Reflection'); ?></option>
<option value="INTERNET" <?php if($this->session->userdata('prop_mode') == "INTERNET") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Internet-assisted'); ?></option>
<option value="ION" <?php if($this->session->userdata('prop_mode') == "ION") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Ionoscatter'); ?></option>
<option value="IRL" <?php if($this->session->userdata('prop_mode') == "IRL") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','IRLP'); ?></option>
<option value="MS" <?php if($this->session->userdata('prop_mode') == "MS") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Meteor scatter'); ?></option>
<option value="RPT" <?php if($this->session->userdata('prop_mode') == "RPT") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Terrestrial or atmospheric repeater or transponder'); ?></option>
<option value="RS" <?php if($this->session->userdata('prop_mode') == "RS") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Rain scatter'); ?></option>
<option value="SAT" <?php if($this->session->userdata('prop_mode') == "SAT") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Satellite'); ?></option>
<option value="TEP" <?php if($this->session->userdata('prop_mode') == "TEP") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Trans-equatorial'); ?></option>
<option value="TR" <?php if($this->session->userdata('prop_mode') == "TR") { echo "selected=\"selected\""; } ?>><?= _pgettext('Propagation Mode','Tropospheric ducting'); ?></option>
<option value="AS" <?php if($this->session->userdata('prop_mode') == "AS") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Aircraft Scatter"); ?></option>
<option value="AUR" <?php if($this->session->userdata('prop_mode') == "AUR") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Aurora"); ?></option>
<option value="AUE" <?php if($this->session->userdata('prop_mode') == "AUE") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Aurora-E"); ?></option>
<option value="BS" <?php if($this->session->userdata('prop_mode') == "BS") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Back scatter"); ?></option>
<option value="ECH" <?php if($this->session->userdata('prop_mode') == "ECH") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","EchoLink"); ?></option>
<option value="EME" <?php if($this->session->userdata('prop_mode') == "EME") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Earth-Moon-Earth"); ?></option>
<option value="ES" <?php if($this->session->userdata('prop_mode') == "ES") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Sporadic E"); ?></option>
<option value="FAI" <?php if($this->session->userdata('prop_mode') == "FAI") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Field Aligned Irregularities"); ?></option>
<option value="F2" <?php if($this->session->userdata('prop_mode') == "F2") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","F2 Reflection"); ?></option>
<option value="INTERNET" <?php if($this->session->userdata('prop_mode') == "INTERNET") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Internet-assisted"); ?></option>
<option value="ION" <?php if($this->session->userdata('prop_mode') == "ION") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Ionoscatter"); ?></option>
<option value="IRL" <?php if($this->session->userdata('prop_mode') == "IRL") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","IRLP"); ?></option>
<option value="MS" <?php if($this->session->userdata('prop_mode') == "MS") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Meteor scatter"); ?></option>
<option value="RPT" <?php if($this->session->userdata('prop_mode') == "RPT") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Terrestrial or atmospheric repeater or transponder"); ?></option>
<option value="RS" <?php if($this->session->userdata('prop_mode') == "RS") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Rain scatter"); ?></option>
<option value="SAT" <?php if($this->session->userdata('prop_mode') == "SAT") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Satellite"); ?></option>
<option value="TEP" <?php if($this->session->userdata('prop_mode') == "TEP") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Trans-equatorial"); ?></option>
<option value="TR" <?php if($this->session->userdata('prop_mode') == "TR") { echo "selected=\"selected\""; } ?>><?= _pgettext("Propagation Mode","Tropospheric ducting"); ?></option>
</select>
</div>

View File

@@ -55,7 +55,7 @@
} elseif ($lotw_lastupload > 7) {
$lotw_hint = ' lotw_info_yellow';
}
echo '<a id="lotw_badge" href="https://lotw.arrl.org/lotwuser/act?act='.$callsign['callsign'].'" target="_blank"><small id="lotw_info" class="badge text-bg-success'.$lotw_hint.'" data-bs-toggle="tooltip" title="LoTW User">Yes</small></a> <a id="lotw_badge" href="https://lotw.arrl.org/lotwuser/act?act='.$callsign['callsign'].'" target="_blank"> last upload</a> '.$lotw_lastupload.' days ago';
echo '<a id="lotw_badge" href="https://lotw.arrl.org/lotwuser/act?act='.$callsign['callsign'].'" target="_blank"><small id="lotw_info" class="badge text-bg-success'.$lotw_hint.'" data-bs-toggle="tooltip" title="' . __("LoTW User") . '">' . __("Yes") . '</small></a> <a id="lotw_badge" href="https://lotw.arrl.org/lotwuser/act?act='.$callsign['callsign'].'" target="_blank"> ' . __("last upload") . '</a> '.sprintf(_ngettext("%d day ago", "%d days ago",intval($lotw_lastupload)), intval($lotw_lastupload));
} else {
echo "<span data-bs-toggle=\"tooltip\" title=\"No LoTW User\" class=\"badge text-bg-danger\" style=\"padding-left: 0.2em; padding-right: 0.2em;\">No</span>";
}

View File

@@ -26,7 +26,7 @@ function editQsos() {
prepareEditDialog();
},
buttons: [{
label: 'Save',
label: lang_admin_save,
cssClass: 'btn-primary btn-sm',
id: 'saveButton',
action: function (dialogItself) {