Add directive to accept .csv files to file upload field in new.php
This commit is contained in:
parent
e1c7313ca0
commit
1fe3849713
2
new.php
2
new.php
|
@ -44,7 +44,7 @@ echo '
|
||||||
<div class="uploader">
|
<div class="uploader">
|
||||||
<form enctype="multipart/form-data" action="upload.php" method="POST">
|
<form enctype="multipart/form-data" action="upload.php" method="POST">
|
||||||
<label for="fileToUpload">' . $csvxml_overview['select_csv_file_for_upload'] . '</label>
|
<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>
|
<button type="submit">' . $csvxml_overview['upload'] . '</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user