forked from I2P_Developers/i2p.i2p
Limit file inputs to accepted extensions
This commit is contained in:
@@ -167,7 +167,7 @@ input.default { width: 1px; height: 1px; visibility: hidden; }
|
||||
<td>
|
||||
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
|
||||
<%=intl._t("Select xpi2p or su3 file")%>:
|
||||
<input type="file" name="pluginFile" >
|
||||
<input type="file" name="pluginFile" accept=".xpi2p,.su3" >
|
||||
</td>
|
||||
<td class="optionsave" align="right">
|
||||
<input type="submit" name="action" class="download" value="<%=intl._t("Install Plugin from File")%>" />
|
||||
|
@@ -54,7 +54,7 @@
|
||||
<input type="hidden" name="nonce" value="<%=pageNonce%>" >
|
||||
<td>
|
||||
<%=intl._t("Select zip or su3 file")%>:
|
||||
<input name="file" type="file" value="" />
|
||||
<input name="file" type="file" accept=".zip,.su3" value="" />
|
||||
</td>
|
||||
<td class="optionsave">
|
||||
<input type="submit" name="action" class="download" value="<%=intl._t("Reseed from file")%>" />
|
||||
|
Reference in New Issue
Block a user