mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #2790 from phl0/uploadFileTypesFilter
Filter for file name extensions on various uploads
This commit is contained in:
@@ -369,7 +369,7 @@
|
||||
<div class="small form-text text-muted"><?= __("If unchecked, information about QSOs which could not be found in Wavelog will be displayed.") ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<input class="form-control w-auto mb-2 me-sm-2" type="file" name="userfile" size="20" />
|
||||
<input class="form-control w-auto mb-2 me-sm-2" type="file" name="userfile" size="20" accept=".adi,.ADI,.adif,.ADIF" />
|
||||
<button type="submit" class="btn btn-sm btn-primary mb-2" value="Upload"><?= __("Upload") ?></button>
|
||||
</form>
|
||||
</div>
|
||||
@@ -391,7 +391,7 @@
|
||||
<p><?= sprintf(__("An example for a tool to export the POTA hunter log in ADIF format is %s made by AF0G and available on GitHub."), '<a target="_blank" href="https://github.com/adamfast/pota-hunter-log-adif">'.'pota-hunter-log-adif'.'</a>'); ?></p>
|
||||
<form class="form" action="<?php echo site_url('adif/pota'); ?>" method="post" enctype="multipart/form-data">
|
||||
|
||||
<input class="form-control w-auto mb-2 me-sm-2" type="file" name="userfile" size="20" />
|
||||
<input class="form-control w-auto mb-2 me-sm-2" type="file" name="userfile" size="20" accept=".adi,.ADI,.adif,.ADIF" />
|
||||
<button type="submit" class="btn btn-sm btn-primary mb-2" value="Upload"><?= __("Upload") ?></button>
|
||||
</form>
|
||||
</div>
|
||||
@@ -435,7 +435,7 @@
|
||||
<div class="small form-text text-muted"><?= __("If unchecked, this will erase the default serial number that (for example) N1MM+ produces. If checked, it will correct the serial number if necessary.") ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<input class="form-control w-auto mb-2 me-sm-2" type="file" name="userfile" size="20" />
|
||||
<input class="form-control w-auto mb-2 me-sm-2" type="file" name="userfile" size="20" accept=".cbr,.CBR" />
|
||||
<button type="submit" class="btn btn-sm btn-primary mb-2" value="Upload"><?= __("Upload") ?></button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
} ?>
|
||||
</select>
|
||||
<p><span class="badge bg-info me-1"><?= __("Important"); ?></span><?= __("Log files must have the file type .adi"); ?></p>
|
||||
<input class="form-control mb-2 me-sm-2 mt-1 w-50 w-lg-100" type="file" name="userfile" size="20" />
|
||||
<input class="form-control mb-2 me-sm-2 mt-1 w-50 w-lg-100" type="file" name="userfile" size="20" accept=".adi,.ADI,.adif,.ADIF" />
|
||||
</div>
|
||||
<hr class="divider">
|
||||
<?php if (!($this->config->item('disable_manual_eqsl'))) { ?>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<p><span class="badge text-bg-info"><?= __("Important"); ?></span> <?= __("Log files must have the file type .adi"); ?></p>
|
||||
|
||||
<label class="visually-hidden" for="adiffile"><?= __("Choose file"); ?></label>
|
||||
<input type="file" class="file-input mb-2 me-sm-2" id="adiffile" name="userfile" size="20" />
|
||||
<input type="file" class="file-input mb-2 me-sm-2" id="adiffile" name="userfile" size="20" accept=".adi,.ADI,.adif,.ADIF" />
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<?php echo form_open_multipart('lotw/do_cert_upload');?>
|
||||
<div class="mb-3">
|
||||
<label for="exampleFormControlFile1"><?= __("Upload Logbook of the World .p12 Certificate"); ?></label>
|
||||
<input type="file" name="userfile" class="form-control" id="exampleFormControlFile1">
|
||||
<input type="file" name="userfile" class="form-control" id="exampleFormControlFile1" accept=".p12,.P12">
|
||||
</div>
|
||||
|
||||
<button type="submit" value="upload" class="btn btn-primary"><?= __("Upload File"); ?></button>
|
||||
|
||||
Reference in New Issue
Block a user