mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
stringify
This commit is contained in:
@@ -676,7 +676,7 @@ class Logbook extends CI_Controller {
|
||||
$html .= "<th>QRZ</th>";
|
||||
break;
|
||||
case 8:
|
||||
$html .= "<th>Clublog</th>";
|
||||
$html .= "<th><?= __("Clublog"); ?></th>";
|
||||
break;
|
||||
default:
|
||||
$html .= "<th>".__("QSL")."</th>";
|
||||
|
||||
@@ -49,25 +49,25 @@
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="awardradio" id="dxcc" value="dxcc" checked>
|
||||
<label class="form-check-label" for="dxcc">
|
||||
DX Century Club (DXCC)
|
||||
<?= __("DX Century Club (DXCC)"); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="awardradio" id="was" value="was">
|
||||
<label class="form-check-label" for="was">
|
||||
Worked All States (WAS)
|
||||
<?= __("Worked All States (WAS)"); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="awardradio" id="iota" value="iota">
|
||||
<label class="form-check-label" for="iota">
|
||||
Islands On The Air (IOTA)
|
||||
<?= __("Islands On The Air (IOTA)"); ?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="awardradio" id="waz" value="waz">
|
||||
<label class="form-check-label" for="waz">
|
||||
Worked All Zones (WAZ)
|
||||
<?= __("Worked All Zones (WAZ)"); ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
</div>
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="clublog" value="1" id="clublog" <?php if ($this->input->post('clublog')) echo ' checked="checked"'; ?> >
|
||||
<label class="form-check-label" for="clublog">Clublog</label>
|
||||
<label class="form-check-label" for="clublog"><?= __("Clublog"); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
</div>
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="clublog" value="1" id="clublog" <?php if ($this->input->post('clublog')) echo ' checked="checked"'; ?> >
|
||||
<label class="form-check-label" for="clublog">Clublog</label>
|
||||
<label class="form-check-label" for="clublog"><?= __("Clublog"); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
</div>
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="clublog" value="1" id="clublog" <?php if ($this->input->post('clublog')) echo ' checked="checked"'; ?> >
|
||||
<label class="form-check-label" for="clublog">Clublog</label>
|
||||
<label class="form-check-label" for="clublog"><?= __("Clublog"); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
echo ' checked' ;
|
||||
}
|
||||
echo '>'; ?>
|
||||
<label class="form-check-label" for="clublog">Clublog</label>
|
||||
<label class="form-check-label" for="clublog"><?= __("Clublog"); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</div>
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="clublog" value="1" id="clublog" <?php if ($this->input->post('clublog')) echo ' checked="checked"'; ?> >
|
||||
<label class="form-check-label" for="clublog">Clublog</label>
|
||||
<label class="form-check-label" for="clublog"><?= __("Clublog"); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -41,22 +41,22 @@
|
||||
<div class="mb-3 d-flex align-items-center row contestdates">
|
||||
</div>
|
||||
<div hidden="true" class="mb-3 d-flex align-items-center row additionalinfo">
|
||||
<div class="col-md-3 control-label" for="soapbox">Club: </div>
|
||||
<div class="col-md-3 control-label" for="soapbox"><?= __("Club"); ?>: </div>
|
||||
<input class="form-control my-1 me-sm-2 col-md-4 w-auto" id="soapbox" type="soapbox" name="soapbox" aria-label="soapbox">
|
||||
</div>
|
||||
<div hidden="true" class="mb-3 d-flex align-items-center row additionalinfo">
|
||||
<div class="col-md-3 control-label" for="categoryoperator"><?= __("Category Operator") ?>: </div>
|
||||
<select class="form-select my-1 me-sm-2 col-md-4 w-auto" id="categoryoperator" name="categoryoperator">
|
||||
<option value="SINGLE-OP"><?= __("Single Operator") ?></option>
|
||||
<option value="MULTI-OP"><?= __("Multi Operator") ?></option>
|
||||
<option value="CHECKLOG"><?= __("Checklog") ?></option>
|
||||
<option value="SINGLE-OP">SINGLE-OP</option>
|
||||
<option value="MULTI-OP">MULTI-OP</option>
|
||||
<option value="CHECKLOG">CHECKLOG</option>
|
||||
</select>
|
||||
</div>
|
||||
<div hidden="true" class="mb-3 d-flex align-items-center row additionalinfo">
|
||||
<div class="col-md-3 control-label" for="categoryassisted"><?= __("Category Assisted") ?>: </div>
|
||||
<select class="form-select my-1 me-sm-2 col-md-4 w-auto" id="categoryassisted" name="categoryassisted">
|
||||
<option value="NON-ASSISTED"><?= __("Not Assisted") ?></option>
|
||||
<option value="ASSISTED"><?= __("Assisted") ?></option>
|
||||
<option value="NON-ASSISTED">NON-ASSISTED</option>
|
||||
<option value="ASSISTED">ASSISTED></option>
|
||||
</select>
|
||||
</div>
|
||||
<div hidden="true" class="mb-3 d-flex align-items-center row additionalinfo">
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
<th><?= __("Serial (S)"); ?></th>
|
||||
<th><?= __("Serial (R)"); ?></th>
|
||||
<th><?= __("Gridsquare"); ?></th>
|
||||
<th><?php echo 'VUCC ' . __("Gridsquare"); ?></th>
|
||||
<th><?= __("VUCC Gridsquare"); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<label class="my-1 me-2" for="distplot_bands"><?= __("Band selection"); ?></label>
|
||||
<select class="form-select my-1 me-sm-2 w-auto" id="distplot_bands">
|
||||
<?php if (count($sats_available) != 0) { ?>
|
||||
<option value="sat">SAT</option>
|
||||
<option value="sat"><?= __("SAT"); ?></option>
|
||||
<?php } ?>
|
||||
<?php foreach($bands_available as $band) {
|
||||
echo '<option value="'.$band.'"';
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
<div class="container">
|
||||
<br>
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<p>This data is from <a target="_blank" href="https://ng3k.com/">https://ng3k.com/</a></p>
|
||||
<p><?= __("This data comes from"); ?> <a target="_blank" href="https://ng3k.com/">https://ng3k.com/</a></p>
|
||||
|
||||
<table style="width:100%" class="table-sm table table-bordered table-hover table-striped table-condensed dxcalendar">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date from</th>
|
||||
<th>Date to</th>
|
||||
<th>DXCC</th>
|
||||
<th>Call</th>
|
||||
<th>QSL info</th>
|
||||
<th>Source</th>
|
||||
<th>Info</th>
|
||||
<th><?= __("Date from"); ?></th>
|
||||
<th><?= __("Date to"); ?></th>
|
||||
<th><?= __("DXCC"); ?></th>
|
||||
<th><?= __("Call"); ?></th>
|
||||
<th><?= __("QSL Info"); ?></th>
|
||||
<th><?= __("Source"); ?></th>
|
||||
<th><?= __("Info"); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -8,16 +8,16 @@ $custom_date_format = $this->session->userdata('user_date_format');
|
||||
<h5 class="card-title"><?php echo $page_title; ?></h5>
|
||||
<ul class="nav nav-tabs card-header-tabs">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/import');?>">Download QSOs</a>
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/import');?>"><?= __("Download QSOs"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>">Upload QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>"><?= __("Upload QSOs"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>">Tools</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>"><?= __("Tools"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>">Download eQSL cards</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>"><?= __("Download eQSL cards"); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -33,13 +33,13 @@ $custom_date_format = $this->session->userdata('user_date_format');
|
||||
<?php if (count($import['qsos']) > 0) { ?>
|
||||
<table width="100%">
|
||||
<tr class="titles">
|
||||
<td>Date</td>
|
||||
<td>Time</td>
|
||||
<td>Call</td>
|
||||
<td>Mode</td>
|
||||
<td>Submode</td>
|
||||
<td>Log Status</td>
|
||||
<td>eQSL Status</td>
|
||||
<td><?= __("Date"); ?></td>
|
||||
<td><?= __("Time"); ?></td>
|
||||
<td><?= __("Call"); ?></td>
|
||||
<td><?= __("Mode"); ?></td>
|
||||
<td><?= __("Submode"); ?></td>
|
||||
<td><?= __("Log Status"); ?></td>
|
||||
<td><?= __("eQSL Status"); ?></td>
|
||||
</tr>
|
||||
<?php foreach ($import['qsos'] as $qso) { ?>
|
||||
<tr>
|
||||
@@ -59,7 +59,7 @@ $custom_date_format = $this->session->userdata('user_date_format');
|
||||
<?php } ?>
|
||||
</table>
|
||||
<?php } else { ?>
|
||||
<p>There are no QSO confirmations waiting for you at eQSL.cc</p>
|
||||
<p><?= __("There are no QSO confirmations waiting for you at eQSL.cc"); ?></p>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
@@ -3,21 +3,21 @@
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="card-title">eQSL Card Image Download</div>
|
||||
<div class="card-title"><?= __("eQSL Card Image Download"); ?></div>
|
||||
<ul class="nav nav-tabs card-header-tabs">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/import');?>">Download QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/import');?>"><?= __("Download QSOs"); ?></a>
|
||||
</li>
|
||||
<?php if (!($this->config->item('disable_manual_eqsl'))) { ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>">Upload QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>"><?= __("Upload QSOs"); ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>">Tools</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>"><?= __("Tools"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/download');?>">Download eQSL cards</a>
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/download');?>"><?= __("Download eQSL cards"); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -28,19 +28,19 @@
|
||||
<?php
|
||||
if (! empty($qslsnotdownloaded->result())) {
|
||||
?>
|
||||
<p>Below is a table of QSOs that have been confirmed on eQSL but QSL images have not been downloaded yet.</p>
|
||||
<p><?= __("Below is a table of QSOs that have been confirmed on eQSL but QSL images have not been downloaded yet."); ?></p>
|
||||
|
||||
|
||||
<table = style="width:100%" class="table-sm table table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead><tr class="titles">
|
||||
<th>Date</th>
|
||||
<th>Time</th>
|
||||
<th>Call</th>
|
||||
<th>Mode</th>
|
||||
<th>Submode</th>
|
||||
<th>Band</th>
|
||||
<th>Propagation Mode</th>
|
||||
<th>Action</th>
|
||||
<th><?= __("Date"); ?></th>
|
||||
<th><?= __("Time"); ?></th>
|
||||
<th><?= __("Call"); ?></th>
|
||||
<th><?= __("Mode"); ?></th>
|
||||
<th><?= __("Submode"); ?></th>
|
||||
<th><?= __("Band"); ?></th>
|
||||
<th><?= __("Propagation Mode"); ?></th>
|
||||
<th><?= __("Action"); ?></th>
|
||||
</tr></thead><tbody>
|
||||
<?php
|
||||
foreach ($qslsnotdownloaded->result_array() as $qsl) {
|
||||
@@ -57,7 +57,7 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) {
|
||||
}
|
||||
echo "<td>".$qsl['COL_BAND']."</td>";
|
||||
echo "<td>".$qsl['COL_PROP_MODE']."</td>";
|
||||
echo "<td><a href=\"".site_url()."/eqsl/image/".$qsl['COL_PRIMARY_KEY']."\" data-fancybox=\"images\" data-width=\"528\" data-height=\"336\" class=\"btn btn-primary btn-sm\">View/Download</a></td>";
|
||||
echo "<td><a href=\"".site_url()."/eqsl/image/".$qsl['COL_PRIMARY_KEY']."\" data-fancybox=\"images\" data-width=\"528\" data-height=\"336\" class=\"btn btn-primary btn-sm\">" . __("View/Download") . "</a></td>";
|
||||
}
|
||||
echo "</tr>";
|
||||
?>
|
||||
@@ -68,9 +68,9 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) {
|
||||
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="hidden" name="eqsldownload" id="download" value="download" checked />
|
||||
<p>Wavelog will use the eQSL credentials from your Wavelog user profile to connect to eQSL and download confirmations.</p>
|
||||
<p><?= __("Wavelog will use the eQSL credentials from your Wavelog user profile to connect to eQSL and download confirmations."); ?></p>
|
||||
</div>
|
||||
<p><div class="alert alert-danger" role="alert">Due to a rate limit of approximately 10 seconds per eQSL picture download calling this function will take a long time to complete! Thus you may have to call this function several times depending on the amount of outstanding cards. This may run into a script timeout depending on the PHP configuration.</div></p>
|
||||
<p><div class="alert alert-danger" role="alert"><?= __("Due to a rate limit of approximately 10 seconds per eQSL picture download calling this function will take a long time to complete! Thus you may have to call this function several times depending on the amount of outstanding cards. This may run into a script timeout depending on the PHP configuration."); ?></div></p>
|
||||
|
||||
<input class="btn btn-primary" type="submit" value="Download un-synced eQSL cards" />
|
||||
<?php } ?>
|
||||
@@ -78,7 +78,7 @@ foreach ($qslsnotdownloaded->result_array() as $qsl) {
|
||||
|
||||
<?php
|
||||
} else {
|
||||
echo "<p>There are no QSOs whose eQSL card images have not yet been downloaded. Go log some more QSOs!</p>";
|
||||
echo '<p>' . __("There are no QSOs whose eQSL card images have not yet been downloaded. Go log some more QSOs!") . '</p>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
@@ -3,21 +3,21 @@
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="card-title">eQSL QSO Upload</div>
|
||||
<div class="card-title"<?= __(">eQSL QSO Upload"); ?></div>
|
||||
<ul class="nav nav-tabs card-header-tabs">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/import');?>">Download QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/import');?>"><?= __("Download QSOs"); ?></a>
|
||||
</li>
|
||||
<?php if (!($this->config->item('disable_manual_eqsl'))) { ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/Export');?>">Upload QSOs</a>
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/Export');?>"><?= __("Upload QSOs"); ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>">Tools</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>"><?= __("Tools"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>">Download eQSL cards</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>"><?= __("Download eQSL cards"); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -29,13 +29,13 @@
|
||||
if (isset($eqsl_table))
|
||||
{
|
||||
?>
|
||||
<p>Below is a table of QSOs that have not yet been sent to eQSL.</p>
|
||||
<p><?= __("Below is a table of QSOs that have not yet been sent to eQSL."); ?></p>
|
||||
|
||||
<p><span class="badge text-bg-info">Info</span> Please make sure the "eQSL QTH Nickname" field is set in your station profile and that the value matches the QTH Nickname you set within eQSL.</p>
|
||||
<p><span class="badge text-bg-info"><?= __("Info"); ?></span> <?= __("Please make sure the 'eQSL QTH Nickname' field is set in your station profile and that the value matches the QTH Nickname you set within eQSL."); ?></p>
|
||||
<?php
|
||||
|
||||
echo $eqsl_table;
|
||||
echo "<p>Clicking \"Upload QSOs\" will send QSO information to eQSL.cc.</p>";
|
||||
echo '<p>' . __("Clicking 'Upload QSOs' will send QSO information to eQSL.cc.") . '</p>';
|
||||
echo form_open('eqsl/export');
|
||||
echo "<input type=\"hidden\" name=\"eqslexport\" id=\"eqslexport\" value=\"export\" />";
|
||||
echo "<input class=\"btn btn-primary\" type=\"submit\" value=\"Upload QSOs\" /></form>";
|
||||
@@ -44,12 +44,12 @@
|
||||
{
|
||||
if (isset($eqsl_results_table))
|
||||
{
|
||||
echo "<p>The following QSOs were sent to eQSL.</p>";
|
||||
echo '<p>' . __("The following QSOs were sent to eQSL.") . '</p>';
|
||||
echo $eqsl_results_table;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<p>There are no QSOs that need to be sent to eQSL at this time. Go log some more QSOs!</p>";
|
||||
echo '<p>' . __("There are no QSOs that need to be sent to eQSL at this time. Go log some more QSOs!") . '</p>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="card-title">eQSL Import</div>
|
||||
<div class="card-title"><?= __("eQSL Import"); ?></div>
|
||||
<ul class="nav nav-tabs card-header-tabs">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/import');?>">Download QSOs</a>
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/import');?>"><?= __("Download QSOs"); ?></a>
|
||||
</li>
|
||||
<?php if (!($this->config->item('disable_manual_eqsl'))) { ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>">Upload QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>"><?= __("Upload QSOs"); ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>">Tools</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>"><?= __("Tools"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>">Download eQSL cards</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>"><?= __("Download eQSL cards"); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -28,27 +28,27 @@
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="eqslimport" id="upload" value="upload" checked />
|
||||
<label class="form-check-label" for="exampleRadios1">
|
||||
Import from file...
|
||||
<?= __("Import from file..."); ?>
|
||||
</label>
|
||||
<br>
|
||||
<p>Upload the Exported ADIF file from eQSL from the <a href="https://eqsl.cc/qslcard/DownloadInBox.cfm" target="_blank">Download Inbox</a> page, to mark QSOs as confirmed on eQSL.</p>
|
||||
<p>Choose Station(location) eQSL File belongs to:</p>
|
||||
<p><?= sprintf(__("Upload the Exported ADIF file from eQSL from the %s page, to mark QSOs as confirmed on eQSL."), '<a href="https://eqsl.cc/qslcard/DownloadInBox.cfm" target="_blank">' . __("Download Inbox") . '</a>'); ?></p>
|
||||
<p><?= __("Choose Station(location) eQSL File belongs to:"); ?></p>
|
||||
<select name="station_profile" class="form-select mb-2 me-sm-2" style="width: 20%;">
|
||||
<option value="0">Select Station Location</option>
|
||||
<option value="0"><?= __("Select Station Location"); ?></option>
|
||||
<?php foreach ($station_profile->result() as $station) {
|
||||
if($station->eqslqthnickname) { ?>
|
||||
<option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) { echo " selected =\"selected\""; } ?>>Callsign: <?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name.") eQSL: ".$station->eqslqthnickname; ?></option>
|
||||
<option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) { echo " selected =\"selected\""; } ?>><?= __("Callsign"); ?>: <?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name.") eQSL: ".$station->eqslqthnickname; ?></option>
|
||||
<?php } } ?>
|
||||
</select>
|
||||
<p><span class="badge bg-info me-1">Important</span>Log files must have the file type .adi</p>
|
||||
<p><span class="badge bg-info me-1"><?= __("Important"); ?></span><?= __("Log files must have the file type .adi"); ?></p>
|
||||
<input class="form-control w-auto" type="file" name="userfile" size="20" />
|
||||
</div>
|
||||
<hr class="divider">
|
||||
<?php if (!($this->config->item('disable_manual_eqsl'))) { ?>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="radio" name="eqslimport" id="fetch" value="fetch" checked="checked"/>
|
||||
<label class="form-check-label" for="exampleRadios1">Import directly from eQSL</label>
|
||||
<p>Wavelog will use the eQSL credentials from your Wavelog user profile to connect to eQSL and download confirmations.</p>
|
||||
<label class="form-check-label" for="exampleRadios1"><?= __("Import directly from eQSL"); ?></label>
|
||||
<p><?= __("Wavelog will use the eQSL credentials from your Wavelog user profile to connect to eQSL and download confirmations."); ?></p>
|
||||
<div class="row">
|
||||
<div class="mb-3 col-sm-2">
|
||||
<div class="dxatlasdatepicker input-group date" id="eqsl_force_from_date" data-target-input="nearest">
|
||||
|
||||
@@ -8,16 +8,16 @@ $custom_date_format = $this->session->userdata('user_date_format');
|
||||
<h5 class="card-title"><?php echo $page_title; ?></h5>
|
||||
<ul class="nav nav-tabs card-header-tabs">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/import');?>">Download QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/import');?>"><?= __("Download QSOs"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>">Upload QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>"><?= __("Upload QSOs"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>">Tools</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/tools');?>"><?= __("Tools"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/download');?>">Download eQSL cards</a>
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/download');?>"><?= __("Download eQSL cards"); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -30,12 +30,12 @@ $custom_date_format = $this->session->userdata('user_date_format');
|
||||
</div>
|
||||
<table width="100%">
|
||||
<tr class="titles">
|
||||
<td>Date</td>
|
||||
<td>Time</td>
|
||||
<td>Call</td>
|
||||
<td>Mode</td>
|
||||
<td>Submode</td>
|
||||
<td>eQSL Status</td>
|
||||
<td><?= __("Date"); ?></td>
|
||||
<td><?= __("Time"); ?></td>
|
||||
<td><?= __("Call"); ?></td>
|
||||
<td><?= __("Mode"); ?></td>
|
||||
<td><?= __("Submode"); ?></td>
|
||||
<td><?= __("eQSL Status"); ?></td>
|
||||
</tr>
|
||||
<?php foreach ($eqsl_results as $qso) { ?>
|
||||
<tr>
|
||||
|
||||
@@ -2,29 +2,29 @@
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="card-title">eQSL Tools</div>
|
||||
<div class="card-title"><?= __("eQSL Tools"); ?></div>
|
||||
<ul class="nav nav-tabs card-header-tabs">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/import');?>">Download QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/import');?>"><?= __("Download QSOs"); ?></a>
|
||||
</li>
|
||||
<?php if (!($this->config->item('disable_manual_eqsl'))) { ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>">Upload QSOs</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/Export');?>"><?= __("Upload QSOs"); ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/tools');?>">Tools</a>
|
||||
<a class="nav-link active" href="<?php echo site_url('eqsl/tools');?>"><?= __("Tools"); ?></a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>">Download eQSL cards</a>
|
||||
<a class="nav-link" href="<?php echo site_url('eqsl/download');?>"><?= __("Download eQSL cards"); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<?php $this->load->view('layout/messages'); ?>
|
||||
<p><a class="btn btn-primary" href="<?php echo site_url('eqsl/mark_all_sent'); ?>">Mark All QSOs as Sent to eQSL</a> use this if you have lots of QSOs to upload to eQSL it will save the server timing out.</p>
|
||||
<p><a class="btn btn-primary" href="<?php echo site_url('eqsl/mark_all_sent'); ?>"><?= __("Mark All QSOs as Sent to eQSL"); ?></a> <?= __("Use this if you have lots of QSOs to upload to eQSL it will save the server timing out."); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<?php $userdata_dir = $this->config->item('userdata');
|
||||
if (isset($userdata_dir)) { ?>
|
||||
<div class="alert alert-info" role="alert">
|
||||
<?= __("You are using"); ?> <?php echo $storage_used; ?> <?= __("of disk space to store QSL Card assets"); ?>
|
||||
<?= sprintf(__("You are using %s of disk space to store QSL Card assets"), $storage_used ); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<th style=\'text-align: center\'>'.__("Time").'</th>
|
||||
<th style=\'text-align: center\'>'.__("Band").'</th>
|
||||
<th style=\'text-align: center\'>'.__("Propagation Mode").'</th>
|
||||
<th style=\'text-align: center\'>'.__("QSL").' '.__("Date").'</th>
|
||||
<th style=\'text-align: center\'>'.__("QSL Date").'</th>
|
||||
<th style=\'text-align: center\'></th>
|
||||
</tr>
|
||||
</thead><tbody>';
|
||||
@@ -57,7 +57,7 @@
|
||||
echo '<td style=\'text-align: center\'>';
|
||||
$timestamp = strtotime($qsl->COL_EQSL_QSLRDATE); echo date($custom_date_format, $timestamp);
|
||||
echo '</td>';
|
||||
echo '<td style=\'text-align: center\'><button onclick="viewEqsl(\''.$qsl->image_file.'\', \''. $qsl->COL_CALL . '\')" class="btn btn-sm btn-success">View</button></td>';
|
||||
echo '<td style=\'text-align: center\'><button onclick="viewEqsl(\''.$qsl->image_file.'\', \''. $qsl->COL_CALL . '\')" class="btn btn-sm btn-success">' . __("View") . '</button></td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<input id="sats" type="hidden" value="All"></input>
|
||||
<?php } ?>
|
||||
|
||||
<label class="col-md-1" for="propagation">Propagation</label>
|
||||
<label class="col-md-1" for="propagation"><?= __("Propagation"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select class="form-select form-select-sm w-auto" id="propagation" <?php if ($user_default_band == 'SAT') {echo 'disabled';} ?>>
|
||||
<option value=""><?= __("All"); ?></option>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
</script>
|
||||
<div class="container">
|
||||
<br>
|
||||
<h2>Hamsat - Satellite Rovers</h2>
|
||||
<p>This data is from <a target="_blank" href="https://hams.at/">https://hams.at/</a>.
|
||||
<h2><?= __("Hamsat - Satellite Rovers"); ?></h2>
|
||||
<p><?= __("This data comes from"); ?> <a target="_blank" href="https://hams.at/">https://hams.at/</a>.
|
||||
<script type="text/javascript">
|
||||
var workable_preset = <?php echo $user_hamsat_workable_only; ?>;
|
||||
var feed_key_set = <?php echo strlen($user_hamsat_key); ?>;
|
||||
@@ -19,20 +19,20 @@
|
||||
<p>
|
||||
<?php if ($user_hamsat_workable_only && $user_hamsat_key == '') { ?>
|
||||
<div class="alert alert-warning" role="warning">
|
||||
Cannot filter workable passes only without private feed key. Please set the feed key in <a href="<?php echo site_url('user/edit/').$this->session->userdata('user_id'); ?>">your profile</a>.
|
||||
<?= sprintf(__("Cannot filter workable passes only without private feed key. Please set the feed key in %s."), '<a href="' . site_url('user/edit/') . $this->session->userdata('user_id') . '">' . __("your profile") . '</a>'); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<table style="width:100%" class="table table-hover table-striped" id="activationsList">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Time</th>
|
||||
<th>Callsign</th>
|
||||
<th>Comment</th>
|
||||
<th>Satellite</th>
|
||||
<th>Mode</th>
|
||||
<th>Gridsquare(s)</th>
|
||||
<th>Workable</th>
|
||||
<th><?= __("Date"); ?></th>
|
||||
<th><?= __("Time"); ?></th>
|
||||
<th><?= __("Callsign"); ?></th>
|
||||
<th><?= __("Comment"); ?></th>
|
||||
<th><?= __("Satellite"); ?></th>
|
||||
<th><?= __("Mode"); ?></th>
|
||||
<th><?= __("Gridsquare(s)"); ?></th>
|
||||
<th><?= __("Workable"); ?></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
<div class="card-header">
|
||||
<ul class="nav nav-tabs card-header-tabs pull-right" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" id="export-tab" data-bs-toggle="tab" href="#export" role="tab" aria-controls="import" aria-selected="true">Upload Logbook</a>
|
||||
<a class="nav-link active" id="export-tab" data-bs-toggle="tab" href="#export" role="tab" aria-controls="import" aria-selected="true"><?= __("Upload Logbook"); ?></a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="mark-tab" data-bs-toggle="tab" href="#mark" role="tab" aria-controls="export" aria-selected="false">Mark QSOs</a>
|
||||
<a class="nav-link" id="mark-tab" data-bs-toggle="tab" href="#mark" role="tab" aria-controls="export" aria-selected="false"><?= __("Mark QSOs"); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
<div class="card-body">
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="export" role="tabpanel" aria-labelledby="export-tab">
|
||||
<p>Here you can see all QSOs which have not been previously uploaded to a HRDLog logbook.</p>
|
||||
<p>You need to set a HRDLog Logbook API Code in your station profile. Only station profiles with an API Key set are displayed.</p>
|
||||
<p>The Code can be requested at <a href="http://www.hrdlog.net/EditUser.aspx" target="new" class="link">http://www.hrdlog.net/EditUser.aspx</a></p>
|
||||
<?php if (!($this->config->item('disable_manual_hrdlog'))) { echo '<p><span class="badge text-bg-warning">Warning</span> This might take a while as QSO uploads are processed sequentially.</p>'; } ?>
|
||||
<p><?= __("Here you can see all QSOs which have not been previously uploaded to a HRDLog logbook."); ?></p>
|
||||
<p><?= __("You need to set a HRDLog Logbook API Code in your station profile. Only station profiles with an API Key set are displayed."); ?></p>
|
||||
<p><?= sprintf(__("The Code can be requested at %s"), '<a href="http://www.hrdlog.net/EditUser.aspx" target="_blank" class="link">http://www.hrdlog.net/EditUser.aspx</a>'); ?></p>
|
||||
<?php if (!($this->config->item('disable_manual_hrdlog'))) { echo '<p><span class="badge text-bg-warning">' . __("Warning") . '</span> ' . __("This might take a while as QSO uploads are processed sequentially.") . '</p>'; } ?>
|
||||
|
||||
<?php
|
||||
if ($station_profile->result()) {
|
||||
@@ -31,12 +31,12 @@
|
||||
<table class="table table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Profile name</td>
|
||||
<td>Station callsign</td>
|
||||
<td>Edited QSOs not uploaded</td>
|
||||
<td>Total QSOs not uploaded</td>
|
||||
<td>Total QSOs uploaded</td>
|
||||
<td>Actions</td>
|
||||
<td>' . __("Profile name") . '</td>
|
||||
<td>' . __("Station callsign") . '</td>
|
||||
<td>' . __("Edited QSOs not uploaded") . '</td>
|
||||
<td>' . __("Total QSOs not uploaded") . '</td>
|
||||
<td>' . __("Total QSOs uploaded") . '</td>
|
||||
<td>' . __("Actions") . '</td>
|
||||
</thead>
|
||||
<tbody>';
|
||||
foreach ($station_profile->result() as $station) { // Fills the table with the data
|
||||
@@ -47,7 +47,7 @@
|
||||
echo '<td id ="notcount'.$station->station_id.'">' . $station->notcount . '</td>';
|
||||
echo '<td id ="totcount'.$station->station_id.'">' . $station->totcount . '</td>';
|
||||
if (!($this->config->item('disable_manual_hrdlog'))) {
|
||||
echo '<td><button id="HrdlogUpload" type="button" name="HrdlogUpload" class="btn btn-primary btn-sm ld-ext-right ld-ext-right-'.$station->station_id.'" onclick="ExportHrd('. $station->station_id .')"><i class="fas fa-cloud-upload-alt"></i> Upload<div class="ld ld-ring ld-spin"></div></button></td>';
|
||||
echo '<td><button id="HrdlogUpload" type="button" name="HrdlogUpload" class="btn btn-primary btn-sm ld-ext-right ld-ext-right-'.$station->station_id.'" onclick="ExportHrd('. $station->station_id .')"><i class="fas fa-cloud-upload-alt"></i> ' . __("Upload") . '<div class="ld ld-ring ld-spin"></div></button></td>';
|
||||
} else {
|
||||
echo '<td> </td>';
|
||||
}
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
}
|
||||
else {
|
||||
echo '<div class="alert alert-danger" role="alert">No Station Locations with valid HRDlog-Settings found. Check the HRDlog Credentials in the Station Location Settings!</div>';
|
||||
echo '<div class="alert alert-danger" role="alert">' . __("No Station Locations with valid HRDlog-Settings found. Check the HRDlog Credentials in the Station Location Settings!") . '</div>';
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -66,12 +66,12 @@
|
||||
|
||||
<form class="form" action="<?php echo site_url('hrdlog/mark_hrdlog'); ?>" method="post" enctype="multipart/form-data">
|
||||
<select name="station_profile" class="form-select mb-4 me-sm-4" style="width: 30%;">
|
||||
<option disabled value="0">Select Station Location</option>
|
||||
<option disabled value="0"><?= __("Select Station Location"); ?></option>
|
||||
<?php foreach ($station_profiles->result() as $station) { ?>
|
||||
<option <?php if ($station->station_active) { echo "selected "; } ?>value="<?php echo $station->station_id; ?>">Callsign: <?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<p><span class="badge text-bg-warning">Warning</span> If a date range is not selected then all QSOs will be marked!</p>
|
||||
<p><span class="badge text-bg-warning"><?= __("Warning"); ?></span> <?= __("If a date range is not selected then all QSOs will be marked!"); ?></p>
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<label for="from"><?= __("From date") . ": " ?></label>
|
||||
@@ -84,7 +84,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<button type="submit" class="btn btn-sm btn-primary" value="Export">Mark QSOs as exported to HRDLog Logbook</button>
|
||||
<button type="submit" class="btn btn-sm btn-primary" value="Export"><?= __("Mark QSOs as exported to HRDLog Logbook"); ?></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
QSOs marked
|
||||
<?= __("QSOs marked"); ?>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h3 class="card-title">Yay, it's done!</h3>
|
||||
<p class="card-text">The QSOs are marked as exported to HRDLog Logbook.</p>
|
||||
<h3 class="card-title"><?= __("Yay, it's done!"); ?></h3>
|
||||
<p class="card-text"><?= __("The QSOs are marked as exported to HRDLog Logbook."); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
var option_map_tile_server = '<?php echo $this->optionslib->get_option('option_map_tile_server');?>';
|
||||
var option_map_tile_server_copyright = '<?php echo $this->optionslib->get_option('option_map_tile_server_copyright');?>';
|
||||
var lang_datatables_language = '<?= __("en-GB"); ?>';
|
||||
var lang_datatables_language = 'en-GB';
|
||||
|
||||
var base_url = "<?php echo base_url(); ?>"; // Base URL
|
||||
var site_url = "<?php echo site_url(); ?>"; // Site URL
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
<span class="badge text-bg-danger"><?= __("Developer Mode"); ?></span>
|
||||
<?php } ?>
|
||||
<?php if (ENVIRONMENT == "maintenance") { ?>
|
||||
<span class="badge text-bg-info">Maintenance</span>
|
||||
<span class="badge text-bg-info"><?= __("Maintenance Mode"); ?></span>
|
||||
<?php } ?>
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
||||
@@ -154,7 +154,7 @@
|
||||
<li class="nav-item dropdown"> <!-- AWARDS -->
|
||||
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#"><?= __("Awards"); ?></a>
|
||||
<ul class="dropdown-menu header-dropdown">
|
||||
<li><a class="dropdown-item dropdown-toggle" data-bs-toggle="dropdown" href="#"><i class="fas fa-globe"></i> International</a>
|
||||
<li><a class="dropdown-item dropdown-toggle" data-bs-toggle="dropdown" href="#"><i class="fas fa-globe"></i> <?= __("International"); ?></a>
|
||||
<ul class="submenu dropdown-menu">
|
||||
<li><a class="dropdown-item" href="<?php echo site_url('awards/cq'); ?>"><i class="fas fa-trophy"></i> <?= __("CQ"); ?></a></li>
|
||||
<div class="dropdown-divider"></div>
|
||||
@@ -272,7 +272,7 @@
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('update'); ?>" title="Update Country Files"><i class="fas fa-sync"></i> <?= __("Update Country Files"); ?></a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('cron'); ?>" title="Cron Manager"><i class="fas fa-clock"></i> Cron Manager</a>
|
||||
<a class="dropdown-item" href="<?php echo site_url('cron'); ?>" title="Cron Manager"><i class="fas fa-clock"></i> <?= __("Cron Manager"); ?></a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="<?php echo site_url('debug'); ?>" title="Debug Information"><i class="fas fa-tools"></i> <?= __("Debug Information"); ?></a>
|
||||
</div>
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
|
||||
<!-- Label Name Input -->
|
||||
<div class="mb-3">
|
||||
<label for="LabelName">Label Name</label>
|
||||
<label for="LabelName"><?= __("Label Name"); ?></label>
|
||||
<input name="label_name" type="text" class="form-control" id="LabelName" aria-describedby="label_nameHelp" placeholder="Code 925041 6x3 Generic Label Sheet">
|
||||
<small id="label_nameHelp" class="form-text text-muted">Label name used for display purposes, so pick something meaningful, perhaps the label style.</small>
|
||||
<small id="label_nameHelp" class="form-text text-muted"><?= __("Label name used for display purposes, so pick something meaningful, perhaps the label style."); ?></small>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="paperType_id">Paper Type</label>
|
||||
<label class="col-sm-2 col-form-label" for="paperType_id"><?= __("Paper Type"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select name="paper_type_id" class="form-select" id="paperType_id">
|
||||
<?php
|
||||
@@ -36,85 +36,85 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="measurementType">Measurement used</label>
|
||||
<label class="col-sm-2 col-form-label" for="measurementType"><?= __("Measurement used"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select name="measurementType" class="form-select" id="measurementType">
|
||||
<option value="mm">Millimeters</option>
|
||||
<option value="in">Inches</option>
|
||||
<option value="mm"><?= __("Millimeters"); ?></option>
|
||||
<option value="in"><?= __("Inches"); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="marginTop">Margin Top</label>
|
||||
<label class="col-sm-2 col-form-label" for="marginTop"><?= __("Margin Top"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="marginTop" type="text" class="form-control" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required id="marginTop" aria-describedby="marginTopHelp">
|
||||
<small id="marginTopHelp" class="form-text text-muted">Top margin of labels</small>
|
||||
<small id="marginTopHelp" class="form-text text-muted"><?= __("Top margin of labels"); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="marginLeft">Margin Left</label>
|
||||
<label class="col-sm-2 col-form-label" for="marginLeft"><?= __("Margin Left"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="marginLeft" type="text" class="form-control" id="marginLeft" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required aria-describedby="marginLeftHelp">
|
||||
<small id="marginLeftHelp" class="form-text text-muted">Left margin of labels.</small>
|
||||
<small id="marginLeftHelp" class="form-text text-muted"><?= __("Left margin of labels."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="NX">Labels horizontally</label>
|
||||
<label class="col-sm-2 col-form-label" for="NX"><?= __("Labels horizontally"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="NX" type="number" min="1" max="40" step="1" required class="form-control" id="NX" aria-describedby="NXHelp">
|
||||
<small id="NXHelp" class="form-text text-muted">Number of labels horizontally across the page.</small>
|
||||
<small id="NXHelp" class="form-text text-muted"><?= __("Number of labels horizontally across the page."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="NY">Labels vertically</label>
|
||||
<label class="col-sm-2 col-form-label" for="NY"><?= __("Labels vertically"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="NY" type="number" min="1" max="40" step="1" required class="form-control" id="NY" aria-describedby="NYHelp">
|
||||
<small id="NYHelp" class="form-text text-muted">Number of labels vertically across the page.</small>
|
||||
<small id="NYHelp" class="form-text text-muted"><?= __("Number of labels vertically across the page."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="SpaceX">Horizontal space</label>
|
||||
<label class="col-sm-2 col-form-label" for="SpaceX"><?= __("Horizontal space"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="SpaceX" type="text" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required class="form-control" id="SpaceX">
|
||||
<small id="NYHelp" class="form-text text-muted">Horizontal space between 2 labels.</small>
|
||||
<small id="NYHelp" class="form-text text-muted"><?= __("Horizontal space between 2 labels."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="SpaceY">Vertical space</label>
|
||||
<label class="col-sm-2 col-form-label" for="SpaceY"><?= __("Vertical space"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="SpaceY" type="text" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required class="form-control" id="SpaceY">
|
||||
<small id="NYHelp" class="form-text text-muted">Vertical space between 2 labels.</small>
|
||||
<small id="NYHelp" class="form-text text-muted"><?= __("Vertical space between 2 labels."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="width">Width of label</label>
|
||||
<label class="col-sm-2 col-form-label" for="width"><?= __("Width of label"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="width" type="text" class="form-control" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required id="width" aria-describedby="widthHelp">
|
||||
<small id="widthHelp" class="form-text text-muted">Total width of one label.</small>
|
||||
<small id="widthHelp" class="form-text text-muted"><?= __("Total width of one label."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="height">Height of label</label>
|
||||
<label class="col-sm-2 col-form-label" for="height"><?= __("Height of label"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="height" type="text" class="form-control" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required id="height" aria-describedby="heightHelp">
|
||||
<small id="heightHelp" class="form-text text-muted">Total height of one label</small>
|
||||
<small id="heightHelp" class="form-text text-muted"><?= __("Total height of one label"); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="font_size">Font Size</label>
|
||||
<label class="col-sm-2 col-form-label" for="font_size"><?= __("Font Size"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="font_size" type="number" min="1" max="40" step="1" required class="form-control" id="font_size" value="8" aria-describedby="font_sizeHelp">
|
||||
<small id="font_sizeHelp" class="form-text text-muted">Font size used on the label don't go too big.</small>
|
||||
<small id="font_sizeHelp" class="form-text text-muted"><?= __("Font size used on the label don't go too big."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="font_size">QSOs on label</label>
|
||||
<label class="col-sm-2 col-form-label" for="font_size"><?= __("QSOs on label"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="label_qsos" type="number" min="1" max="40" step="1" required class="form-control" id="font_size" value="5" aria-describedby="font_sizeHelp">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Save Label Type</button>
|
||||
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?= __("Save Label Type"); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -33,46 +33,46 @@
|
||||
|
||||
<!-- Label Name Input -->
|
||||
<div class="mb-3 row">
|
||||
<label class= "col-sm-2 col-form-label" for="PaperName">Paper Type Name</label>
|
||||
<label class= "col-sm-2 col-form-label" for="PaperName"><?= __("Paper Type Name"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="paper_name" type="text" class="form-control" id="PaperName" aria-describedby="paper_nameHelp">
|
||||
<small id="paper_nameHelp" class="form-text text-muted">Paper name used for display purposes, so pick something meaningful.</small>
|
||||
<small id="paper_nameHelp" class="form-text text-muted"><?= __("Paper name used for display purposes, so pick something meaningful."); ?></small>
|
||||
</div>
|
||||
<label class="col-sm-2 col-form-label" for="measurementType">Measurement used</label>
|
||||
<label class="col-sm-2 col-form-label" for="measurementType"><?= __("Measurement used"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select name="measurementType" class="form-select" id="measurementType">
|
||||
<option selected value="mm">Millimeters</option>
|
||||
<option value="in">Inches</option>
|
||||
<option selected value="mm"><?= __("Millimeters"); ?></option>
|
||||
<option value="in"><?= __("Inches"); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="width">Width of paper</label>
|
||||
<label class="col-sm-2 col-form-label" for="width"><?= __("Width of paper"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="width" type="text" class="form-control" pattern="[0-9]+([\.,][0-9]+)?" required step="0.01" id="width" aria-describedby="widthHelp">
|
||||
<small id="widthHelp" class="form-text text-muted">Total width of paper.</small>
|
||||
<small id="widthHelp" class="form-text text-muted"><?= __("Total width of paper."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="height">Height of paper</label>
|
||||
<label class="col-sm-2 col-form-label" for="height"><?= __("Height of paper"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="height" type="text" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required class="form-control" id="height" aria-describedby="heightHelp">
|
||||
<small id="heightHelp" class="form-text text-muted">Total height of paper</small>
|
||||
<small id="heightHelp" class="form-text text-muted"><?= __("Total height of paper"); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="orientation">Orientation of paper</label>
|
||||
<label class="col-sm-2 col-form-label" for="orientation"><?= __("Orientation of paper"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select name="orientation" class="form-select" id="orientation">
|
||||
<option value="L">Landscape</option>
|
||||
<option value="P">Portrait</option>
|
||||
<option value="L"><?= _pgettext("Orientation", "Landscape"); ?></option>
|
||||
<option value="P"><?= _pgettext("Orientation", "Portrait"); ?></option>
|
||||
</select>
|
||||
<small id="heightHelp" class="form-text text-muted">Orientation of paper</small>
|
||||
<small id="heightHelp" class="form-text text-muted"><?= __("Orientation of paper"); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Save Paper Type</button>
|
||||
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?= __("Save Paper Type"); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
|
||||
<!-- Label Name Input -->
|
||||
<div class="mb-3">
|
||||
<label for="LabelName">Label Name</label>
|
||||
<label for="LabelName"><?= __("Label Name"); ?></label>
|
||||
<input name="label_name" type="text" class="form-control" required id="LabelName" aria-describedby="label_nameHelp" placeholder="Code 925041 6x3 Generic Label Sheet" value="<?php if(isset($label->label_name)) { echo $label->label_name; } ?>">
|
||||
<small id="label_nameHelp" class="form-text text-muted">Label name used for display purposes so pick something meaningful perhaps the label style.</small>
|
||||
<small id="label_nameHelp" class="form-text text-muted"><?= __("Label name used for display purposes so pick something meaningful perhaps the label style."); ?></small>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="paperType_id">Paper Type</label>
|
||||
<label class="col-sm-2 col-form-label" for="paperType_id"><?= __("Paper Type"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select name="paper_type_id" class="form-select" id="paperType_id">
|
||||
<?php
|
||||
@@ -38,84 +38,84 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="measurementType">Measurement used</label>
|
||||
<label class="col-sm-2 col-form-label" for="measurementType"><?= __("Measurement used"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select name="measurementType" class="form-select" id="measurementType">
|
||||
<option value="mm" <?php if($label->metric == "mm") { echo "selected=\"selected\""; } ?>>Millimeters</option>
|
||||
<option value="in" <?php if($label->metric == "in") { echo "selected=\"selected\""; } ?>>Inches</option>
|
||||
<option value="mm" <?php if($label->metric == "mm") { echo "selected=\"selected\""; } ?>><?= __("Millimeters"); ?></option>
|
||||
<option value="in" <?php if($label->metric == "in") { echo "selected=\"selected\""; } ?>><?= __("Inches"); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="marginTop">Margin Top</label>
|
||||
<label class="col-sm-2 col-form-label" for="marginTop"><?= __("Margin Top"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="marginTop" type="text" class="form-control" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required id="marginTop" aria-describedby="marginTopHelp" value="<?php if(isset($label->margintop)) { echo $label->margintop; } ?>">
|
||||
<small id="marginTopHelp" class="form-text text-muted">Top margin of labels</small>
|
||||
<small id="marginTopHelp" class="form-text text-muted"><?= __("Top margin of labels"); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="marginLeft">Margin Left</label>
|
||||
<label class="col-sm-2 col-form-label" for="marginLeft"><?= __("Margin Left"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="marginLeft" type="text" class="form-control" id="marginLeft" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required aria-describedby="marginLeftHelp" value="<?php if(isset($label->marginleft)) { echo $label->marginleft; } ?>">
|
||||
<small id="marginLeftHelp" class="form-text text-muted">Left margin of labels.</small>
|
||||
<small id="marginLeftHelp" class="form-text text-muted"><?= __("Left margin of labels."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="NX">Labels horizontally</label>
|
||||
<label class="col-sm-2 col-form-label" for="NX"><?= __("Labels horizontally"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="NX" type="number" min="1" max="40" step="1" class="form-control" required id="NX" aria-describedby="NXHelp" value="<?php if(isset($label->nx)) { echo $label->nx; } ?>">
|
||||
<small id="NXHelp" class="form-text text-muted">Number of labels horizontally across the page.</small>
|
||||
<small id="NXHelp" class="form-text text-muted"><?= __("Number of labels horizontally across the page."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="NY">Labels vertically</label>
|
||||
<label class="col-sm-2 col-form-label" for="NY"><?= __("Labels vertically"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="NY" type="number" min="1" max="40" step="1" class="form-control" id="NY" required aria-describedby="NYHelp" value="<?php if(isset($label->ny)) { echo $label->ny; } ?>">
|
||||
<small id="NYHelp" class="form-text text-muted">Number of labels vertically across the page.</small>
|
||||
<small id="NYHelp" class="form-text text-muted"><?= __("Number of labels vertically across the page."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="SpaceX">Horizontal space</label>
|
||||
<label class="col-sm-2 col-form-label" for="SpaceX"><?= __("Horizontal space"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="SpaceX" type="text" class="form-control" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required id="SpaceX" value="<?php if(isset($label->spacex)) { echo $label->spacex; } ?>">
|
||||
<small id="NYHelp" class="form-text text-muted">Horizontal space between 2 labels.</small>
|
||||
<small id="NYHelp" class="form-text text-muted"><?= __("Horizontal space between 2 labels."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="SpaceY">Vertical space</label>
|
||||
<label class="col-sm-2 col-form-label" for="SpaceY"><?= __("Vertical space"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="SpaceY" type="text" class="form-control" id="SpaceY" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required value="<?php if(isset($label->spacey)) { echo $label->spacey; } ?>">
|
||||
<small id="NYHelp" class="form-text text-muted">Vertical space between 2 labels.</small>
|
||||
<small id="NYHelp" class="form-text text-muted"><?= __("Vertical space between 2 labels."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="width">Width of label</label>
|
||||
<label class="col-sm-2 col-form-label" for="width"><?= __("Width of label"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="width" type="text" class="form-control" id="width" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required aria-describedby="widthHelp" value="<?php if(isset($label->width)) { echo $label->width; } ?>">
|
||||
<small id="widthHelp" class="form-text text-muted">Total width of one label.</small>
|
||||
<small id="widthHelp" class="form-text text-muted"><?= __("Total width of one label."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="height">Height of label</label>
|
||||
<label class="col-sm-2 col-form-label" for="height"><?= __("Height of label"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="height" type="text" class="form-control" id="height" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required aria-describedby="heightHelp" value="<?php if(isset($label->height)) { echo $label->height; } ?>">
|
||||
<small id="heightHelp" class="form-text text-muted">Total height of one label</small>
|
||||
<small id="heightHelp" class="form-text text-muted"><?= __("Total height of one label"); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="font_size">Font Size</label>
|
||||
<label class="col-sm-2 col-form-label" for="font_size"><?= __("Font Size"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="font_size" type="number" min="1" max="40" step="1" class="form-control" id="font_size" required aria-describedby="font_sizeHelp" value="<?php if(isset($label->font_size)) { echo $label->font_size; } ?>">
|
||||
<small id="font_sizeHelp" class="form-text text-muted">Font size used on the label don't go too big.</small>
|
||||
<small id="font_sizeHelp" class="form-text text-muted"><?= __("Font size used on the label don't go too big."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="font_size">QSOs on label</label>
|
||||
<label class="col-sm-2 col-form-label" for="font_size"><?= __("QSOs on label"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="label_qsos" type="number" min="1" max="40" step="1" class="form-control" id="label_qsos" required aria-describedby="font_sizeHelp" value="<?php if(isset($label->qsos)) { echo $label->qsos; } ?>">
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Save Label Type</button>
|
||||
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?= __("Save Label Type"); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -33,46 +33,46 @@
|
||||
|
||||
<!-- Label Name Input -->
|
||||
<div class="mb-3 row">
|
||||
<label class= "col-sm-2 col-form-label" for="PaperName">Paper Type Name</label>
|
||||
<label class= "col-sm-2 col-form-label" for="PaperName"><?= __("Paper Type Name"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="paper_name" type="text" class="form-control" id="PaperName" aria-describedby="paper_nameHelp" value="<?php if(isset($paper->paper_name)) { echo $paper->paper_name; } ?>">
|
||||
<small id="paper_nameHelp" class="form-text text-muted">Paper name used for display purposes, so pick something meaningful.</small>
|
||||
<small id="paper_nameHelp" class="form-text text-muted"><?= __("Paper name used for display purposes, so pick something meaningful."); ?></small>
|
||||
</div>
|
||||
<label class="col-sm-2 col-form-label" for="measurementType">Measurement used</label>
|
||||
<label class="col-sm-2 col-form-label" for="measurementType"><?= __("Measurement used"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select name="measurementType" class="form-select" id="measurementType">
|
||||
<option value="mm" <?php if($paper->metric == "mm") { echo "selected=\"selected\""; } ?>>Millimeters</option>
|
||||
<option value="in" <?php if($paper->metric == "in") { echo "selected=\"selected\""; } ?>>Inches</option>
|
||||
<option value="mm" <?php if($paper->metric == "mm") { echo "selected=\"selected\""; } ?>><?= __("Millimeters"); ?></option>
|
||||
<option value="in" <?php if($paper->metric == "in") { echo "selected=\"selected\""; } ?>><?= __("Inches"); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="width">Width of paper</label>
|
||||
<label class="col-sm-2 col-form-label" for="width"><?= __("Width of paper"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="width" type="text" class="form-control" id="width" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required aria-describedby="widthHelp" value="<?php if(isset($paper->width)) { echo $paper->width; } ?>">
|
||||
<small id="widthHelp" class="form-text text-muted">Total width of paper.</small>
|
||||
<small id="widthHelp" class="form-text text-muted"><?= __("Total width of paper."); ?></small>
|
||||
</div>
|
||||
|
||||
<label class="col-sm-2 col-form-label" for="height">Height of paper</label>
|
||||
<label class="col-sm-2 col-form-label" for="height"><?= __("Height of paper"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<input name="height" type="text" class="form-control" id="height" pattern="[0-9]+([\.,][0-9]+)?" step="0.01" required aria-describedby="heightHelp" value="<?php if(isset($paper->height)) { echo $paper->height; } ?>">
|
||||
<small id="heightHelp" class="form-text text-muted">Total width of paper.</small>
|
||||
<small id="heightHelp" class="form-text text-muted"><?= __("Total width of paper."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3 row">
|
||||
<label class="col-sm-2 col-form-label" for="orientation">Orientation of paper</label>
|
||||
<label class="col-sm-2 col-form-label" for="orientation"><?= __("Orientation of paper"); ?></label>
|
||||
<div class="col-sm-4">
|
||||
<select name="orientation" class="form-select" id="orientation">
|
||||
<option value="L"<?php if($paper->orientation == 'L') { echo " selected"; } ?>>Landscape</option>
|
||||
<option value="P"<?php if($paper->orientation == 'P') { echo " selected"; } ?>>Portrait</option>
|
||||
<option value="L"<?php if($paper->orientation == 'L') { echo " selected"; } ?>><?= _pgettext("Orientation", "Landscape"); ?></option>
|
||||
<option value="P"<?php if($paper->orientation == 'P') { echo " selected"; } ?>><?= _pgettext("Orientation", "Portrait"); ?></option>
|
||||
</select>
|
||||
<small id="heightHelp" class="form-text text-muted">Orientation of paper</small>
|
||||
<small id="heightHelp" class="form-text text-muted"><?= __("Orientation of paper"); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Save Paper Type</button>
|
||||
<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> <?= __("Save Paper Type"); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -23,25 +23,25 @@
|
||||
<?php } ?>
|
||||
|
||||
<div class="card">
|
||||
<h2 class="card-header">QSL Card Labels</h2>
|
||||
<h2 class="card-header"><?= __("QSL Card Labels"); ?></h2>
|
||||
|
||||
<div class="card-body">
|
||||
<a href="<?php echo site_url('labels/create'); ?>" class="btn btn-primary btn-sm"><i class="fas fa-plus"> </i> Create New Label Type</a>
|
||||
<a href="<?php echo site_url('labels/createpaper'); ?>" class="btn btn-primary btn-sm"><i class="fas fa-plus"> </i> Create New Paper Type</a>
|
||||
<a href="<?php echo site_url('labels/create'); ?>" class="btn btn-primary btn-sm"><i class="fas fa-plus"> </i> <?= __("Create New Label Type"); ?></a>
|
||||
<a href="<?php echo site_url('labels/createpaper'); ?>" class="btn btn-primary btn-sm"><i class="fas fa-plus"> </i> <?= __("Create New Paper Type"); ?></a>
|
||||
<br><br>
|
||||
<?php if ($papertypes) { ?>
|
||||
<h4>Paper types</h4>
|
||||
<h4><?= __("Paper types"); ?></h4>
|
||||
<table style="width:100%" class="table-sm table labeltable table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Measurement</th>
|
||||
<th>Width</th>
|
||||
<th>Height</th>
|
||||
<th>Used by labels</th>
|
||||
<th>Orientation</th>
|
||||
<th>Edit</th>
|
||||
<th>Delete</th>
|
||||
<th><?= __("Name"); ?></th>
|
||||
<th><?= __("Measurement"); ?></th>
|
||||
<th><?= __("Width"); ?></th>
|
||||
<th><?= __("Height"); ?></th>
|
||||
<th><?= __("Used by labels"); ?></th>
|
||||
<th><?= __("Orientation"); ?></th>
|
||||
<th><?= __("Edit"); ?></th>
|
||||
<th><?= __("Delete"); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -53,7 +53,7 @@
|
||||
<td><?php echo $paper->width; ?></td>
|
||||
<td><?php echo $paper->height; ?></td>
|
||||
<td><?php echo $paper->lbl_cnt ?? '0' ?></td>
|
||||
<td><?php echo $paper->orientation == 'P' ? 'Portrait': 'Landscape'; ?></td>
|
||||
<td><?php echo $paper->orientation == 'P' ? _pgettext("Orientation", "Portrait"): _pgettext("Orientation", "Landscape"); ?></td>
|
||||
<td><a href="<?php echo site_url('labels/editpaper/' . $paper->paper_id); ?>" class="btn btn-outline-primary btn-sm"><i class="fas fa-edit"></i></a></td>
|
||||
<td><a href="javascript:deletepaper(<?php echo $paper->paper_id; ?>);" class="btn btn-outline-danger btn-sm"><i class="fas fa-trash-alt"></i></a></td>
|
||||
</tr>
|
||||
@@ -64,20 +64,20 @@
|
||||
|
||||
<?php if ($labels) { ?>
|
||||
<br>
|
||||
<h4>Label types</h4>
|
||||
<h4><?= __("Label types"); ?></h4>
|
||||
<table style="width:100%" class="table-sm table labeltable table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Paper Type</th>
|
||||
<th>Measurement</th>
|
||||
<th>Width</th>
|
||||
<th>Height</th>
|
||||
<th>Font Size</th>
|
||||
<th>QSOs</th>
|
||||
<th>Use For Print</th>
|
||||
<th>Edit</th>
|
||||
<th>Delete</th>
|
||||
<th><?= __("Name"); ?></th>
|
||||
<th><?= __("Paper Type"); ?></th>
|
||||
<th><?= __("Measurement"); ?></th>
|
||||
<th><?= __("Width"); ?></th>
|
||||
<th><?= __("Height"); ?></th>
|
||||
<th><?= __("Font Size"); ?></th>
|
||||
<th><?= __("QSOs"); ?></th>
|
||||
<th><?= __("Use For Print"); ?></th>
|
||||
<th><?= __("Edit"); ?></th>
|
||||
<th><?= __("Delete"); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -85,7 +85,7 @@
|
||||
foreach($labels as $label) { ?>
|
||||
<tr class='label_<?php echo $label->id ?>'>
|
||||
<td><?php echo $label->label_name; ?></td>
|
||||
<td><?php echo $label->paper_name ?? '<span class="badge text-bg-danger">No paper assigned</span>' ?></td>
|
||||
<td><?php echo $label->paper_name ?? '<span class="badge text-bg-danger">' . __("No paper assigned") . '</span>' ?></td>
|
||||
<td><?php echo $label->metric; ?></td>
|
||||
<td><?php echo $label->width; ?></td>
|
||||
<td><?php echo $label->height; ?></td>
|
||||
@@ -110,18 +110,18 @@
|
||||
<br><br>
|
||||
|
||||
<div class="card">
|
||||
<h2 class="card-header">QSL Card Labels Pending</h2>
|
||||
<h2 class="card-header"><?= __("QSL Card Labels Pending"); ?></h2>
|
||||
|
||||
<div class="card-body">
|
||||
<table style="width:100%" class="table-sm table table-bordered table-hover table-striped table-condensed text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Callsign</th>
|
||||
<th>Station Location</th>
|
||||
<th>Gridsquare</th>
|
||||
<th>QSOs Waiting</th>
|
||||
<th>View QSOs</th>
|
||||
<th>Print</th>
|
||||
<th><?= __("Callsign"); ?></th>
|
||||
<th><?= __("Station Location"); ?></th>
|
||||
<th><?= __("Gridsquare"); ?></th>
|
||||
<th><?= __("QSOs Waiting"); ?></th>
|
||||
<th><?= __("View QSOs"); ?></th>
|
||||
<th><?= __("Print"); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
<form method="post" class="col-md" action="<?php echo site_url('labels/print/' . $stationid) ?>" target="_blank">
|
||||
<div class="mb-3 row">
|
||||
<label for="grid">Include Grid?</label>
|
||||
<label for="grid"><?= __("Include Grid?"); ?></label>
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="grid" id="grid">
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="reference">Include reference? (SIG, SOTA, POTA, IOTA, WWFF; If available in location)</label>
|
||||
<label for="reference"><?= __("Include reference? (SIG, SOTA, POTA, IOTA, WWFF; If available in location)"); ?></label>
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="reference" id="reference">
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="via">Include Via (if filled)?</label>
|
||||
<label for="via"><?= __("Include Via (if filled)?"); ?></label>
|
||||
<div class="form-check-inline">
|
||||
<input class="form-check-input" type="checkbox" name="via" id="via">
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-3 row">
|
||||
<label for="startat">Start printing at?</label>
|
||||
<label for="startat"><?= __("Start printing at?"); ?></label>
|
||||
<div class="d-flex align-items-center">
|
||||
<input class="form-control input-group-sm" type="number" id="startat" name="startat" value="1">
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-start">
|
||||
<button type="submit" id="button1id" name="button1id" class="btn btn-primary ld-ext-right">Print</button>
|
||||
<button type="submit" id="button1id" name="button1id" class="btn btn-primary ld-ext-right"><?= __("Print"); ?></button>
|
||||
</div>
|
||||
</form>
|
||||
@@ -121,7 +121,7 @@ $ci =& get_instance();
|
||||
<th>QRZ</th>
|
||||
<?php } ?>
|
||||
<?php if($this->session->userdata('user_clublog_name') != ''){ ?>
|
||||
<th>Clublog</th>
|
||||
<th><?= __("Clublog"); ?></th>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<th><?= __("Station"); ?></th>
|
||||
|
||||
@@ -322,7 +322,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md">
|
||||
<div class="card">
|
||||
<h5 class="card-header">ClubLog</h5> <!-- This does not need Multilanguage Support -->
|
||||
<h5 class="card-header"><?= __("Clublog"); ?></h5> <!-- This does not need Multilanguage Support -->
|
||||
<div class="card-body">
|
||||
<div class="mb-3">
|
||||
<label for="clublogignore"><?= __("Ignore Clublog Upload"); ?></label>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane fade show active" id="dxcc" role="tabpanel" aria-labelledby="dxcc-tab">
|
||||
<p class="card-text">Here you can update the DXCC lookup data that is used for displaying callsign information.</p>
|
||||
<p class="card-text">This data is provided by <a href="https://clublog.org/">Clublog</a>.</p>
|
||||
<p class="card-text">This data is provided by <a href="https://clublog.org/"><?= __("Clublog"); ?></a>.</p>
|
||||
|
||||
<?php if(!extension_loaded('xml')) { ?>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
|
||||
@@ -563,7 +563,7 @@
|
||||
<option value="1" <?php if ($user_previous_qsl_type == 1) { echo " selected =\"selected\""; } ?>><?= __("LoTW"); ?></option>
|
||||
<option value="2" <?php if ($user_previous_qsl_type == 2) { echo " selected =\"selected\""; } ?>><?= __("eQSL"); ?></option>
|
||||
<option value="4" <?php if ($user_previous_qsl_type == 4) { echo " selected =\"selected\""; } ?>>QRZ</option>
|
||||
<option value="8" <?php if ($user_previous_qsl_type == 8) { echo " selected =\"selected\""; } ?>>Clublog</option>
|
||||
<option value="8" <?php if ($user_previous_qsl_type == 8) { echo " selected =\"selected\""; } ?>><?= __("Clublog"); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -680,7 +680,7 @@
|
||||
echo ' checked';
|
||||
}
|
||||
echo '>'; ?>
|
||||
<label class="form-check-label" for="user_default_confirmation_clublog">Clublog</label>
|
||||
<label class="form-check-label" for="user_default_confirmation_clublog"><?= __("Clublog"); ?></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -80,7 +80,7 @@ function echo_table_col($row, $name) {
|
||||
<th>QRZ</th>
|
||||
<?php } ?>
|
||||
<?php if ( strpos($this->session->userdata('user_default_confirmation'),'C') !== false ) { ?>
|
||||
<th>Clublog</th>
|
||||
<th><?= __("Clublog"); ?></th>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<th><?= __("Station"); ?></th>
|
||||
|
||||
@@ -420,7 +420,7 @@
|
||||
<?php } ?>
|
||||
|
||||
<?php if($row->COL_CLUBLOG_QSO_DOWNLOAD_STATUS == "Y" && $row->COL_CLUBLOG_QSO_DOWNLOAD_DATE != null) { ?>
|
||||
<h3>Clublog</h3>
|
||||
<h3><?= __("Clublog"); ?></h3>
|
||||
<p><?= __("This QSO was confirmed on"); ?> <?php $timestamp = strtotime($row->COL_CLUBLOG_QSO_DOWNLOAD_DATE); echo date($custom_date_format, $timestamp); ?>.</p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user