manual fixes

This commit is contained in:
HB9HIL
2024-06-06 20:22:22 +02:00
parent 0284e6ce19
commit e463053042
26 changed files with 277 additions and 277 deletions

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

@@ -5,7 +5,7 @@
<script>
var lang_awards_info_button = "<?php echo __("Award Info"); ?>";
var lang_award_info_ln1 = "<?php echo __("US County Award"); ?>";
var lang_award_info_ln2 = "<?php echo lang('awards_counties_description_ln2'); ?>";
var lang_award_info_ln2 = "<?php echo sprintf(__("The United States of America Counties Award (USA-CA), sponsored by CQ magazine, is issued for confirmed two-way radio contacts with specified numbers of U.S. counties under rules and conditions you can find %s."), "<a href='https://cq-amateur-radio.com/cq_awards/cq_usa_ca_awards/cq_usa_ca_awards.html' target='_blank'>here</a>"); ?>";
var lang_award_info_ln3 = "<?php echo __("USA-CA is available to all licensed amateurs worldwide and is issued to individuals for all county contacts made, regardless of callsigns used, operating locations, or dates."); ?>";
var lang_award_info_ln4 = "<?php echo __("Special USA-CA awards are also available to SWLs on a heard basis."); ?>";
</script>
@@ -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><?php echo __('State'); ?></td>
<td><?php echo __('Counties Worked'); ?></td>
<td><?php echo __('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

@@ -18,7 +18,7 @@
var lang_award_info_ln1 = "<?php echo __("CQ Magazine WAZ Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("The CQ Magazine is located in the US and one of the most popular amateur radio magazines in the world. The magazine first appeared in January 1945 and focuses on awards and the practical aspects of amateur radio."); ?>";
var lang_award_info_ln3 = "<?php echo __("The WAZ Award stands for 'Worked All Zones' and requires radio contacts to all 40 CQ Zones along with the corresponding confirmation."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_cq_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(_pgettext("uses 'CQ Magazine'", "You can find all the information and rules on the Website of the %s."), "<a href='https://cq-amateur-radio.com/cq_awards/cq_waz_awards/index_cq_waz_award.html' target='_blank'>CQ Magazine</a>"); ?>";
</script>
<h2><?php echo __("Awards - CQ Magazine WAZ"); ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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"><?php echo __('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

@@ -7,7 +7,7 @@
var lang_award_info_ln1 = "<?php echo __("DOK Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("Germany extends over 630 km from East to West and nearly 900 km from North to South. Around 70,000 of Germany's 82 million inhabitants are licensed hams, with more than 40,000 of them being members of DARC. DOK is a system that provides individual local chapters with an identifier and means 'Deutscher Ortsverband Kenner' (English: 'German Local Association Identifier')."); ?>";
var lang_award_info_ln3 = "<?php echo __("The DOK consists of a letter for the district and a two-digit number for the local chapter, like P03 Friedrichshafen (city of the 'Hamradio exhibition') or F41 Baunatal (location of the DARC headquarters). Note: A zero in a DOK is a common mistake, often being logged as the letter O."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_dok_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(_pgettext("uses 'DARC Website' and 'here'", "This information is provided by the %s. Information about the DOK Awards and its rules can be found %s."), "<a href='https://www.darc.de/der-club/referate/conteste/wag-contest/en/service/districtsdoks/' target='_blank'>DARC website</a>", "<a href='https://www.darc.de/der-club/referate/conteste/wag-contest/en/service/award-check/' target='_blank'>here</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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"><?php echo __('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'; ?> ><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('QRZ.com'); ?></label>
</div>
</div>
</div>

View File

@@ -12,8 +12,8 @@
<script>
var lang_awards_info_button = "<?php echo __("Award Info"); ?>";
var lang_award_info_ln1 = "<?php echo __("DXCC Award"); ?>";
var lang_award_info_ln2 = "<?php echo lang('awards_dxcc_description_ln2'); ?>";
var lang_award_info_ln3 = "<?php echo lang('awards_dxcc_description_ln3'); ?>";
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_ln4 = "<?php echo __("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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('Show not worked'); ?></label>
</div>
</div>
</div>
@@ -58,62 +58,62 @@
<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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('QRZ.com'); ?></label>
</div>
</div>
</div>
<div class="mb-3 row">
<div class="col-md-2">Continents</div>
<div class="col-md-2"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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'; ?> ><?php echo __('Every band'); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -155,10 +155,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"><?php echo __('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'; ?>><?php echo __('All'); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -179,10 +179,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"><?php echo __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?php echo __('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> <?php echo __('Show DXCC Map'); ?></button>
<?php }?>
</div>
</div>
@@ -192,10 +192,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"><?php echo __('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"><?php echo __('Map'); ?></a>
</li>
</ul>
<br />
@@ -218,8 +218,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>';
}
@@ -241,7 +241,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>
@@ -250,12 +250,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>';
@@ -273,7 +273,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

@@ -8,7 +8,7 @@
var lang_award_info_ln1 = "<?php echo __("Fred Fish Memorial Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("The Fred Fish Memorial Award was created in honor of Fred Fish, W5FF (SK), who was the first amateur to have worked and confirmed all 488 Maidenhead grid squares in the 48 contiguous United States on 6 Meters."); ?>";
var lang_award_info_ln3 = "<?php echo __("The award will be given to any amateur who can duplicate W5FF's accomplishment."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_ffma_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("For more information, you can visit this link: %s."), "<a href='https://www.arrl.org/ffma' target='_blank'>https://www.arrl.org/ffma</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>

View File

