renamed option to all and added label

This commit is contained in:
HB9HIL
2024-09-11 10:55:37 +02:00
parent 9cb6b4a176
commit 70d599b50f

View File

@@ -174,8 +174,9 @@
<form class="form" action="<?php echo site_url('adif/export_custom'); ?>" method="post" enctype="multipart/form-data">
<h5 class="card-title"><?= __("Take your logbook file anywhere!") ?> </h5>
<p class="card-text"><?= __("Exporting ADIFs allows you to import contacts into third party applications like LoTW, Awards or just for keeping a backup.") ?> </p>
<div class="small form-text text-muted"><?= __("Select Station Location") ?></div>
<select name="station_profile" class="form-select mb-2 me-sm-2 w-50 w-lg-100">
<option value="0"><?= __("Select Station Location") ?></option>
<option value="0"><?= __("All") ?></option>
<?php foreach ($station_profile->result() as $station) { ?>
<option value="<?php echo $station->station_id; ?>" <?php if ($station->station_id == $this->stations->find_active()) {
echo " selected =\"selected\"";
@@ -183,10 +184,10 @@
<?php } ?>
</select>
<br>
<label for="from"><?= __("From date") . ": " ?></label>
<div class="small form-text text-muted"><?= __("From date") . ":"; ?></div>
<input name="from" id="from" type="date" class="form-control w-auto">
<br>
<label for="to"><?= __("To date") . ": " ?></label>
<div class="small form-text text-muted"><?= __("To date") . ":"; ?></div>
<input name="to" id="to" type="date" class="form-control w-auto">
<br>