This is very small addon but really useful for some users.
Find torrents-upload.php that line where choose the .torrent file.
print ("<tr><td align='right'>" . T_("TORRENT_FILE") . ": </td><td align='left'> <input type='file' name='torrent' size='50' value='" . $_FILES['torrent']['name'] . "' />n</td></tr>");
Add accept='.torrent'
print ("<tr><td align='right'>" . T_("TORRENT_FILE") . ": </td><td align='left'> <input type='file' accept='.torrent' name='torrent' size='50' value='" . $_FILES['torrent']['name'] . "' />n</td></tr>");
This helps for users who have a lot of files etc.. stuff because its find only .torrent files.. You can use this for sowhere else too.. Like accept='.nfo' :)
Find torrents-upload.php that line where choose the .torrent file.
print ("<tr><td align='right'>" . T_("TORRENT_FILE") . ": </td><td align='left'> <input type='file' name='torrent' size='50' value='" . $_FILES['torrent']['name'] . "' />n</td></tr>");
Add accept='.torrent'
print ("<tr><td align='right'>" . T_("TORRENT_FILE") . ": </td><td align='left'> <input type='file' accept='.torrent' name='torrent' size='50' value='" . $_FILES['torrent']['name'] . "' />n</td></tr>");
This helps for users who have a lot of files etc.. stuff because its find only .torrent files.. You can use this for sowhere else too.. Like accept='.nfo' :)