1 <div class=
"box box-primary" id=
"control">
2 <div class=
"box-header">
3 <div class=
"col-sm-7" style=
"padding-top:8px;">
4 <i class=
"fa fa-wrench"> </i>
5 <h1 class=
"box-title" style=
"font-weight:bold;" id=
"id_h1_page_title">全局控制插件
</h1>
8 <div class=
"col-sm-2" style=
"padding-top:2px;">
9 <button id=
"id_btn_collapse" class=
"btn btn-sm btn-primary"><i style=
"font-size: 14px;" class=
"fa fa-minus"></i></button>
10 <button id=
"id_btn_expand" class=
"btn btn-sm btn-primary"><i style=
"font-size: 14px;" class=
"fa fa-plus"></i></button>
13 <div class=
"col-sm-1" style=
"padding-top:2px;">
14 <button id=
"id_btn_reset" class=
"btn btn-sm btn-danger btn-del"><i class=
"fa fa-trash"></i><span id=
"id_btn_span_reset">Reset
</span></button>
17 <div class=
"col-sm-2" style=
"font-size:16px;padding-top:8px;">
18 <a id=
"id_a_official_doc" target=
"_blank" href=
"https://www.ventoy.net/cn/plugin_control.html"><span class=
"fa fa-link"></span><span id=
"id_span_official_doc">官网文档
</span></a>
23 <div class=
"box-body">
24 <div class=
"nav-tabs-custom">
25 <ul class=
"nav nav-tabs" id=
"id_tab_control">
26 <li class=
""><a href=
"#tab_0" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold" >control
</a></li>
27 <li class=
""><a href=
"#tab_1" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_legacy
</a></li>
28 <li class=
""><a href=
"#tab_2" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_uefi
</a></li>
29 <li class=
""><a href=
"#tab_3" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_ia32
</a></li>
30 <li class=
""><a href=
"#tab_4" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_aa64
</a></li>
31 <li class=
""><a href=
"#tab_5" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_mips
</a></li>
36 <div class=
"box box-primary box-solid">
37 <div class=
"box-header with-border">
38 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_MENU_LANGUAGE
39 <span id=
"id_span_desc_cn"> —— 菜单语言
</span></h3>
40 <div class=
"box-tools pull-right">
41 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
42 </div><!-- /.box-tools -->
43 </div><!-- /.box-header -->
44 <div class=
"box-body no-padding">
45 <table class=
"table table-bordered no-padding">
46 <tr style=
"font-weight:bold;">
47 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
49 <select id=
"id_ctrl_sel_menu_lang" name=
"name_ctrl_sel_menu_lang" class=
"form-control">
54 <tr id=
"tr_title_desc_cn">
55 <td class=
"td_ctrl_col">选项说明
</td>
57 Ventoy 菜单的语言版本。默认是 "en_US"。
60 <tr id=
"tr_title_desc_en">
61 <td class=
"td_ctrl_col">Option Description
</td>
63 Ventoy menu language. Default is "en_US",
67 </div><!-- /.box-body -->
72 <div class=
"box box-primary box-solid">
73 <div class=
"box-header with-border">
74 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_SEARCH_ROOT
75 <span id=
"id_span_desc_cn"> —— 指定搜索目录
</span></h3>
76 <div class=
"box-tools pull-right">
77 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
78 </div><!-- /.box-tools -->
79 </div><!-- /.box-header -->
80 <div class=
"box-body no-padding">
81 <table class=
"table table-bordered no-padding">
82 <tr style=
"font-weight:bold;">
83 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
85 <div class=
"col-sm-9" style=
"padding-left:0px;">
86 <input type=
"text" class=
"form-control" id=
"id_ctrl_text_search_root" name=
"name_ctrl_text_search_root" disabled=
"disabled"/>
88 <div class=
"col-sm-1" id=
"id_ctrl_div_root_status">
89 <span id=
"id_ctrl_span_search_root_valid" style=
"line-height: 2;" class=
"badge bg-green">有效
</span>
90 <span id=
"id_ctrl_span_search_root_invalid" style=
"line-height: 2;" class=
"badge bg-red">无效
</span>
92 <div class=
"col-sm-1">
93 <button id=
"id_ctrl_btn_sel_root" class=
"btn btn-primary btn-add"><span class=
"fa fa-edit"></span><span id=
"id_span_edit"> 设置
</span></button>
95 <div class=
"col-sm-1">
96 <button id=
"id_ctrl_btn_clr_root" class=
"btn btn-danger btn-del"><span class=
"fa fa-trash"></span><span id=
"id_span_clear"> 清除
</span></button>
100 <tr id=
"tr_title_desc_cn">
101 <td class=
"td_ctrl_col">选项说明
</td>
103 指定搜索ISO文件的根目录。默认Ventoy会搜索U盘上的所有目录和子目录,当你U盘上有海量的文件时,这个过程会很慢。
<br/>
104 这种情况下你可以把ISO文件单独放在某个子目录下,然后通过这个变量来指定搜索路径,此时Ventoy就只会搜索该目录及其子目录。
<br/>
105 注意这里不能设置为U盘根目录,必须为一个子目录。
108 <tr id=
"tr_title_desc_en">
109 <td class=
"td_ctrl_col">Option Description
</td>
111 The root path where to search the image files. By default, Ventoy will search all the directories and subdirectories in the USB. This will be very slow when you have huge number of files in the USB.
112 In this case, you can put all the image files in one subdirectory and use this to specify the search path.
113 After that Ventoy will only search this directory and its subdirectories for image files.
<br/>
114 Note: the path must not be the mountpoint of the first partition, but a subdirectory.
118 </div><!-- /.box-body -->
122 <div class=
"box box-primary box-solid">
123 <div class=
"box-header with-border">
124 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_WIN11_BYPASS_CHECK
125 <span id=
"id_span_desc_cn"> —— 绕过Windows
11硬件检查
</span></h3>
126 <div class=
"box-tools pull-right">
127 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
128 </div><!-- /.box-tools -->
129 </div><!-- /.box-header -->
130 <div class=
"box-body no-padding">
131 <table class=
"table table-bordered no-padding">
132 <tr style=
"font-weight:bold;">
133 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
135 <label class=
"radio-inline">
136 <input type=
"radio" id=
"id_ctrl_bypass_win11_radio0" name=
"id_ctrl_bypass_win11_radio" data-type=
"0" value=
"0"/> <span style=
"font-weight:bold;">0</span>
137 </label>
138 <label class=
"radio-inline">
139 <input type=
"radio" id=
"id_ctrl_bypass_win11_radio1" name=
"id_ctrl_bypass_win11_radio" data-type=
"1" value=
"1"/> <span style=
"font-weight:bold;">1</span>
143 <tr id=
"tr_title_desc_cn">
144 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
146 <code style=
"font-weight: bold;">0</code> 不绕过Windows
11安装时的硬件检查。
<br/>
147 <code style=
"font-weight: bold;">1</code> 绕过Windows
11安装时的硬件检查。
<br/><br/>
148 该选项只对标准Windows
11 ISO文件有效,对于其他镜像文件无效。
149 当设置为
1时,Ventoy 会在安装时创建以下几个注册表项用来绕过 Windows
11 安装程序的硬件检查。
<br/>
150 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassRAMCheck
</code><br/>
151 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassTPMCheck
</code><br/>
152 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassSecureBootCheck
</code><br/>
153 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassCPUCheck
</code><br/>
156 <tr id=
"tr_title_desc_en">
157 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
159 <code style=
"font-weight: bold;">0</code> Do not bypass Windows
11 hardware check.
<br/>
160 <code style=
"font-weight: bold;">1</code> Bypass Windows
11 hardware check.
<br/><br/>
161 This option only avaliable for standard Windows
11 ISO files.
162 When set to
1, Ventoy will create the following registries to bypass Windows
11 hardware check when install.
<br/>
163 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassRAMCheck
</code><br/>
164 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassTPMCheck
</code><br/>
165 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassSecureBootCheck
</code><br/>
166 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassCPUCheck
</code><br/>
167 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassStorageCheck
</code><br/>
171 </div><!-- /.box-body -->
176 <div class=
"box box-primary box-solid">
177 <div class=
"box-header with-border">
178 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_WIN11_BYPASS_NRO
179 <span id=
"id_span_desc_cn"> —— 绕过Windows
11 在线账户需求
</span></h3>
180 <div class=
"box-tools pull-right">
181 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
182 </div><!-- /.box-tools -->
183 </div><!-- /.box-header -->
184 <div class=
"box-body no-padding">
185 <table class=
"table table-bordered no-padding">
186 <tr style=
"font-weight:bold;">
187 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
189 <label class=
"radio-inline">
190 <input type=
"radio" id=
"id_ctrl_bypass_nro_radio0" name=
"id_ctrl_bypass_nro_radio" data-type=
"0" value=
"0"/> <span style=
"font-weight:bold;">0</span>
191 </label>
192 <label class=
"radio-inline">
193 <input type=
"radio" id=
"id_ctrl_bypass_nro_radio1" name=
"id_ctrl_bypass_nro_radio" data-type=
"1" value=
"1"/> <span style=
"font-weight:bold;">1</span>
197 <tr id=
"tr_title_desc_cn">
198 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
200 <code style=
"font-weight: bold;">0</code> 不绕过Windows
11安装时的在线账户需求。
<br/>
201 <code style=
"font-weight: bold;">1</code> 绕过Windows
11安装时的在线账户需求。
<br/><br/>
202 该选项只对标准Windows
11 ISO文件有效,对于其他镜像文件无效。
203 当设置为
1时,Ventoy 会在安装时创建以下注册表项用来绕过 Windows
11 安装时对在线账户的需求。
<br/>
204 <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE\BypassNRO
</code><br/>
207 <tr id=
"tr_title_desc_en">
208 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
210 <code style=
"font-weight: bold;">0</code> Do not bypass Windows
11 online account requirement.
<br/>
211 <code style=
"font-weight: bold;">1</code> Bypass Windows
11 online account requirement.
<br/><br/>
212 This option only avaliable for standard Windows
11 ISO files.
213 When set to
1, Ventoy will create the following registry to bypass Windows
11 online account requirement when install.
<br/>
214 <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OOBE\BypassNRO
</code>
218 </div><!-- /.box-body -->
226 <div class=
"box box-primary box-solid">
227 <div class=
"box-header with-border">
228 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_MENU_MODE
229 <span id=
"id_span_desc_cn"> —— 菜单显示模式
</span></h3>
230 <div class=
"box-tools pull-right">
231 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
232 </div><!-- /.box-tools -->
233 </div><!-- /.box-header -->
234 <div class=
"box-body no-padding">
235 <table class=
"table table-bordered no-padding">
236 <tr style=
"font-weight:bold;">
237 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
239 <label class=
"radio-inline">
240 <input type=
"radio" id=
"id_ctrl_radio_menu_mode0" name=
"id_ctrl_radio_menu_mode" data-type=
"0" value=
"0"> <span style=
"font-weight:bold;">0</span>
241 </label>
242 <label class=
"radio-inline">
243 <input type=
"radio" id=
"id_ctrl_radio_menu_mode1" name=
"id_ctrl_radio_menu_mode" data-type=
"1" value=
"1"> <span style=
"font-weight:bold;">1</span>
247 <tr id=
"tr_title_desc_cn">
248 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
250 <code style=
"font-weight: bold;">0</code> 列表模式
251 <code style=
"font-weight: bold;">1</code> TreeView(目录树) 模式
</td>
253 <tr id=
"tr_title_desc_en">
254 <td class=
"td_ctrl_col">Option Description
</td>
256 Default boot menu display mode.
257 <code style=
"font-weight: bold;">0</code> ListView Mode
 
