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

This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2019-08-30 21:01:00 +02:00
1 parent e1c7313ca0
commit 1fe3849713
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@
<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>