add multifile support

This commit is contained in:
/jedi/ 2019-03-02 02:16:37 +01:00
parent 34cf28a2b2
commit c11edf96c9
4 changed files with 70 additions and 44 deletions

View file

@ -21,7 +21,7 @@
<input type="text" class="form-control" readonly>
</div>
</div>
<img id='img-upload' src="/upload/<?php echo $item["hash"]; ?>"/>
<img id='img-upload' src="/upload/<?php echo $item["files"][0]["hash"]; ?>"/>
</div>
<p><button type="submit" class="form-control" onclick="edit_found_item(); return false;">Save</button></p>
</form>