@@ -6,7 +6,7 @@
var lang_awards_info_button = "<?php echo __("Award Info"); ?>";
var lang_award_info_ln1 = "<?php echo __("US Gridmaster Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("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 lang('awards_us_gridmaster_description_ln3'); ?>";
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 = "<?php echo __("This map shows only QSOs worked on SAT."); ?>";
</script>
<h2><?php echo $page_title; ?></h2>

View File

@@ -18,7 +18,7 @@
var lang_award_info_ln1 = "<?php echo __("HELVETIA 26 | SWITZERLAND AWARD"); ?>";
var lang_award_info_ln2 = "<?php echo __("The USKA (Union of Swiss Shortwave Amateurs) sponsors two awards, the HELVETIA 26 (H26) Award and the SWITZERLAND Award, aimed at promoting activities on the bands by encouraging contacts across as many Swiss cantons as possible on multiple bands."); ?>";
var lang_award_info_ln3 = "<?php echo __("These awards come in two versions: one for HF bands and the other for VHF (including SHF and UHF) bands. Valid connections for these awards date back to January 1, 1980"); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_helvetia_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("For more information, please visit: %s."), "<a href='https://www.uska.ch/contest/uska-diplome/' target='_blank'>https://www.uska.ch/contest/uska-diplome/</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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'; ?> ><?php echo __('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"><?php echo __('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'; ?>><?php echo __('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"><?php echo __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?php echo __('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> <?php echo __('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"><?php echo __('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"><?php echo __('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 = "<?php echo __("IOTA Awards"); ?>";
var lang_award_info_ln2 = "<?php echo __("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 = "<?php echo __("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 lang('awards_iota_description_ln4'); ?>";
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"><?php echo __("Award Info"); ?></button>
@@ -26,72 +26,72 @@
<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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('Show not worked'); ?></label>
</div>
</div>
</div>
<div class="mb-3 row">
<div class="col-md-2">Continents</div>
<div class="col-md-2"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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'; ?> ><?php echo __('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"><?php echo __('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'; ?>><?php echo __('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"><?php echo __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?php echo __('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> <?php echo __('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"><?php echo __('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"><?php echo __('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

@@ -17,7 +17,7 @@
var lang_awards_info_button = "<?php echo __("Award Info"); ?>";
var lang_award_info_ln1 = "<?php echo __("ITU Zones"); ?>";
var lang_award_info_ln2 = "<?php echo __("The Classic Worked ITU Zones award may be claimed by producing evidence of having contacted land based amateur radio stations in at least 70 of the 75 broadcasting zones as defined by the International Telecommunications Union (ITU)."); ?>";
var lang_award_info_ln3 = "<?php echo lang('awards_itu_description_ln3'); ?>";
var lang_award_info_ln3 = "<?php echo sprintf(_pgettext("uses 'RSGB'", "You can find more information on the website of %s."), "<a href='https://rsgb.org/main/files/2019/01/Worked_ITU_Zones_Award_Form_2019.pdf' target='_blank'>RSGB</a>"); ?>";
var lang_award_info_ln4 = "";
</script>
<h2><?php echo __("Awards - ITU Zones"); ?></h2>
@@ -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"><?php echo __('QRZ.com'); ?></label>
</div>
</div>
</div>
@@ -145,7 +145,7 @@
<thead>
<tr>
<td>#</td>
<td>ITU Zone</td>";
<td>".__("ITU Zone")."</td>";
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
}
@@ -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

@@ -16,7 +16,7 @@
var lang_award_info_ln1 = "<?php echo __("JCC - Japan Century Cities Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of at least 100 different cities of Japan."); ?>";
var lang_award_info_ln3 = "<?php echo __("JCC-200, 300, 400, 500, 600, 700 and 800 will be issued as separate awards. A list of QSL cards should be arranged in order of JCC reference number, however names of city may be omitted. An additional sticker will be issued at every 50 contacts like 150, 250, 350, 450, 550, 650, 750 cities."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_jcc_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("For more information, please visit: %s."), "<a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('Show not worked'); ?></label>
</div>
</div>
</div>
@@ -49,28 +49,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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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'; ?> ><?php echo __('Every band'); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -81,10 +81,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"><?php echo __('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'; ?>><?php echo __('All'); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -105,11 +105,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"><?php echo __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?php echo __('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> <?php echo __("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"><?php echo __('Export'); ?></button>
<?php } ?>
</div>
</div>
@@ -119,7 +119,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"><?php echo __('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"><?php echo __("Map"); ?></a>
@@ -144,8 +144,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>';
@@ -161,7 +161,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;
@@ -178,9 +178,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>';
@@ -188,7 +188,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']);
@@ -207,7 +207,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;
@@ -229,7 +229,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

@@ -7,7 +7,7 @@
var lang_award_info_ln1 = "<?php echo __("POTA Awards"); ?>";
var lang_award_info_ln2 = "<?php echo __("Parks on the Air® (POTA) started in early 2017 when the ARRL's National Parks on the Air special event ended. A group of volunteers wanted to continue the fun beyond the one-year event, and thus, POTA was born."); ?>";
var lang_award_info_ln3 = "<?php echo __("POTA works similarly to SOTA, with Activators and Hunters. For the awards, there are several categories based on the number of parks, geographic areas, and more."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_pota_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(_pgettext("uses 'the website'", "For more information about the available awards and categories, please visit the %s."), "<a href='https://parksontheair.com/pota-awards/' target='_blank'>Parks on the Air® website</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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

@@ -7,7 +7,7 @@
var lang_award_info_ln1 = "<?php echo __("SOTA Awards"); ?>";
var lang_award_info_ln2 = "<?php echo __("SOTA (Summits On The Air) is an award scheme for radio amateurs that encourages portable operation in mountainous areas."); ?>";
var lang_award_info_ln3 = "<?php echo __("It is fully operational in nearly a hundred countries worldwide. Each country has its own Association that defines the recognized SOTA summits within that Association. Each summit earns the activators and chasers a score related to the height of the summit. Certificates are available for various scores, leading to the prestigious 'Mountain Goat' and 'Shack Sloth' trophies. An Honor Roll for Activators and Chasers is maintained in the SOTA online database."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_sota_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("For more information, please visit: %s."), "<a href='https://www.sota.org.uk/' target='_blank'>https://www.sota.org.uk/</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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><?php echo __('Reference'); ?></td>
<td><?php echo __('Date/Time'); ?></td>
<td><?php echo __('Callsign'); ?></td>
<td><?php echo __('Band'); ?></td>
<td><?php echo __('RST Sent'); ?></td>
<td><?php echo __('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

@@ -6,7 +6,7 @@
var lang_awards_info_button = "<?php echo __("Award Info"); ?>";
var lang_award_info_ln1 = "<?php echo __("VUCC - VHF/UHF Century Club Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("The VHF/UHF Century Club Award is given for a minimum number of worked and confirmed gridsquares on a desired band."); ?>";
var lang_award_info_ln3 = "<?php echo lang('awards_vucc_description_ln3'); ?>";
var lang_award_info_ln3 = "<?php echo sprintf(__("Official information and the rules can be found in this document: %s."), "<a href='https://www.arrl.org/vucc' target='_blank'>https://www.arrl.org/vucc</a>"); ?>";
var lang_award_info_ln4 = "<?php echo __("Only VHF/UHF bands are relevant."); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
@@ -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><?php echo __('Band'); ?></td>
<td><?php echo __('Grids Worked'); ?></td>
<td><?php echo __('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

@@ -12,7 +12,7 @@
var lang_award_info_ln1 = "<?php echo __("WAB - Worked All Britain Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("WAB, Worked All Britain squares in Amateur Radio, encourages licensed ham radio operators to work all the squares in Great Britain."); ?>";
var lang_award_info_ln3 = "<?php echo __("May be claimed for having contacted an amateur station located in the required amount of squares, described on the page linked below."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_wab_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("For more information, please visit: %s."), "<a href='https://wab.intermip.net/default.php' target='_blank'>https://wab.intermip.net/default.php</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -69,7 +69,7 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="qsl">QSL</label>
<label class="form-check-label" for="qsl"><?php echo __('QSL'); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" 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"><?php echo __('LoTW'); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" 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"><?php echo __('eQSL'); ?></label>
</div>
<div class="form-check-inline">
<?php echo '<input class="form-check-input" type="checkbox" name="qrz" id="qrz"';
@@ -93,12 +93,12 @@
echo ' checked' ;
}
echo '>'; ?>
<label class="form-check-label" for="qrz">QRZ.com</label>
<label class="form-check-label" for="qrz"><?php echo __('QRZ.com'); ?></label>
</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()"><?php echo __('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()"><?php echo __('List'); ?><div class="ld ld-ring ld-spin"></div></button>
</form>
</div>
<div id="mapcontainer">

View File

@@ -17,7 +17,7 @@
var lang_award_info_ln1 = "<?php echo __("WAJA - Worked All Japan prefectures Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan."); ?>";
var lang_award_info_ln3 = "<?php echo __("May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_waja_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("For more information, please visit: %s."), "<a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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'; ?> ><?php echo __('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"><?php echo __('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'; ?>><?php echo __('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"><?php echo __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?php echo __('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><?php echo __('Show WAJA 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"><?php echo __('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"><?php echo __('Map'); ?></a>
</li>
</ul>
<br />
@@ -144,8 +144,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>';
@@ -161,7 +161,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>
@@ -170,19 +170,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>';
}
@@ -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>';
}
?>
</div>

View File

@@ -18,7 +18,7 @@
var lang_award_info_ln1 = "<?php echo __("WAS Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("ARRL's most popular award is the Worked All States Award. Thousands upon thousands of awards have been issued to hams around the world. In ARRL's 101st year, they have redesigned the certificates and the program in hopes of streamlining and improving the award program."); ?>";
var lang_award_info_ln3 = "<?php echo __("The WAS (Worked All States) Award is available to all amateurs worldwide who submit proof with written confirmation of contacts with each of the 50 states of the United States of America. Amateurs in the U.S. and its possessions must be members of ARRL to apply for a WAS. Applicants from outside the U.S. are exempt from this requirement."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_was_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(_pgettext("uses 'here'", "All information and rules for the ARRL WAS Award can be found %s."), "<a href='https://www.arrl.org/was' target='_blank'>here</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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"><?php echo __("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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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"><?php echo __('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'; ?> ><?php echo __('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"><?php echo __('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'; ?>><?php echo __('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"><?php echo __('Reset'); ?></button>
<button id="button1id" type="submit" name="button1id" class="btn btn-sm btn-primary"><?php echo __('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> <?php echo __('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"><?php echo __('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"><?php echo __('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

@@ -7,7 +7,7 @@
var lang_award_info_ln1 = "<?php echo __("WWFF - World Wide Flora and Fauna Award"); ?>";
var lang_award_info_ln2 = "<?php echo __("WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide."); ?>";
var lang_award_info_ln3 = "<?php echo __("More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally."); ?>";
var lang_award_info_ln4 = "<?php echo lang('awards_wwff_description_ln4'); ?>";
var lang_award_info_ln4 = "<?php echo sprintf(__("For more information, please visit: %s."), "<a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?php echo __("Award Info"); ?></button>
@@ -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

@@ -4,7 +4,7 @@
<div class="card">
<div class="card-header">
<?php echo lang('export_cfd_description'); ?>
<?php echo sprintf(__("Export of CFD-File for DARC-Toplist (See %s)"), "<a href='https://toplist.darc.de' target='_blank'>https://toplist.darc.de</a>"); ?>
</div>
<div class="card-body">

View File

@@ -21,7 +21,7 @@
<input type="radio" id="lotwimport" name="lotwimport" class="form-check-input">
<label class="form-check-label" for="lotwimport"><?php echo __("Upload a File"); ?></label>
<br><br>
<p><?php echo lang('lotw_upload_exported_adif_file_from_lotw'); ?></p>
<p><?php echo sprintf(__("Upload the Exported ADIF file from LoTW from the %s Area, to mark QSOs as confirmed on LoTW."), "<a href='https://p1k.arrl.org/lotwuser/qsos?qsoscmd=adif' target='_blank'>".__("Download Report")."</a>"); ?></p>
<p><span class="badge text-bg-info"><?php echo __("Important"); ?></span> <?php echo __("Log files must have the file type .adi"); ?></p>
<label class="visually-hidden" for="adiffile"><?php echo __("Choose file"); ?></label>
@@ -44,7 +44,7 @@
<br />
<div class="row">
<div class="col-md-3">
<label class="form-check-label" for="callsign"><?php echo __("Select callsign to pull LoTW confirmations for"); ?></label>
<label class="form-check-label" for="callsign"><?php echo __("Select callsign to pull LoTW confirmations for."); ?></label>
<?php
$options = [];
foreach ($callsigns->result() as $call) {

View File

@@ -36,29 +36,29 @@
<div class="mb-3">
<label for="globalSearch"><?php echo __("Provider of DXClusterCache"); ?></label>
<p><?php echo lang('options_dxcluster_longtext'); ?></p>
<p><?php echo sprintf(__("The Provider of the DXCluster-Cache. You can set up your own Cache with %s or use a public one"), "<a href='https://github.com/int2001/DXClusterAPI'>".__("DXClusterAPI")."</a>"); ?></p>
<input type="text" name="dxcache_url" class="form-control" id="dxcache_url" aria-describedby="dxcache_urlHelp" value="<?php echo $this->optionslib->get_option('dxcache_url'); ?>">
<small id="dxcache_urlHelp" class="form-text text-muted"><?php echo lang('options_dxcluster_hint'); ?></small>
<small id="dxcache_urlHelp" class="form-text text-muted"><?php echo sprintf(__("URL of the DXCluster-Cache. e.g. %s"), "https://dxc.jo30.de/dxcache" ); ?></small>
</div>
<div class="mb-3">
<label for="maxAgeSelect"><?php echo __("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"; } ?>><?php echo __('2 Hours'); ?></option>
<option value="60"<?php if ($this->optionslib->get_option('dxcluster_maxage') == '60') { echo " selected"; } ?>><?php echo __('60 Minutes'); ?></option>
<option value="30"<?php if ($this->optionslib->get_option('dxcluster_maxage') == '30') { echo " selected"; } ?>><?php echo __('30 Minutes'); ?></option>
</select>
<small id="dxcluster_maxageHelp" class="form-text text-muted"><?php echo __("The Age in Minutes of spots, that will be taken care at bandplan/lookup"); ?></small>
</div>
<div class="mb-3">
<label for="decontSelect"><?php echo __("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"; } ?>><?php echo __('Africa'); ?></option>
<option value="AN"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'AN') { echo " selected"; } ?>><?php echo __('Antarctica'); ?></option>
<option value="AS"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'AS') { echo " selected"; } ?>><?php echo __('Asia'); ?></option>
<option value="EU"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'EU') { echo " selected"; } ?>><?php echo __('Europe'); ?></option>
<option value="NA"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'NA') { echo " selected"; } ?>><?php echo __('North America'); ?></option>
<option value="OC"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'OC') { echo " selected"; } ?>><?php echo __('Oceania'); ?></option>
<option value="SA"<?php if ($this->optionslib->get_option('dxcluster_decont') == 'SA') { echo " selected"; } ?>><?php echo __('South America'); ?></option>
</select>
<small id="dxcluster_decontHelp" class="form-text text-muted"><?php echo __("Only spots by spotters from this continent are shown"); ?></small>
</div>

View File

@@ -12,7 +12,7 @@
var lang_qso_simplefle_info_ln1 = "<?php echo __("Simple Fast Log Entry (FLE)"); ?>";
var lang_qso_simplefle_info_ln2 = "<?php echo __("'Fast Log Entry', or simply 'FLE' is a system to log QSOs very quickly and efficiently. Due to its syntax, only a minimum of input is required to log many QSOs with as little effort as possible."); ?>";
var lang_qso_simplefle_info_ln3 = "<?php echo __("FLE was originally written by DF3CB. He offers a program for Windows on his website. Simple FLE was written by OK2CQR based on DF3CB's FLE and provides a web interface to log QSOs."); ?>";
var lang_qso_simplefle_info_ln4 = "<?php echo lang('qso_simplefle_info_ln4'); ?>";
var lang_qso_simplefle_info_ln4 = "<?php echo sprintf(__("A common use-case is if you have to import your paperlogs from an outdoor session and now SimpleFLE is also available in Wavelog. Information about the syntax and how FLE works can be found %s."), "<a href='https://df3cb.com/fle/documentation/' target='_blank'>here</a>"); ?>";
var lang_qso_simplefle_syntax_help = "<?php echo __("Syntax Help"); ?>";
var lang_qso_simplefle_syntax_help_title = "<?php echo __("Syntax for FLE"); ?>";
var lang_qso_simplefle_syntax_help_close_w_sample = "<?php echo __("Close and Load Sample Data"); ?>";

View File

@@ -25,5 +25,5 @@
day ++
df3et
</pre>
<p><?php echo lang('qso_simplefle_syntax_help_ln9') ?></p>
<p><?php echo sprintf(_pgettext("uses 'this article'", "A full summary of all commands and the necessary syntax can be found in %s of our Wiki."), "<a href='https://github.com/wavelog/wavelog/wiki/SimpleFLE' target='_blank'>this article</a>"); ?></p>

View File

@@ -29,9 +29,9 @@
<form method="post" action="<?php echo site_url('station/create'); ?>" name="create_profile">
<div class="mb-3">
<label for="stationNameInput"><?php echo __("Profile Name"); ?></label>
<input type="text" class="form-control" name="station_profile_name" id="stationNameInput" aria-describedby="stationNameInputHelp" placeholder="Home QTH" required>
<small id="stationNameInputHelp" class="form-text text-muted"><?php echo __("Shortname for the station location. For example: Home (HM54ip)"); ?></small>
<label for="stationNameInput"><?php echo __("Location Name"); ?></label>
<input type="text" class="form-control" name="station_profile_name" id="stationNameInput" aria-describedby="stationNameInputHelp" placeholder="<?php echo _pgettext("Station Location Setup", "Home QTH"); ?>" required>
<small id="stationNameInputHelp" class="form-text text-muted"><?php echo sprintf(__("Shortname for the station location. For example: %s"), _pgettext("Station Location Setup", "Home QTH")); ?></small>
</div>
<div class="mb-3">
@@ -49,21 +49,21 @@
<label for="stationDXCCInput"><?php echo __("Station DXCC"); ?></label>
<?php if ($dxcc_list->num_rows() > 0) { ?>
<select class="form-select" id="dxcc_id" name="dxcc" aria-describedby="stationCallsignInputHelp">
<option value="0" selected><?php echo "- " . __("None") . " -"; ?></option>
<option value="0" selected><?php echo "- " . _pgettext("DXCC selection", "None") . " -"; ?></option>
<?php foreach ($dxcc_list->result() as $dxcc) { ?>
<option value="<?php echo $dxcc->adif; ?>"><?php echo ucwords(strtolower($dxcc->name)) . ' - ' . $dxcc->prefix; if ($dxcc->end != NULL) echo ' ('.__("Deleted DXCC").')';?>
</option>
<?php } ?>
</select>
<?php } ?>
<small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo __("Station DXCC entity. For example: Scotland"); ?></small>
<small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo __("Station DXCC entity. For example: Bolivia"); ?></small>
<div class="alert alert-danger" role="alert" id="warningMessageDXCC" style="display: none"> </div>
</div>
<div class="mb-3">
<label for="stationCityInput"><?php echo __("Station City"); ?></label>
<input type="text" class="form-control" name="city" id="stationCityInput" aria-describedby="stationCityInputHelp">
<small id="stationCityInputHelp" class="form-text text-muted"><?php echo __("Station city. For example: Inverness"); ?></small>
<small id="stationCityInputHelp" class="form-text text-muted"><?php echo __("Station city. For example: Oslo"); ?></small>
</div>
<!-- State -->
@@ -72,7 +72,7 @@
<select class="form-select" name="station_state" id="stateDropdown">
<option value=""></option>
</select>
<small id="StateHelp" class="form-text text-muted"><?php echo __("Station state. Applies to certain countries only. Leave blank if not applicable."); ?></small>
<small id="StateHelp" class="form-text text-muted"><?php echo __("Station state. Applies to certain countries only."); ?></small>
</div>
<!-- US County -->
@@ -94,7 +94,7 @@
}
?>
</select>
<small id="stationCQInputHelp" class="form-text text-muted"><?php echo __("If you don't know your CQ Zone then")." <a href='https://zone-check.eu/?m=cq' target='_blank'>".__("click here")."</a> ".__("to find it!"); ?></small>
<small id="stationCQInputHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("uses 'click here'","If you don't know your CQ Zone then %s to find it!"),"<a href='https://zone-check.eu/?m=cq' target='_blank'>".__("click here")."</a> "); ?></small>
</div>
<div class="mb-3 col-sm-6">
@@ -108,7 +108,7 @@
}
?>
</select>
<small id="stationITUInputHelp" class="form-text text-muted"><?php echo __("If you don't know your ITU Zone then")." <a href='https://zone-check.eu/?m=itu' target='_blank'>".__("click here")."</a> ".__("to find it!"); ?></small>
<small id="stationITUInputHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("uses 'click here'","If you don't know your ITU Zone then %s to find it!"),"<a href='https://zone-check.eu/?m=itu' target='_blank'>".__("click here")."</a> "); ?></small>
</div>
</div>
@@ -122,7 +122,7 @@
</div>
</div>
<small id="stationGridInputHelp" class="form-text text-muted"><?php echo lang("station_location_gridsquare_hint_ln1"); ?></small>
<small id="stationGridInputHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("uses 'click here'", "Station gridsquare. For example: HM54AP. If you don't know your grid square then %s!"), "<a href='https://zone-check.eu/?m=loc' target='_blank'>".__("click here")."</a>"); ?></small><br>
<small id="stationGridInputHelp" class="form-text text-muted"><?php echo __("If you are located on a grid line, enter multiple grid squares separated with commas. For example: IO77,IO78,IO87,IO88."); ?></small>
</div>
@@ -139,29 +139,29 @@
</select>
<small id="stationIOTAInputHelp" class="form-text text-muted"><?php echo __("Station IOTA reference. For example: EU-005"); ?></small>
<small id="stationIOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_iota_hint_ln2"); ?></small>
<small id="stationIOTAInputHelp" class="form-text text-muted"><?php echo sprintf(__("You can look up IOTA references at the %s."), "<a target='_blank' href='https://www.iota-world.org/iota-directory/annex-f-short-title-iota-reference-number-list.html'>".__("IOTA World website")."</a>"); ?></small>
</div>
<div class="mb-3">
<label for="stationSOTAInput"><?php echo __("SOTA Reference"); ?></label>
<input type="text" class="form-control" name="sota" id="stationSOTAInput" aria-describedby="stationSOTAInputHelp">
<small id="stationSOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_sota_hint_ln1"); ?></small>
<small id="stationSOTAInputHelp" class="form-text text-muted"><?php echo sprintf(__("Station SOTA reference. You can look up SOTA references at the %s."), "<a target='_blank' href='https://www.sotamaps.org/'>".__("SOTA Maps website")."</a>"); ?></small>
</div>
<div class="mb-3">
<label for="stationWWFFInput"><?php echo __("WWFF Reference"); ?></label>
<input type="text" class="form-control" name="wwff" id="stationWWFFInput" aria-describedby="stationWWFFInputHelp">
<small id="stationWWFFInputHelp" class="form-text text-muted"><?php echo lang("station_location_wwff_hint_ln1"); ?></small>
<small id="stationWWFFInputHelp" class="form-text text-muted"><?php echo sprintf(__("Station WWFF reference. You can look up WWFF references at the %s."), "<a target='_blank' href='https://www.cqgma.org/mvs/'>".__("GMA Map website")."</a>"); ?></small>
</div>
<div class="mb-3">
<label for="stationPOTAInput"><?php echo __("POTA Reference(s)"); ?></label>
<input type="text" class="form-control" name="pota" id="stationPOTAInput" aria-describedby="stationPOTAInputHelp">
<small id="stationPOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_pota_hint_ln1"); ?></small>
<small id="stationPOTAInputHelp" class="form-text text-muted"><?php echo sprintf(__("Station POTA reference(s). Multiple comma separated values allowed. You can look up POTA references at the %s."), "<a target='_blank' href='https://pota.app/#/map/'>".__("POTA Map website")."</a>"); ?></small>
</div>
<div class="mb-3">
<label for="stationSigInput"><?php echo __("Signature"); ?></label>
<label for="stationSigInput"><?php echo __("Signature Name"); ?></label>
<input type="text" class="form-control" name="sig" id="stationSigInput" aria-describedby="stationSigInputHelp">
<small id="stationSigInputHelp" class="form-text text-muted"><?php echo __("Station Signature (e.g. GMA).."); ?></small>
</div>
@@ -173,7 +173,7 @@
</div>
<div class="mb-3">
<label for="eqslNickname">eQSL QTH Nickname</label> <!-- This does not need Multilanguage Support -->
<label for="eqslNickname"><?php echo _pgettext("Probably no translation needed","eQSL QTH Nickname"); ?></label>
<input type="text" class="form-control" name="eqslnickname" id="eqslNickname" aria-describedby="eqslhelp">
<small id="eqslhelp" class="form-text text-muted"><?php echo __("The QTH Nickname which is configured in your eQSL Profile"); ?></small>
</div>
@@ -209,7 +209,7 @@
<div class="mb-3 col-sm-3">
<label for="hrdlog_code"><?php echo __("HRDLog.net API Key"); ?></label>
<input type="text" class="form-control" name="hrdlog_code" id="hrdlog_code" aria-describedby="hrdlog_codeHelp">
<small id="hrdlog_codeHelp" class="form-text text-muted"><?php echo lang("station_location_hrdlog_code_hint"); ?></a></small>
<small id="hrdlog_codeHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("HRDLog.net Userprofile page", "Create your API Code on your %s"), "<a href='http://www.hrdlog.net/EditUser.aspx' target='_blank'>".__("HRDLog.net Userprofile page")."</a>"); ?></a></small>
</div>
<div class="mb-3 col-sm-3">
<label for="hrdlogrealtime"><?php echo __("HRDLog.net Logbook Realtime Upload"); ?></label>
@@ -226,13 +226,13 @@
<div class="row">
<div class="mb-3 col-sm-6">
<label for="qrzApiKey">QRZ.com Logbook API Key</label> <!-- This does not need Multilanguage Support -->
<label for="qrzApiKey"><?php echo _pgettext("Probably no translation needed","QRZ.com Logbook API Key"); ?></label>
<div class="input-group">
<input type="text" class="form-control" name="qrzapikey" pattern="^([A-F0-9]{4}-){3}[A-F0-9]{4}$" id="qrzApiKey" aria-describedby="qrzApiKeyHelp">
<button class="btn btn-secondary" type="button" id="qrz_apitest_btn">Test API-Key</button>
<button class="btn btn-secondary" type="button" id="qrz_apitest_btn"><?php echo __("Test API-Key"); ?></button>
</div>
<div class="alert mt-3" style="display: none;" id="qrz_apitest_msg"></div>
<small id="qrzApiKeyHelp" class="form-text text-muted"><?php echo lang("station_location_qrz_hint"); ?></a></small>
<small id="qrzApiKeyHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("the QRZ.com Logbook settings page", "Find your API key on %s"), "<a href='https://logbook.qrz.com/logbook' target='_blank'>".__("the QRZ.com Logbook settings page")."</a>"); ?></a></small>
</div>
<div class="mb-3 col-sm-6">
<label for="qrzrealtime"><?php echo __("QRZ.com Logbook Upload"); ?></label>
@@ -246,9 +246,9 @@
<div class="row">
<div class="mb-3 col-sm-6">
<label for="webadifApiKey"> QO-100 Dx Club API Key </label> <!-- This does not need Multilanguage Support -->
<label for="webadifApiKey"><?php echo _pgettext("Probably no translation needed","QO-100 Dx Club API Key"); ?></label>
<input type="text" class="form-control" name="webadifapikey" id="webadifApiKey" aria-describedby="webadifApiKeyHelp">
<small id="webadifApiKeyHelp" class="form-text text-muted"><?php echo lang("station_location_qo100_hint"); ?></a></small>
<small id="webadifApiKeyHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("QO-100 Dx Club's profile page", "Create your API key on your %s"), "<a href='https://qo100dx.club' target='_blank'>".__("QO-100 Dx Club's profile page")."</a>"); ?></a></small>
</div>
<div class="mb-3 col-sm-6">
<label for="webadifrealtime"><?php echo __("QO-100 Dx Club Realtime Upload"); ?></label>