258 <code style=
"font-weight: bold;">1</code> TreeView Mode
262 </div><!-- /.box-body -->
271 <div class=
"box box-primary box-solid">
272 <div class=
"box-header with-border">
273 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_MENU_TIMEOUT
274 <span id=
"id_span_desc_cn"> —— 启动倒计时
</span></h3>
275 <div class=
"box-tools pull-right">
276 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
277 </div><!-- /.box-tools -->
278 </div><!-- /.box-header -->
279 <div class=
"box-body no-padding">
280 <table class=
"table table-bordered no-padding">
281 <tr style=
"font-weight:bold;">
282 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
284 <div class=
"col-sm-9" style=
"padding-left:0px;">
285 <input type=
"text" class=
"form-control" id=
"id_ctrl_text_timeout" name=
"name_ctrl_text_timeout"/>
289 <tr id=
"tr_title_desc_cn">
290 <td class=
"td_ctrl_col">选项说明
</td>
292 菜单倒计时(秒)。默认为
0(即没有超时时间),设置之后,比如设置为
10,则在倒计时
10秒之后,会自动启动选中的镜像文件。在倒计时的过程中按任意键会停止倒计时,等待用户操作。
295 <tr id=
"tr_title_desc_en">
296 <td class=
"td_ctrl_col">Option Description
</td>
298 Menu timeout (seconds). Default value is
0 (no timeout is set).
<br/>
299 When you set it to
10 for example, the selected image will be booted automatically after
10 seconds.
300 During the countdown, pressing any key will stop the countdown and wait for user operation.
304 </div><!-- /.box-body -->
309 <div class=
"box box-primary box-solid">
310 <div class=
"box-header with-border">
311 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_IMAGE
312 <span id=
"id_span_desc_cn"> —— 默认选中的镜像文件
</span></h3>
313 <div class=
"box-tools pull-right">
314 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
315 </div><!-- /.box-tools -->
316 </div><!-- /.box-header -->
317 <div class=
"box-body no-padding">
318 <table class=
"table table-bordered no-padding">
319 <tr style=
"font-weight:bold;">
320 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
322 <div class=
"col-sm-9" style=
"padding-left:0px;">
323 <input type=
"text" class=
"form-control" id=
"id_ctrl_text_default_img" name=
"name_id_ctrl_text_default_img" disabled=
"disabled"/>
325 <div class=
"col-sm-1" id=
"id_ctrl_div_img_status">
326 <span id=
"id_ctrl_span_img_valid" style=
"line-height: 2;" class=
"badge bg-green">有效
</span>
327 <span id=
"id_ctrl_span_img_invalid" style=
"line-height: 2;" class=
"badge bg-red">无效
</span>
329 <div class=
"col-sm-1">
330 <button id=
"id_ctrl_btn_default_img" class=
"btn btn-primary btn-add"><span class=
"fa fa-edit"></span><span id=
"id_span_edit"> 设置
</span></button>
332 <div class=
"col-sm-1">
333 <button id=
"id_ctrl_btn_clr_default" class=
"btn btn-danger btn-del"><span class=
"fa fa-trash"></span><span id=
"id_span_clear"> 清除
</span></button>
337 <tr id=
"tr_title_desc_cn">
338 <td class=
"td_ctrl_col">选项说明
</td>
340 正常情况下默认选中的是第
1个镜像文件。通过这个选项可以设置默认选中的镜像文件,一般和 VTOY_MENU_TIMEOUT 一起使用。
<br/>
341 可以设置为 WIM/VHD/IMG 等支持的文件,必须是以 / 开始的全路径,ListView模式和TreeView模式都支持。
<br/>
342 注意,当同时设置了 VTOY_DEFAULT_SEARCH_ROOT 以后,VTOY_DEFAULT_IMAGE 对应的文件必须位于 VTOY_DEFAULT_SEARCH_ROOT 对应的目录下,否则不会生效。
345 <tr id=
"tr_title_desc_en">
346 <td class=
"td_ctrl_col">Option Description
</td>
348 Default selected image path. Normally used with VTOY_MENU_TIMEOUT.
<br/>It can be ISO/WIM/VHD/IMG ... and supported in both ListView mode and TreeView mode.
<br/>
349 Attention that, when VTOY_DEFAULT_SEARCH_ROOT is set, VTOY_DEFAULT_IMAGE must be in the directory (or sub-directory) of VTOY_DEFAULT_SEARCH_ROOT, otherwise it will not take effect.
353 </div><!-- /.box-body -->
363 <div class=
"box box-primary box-solid">
364 <div class=
"box-header with-border">
365 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_MAX_SEARCH_LEVEL
366 <span id=
"id_span_desc_cn"> —— 最大搜索目录深度
</span></h3>
367 <div class=
"box-tools pull-right">
368 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
369 </div><!-- /.box-tools -->
370 </div><!-- /.box-header -->
371 <div class=
"box-body no-padding">
372 <table class=
"table table-bordered no-padding">
373 <tr style=
"font-weight:bold;">
374 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
376 <select id=
"id_ctrl_sel_max_depth" name=
"name_ctrl_sel_max_depth" class=
"form-control">
377 <option title=
"max" selected
>max
</option>
378 <option title=
"0">0</option>
379 <option title=
"1">1</option>
380 <option title=
"2">2</option>
381 <option title=
"3">3</option>
382 <option title=
"4">4</option>
383 <option title=
"5">5</option>
384 <option title=
"6">6</option>
385 <option title=
"7">7</option>
386 <option title=
"8">8</option>
387 <option title=
"9">9</option>
388 <option title=
"10">10</option>
392 <tr id=
"tr_title_desc_cn">
393 <td class=
"td_ctrl_col">选项说明
</td>
395 最大搜索子目录的层数,取值为:
<code>max
</code> <code>0</code> <code>1</code> <code>2</code> <code>3</code> <code>...
</code>
396 默认值为:
<code>max
</code><br/>
397 默认Ventoy会递归搜索磁盘上的所有目录和子目录,不管目录结构有多深都会搜索到底。你可以通过这个参数来控制搜索时的路径深度。
<br/><br/>
398 <code>max
</code> : 最大层数,也就是搜索所有子目录的意思。这也是 Ventoy 的默认值。
<br/>
399 <code>0</code> : 搜索
0层子目录,只列出根目录下的文件,不去搜索任何一个子目录。
<br/>
400 <code>1</code> : 搜索
1层子目录,除了根目录下的文件以外,再搜索根目录下的
1级子目录。但是不再搜索
1级子目录下的子目录(
2级子目录)。
<br/>
401 <code>2</code> : 搜索
2层子目录,除了根目录下的文件以外,再搜索根目录下的
1级子目录以及
1级子目录下的子目录(
2级子目录)。
<br/>
402 <code>3</code> : 搜索
3层子目录,......
<br/>
403 <code>...
</code><br/><br/>
404 注意,如果
<code>VTOY_DEFAULT_SEARCH_ROOT
</code> 参数也同时设置了的话,则就以
<code>VTOY_DEFAULT_SEARCH_ROOT
</code> 指定的目录作为根目录开始计算。
407 <tr id=
"tr_title_desc_en">
408 <td class=
"td_ctrl_col">Option Description
</td>
410 Max subdirectory level when search for image files. It's value can be:
<code>max
</code> <code>0</code> <code>1</code> <code>2</code> <code>3</code> <code>...
</code>
411 default is :
<code>max
</code><br/>
412 By default, Ventoy will search all the directories and sub directories recursively no matter how deep the directory level is.
<br/>
413 You can use this parameter to set a max-depth for the search path.
<br/><br/>
414 <code>max
</code> : Maximum, search all the directories and subdirectories. This is Ventoy's default value.
<br/>
415 <code>0</code> : Only search files in the root and don't search any subdirectories.
<br/>
416 <code>1</code> : Search up to level
1 of subdirectories.
<br/>
417 <code>2</code> : Search up to level
2 of subdirectories.
<br/>
418 <code>3</code> : Search up to level
3 of subdirectories.
<br/>
419 <code>...
</code><br/><br/>
420 If
<code>VTOY_DEFAULT_SEARCH_ROOT
</code> is set at the same time. Then the level is counted from
<code>VTOY_DEFAULT_SEARCH_ROOT
</code> .
424 </div><!-- /.box-body -->
429 <div class=
"box box-primary box-solid">
430 <div class=
"box-header with-border">
431 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_LINUX_REMOUNT
432 <span id=
"id_span_desc_cn"> —— Linux 启动后继续访问ISO文件所在分区
</span></h3>
433 <div class=
"box-tools pull-right">
434 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
435 </div><!-- /.box-tools -->
436 </div><!-- /.box-header -->
437 <div class=
"box-body no-padding">
438 <table class=
"table table-bordered no-padding">
439 <tr style=
"font-weight:bold;">
440 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
442 <label class=
"radio-inline">
443 <input type=
"radio" id=
"id_ctrl_linux_remount_radio0" name=
"id_ctrl_linux_remount_radio" data-type=
"0" value=
"0"/> <span style=
"font-weight:bold;">0</span>
444 </label>
445 <label class=
"radio-inline">
446 <input type=
"radio" id=
"id_ctrl_linux_remount_radio1" name=
"id_ctrl_linux_remount_radio" data-type=
"1" value=
"1"/> <span style=
"font-weight:bold;">1</span>
450 <tr id=
"tr_title_desc_cn">
451 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
453 <code style=
"font-weight: bold;">0</code> Linux启动后不需要继续访问ISO文件所在的分区。
<br/>
454 <code style=
"font-weight: bold;">1</code> Linux启动后需要继续访问ISO文件所在的分区。
<br/><br/>
455 该选项只对 Linux 系统镜像有效。
<br/>
456 默认情况下,受Linux内核相关功能的限制,对于Linux系统,在启动后无法继续访问ISO文件所在的分区。在mount的时候会提示 device busy。
<br/>
457 如果这里选择
1,则 Ventoy 会尝试通过一些特殊的手段绕过内核的这个限制,但是这个功能是实验性质的,没有经过大规模和长时间的验证。
460 <tr id=
"tr_title_desc_en">
461 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
463 <code style=
"font-weight: bold;">0</code> I don't need to access the image partition after boot.
<br/>
464 <code style=
"font-weight: bold;">1</code> I need to access the image partition after boot.
<br/><br/>
465 This option is only avaliable for Linux distro image files.
<br/>
467 By default, the image partition where the ISO files locate can not be accessed after boot. When you try to mount it you will get device busy error.
468 This is due to linux kernel restriction (device-mapper module).
<br/>
469 If you select
1 here, Ventoy will try to bypass the restriction with some special mechanism.
<br/>
470 But it should be noted that, this is an experimental feature and is not fully tested.
475 </div><!-- /.box-body -->
480 <div class=
"box box-primary box-solid">
481 <div class=
"box-header with-border">
482 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_SECONDARY_BOOT_MENU
483 <span id=
"id_span_desc_cn"> —— 二级启动菜单显示开关
</span></h3>
484 <div class=
"box-tools pull-right">
485 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
486 </div><!-- /.box-tools -->
487 </div><!-- /.box-header -->
488 <div class=
"box-body no-padding">
489 <table class=
"table table-bordered no-padding">
490 <tr style=
"font-weight:bold;">
491 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
493 <label class=
"radio-inline">
494 <input type=
"radio" id=
"id_ctrl_secondary_radio0" name=
"id_ctrl_secondary_radio" data-type=
"0" value=
"0"> <span style=
"font-weight:bold;">0</span>
495 </label>
496 <label class=
"radio-inline">
497 <input type=
"radio" id=
"id_ctrl_secondary_radio1" name=
"id_ctrl_secondary_radio" data-type=
"1" value=
"1"> <span style=
"font-weight:bold;">1</span>
501 <tr id=
"tr_title_desc_cn">
502 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
504 <code style=
"font-weight: bold;">0</code> 不显示
505 <code style=
"font-weight: bold;">1</code> 显示
508 <tr id=
"tr_title_desc_en">
509 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
511 Secondary boot menu display option
512 <code style=
"font-weight: bold;">0</code> Don't display
513 <code style=
"font-weight: bold;">1</code> Display
517 </div><!-- /.box-body -->
521 <div class=
"box box-primary box-solid">
522 <div class=
"box-header with-border">
523 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_SHOW_PASSWORD_ASTERISK
524 <span id=
"id_span_desc_cn"> —— 输入密码时显示星号
</span></h3>
525 <div class=
"box-tools pull-right">
526 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
527 </div><!-- /.box-tools -->
528 </div><!-- /.box-header -->
529 <div class=
"box-body no-padding">
530 <table class=
"table table-bordered no-padding">
531 <tr style=
"font-weight:bold;">
532 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
534 <label class=
"radio-inline">
535 <input type=
"radio" id=
"id_ctrl_asterisk_radio0" name=
"id_ctrl_asterisk_radio" data-type=
"0" value=
"0"> <span style=
"font-weight:bold;">0</span>
536 </label>
537 <label class=
"radio-inline">
538 <input type=
"radio" id=
"id_ctrl_asterisk_radio1" name=
"id_ctrl_asterisk_radio" data-type=
"1" value=
"1"> <span style=
"font-weight:bold;">1</span>
542 <tr id=
"tr_title_desc_cn">
543 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
545 <code style=
"font-weight: bold;">0</code> 不显示
546 <code style=
"font-weight: bold;">1</code> 显示
549 <tr id=
"tr_title_desc_en">
550 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
552 Display asterisk when typing password
553 <code style=
"font-weight: bold;">0</code> Don't display
554 <code style=
"font-weight: bold;">1</code> Display
558 </div><!-- /.box-body -->
563 <div class=
"box box-primary box-solid">
564 <div class=
"box-header with-border">
565 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_SECONDARY_TIMEOUT
566 <span id=
"id_span_desc_cn"> —— 二级启动菜单倒计时
</span></h3>
567 <div class=
"box-tools pull-right">
568 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
569 </div><!-- /.box-tools -->
570 </div><!-- /.box-header -->
571 <div class=
"box-body no-padding">
572 <table class=
"table table-bordered no-padding">
573 <tr style=
"font-weight:bold;">
574 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
576 <div class=
"col-sm-9" style=
"padding-left:0px;">
577 <input type=
"text" class=
"form-control" id=
"id_ctrl_text_secondary_timeout" name=
"name_ctrl_text_secondary_timeout"/>
581 <tr id=
"tr_title_desc_cn">
582 <td class=
"td_ctrl_col">选项说明
</td>
584 二级菜单倒计时(秒)。只有当
<code>VTOY_SECONDARY_BOOT_MENU
</code> 设置为
1时才有效。
<br/>
585 默认不设置,设置之后,比如设置为
10,则在倒计时
10秒之后,会自动选择第一项,即:
<code>Boot in normal mode
</code> <br/>
586 在倒计时的过程中按任意键会停止倒计时,等待用户操作。
589 <tr id=
"tr_title_desc_en">
590 <td class=
"td_ctrl_col">Option Description
</td>
592 Timeout seconds for the secondary boot menu. Only take effect when
<code>VTOY_SECONDARY_BOOT_MENU
</code> is
1.
<br/>
593 By default no timeout is set. When you set it to
10 for example, the first entry (
<code>Boot in normal mode
</code>) will be selected an run after
10 seconds.
597 </div><!-- /.box-body -->
603 <div class=
"box box-primary box-solid">
604 <div class=
"box-header with-border">
605 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_KBD_LAYOUT
606 <span id=
"id_span_desc_cn"> —— 默认键盘布局
</span></h3>
607 <div class=
"box-tools pull-right">
608 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
609 </div><!-- /.box-tools -->
610 </div><!-- /.box-header -->
611 <div class=
"box-body no-padding">
612 <table class=
"table table-bordered no-padding">
613 <tr style=
"font-weight:bold;">
614 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
616 <select id=
"id_ctrl_sel_kbd" name=
"name_ctrl_sel_kbd" class=
"form-control">
617 <option title=
"QWERTY_USA" selected
>QWERTY_USA
</option>
618 <option title=
"AZERTY">AZERTY
</option>
619 <option title=
"CZECH_QWERTY">CZECH_QWERTY
</option>
620 <option title=
"CZECH_QWERTZ">CZECH_QWERTZ
</option>
621 <option title=
"DANISH">DANISH
</option>
622 <option title=
"DVORAK_USA">DVORAK_USA
</option>
623 <option title=
"FRENCH">FRENCH
</option>
624 <option title=
"GERMAN">GERMAN
</option>
625 <option title=
"ITALIANO">ITALIANO
</option>
626 <option title=
"JAPAN_106">JAPAN_106
</option>
627 <option title=
"LATIN_USA">LATIN_USA
</option>
628 <option title=
"PORTU_BRAZIL">PORTU_BRAZIL
</option>
629 <option title=
"QWERTY_UK">QWERTY_UK
</option>
630 <option title=
"QWERTZ">QWERTZ
</option>
631 <option title=
"QWERTZ_HUN">QWERTZ_HUN
</option>
632 <option title=
"QWERTZ_SLOV_CROAT">QWERTZ_SLOV_CROAT
</option>
633 <option title=
"SPANISH">SPANISH
</option>
634 <option title=
"SWEDISH">SWEDISH
</option>
635 <option title=
"TURKISH_Q">TURKISH_Q
</option>
636 <option title=
"VIETNAMESE">VIETNAMESE
</option>
640 <tr id=
"tr_title_desc_cn">
641 <td class=
"td_ctrl_col">选项说明
</td>
646 <tr id=
"tr_title_desc_en">
647 <td class=
"td_ctrl_col">Option Description
</td>
653 </div><!-- /.box-body -->
659 <div class=
"box box-primary box-solid">
660 <div class=
"box-header with-border">
661 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_TREE_VIEW_MENU_STYLE
662 <span id=
"id_span_desc_cn"> —— TreeView模式显示风格
</span></h3>
663 <div class=
"box-tools pull-right">
664 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
665 </div><!-- /.box-tools -->
666 </div><!-- /.box-header -->
667 <div class=
"box-body no-padding">
668 <table class=
"table table-bordered no-padding">
669 <tr style=
"font-weight:bold;">
670 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
672 <label class=
"radio-inline">
673 <input type=
"radio" id=
"id_ctrl_radio_treestyle0" name=
"id_ctrl_radio_treestyle" data-type=
"0" value=
"0"> <span style=
"font-weight:bold;">0</span>
674 </label>
675 <label class=
"radio-inline">
676 <input type=
"radio" id=
"id_ctrl_radio_treestyle1" name=
"id_ctrl_radio_treestyle" data-type=
"1" value=
"1"> <span style=
"font-weight:bold;">1</span>
680 <tr id=
"tr_title_desc_cn">
681 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
682 <td>TreeView模式下的菜单风格。
683 <code style=
"font-weight: bold;">0</code> 显示DIR和文件大小
684 <code style=
"font-weight: bold;">1</code> 不显示DIR和文件大小。只在 VTOY_DEFAULT_MENU_MODE 为
1时才有效。
687 <tr id=
"tr_title_desc_en">
688 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
690 Menu style in TreeView mode.
691 <code style=
"font-weight: bold;">0</code> with DIR and file size prefix
692 <code style=
"font-weight: bold;">1</code> No DIR and file size. Default is
0.
696 </div><!-- /.box-body -->
700 <div class=
"box box-primary box-solid">
701 <div class=
"box-header with-border">
702 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILT_DOT_UNDERSCORE_FILE
703 <span id=
"id_span_desc_cn"> —— 过滤以 ._ 开头的文件
</span></h3>
704 <div class=
"box-tools pull-right">
705 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
706 </div><!-- /.box-tools -->
707 </div><!-- /.box-header -->
708 <div class=
"box-body no-padding">
709 <table class=
"table table-bordered no-padding">
710 <tr style=
"font-weight:bold;">
711 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
713 <label class=
"radio-inline">
714 <input type=
"radio" id=
"id_ctrl_radio_underscore0" name=
"id_ctrl_radio_underscore" data-type=
"0" value=
"0"> <span style=
"font-weight:bold;">0</span>
715 </label>
716 <label class=
"radio-inline">
717 <input type=
"radio" id=
"id_ctrl_radio_underscore1" name=
"id_ctrl_radio_underscore" data-type=
"1" value=
"1"> <span style=
"font-weight:bold;">1</span>
721 <tr id=
"tr_title_desc_cn">
722 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
723 <td>过滤以 ._ 开头的文件。当使用苹果系统时,有时拷贝文件会产生一些 ._ 开头的文件,可以通过此选项过滤掉。
724 <code style=
"font-weight: bold;">0</code> 不过滤
725 <code style=
"font-weight: bold;">1</code> 过滤
728 <tr id=
"tr_title_desc_en">
729 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
731 Filter for files with prefix ._ in name. This will be useful when you use macOS (a lot of ._xxx file generated when you copy files).
732 <code style=
"font-weight: bold;">0</code> Don't filt
733 <code style=
"font-weight: bold;">1</code> Filt
737 </div><!-- /.box-body -->
742 <div class=
"box box-primary box-solid">
743 <div class=
"box-header with-border">
744 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_SORT_CASE_SENSITIVE
745 <span id=
"id_span_desc_cn"> —— 菜单排序时是否区分大小写
</span></h3>
746 <div class=
"box-tools pull-right">
747 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
748 </div><!-- /.box-tools -->
749 </div><!-- /.box-header -->
750 <div class=
"box-body no-padding">
751 <table class=
"table table-bordered no-padding">
752 <tr style=
"font-weight:bold;">
753 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
755 <label class=
"radio-inline">
756 <input type=
"radio" id=
"id_ctrl_radio_casesensitive0" name=
"id_ctrl_radio_casesensitive" data-type=
"0" value=
"0"> <span style=
"font-weight:bold;">0</span>
757 </label>
758 <label class=
"radio-inline">
759 <input type=
"radio" id=
"id_ctrl_radio_casesensitive1" name=
"id_ctrl_radio_casesensitive" data-type=
"1" value=
"1"> <span style=
"font-weight:bold;">1</span>
763 <tr id=
"tr_title_desc_cn">
764 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
766 <code style=
"font-weight: bold;">0</code> 不区分大小写
<code style=
"font-weight: bold;">1</code> 区分大小写
769 <tr id=
"tr_title_desc_en">
770 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
772 Case sensitive when sort the ISO files or directories.
773 <code style=
"font-weight: bold;">0</code> case insensitive
<code style=
"font-weight: bold;">1</code> case sensitive
777 </div><!-- /.box-body -->
782 <div class=
"box box-primary box-solid">
783 <div class=
"box-header with-border">
784 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_VHD_NO_WARNING
</h3>
785 <div class=
"box-tools pull-right">
786 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
787 </div><!-- /.box-tools -->
788 </div><!-- /.box-header -->
789 <div class=
"box-body no-padding">
790 <table class=
"table table-bordered no-padding">
791 <tr style=
"font-weight:bold;">
792 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
794 <label class=
"radio-inline">
795 <input type=
"radio" id=
"id_ctrl_radio_vhd_warning0" name=
"id_ctrl_radio_vhd_warning" data-type=
"0" value=
"0"> <span style=
"font-weight:bold;">0</span>
796 </label>
797 <label class=
"radio-inline">
798 <input type=
"radio" id=
"id_ctrl_radio_vhd_warning1" name=
"id_ctrl_radio_vhd_warning" data-type=
"1" value=
"1"> <span style=
"font-weight:bold;">1</span>
802 <tr id=
"tr_title_desc_cn">
803 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
805 <code style=
"font-weight: bold;">0</code> 启动Windows VHD(x)时,如果U盘分区不是NTFS格式,则显示告警信息。
806 <code style=
"font-weight: bold;">1</code> 不显示告警信息。
809 <tr id=
"tr_title_desc_en">
810 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
812 <code style=
"font-weight: bold;">0</code> Show a warning message if the partition is not NTFS when booting VHD(x) file.
813 <code style=
"font-weight: bold;">1</code> No warning message.
817 </div><!-- /.box-body -->
825 <div class=
"box box-primary box-solid">
826 <div class=
"box-header with-border">
827 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_ISO
828 <span id=
"id_span_desc_cn"> —— 过滤 .iso 文件
</span></h3>
829 <div class=
"box-tools pull-right">
830 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
831 </div><!-- /.box-tools -->
832 </div><!-- /.box-header -->
833 <div class=
"box-body no-padding">
834 <table class=
"table table-bordered no-padding">
835 <tr style=
"font-weight:bold;">
836 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
838 <label class=
"radio-inline">
839 <input type=
"radio" id=
"id_ctrl_radio_filt_iso0" name=
"id_ctrl_radio_filt_iso" data-type=
"0" value=
"0" > <span style=
"font-weight:bold;">0</span>
840 </label>
841 <label class=
"radio-inline">
842 <input type=
"radio" id=
"id_ctrl_radio_filt_iso1" name=
"id_ctrl_radio_filt_iso" data-type=
"1" value=
"1" > <span style=
"font-weight:bold;">1</span>
846 <tr id=
"tr_title_desc_cn">
847 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
849 <code style=
"font-weight: bold;">0</code> 不过滤 .iso 文件
850 <code style=
"font-weight: bold;">1</code> 过滤掉 .iso 文件。
851 过滤之后 .iso 文件就不会显示在启动菜单中。
854 <tr id=
"tr_title_desc_en">
855 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
857 <code style=
"font-weight: bold;">0</code> List .iso files.
858 <code style=
"font-weight: bold;">1</code> Filter .iso files.
859 The iso files will not be shown in the boot menu if set to
1.
863 </div><!-- /.box-body -->
867 <div class=
"box box-primary box-solid">
868 <div class=
"box-header with-border">
869 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_WIM
870 <span id=
"id_span_desc_cn"> —— 过滤 .wim 文件
</span></h3>
871 <div class=
"box-tools pull-right">
872 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
873 </div><!-- /.box-tools -->
874 </div><!-- /.box-header -->
875 <div class=
"box-body no-padding">
876 <table class=
"table table-bordered no-padding">
877 <tr style=
"font-weight:bold;">
878 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
880 <label class=
"radio-inline">
881 <input type=
"radio" id=
"id_ctrl_radio_filt_wim0" name=
"id_ctrl_radio_filt_wim" data-type=
"0" value=
"0" > <span style=
"font-weight:bold;">0</span>
882 </label>
883 <label class=
"radio-inline">
884 <input type=
"radio" id=
"id_ctrl_radio_filt_wim1" name=
"id_ctrl_radio_filt_wim" data-type=
"1" value=
"1" > <span style=
"font-weight:bold;">1</span>
888 <tr id=
"tr_title_desc_cn">
889 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
891 <code style=
"font-weight: bold;">0</code> 不过滤 .wim 文件
892 <code style=
"font-weight: bold;">1</code> 过滤掉 .wim 文件。
893 过滤之后 .wim 文件就不会显示在启动菜单中。
896 <tr id=
"tr_title_desc_en">
897 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
899 <code style=
"font-weight: bold;">0</code> List .wim files.
900 <code style=
"font-weight: bold;">1</code> Filter .wim files.
901 The wim files will not be shown in the boot menu if set to
1.
905 </div><!-- /.box-body -->
910 <div class=
"box box-primary box-solid">
911 <div class=
"box-header with-border">
912 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_EFI
913 <span id=
"id_span_desc_cn"> —— 过滤 .efi 文件
</span></h3>
914 <div class=
"box-tools pull-right">
915 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
916 </div><!-- /.box-tools -->
917 </div><!-- /.box-header -->
918 <div class=
"box-body no-padding">
919 <table class=
"table table-bordered no-padding">
920 <tr style=
"font-weight:bold;">
921 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
923 <label class=
"radio-inline">
924 <input type=
"radio" id=
"id_ctrl_radio_filt_efi0" name=
"id_ctrl_radio_filt_efi" data-type=
"0" value=
"0" > <span style=
"font-weight:bold;">0</span>
925 </label>
926 <label class=
"radio-inline">
927 <input type=
"radio" id=
"id_ctrl_radio_filt_efi1" name=
"id_ctrl_radio_filt_efi" data-type=
"1" value=
"1" > <span style=
"font-weight:bold;">1</span>
931 <tr id=
"tr_title_desc_cn">
932 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
934 <code style=
"font-weight: bold;">0</code> 不过滤 .efi 文件
935 <code style=
"font-weight: bold;">1</code> 过滤掉 .efi 文件。
936 过滤之后 .efi 文件就不会显示在启动菜单中。
939 <tr id=
"tr_title_desc_en">
940 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
942 <code style=
"font-weight: bold;">0</code> List .efi files.
943 <code style=
"font-weight: bold;">1</code> Filter .efi files.
944 The efi files will not be shown in the boot menu if set to
1.
948 </div><!-- /.box-body -->
953 <div class=
"box box-primary box-solid">
954 <div class=
"box-header with-border">
955 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_IMG
956 <span id=
"id_span_desc_cn"> —— 过滤 .img 文件
</span></h3>
957 <div class=
"box-tools pull-right">
958 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
959 </div><!-- /.box-tools -->
960 </div><!-- /.box-header -->
961 <div class=
"box-body no-padding">
962 <table class=
"table table-bordered no-padding">
963 <tr style=
"font-weight:bold;">
964 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
966 <label class=
"radio-inline">
967 <input type=
"radio" id=
"id_ctrl_radio_filt_img0" name=
"id_ctrl_radio_filt_img" data-type=
"0" value=
"0" > <span style=
"font-weight:bold;">0</span>
968 </label>
969 <label class=
"radio-inline">
970 <input type=
"radio" id=
"id_ctrl_radio_filt_img1" name=
"id_ctrl_radio_filt_img" data-type=
"1" value=
"1" > <span style=
"font-weight:bold;">1</span>
974 <tr id=
"tr_title_desc_cn">
975 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
977 <code style=
"font-weight: bold;">0</code> 不过滤 .img 文件
978 <code style=
"font-weight: bold;">1</code> 过滤掉 .img 文件。
979 过滤之后 .img 文件就不会显示在启动菜单中。
982 <tr id=
"tr_title_desc_en">
983 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
985 <code style=
"font-weight: bold;">0</code> List .img files.
986 <code style=
"font-weight: bold;">1</code> Filter .img files.
987 The img files will not be shown in the boot menu if set to
1.
991 </div><!-- /.box-body -->
996 <div class=
"box box-primary box-solid">
997 <div class=
"box-header with-border">
998 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_VHD
999 <span id=
"id_span_desc_cn"> —— 过滤 .vhd(x) 文件
</span></h3>
1000 <div class=
"box-tools pull-right">
1001 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
1002 </div><!-- /.box-tools -->
1003 </div><!-- /.box-header -->
1004 <div class=
"box-body no-padding">
1005 <table class=
"table table-bordered no-padding">
1006 <tr style=
"font-weight:bold;">
1007 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
1009 <label class=
"radio-inline">
1010 <input type=
"radio" id=
"id_ctrl_radio_filt_vhd0" name=
"id_ctrl_radio_filt_vhd" data-type=
"0" value=
"0" > <span style=
"font-weight:bold;">0</span>
1011 </label>
1012 <label class=
"radio-inline">
1013 <input type=
"radio" id=
"id_ctrl_radio_filt_vhd1" name=
"id_ctrl_radio_filt_vhd" data-type=
"1" value=
"1" > <span style=
"font-weight:bold;">1</span>
1017 <tr id=
"tr_title_desc_cn">
1018 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
1020 <code style=
"font-weight: bold;">0</code> 不过滤 .vhd(x) 文件
1021 <code style=
"font-weight: bold;">1</code> 过滤掉 .vhd(x) 文件。
1022 过滤之后 .vhd(x) 文件就不会显示在启动菜单中。
1025 <tr id=
"tr_title_desc_en">
1026 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
1028 <code style=
"font-weight: bold;">0</code> List .vhd(x) files.
1029 <code style=
"font-weight: bold;">1</code> Filter .vhd(x) files.
1030 The vhd(x) files will not be shown in the boot menu if set to
1.
1034 </div><!-- /.box-body -->
1035 </div><!-- /.box -->
1039 <div class=
"box box-primary box-solid">
1040 <div class=
"box-header with-border">
1041 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_VTOY
1042 <span id=
"id_span_desc_cn"> —— 过滤 .vtoy 文件
</span></h3>
1043 <div class=
"box-tools pull-right">
1044 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
1045 </div><!-- /.box-tools -->
1046 </div><!-- /.box-header -->
1047 <div class=
"box-body no-padding">
1048 <table class=
"table table-bordered no-padding">
1049 <tr style=
"font-weight:bold;">
1050 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
1052 <label class=
"radio-inline">
1053 <input type=
"radio" id=
"id_ctrl_radio_filt_vtoy0" name=
"id_ctrl_radio_filt_vtoy" data-type=
"0" value=
"0" > <span style=
"font-weight:bold;">0</span>
1054 </label>
1055 <label class=
"radio-inline">
1056 <input type=
"radio" id=
"id_ctrl_radio_filt_vtoy1" name=
"id_ctrl_radio_filt_vtoy" data-type=
"1" value=
"1" > <span style=
"font-weight:bold;">1</span>
1060 <tr id=
"tr_title_desc_cn">
1061 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
1063 <code style=
"font-weight: bold;">0</code> 不过滤 .vtoy 文件
1064 <code style=
"font-weight: bold;">1</code> 过滤掉 .vtoy 文件。
1065 过滤之后 .vtoy 文件就不会显示在启动菜单中。
1068 <tr id=
"tr_title_desc_en">
1069 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
1071 <code style=
"font-weight: bold;">0</code> List .vtoy files.
1072 <code style=
"font-weight: bold;">1</code> Filter .vtoy files.
1073 The vtoy files will not be shown in the boot menu if set to
1.
1077 </div><!-- /.box-body -->
1078 </div><!-- /.box -->
1085 <script type=
"text/javascript">
1087 function VtoyPageLanguageChange(newlang) {
1088 VtoyCommonChangeLanguage(newlang);
1090 $('h1[id=id_h1_page_title]').text(g_vtoy_cur_language.STR_PLUG_CONTROL);
1091 $('#id_ctrl_span_search_root_valid').text(g_vtoy_cur_language.STR_VALID);
1092 $('#id_ctrl_span_search_root_invalid').text(g_vtoy_cur_language.STR_INVALID);
1093 $('#id_ctrl_span_img_valid').text(g_vtoy_cur_language.STR_VALID);
1094 $('#id_ctrl_span_img_invalid').text(g_vtoy_cur_language.STR_INVALID);
1096 $("span[id=id_span_edit]").each(function(){
1097 $(this).text(' ' + g_vtoy_cur_language.STR_EDIT);
1100 $("span[id=id_span_clear]").each(function(){
1101 $(this).text(' ' + g_vtoy_cur_language.STR_CLEAR);
1105 function VtoyGetCurrentPageItem(data) {
1108 data.win11_bypass_check = parseInt($('input:radio[name=id_ctrl_bypass_win11_radio]:checked').val());
1109 data.win11_bypass_nro = parseInt($('input:radio[name=id_ctrl_bypass_nro_radio]:checked').val());
1110 data.linux_remount = parseInt($('input:radio[name=id_ctrl_linux_remount_radio]:checked').val());
1111 data.secondary_menu = parseInt($('input:radio[name=id_ctrl_secondary_radio]:checked').val());
1112 data.password_asterisk = parseInt($('input:radio[name=id_ctrl_asterisk_radio]:checked').val());
1113 data.default_search_root = $('input:text[id=id_ctrl_text_search_root]').val();
1114 data.menu_timeout = parseInt($('input:text[id=id_ctrl_text_timeout]').val());
1115 data.secondary_menu_timeout = parseInt($('input:text[id=id_ctrl_text_secondary_timeout]').val());
1116 data.default_image = $('input:text[id=id_ctrl_text_default_img]').val();
1118 level = $('select[id=id_ctrl_sel_max_depth').val();
1119 if (level === 'max') {
1120 data.max_search_level = -
1;
1122 data.max_search_level = parseInt(level);
1125 data.default_kbd_layout = $('select[id=id_ctrl_sel_kbd').val();
1126 data.default_menu_mode = parseInt($('input:radio[name=id_ctrl_radio_menu_mode]:checked').val());
1127 data.treeview_style = parseInt($('input:radio[name=id_ctrl_radio_treestyle]:checked').val());
1129 data.filter_dot_underscore = parseInt($('input:radio[name=id_ctrl_radio_underscore]:checked').val());
1130 data.sort_casesensitive = parseInt($('input:radio[name=id_ctrl_radio_casesensitive]:checked').val());
1132 data.vhd_no_warning = parseInt($('input:radio[name=id_ctrl_radio_vhd_warning]:checked').val());
1133 data.filter_iso = parseInt($('input:radio[name=id_ctrl_radio_filt_iso]:checked').val());
1134 data.filter_wim = parseInt($('input:radio[name=id_ctrl_radio_filt_wim]:checked').val());
1135 data.filter_efi = parseInt($('input:radio[name=id_ctrl_radio_filt_efi]:checked').val());
1136 data.filter_img = parseInt($('input:radio[name=id_ctrl_radio_filt_img]:checked').val());
1137 data.filter_vhd = parseInt($('input:radio[name=id_ctrl_radio_filt_vhd]:checked').val());
1138 data.filter_vtoy = parseInt($('input:radio[name=id_ctrl_radio_filt_vtoy]:checked').val());
1140 data.menu_language = $('select[id=id_ctrl_sel_menu_lang').val();
1143 function VtoyFillCurrentPageItem(data) {
1144 //VTOY_WIN11_BYPASS_CHECK
1145 $('input:radio[name=id_ctrl_bypass_win11_radio]')[data.win11_bypass_check].checked = true;
1146 //VTOY_WIN11_BYPASS_NRO
1147 $('input:radio[name=id_ctrl_bypass_nro_radio]')[data.win11_bypass_nro].checked = true;
1148 $('input:radio[name=id_ctrl_linux_remount_radio]')[data.linux_remount].checked = true;
1149 $('input:radio[name=id_ctrl_secondary_radio]')[data.secondary_menu].checked = true;
1150 $('input:radio[name=id_ctrl_asterisk_radio]')[data.password_asterisk].checked = true;
1152 //VTOY_DEFAULT_SEARCH_ROOT
1153 $('input:text[id=id_ctrl_text_search_root]').val(data.default_search_root);
1154 if (data.default_search_root.length ===
0) {
1155 $('div[id=id_ctrl_div_root_status]').hide();
1157 $('div[id=id_ctrl_div_root_status]').show();
1158 if (data.default_search_root_valid ===
0) {
1159 $('span[id=id_ctrl_span_search_root_valid]').hide();
1160 $('span[id=id_ctrl_span_search_root_invalid]').show();
1162 $('span[id=id_ctrl_span_search_root_valid]').show();
1163 $('span[id=id_ctrl_span_search_root_invalid]').hide();
1168 $('input:text[id=id_ctrl_text_timeout]').val(data.menu_timeout);
1170 //VTOY_SECONDARY_TIMEOUT
1171 $('input:text[id=id_ctrl_text_secondary_timeout]').val(data.secondary_menu_timeout);
1174 //VTOY_DEFAULT_IMAGE
1175 $('input:text[id=id_ctrl_text_default_img]').val(data.default_image);
1176 if (data.default_image.length ===
0) {
1177 $('div[id=id_ctrl_div_img_status]').hide();
1179 $('div[id=id_ctrl_div_img_status]').show();
1180 if (data.default_image_valid ===
0) {
1181 $('span[id=id_ctrl_span_img_valid]').hide();
1182 $('span[id=id_ctrl_span_img_invalid]').show();
1184 $('span[id=id_ctrl_span_img_valid]').show();
1185 $('span[id=id_ctrl_span_img_invalid]').hide();
1189 //VTOY_MAX_SEARCH_LEVEL
1190 if (data.max_search_level
>=
0 && data.max_search_level <=
10) {
1191 $('select[id=id_ctrl_sel_max_depth').val(data.max_search_level);
1193 $('select[id=id_ctrl_sel_max_depth').val('max');
1196 //VTOY_DEFAULT_KBD_LAYOUT
1197 $('select[id=id_ctrl_sel_kbd').val(data.default_kbd_layout);
1199 //VTOY_DEFAULT_MENU_MODE
1200 $('input:radio[name=id_ctrl_radio_menu_mode]')[data.default_menu_mode].checked = true;
1202 //VTOY_TREE_VIEW_MENU_STYLE
1203 $('input:radio[name=id_ctrl_radio_treestyle]')[data.treeview_style].checked = true;
1205 //VTOY_FILT_DOT_UNDERSCORE_FILE
1206 $('input:radio[name=id_ctrl_radio_underscore]')[data.filter_dot_underscore].checked = true;
1208 //VTOY_SORT_CASE_SENSITIVE
1209 $('input:radio[name=id_ctrl_radio_casesensitive]')[data.sort_casesensitive].checked = true;
1211 //VTOY_VHD_NO_WARNING
1212 $('input:radio[name=id_ctrl_radio_vhd_warning]')[data.vhd_no_warning].checked = true;
1215 $('input:radio[name=id_ctrl_radio_filt_iso]')[data.filter_iso].checked = true;
1218 $('input:radio[name=id_ctrl_radio_filt_wim]')[data.filter_wim].checked = true;
1221 $('input:radio[name=id_ctrl_radio_filt_efi]')[data.filter_efi].checked = true;
1224 $('input:radio[name=id_ctrl_radio_filt_img]')[data.filter_img].checked = true;
1228 $('input:radio[name=id_ctrl_radio_filt_vhd]')[data.filter_vhd].checked = true;
1231 //VTOY_FILE_FLT_VTOY
1232 $('input:radio[name=id_ctrl_radio_filt_vtoy]')[data.filter_vtoy].checked = true;
1234 //VTOY_MENU_LANGUAGE
1235 if ($("select[id=id_ctrl_sel_menu_lang")[
0].options.length ===
0)
1237 for (var i =
0; i < data.menu_list.length; i++) {
1238 var hlang = data.menu_list[i];
1239 var opt = '
<option title=
"'+hlang+'">'+hlang+'
</option>';
1240 $('select[id=id_ctrl_sel_menu_lang').append(opt);
1243 $('select[id=id_ctrl_sel_menu_lang').val(data.menu_language);
1246 function VtoySaveCurrentPage() {
1247 VtoyGetCurrentPageItem(m_data_control[current_tab_index]);
1248 var data = m_data_control[current_tab_index];
1251 method : 'save_control',
1252 index: current_tab_index,
1253 win11_bypass_check: data.win11_bypass_check,
1254 win11_bypass_nro: data.win11_bypass_nro,
1255 linux_remount:data.linux_remount,
1256 secondary_menu:data.secondary_menu,
1257 password_asterisk:data.password_asterisk,
1258 default_search_root: data.default_search_root,
1259 menu_timeout: data.menu_timeout,
1260 secondary_menu_timeout: data.secondary_menu_timeout,
1261 default_image: data.default_image,
1262 max_search_level: data.max_search_level,
1263 default_kbd_layout: data.default_kbd_layout,
1264 default_menu_mode: data.default_menu_mode,
1265 treeview_style: data.treeview_style,
1266 filter_dot_underscore: data.filter_dot_underscore,
1267 sort_casesensitive: data.sort_casesensitive,
1268 vhd_no_warning: data.vhd_no_warning,
1269 filter_iso: data.filter_iso,
1270 filter_wim: data.filter_wim,
1271 filter_efi: data.filter_efi,
1272 filter_img: data.filter_img,
1273 filter_vhd: data.filter_vhd,
1274 filter_vtoy: data.filter_vtoy,
1275 menu_language: data.menu_language
1277 Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
1281 function OnClickMultiModeTab() {
1282 var href = $(this).attr('href');
1283 var index = parseInt(href.substr(
5,
1));
1285 if (index <
0 || index
>= g_vtoy_data_default_index || current_tab_index === index) {
1289 current_tab_index = index;
1290 VtoyFillCurrentPageItem(m_data_control[index]);
1293 function OnSelectSearchRoot(root, extra) {
1294 var path = root.substr(g_current_dir.length);
1295 $('input:text[id=id_ctrl_text_search_root]').val(path);
1296 if (path.length ===
0) {
1297 $('div[id=id_ctrl_div_root_status]').hide();
1299 $('div[id=id_ctrl_div_root_status]').show();
1300 $('span[id=id_ctrl_span_search_root_valid]').show();
1301 $('span[id=id_ctrl_span_search_root_invalid]').hide();
1303 VtoySaveCurrentPage();
1306 function OnSelectDefaultImage(root, valid, extra) {
1307 var path = root.substr(g_current_dir.length);
1308 $('input:text[id=id_ctrl_text_default_img]').val(path);
1309 if (path.length ===
0) {
1310 $('div[id=id_ctrl_div_img_status]').hide();
1312 $('div[id=id_ctrl_div_img_status]').show();
1313 $('span[id=id_ctrl_span_img_valid]').show();
1314 $('span[id=id_ctrl_span_img_invalid]').hide();
1316 VtoySaveCurrentPage();
1321 var current_tab_index =
0;
1323 callVtoySync({method : 'get_control'}, function(data) {
1324 m_data_control = data;
1327 $('#id_ctrl_btn_sel_root').click(function() {
1328 var tip = (g_current_os === 'windows') ? '\\ISO\\Windows' : "/ISO/Linux";
1330 "title": g_vtoy_cur_language.STR_SET_SEARCH_ROOT,
1331 "tip": g_current_dir + tip,
1336 VtoySelectDirPath(OnSelectSearchRoot, para);
1339 $('#id_ctrl_btn_clr_root').click(function() {
1340 var old = $('input:text[id=id_ctrl_text_search_root]').val();
1341 if (old.length !=
0) {
1342 $('input:text[id=id_ctrl_text_search_root]').val('');
1343 $('div[id=id_ctrl_div_root_status]').hide();
1344 VtoySaveCurrentPage();
1348 $('#id_ctrl_btn_default_img').click(function() {
1349 var tip = (g_current_os === 'windows') ? '\\ISO\\Windows10_en.iso' : "/ISO/Windows10_en.iso";
1351 "title": g_vtoy_cur_language.STR_SET_DEFAULT_IMAGE,
1353 "tip1": g_current_dir + tip,
1359 VtoySelectFilePath(OnSelectDefaultImage, para);
1362 $('#id_ctrl_btn_clr_default').click(function() {
1363 var old = $('input:text[id=id_ctrl_text_default_img]').val();
1364 if (old.length !=
0) {
1365 $('input:text[id=id_ctrl_text_default_img]').val('');
1366 $('div[id=id_ctrl_div_img_status]').hide();
1367 VtoySaveCurrentPage();
1371 $('input[type=radio]').each(function(){
1372 var id = $(this).attr('id');
1373 if (typeof(id) != 'undefined' && id.startsWith('id_ctrl')) {
1374 $(this).change(VtoySaveCurrentPage);
1377 $('select[id=id_ctrl_sel_max_depth]').change(VtoySaveCurrentPage);
1378 $('select[id=id_ctrl_sel_kbd]').change(VtoySaveCurrentPage);
1379 $('select[id=id_ctrl_sel_menu_lang]').change(VtoySaveCurrentPage);
1380 $('input[id=id_ctrl_text_timeout]').change(function() {
1381 var value = $('input:text[id=id_ctrl_text_timeout]').val();
1382 if (/^[
0-
9][
0-
9]*$/.test(value)) {
1383 VtoySaveCurrentPage();
1385 Message.error(g_vtoy_cur_language.STR_INVALID_TIMEOUT);
1386 $('input:text[id=id_ctrl_text_timeout]').val(m_data_control[current_tab_index].menu_timeout);
1389 $('input[id=id_ctrl_text_secondary_timeout]').change(function() {
1390 var value = $('input:text[id=id_ctrl_text_secondary_timeout]').val();
1391 if (/^[
0-
9][
0-
9]*$/.test(value)) {
1392 VtoySaveCurrentPage();
1394 Message.error(g_vtoy_cur_language.STR_INVALID_TIMEOUT);
1395 $('input:text[id=id_ctrl_text_secondary_timeout]').val(m_data_control[current_tab_index].secondary_menu_timeout);
1399 $('#id_tab_control a[
href="#tab_0"]').click(OnClickMultiModeTab);
1400 $('#id_tab_control a[
href="#tab_1"]').click(OnClickMultiModeTab);
1401 $('#id_tab_control a[
href="#tab_2"]').click(OnClickMultiModeTab);
1402 $('#id_tab_control a[
href="#tab_3"]').click(OnClickMultiModeTab);
1403 $('#id_tab_control a[
href="#tab_4"]').click(OnClickMultiModeTab);
1404 $('#id_tab_control a[
href="#tab_5"]').click(OnClickMultiModeTab);
1406 function UpdateTabTitleIcon(data) {
1407 CommonUpdateTabTitleIcon(data.exist_control, '#id_tab_control a[
href="#tab_', 'control');
1409 $('#id_btn_reset').click(function() {
1410 Modal.confirm({msg:GetResetTabConfigTipMsg(current_tab_index, 'control')}).on(function(e) {
1412 VtoyFillCurrentPageItem(m_data_control[g_vtoy_data_default_index]);
1413 VtoySaveCurrentPage();
1418 $('#id_tab_control a[
href="#tab_0"]').tab('show');
1419 VtoyFillCurrentPageItem(m_data_control[
0]);
1420 VtoyPageLanguageChange(g_current_language);
1422 $('button[id=id_btn_collapse]').click(function() {
1423 $("button[data-widget='collapse'] i").each(function() {
1424 if ($(this).hasClass('fa-minus')) {
1430 $('button[id=id_btn_expand]').click(function() {
1431 $("button[data-widget='collapse'] i").each(function() {
1432 if ($(this).hasClass('fa-plus')) {