mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-11-28 15:56:31 +00:00
Accept .zip and .gz files only
This commit is contained in:
parent
f22a82d6cf
commit
483fe12383
@ -87,7 +87,7 @@ function add_validation() {
|
||||
<div class="form-row">
|
||||
<div class="col-md-6 mb-3">
|
||||
<div class="custom-file">
|
||||
<input type="file" class="custom-file-input" name="extension" id="extension" required>
|
||||
<input type="file" class="custom-file-input" name="extension" id="extension" required accept="application/zip,application/x-gzip,application/x-compressed,application/x-tar">
|
||||
<label class="custom-file-label" for="extension"><?php echo JText::_('COM_JEDCHECKER_UPLOAD_FILE'); ?></label>
|
||||
<div class="invalid-feedback"><?php echo JText::_('COM_JEDCHECKER_EMPTY_UPLOAD_FIELD'); ?></div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user