View File

@@ -37,9 +37,9 @@
<div class="card-body">
<div class="mb-3">
<label for="stationNameInput"><?php echo __("Profile Name"); ?></label>
<label for="stationNameInput"><?php echo __("Location Name"); ?></label>
<input type="text" class="form-control" name="station_profile_name" id="stationNameInput" aria-describedby="stationNameInputHelp" value="<?php if(set_value('station_profile_name') != "") { echo set_value('station_profile_name'); } else { echo $my_station_profile->station_profile_name; } ?>" required>
<small id="stationNameInputHelp" class="form-text text-muted"><?php echo __("Shortname for the station location. For example: Home (HM54ip)"); ?></small>
<small id="stationNameInputHelp" class="form-text text-muted"><?php echo sprintf(__("Shortname for the station location. For example: %s"), _pgettext("Station Location Setup", "Home QTH")); ?></small>
</div>
<div class="mb-3">
@@ -69,7 +69,7 @@
<label for="stationDXCCInput"><?php echo __("Station DXCC"); ?></label>
<?php if ($dxcc_list->num_rows() > 0) { ?>
<select class="form-select" id="dxcc_id" name="dxcc" aria-describedby="stationCallsignInputHelp">
<option value="0" <?php if($my_station_profile->station_dxcc == "0") { ?>selected<?php } ?>><?php echo "- " . __("None") . " -"; ?></option>
<option value="0" <?php if($my_station_profile->station_dxcc == "0") { ?>selected<?php } ?>><?php echo "- " . _pgettext("DXCC selection", "None") . " -"; ?></option>
<?php foreach ($dxcc_list->result() as $dxcc) { ?>
<?php $isDeleted = $dxcc->end !== NULL; ?>
<option value="<?php echo $dxcc->adif; ?>" <?php if($my_station_profile->station_dxcc == $dxcc->adif) { ?>selected<?php } ?>>
@@ -82,15 +82,15 @@
<?php } ?>
</select>
<?php } ?>
<small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo __("Station DXCC entity. For example: Scotland"); ?></small>
<div class="alert alert-danger" role="alert" id="warningMessageDXCC" style="display: none"></div>
<small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo __("Station DXCC entity. For example: Bolivia"); ?></small>
<div class="alert alert-danger" role="alert" id="warningMessageDXCC" style="display: none"> </div>
</div>
<!-- City -->
<div class="mb-3">
<label for="stationCityInput"><?php echo __("Station City"); ?></label>
<input type="text" class="form-control" name="city" id="stationCityInput" aria-describedby="stationCityInputHelp" value="<?php if(set_value('city') != "") { echo set_value('city'); } else { echo $my_station_profile->station_city; } ?>">
<small id="stationCityInputHelp" class="form-text text-muted"><?php echo __("Station city. For example: Inverness"); ?></small>
<small id="stationCityInputHelp" class="form-text text-muted"><?php echo __("Station city. For example: Oslo"); ?></small>
</div>
<!-- State -->
@@ -102,7 +102,7 @@
<select class="form-select" name="station_state" id="stateDropdown">
<option value=""></option>
</select>
<small id="StateHelp" class="form-text text-muted"><?php echo __("Station state. Applies to certain countries only. Leave blank if not applicable."); ?></small>
<small id="StateHelp" class="form-text text-muted"><?php echo __("Station state. Applies to certain countries only."); ?></small>
</div>
<!-- US County -->
@@ -135,7 +135,7 @@
}
?>
</select>
<small id="stationCQInputHelp" class="form-text text-muted"><?php echo __("If you don't know your CQ Zone then")." <a href='https://zone-check.eu/?m=cq' target='_blank'>".__("click here")."</a> ".__("to find it!"); ?></small>
<small id="stationCQInputHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("uses 'click here'","If you don't know your CQ Zone then %s to find it!"),"<a href='https://zone-check.eu/?m=cq' target='_blank'>".__("click here")."</a> "); ?></small>
</div>
<!-- ITU Zone -->
@@ -152,7 +152,7 @@
}
?>
</select>
<small id="stationITUInputHelp" class="form-text text-muted"><?php echo __("If you don't know your ITU Zone then")." <a href='https://zone-check.eu/?m=itu' target='_blank'>".__("click here")."</a> ".__("to find it!"); ?></small>
<small id="stationITUInputHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("uses 'click here'","If you don't know your ITU Zone then %s to find it!"),"<a href='https://zone-check.eu/?m=itu' target='_blank'>".__("click here")."</a> "); ?></small>
</div>
</div>
@@ -176,7 +176,7 @@
</div>
</div>
<small id="stationGridInputHelp" class="form-text text-muted"><?php echo lang("station_location_gridsquare_hint_ln1"); ?></small>
<small id="stationGridInputHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("uses 'click here'", "Station gridsquare. For example: HM54AP. If you don't know your grid square then %s!"), "<a href='https://zone-check.eu/?m=loc' target='_blank'>".__("click here")."</a>"); ?></small><br>
<small id="stationGridInputHelp" class="form-text text-muted"><?php echo __("If you are located on a grid line, enter multiple grid squares separated with commas. For example: IO77,IO78,IO87,IO88."); ?></small>
</div>
</div>
@@ -203,7 +203,7 @@
</select>
<small id="stationIOTAInputHelp" class="form-text text-muted"><?php echo __("Station IOTA reference. For example: EU-005"); ?></small>
<small id="stationIOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_iota_hint_ln2"); ?></small>
<small id="stationIOTAInputHelp" class="form-text text-muted"><?php echo sprintf(__("You can look up IOTA references at the %s."), "<a target='_blank' href='https://www.iota-world.org/iota-directory/annex-f-short-title-iota-reference-number-list.html'>".__("IOTA World website")."</a>"); ?></small>
</div>
</div>
</div>
@@ -218,7 +218,7 @@
<div class="mb-3">
<label for="stationSOTAInput"><?php echo __("SOTA Reference"); ?></label>
<input type="text" class="form-control" name="sota" id="stationSOTAInput" aria-describedby="stationSOTAInputHelp" value="<?php if(set_value('sota') != "") { echo set_value('sota'); } else { echo $my_station_profile->station_sota; } ?>">
<small id="stationSOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_sota_hint_ln1"); ?></small>
<small id="stationSOTAInputHelp" class="form-text text-muted"><?php echo sprintf(__("Station SOTA reference. You can look up SOTA references at the %s."), "<a target='_blank' href='https://www.sotamaps.org/'>".__("SOTA Maps website")."</a>"); ?></small>
</div>
</div>
</div>
@@ -231,7 +231,7 @@
<div class="mb-3">
<label for="stationWWFFInput"><?php echo __("WWFF Reference"); ?></label>
<input type="text" class="form-control" name="wwff" id="stationWWFFInput" aria-describedby="stationWWFFInputHelp" value="<?php if(set_value('wwff') != "") { echo set_value('wwff'); } else { echo $my_station_profile->station_wwff; } ?>">
<small id="stationWWFFInputHelp" class="form-text text-muted"><?php echo lang("station_location_wwff_hint_ln1"); ?></small>
<small id="stationWWFFInputHelp" class="form-text text-muted"><?php echo sprintf(__("Station WWFF reference. You can look up WWFF references at the %s."), "<a target='_blank' href='https://www.cqgma.org/mvs/'>".__("GMA Map website")."</a>"); ?></small>
</div>
</div>
</div>
@@ -244,7 +244,7 @@
<div class="mb-3">
<label for="stationPOTAInput"><?php echo __("POTA Reference(s)"); ?></label>
<input type="text" class="form-control" name="pota" id="stationPOTAInput" aria-describedby="stationPOTAInputHelp" value="<?php if(set_value('pota') != "") { echo set_value('pota'); } else { echo $my_station_profile->station_pota; } ?>">
<small id="stationPOTAInputHelp" class="form-text text-muted"><?php echo lang("station_location_pota_hint_ln1"); ?></small>
<small id="stationPOTAInputHelp" class="form-text text-muted"><?php echo sprintf(__("Station POTA reference(s). Multiple comma separated values allowed. You can look up POTA references at the %s."), "<a target='_blank' href='https://pota.app/#/map/'>".__("POTA Map website")."</a>"); ?></small>
</div>
</div>
</div>
@@ -278,7 +278,7 @@
<h5 class="card-header"><?php echo __("eQSL"); ?></h5>
<div class="card-body">
<div class="mb-3">
<label for="eqslNickname">eQSL QTH Nickname</label> <!-- This does not need Multilanguage Support -->
<label for="eqslNickname"><?php echo _pgettext("Probably no translation needed","eQSL QTH Nickname"); ?></label> <!-- This does not need Multilanguage Support -->
<input type="text" class="form-control" name="eqslnickname" id="eqslNickname" aria-describedby="eqslhelp" value="<?php if(set_value('eqslnickname') != "") { echo set_value('eqslnickname'); } else { echo $my_station_profile->eqslqthnickname; } ?>">
<small id="eqslhelp" class="form-text text-muted"><?php echo __("The QTH Nickname which is configured in your eQSL Profile"); ?></small>
</div>
@@ -303,7 +303,7 @@
<button class="btn btn-secondary" type="button" id="qrz_apitest_btn">Test API-Key</button>
</div>
<div class="alert mt-3" style="display: none;" id="qrz_apitest_msg"></div>
<small id="qrzApiKeyHelp" class="form-text text-muted"><?php echo lang("station_location_qrz_hint"); ?></a></small>
<small id="qrzApiKeyHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("the QRZ.com Logbook settings page", "Find your API key on %s"), "<a href='https://logbook.qrz.com/logbook' target='_blank'>".__("the QRZ.com Logbook settings page")."</a>"); ?></a></small>
</div>
<div class="mb-3">
@@ -354,9 +354,9 @@
<small id="hrdlog_usernameHelp" class="form-text text-muted"><?php echo __("The username you are registered with at HRDlog.net (usually your callsign)."); ?></a></small>
</div>
<div class="mb-3">
<label for="webadifApiKey"><?php echo __("HRDLog.net API Key"); ?></label> <!-- This does not need Multilanguage Support -->
<label for="webadifApiKey"><?php echo __("HRDLog.net API Key"); ?></label>
<input type="text" class="form-control" name="hrdlog_code" id="hrdlog_code" aria-describedby="hrdlog_codeHelp" value="<?php if(set_value('hrdlog_code') != "") { echo set_value('hrdlog_code'); } else { echo $my_station_profile->hrdlog_code; } ?>">
<small id="hrdlog_codeHelp" class="form-text text-muted"><?php echo lang("station_location_hrdlog_code_hint"); ?></a></small>
<small id="hrdlog_codeHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("HRDLog.net Userprofile page", "Create your API Code on your %s"), "<a href='http://www.hrdlog.net/EditUser.aspx' target='_blank'>".__("HRDLog.net Userprofile page")."</a>"); ?></a></small>
</div>
<div class="mb-3">
<label for="hrdlogrealtime"><?php echo __("HRDLog.net Logbook Realtime Upload"); ?></label>
@@ -375,9 +375,9 @@
<h5 class="card-header">QO-100 Dx Club</h5> <!-- This does not need Multilanguage Support -->
<div class="card-body">
<div class="mb-3">
<label for="webadifApiKey">QO-100 Dx Club API Key</label> <!-- This does not need Multilanguage Support -->
<label for="webadifApiKey"><?php echo _pgettext("Probably no translation needed","QO-100 Dx Club API Key"); ?></label>
<input type="text" class="form-control" name="webadifapikey" id="webadifApiKey" aria-describedby="webadifApiKeyHelp" value="<?php if(set_value('webadifapikey') != "") { echo set_value('webadifapikey'); } else { echo $my_station_profile->webadifapikey; } ?>">
<small id="webadifApiKeyHelp" class="form-text text-muted"><?php echo lang("station_location_qo100_hint"); ?></a></small>
<small id="webadifApiKeyHelp" class="form-text text-muted"><?php echo sprintf(_pgettext("QO-100 Dx Club's profile page", "Create your API key on your %s"), "<a href='https://qo100dx.club' target='_blank'>".__("QO-100 Dx Club's profile page")."</a>"); ?></a></small>
</div>
<div class="mb-3">
<label for="webadifrealtime"><?php echo __("QO-100 Dx Club Realtime Upload"); ?></label>

