mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Omit filter options in case DCL interface is disabled
This commit is contained in:
@@ -520,6 +520,7 @@ $options = json_decode($options);
|
||||
<option value="V"><?= __("Verified"); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
<?php if ($this->config->item('enable_dcl_interface') ?? false) { ?>
|
||||
<div <?php if (($options->dcl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
|
||||
<label for="dclSent"><?= __("DCL sent"); ?></label>
|
||||
<select id="dclSent" name="dclSent" class="form-select form-select-sm">
|
||||
@@ -538,6 +539,7 @@ $options = json_decode($options);
|
||||
<option value="I"><?= __("Invalid (Ignore)"); ?></option>
|
||||
</select>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div <?php if (($options->qsl->show ?? "true") == "false") { echo 'style="display:none"'; } ?> class="mb-3 col-lg-2 col-md-2 col-sm-3 col-xl">
|
||||
<label for="qslvia"><?= __("QSL via"); ?></label>
|
||||
<input onclick="this.select()" type="search" name="qslvia" class="form-control form-control-sm" value="*" placeholder="<?= __("Empty"); ?>">
|
||||
|
||||
@@ -581,8 +581,8 @@ $(document).ready(function () {
|
||||
clublogReceived: this.clublogReceived.value,
|
||||
eqslSent: this.eqslSent.value,
|
||||
eqslReceived: this.eqslReceived.value,
|
||||
dclSent: this.dclSent.value,
|
||||
dclReceived: this.dclReceived.value,
|
||||
dclSent: (this.hasOwnProperty('dclSent') ? this.dclSent.value : ''),
|
||||
dclReceived: (this.hasOwnProperty('dclReceived') ? this.dclReceived.value : ''),
|
||||
qslvia: $('[name="qslvia"]').val(),
|
||||
sota: this.sota.value,
|
||||
pota: this.pota.value,
|
||||
|
||||
Reference in New Issue
Block a user