mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #951 from AndreasK79/lba_qrzcom
[Advanced Logbook] Added qrz.com status
This commit is contained in:
@@ -51,7 +51,8 @@
|
||||
\"dok\":{\"show\":\"true\"},
|
||||
\"wwff\":{\"show\":\"true\"},
|
||||
\"sig\":{\"show\":\"true\"},
|
||||
\"continent\":{\"show\":\"true\"}
|
||||
\"continent\":{\"show\":\"true\"},
|
||||
\"qrz\":{\"show\":\"true\"}
|
||||
}";
|
||||
}
|
||||
$current_opts = json_decode($options);
|
||||
@@ -108,6 +109,10 @@
|
||||
echo "\nvar o_template = { continent: {show: 'true'}};";
|
||||
echo "\nuser_options={...user_options, ...o_template};";
|
||||
}
|
||||
if (!isset($current_opts->qrz)) {
|
||||
echo "\nvar o_template = { qrz: {show: 'true'}};";
|
||||
echo "\nuser_options={...user_options, ...o_template};";
|
||||
}
|
||||
|
||||
|
||||
foreach ($mapoptions as $mo) {
|
||||
@@ -602,6 +607,9 @@ $options = json_decode($options);
|
||||
} ?>
|
||||
<?php if ($this->session->userdata('user_lotw_name') != "" && ($options->lotw->show ?? "true") == "true") {
|
||||
echo '<th class="lotwconfirmation">LoTW</th>';
|
||||
} ?>
|
||||
<?php if (($options->qrz->show ?? "true") == "true") {
|
||||
echo '<th class="qrz">' . __("QRZ") . '</th>';
|
||||
} ?>
|
||||
<?php if (($options->qslmsg->show ?? "true") == "true") {
|
||||
echo '<th>' . __("QSL Msg") . '</th>';
|
||||
|
||||
@@ -142,6 +142,10 @@
|
||||
<td><?= __("Continent"); ?></td>
|
||||
<td><div class="form-check"><input class="form-check-input" name="continent" type="checkbox" <?php if (($options->continent->show ?? "true") == "true") { echo 'checked'; } ?>></div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?= __("QRZ"); ?></td>
|
||||
<td><div class="form-check"><input class="form-check-input" name="qrz" type="checkbox" <?php if (($options->qrz->show ?? "true") == "true") { echo 'checked'; } ?>></div></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user