View File

@@ -815,7 +815,7 @@
<div class="mb-3">
<label><?php echo __("URL of Mastodonserver"); ?></label>
<input class="form-control" type="text" name="user_mastodon_url" value="<?php if(isset($user_mastodon_url)) { echo $user_mastodon_url; } ?>" />
<small class="form-text text-muted"><?php echo lang('account_user_mastodon_hint'); ?></a></small>
<small class="form-text text-muted"><?php echo sprintf(__("Main URL of your Mastodon server, e.g. %s"), "<a href='https://radiosocial.de/' target='_blank'>https://radiosocial.de</a>"); ?></small>
</div>
</div>
</div>
@@ -833,7 +833,7 @@
<option value="0" <?php if ($user_winkey == 0) { echo 'selected="selected"'; } ?>><?php echo __("No"); ?></option>
<option value="1" <?php if ($user_winkey == 1) { echo 'selected="selected"'; } ?>><?php echo __("Yes"); ?></option>
</select>
<small class="form-text text-muted"><?php echo lang('account_winkeyer_hint'); ?></small>
<small class="form-text text-muted"><?php echo sprintf(__("Winkeyer support in Wavelog is very experimental. Read the wiki first at %s before enabling."), "<a href='https://github.com/wavelog/wavelog/wiki/Winkey' target='_blank'>https://github.com/wavelog/wavelog/wiki/Winkey</a>"); ?></small>
</div>
</div>
</div>
@@ -849,7 +849,7 @@
<div class="mb-3">
<label><?php echo __("Private Feed Key"); ?></label>
<input class="form-control" type="text" name="user_hamsat_key" value="<?php if(isset($user_hamsat_key)) { echo $user_hamsat_key; } ?>" />
<small class="form-text text-muted"><?php echo lang('account_hamsat_hint'); ?></a></small>
<small class="form-text text-muted"><?php echo sprintf(_pgettext("Hint for Hamsat API Key; uses Link", "See your profile at %s."), "<a href='https://hams.at/users/settings' target='_blank'>https://hams.at/users/settings</a>"); ?></small>
</div>
<div class="mb-3">
<label><?php echo __("Show Workable Passes Only"); ?></label>