tazlito rev 409
live.cgi: allow to choose only ISO images in file choosers
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 08 13:40:42 2015 +0200 (2015-12-08) |
parents | 2db3711ea1b0 |
children | b75c89be345f |
files | live.cgi |
line diff
1.1 --- a/live.cgi Sun Dec 06 20:08:51 2015 +0100 1.2 +++ b/live.cgi Tue Dec 08 13:40:42 2015 +0200 1.3 @@ -308,7 +308,7 @@ 1.4 <table> 1.5 <tr><td> 1.6 $(_ 'ISO to convert') 1.7 - $(file_chooser "input" "$inputiso" "cd") 1.8 + $(file_chooser 'input' "$inputiso" 'cd' 'application/x-cd-image') 1.9 </td></tr> 1.10 <tr><td> 1.11 <input type="radio" name="type" value="ram" id="type1" checked /> 1.12 @@ -365,7 +365,7 @@ 1.13 <table> 1.14 <tr><td> 1.15 $(_ 'ISO to convert') 1.16 - $(file_chooser "input" "" "cd") 1.17 + $(file_chooser 'input' '' 'cd' 'application/x-cd-image') 1.18 </td></tr> 1.19 </table> 1.20 1.21 @@ -414,7 +414,7 @@ 1.22 <tr> 1.23 <td> 1.24 $(_ 'ISO to add') 1.25 - $(file_chooser "input" "" "cd") 1.26 + $(file_chooser 'input' '' 'cd' 'application/x-cd-image') 1.27 </td> 1.28 <td> 1.29 $(_ 'Minimum RAM:')