Add directive to accept .csv files to file upload field in new.php

This commit is contained in:
Joshua Ramon Enslin 2019-08-30 21:01:00 +02:00 committed by Stefan Rohde-Enslin
parent e1c7313ca0
commit 1fe3849713

View File

@ -44,7 +44,7 @@ echo '
<div class="uploader">
<form enctype="multipart/form-data" action="upload.php" method="POST">
<label for="fileToUpload">' . $csvxml_overview['select_csv_file_for_upload'] . '</label>
<input name="uploaded" type="file" id="fileToUpload" required />
<input name="uploaded" type="file" accept=".csv" id="fileToUpload" required />
<button type="submit">' . $csvxml_overview['upload'] . '</button>
</form>
</div>