1 <div class=
"box box-primary" id=
"control">
2 <div class=
"box-header">
3 <div class=
"col-sm-8" 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-2" style=
"font-size:16px;padding-top:8px;">
14 <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>
19 <div class=
"box-body">
20 <div class=
"nav-tabs-custom">
21 <ul class=
"nav nav-tabs" id=
"id_tab_control">
22 <li class=
""><a href=
"#tab_0" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold" >control
</a></li>
23 <li class=
""><a href=
"#tab_1" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_legacy
</a></li>
24 <li class=
""><a href=
"#tab_2" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_uefi
</a></li>
25 <li class=
""><a href=
"#tab_3" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_ia32
</a></li>
26 <li class=
""><a href=
"#tab_4" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_aa64
</a></li>
27 <li class=
""><a href=
"#tab_5" data-toggle=
"tab" aria-expanded=
"false" style=
"font-weight:bold">control_mips
</a></li>
32 <div class=
"box box-primary box-solid">
33 <div class=
"box-header with-border">
34 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_SEARCH_ROOT
35 <span id=
"id_span_desc_cn"> —— 指定搜索目录
</span></h3>
36 <div class=
"box-tools pull-right">
37 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
38 </div><!-- /.box-tools -->
39 </div><!-- /.box-header -->
40 <div class=
"box-body no-padding">
41 <table class=
"table table-bordered no-padding">
42 <tr style=
"font-weight:bold;">
43 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
45 <div class=
"col-sm-9" style=
"padding-left:0px;">
46 <input type=
"text" class=
"form-control" id=
"id_ctrl_text_search_root" name=
"name_ctrl_text_search_root" disabled=
"disabled"/>
48 <div class=
"col-sm-1" id=
"id_ctrl_div_root_status">
49 <span id=
"id_ctrl_span_search_root_valid" style=
"line-height: 2;" class=
"badge bg-green">有效
</span>
50 <span id=
"id_ctrl_span_search_root_invalid" style=
"line-height: 2;" class=
"badge bg-red">无效
</span>
52 <div class=
"col-sm-1">
53 <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>
55 <div class=
"col-sm-1">
56 <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>
60 <tr id=
"tr_title_desc_cn">
61 <td class=
"td_ctrl_col">选项说明
</td>
63 指定搜索ISO文件的根目录。默认Ventoy会搜索U盘上的所有目录和子目录,当你U盘上有海量的文件时,这个过程会很慢。
<br/>
64 这种情况下你可以把ISO文件单独放在某个目录下,然后通过这个变量来指定搜索路径,此时Ventoy就只会搜索该目录及其子目录。
67 <tr id=
"tr_title_desc_en">
68 <td class=
"td_ctrl_col">Option Description
</td>
70 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.
71 In this case, you can put all the image files in one directory and use this to specify the search path.
72 After that Ventoy will only search this directory and its subdirectories for image files.
76 </div><!-- /.box-body -->
80 <div class=
"box box-primary box-solid">
81 <div class=
"box-header with-border">
82 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_WIN11_BYPASS_CHECK
83 <span id=
"id_span_desc_cn"> —— 绕过Windows
11硬件检查
</span></h3>
84 <div class=
"box-tools pull-right">
85 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
86 </div><!-- /.box-tools -->
87 </div><!-- /.box-header -->
88 <div class=
"box-body no-padding">
89 <table class=
"table table-bordered no-padding">
90 <tr style=
"font-weight:bold;">
91 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
93 <label class=
"radio-inline">
94 <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>
95 </label>
96 <label class=
"radio-inline">
97 <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>
101 <tr id=
"tr_title_desc_cn">
102 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
104 <code style=
"font-weight: bold;">0</code> 不绕过Windows
11安装时的硬件检查。
<br/>
105 <code style=
"font-weight: bold;">1</code> 绕过Windows
11安装时的硬件检查。
<br/><br/>
106 该选项只对标准Windows
11 ISO文件有效,对于其他镜像文件无效。
107 当设置为
1时,Ventoy 会在安装时创建以下几个注册表项用来绕过 Windows
11 安装程序的硬件检查。
<br/>
108 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassRAMCheck
</code><br/>
109 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassTPMCheck
</code><br/>
110 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassSecureBootCheck
</code><br/>
111 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassCPUCheck
</code><br/>
112 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassStorageCheck
</code><br/>
115 <tr id=
"tr_title_desc_en">
116 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
118 <code style=
"font-weight: bold;">0</code> Don not bypass Windows
11 hardware check.
<br/>
119 <code style=
"font-weight: bold;">1</code> Bypass Windows
11 hardware check.
<br/><br/>
120 This option only avaliable for standard Windows
11 ISO files.
121 When set to
1, Ventoy will create the following registries to bypass Windows
11 hardware check when install.
<br/>
122 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassRAMCheck
</code><br/>
123 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassTPMCheck
</code><br/>
124 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassSecureBootCheck
</code><br/>
125 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassCPUCheck
</code><br/>
126 <code>HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig\BypassStorageCheck
</code><br/>
130 </div><!-- /.box-body -->
138 <div class=
"box box-primary box-solid">
139 <div class=
"box-header with-border">
140 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_MENU_MODE
141 <span id=
"id_span_desc_cn"> —— 菜单显示模式
</span></h3>
142 <div class=
"box-tools pull-right">
143 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
144 </div><!-- /.box-tools -->
145 </div><!-- /.box-header -->
146 <div class=
"box-body no-padding">
147 <table class=
"table table-bordered no-padding">
148 <tr style=
"font-weight:bold;">
149 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
151 <label class=
"radio-inline">
152 <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>
153 </label>
154 <label class=
"radio-inline">
155 <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>
159 <tr id=
"tr_title_desc_cn">
160 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
162 <code style=
"font-weight: bold;">0</code> 列表模式
163 <code style=
"font-weight: bold;">1</code> TreeView(目录树) 模式
</td>
165 <tr id=
"tr_title_desc_en">
166 <td class=
"td_ctrl_col">Option Description
</td>
168 Default boot menu display mode.
169 <code style=
"font-weight: bold;">0</code> ListView Mode
 
170 <code style=
"font-weight: bold;">1</code> TreeView Mode
174 </div><!-- /.box-body -->
183 <div class=
"box box-primary box-solid">
184 <div class=
"box-header with-border">
185 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_MENU_TIMEOUT
186 <span id=
"id_span_desc_cn"> —— 启动倒计时
</span></h3>
187 <div class=
"box-tools pull-right">
188 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
189 </div><!-- /.box-tools -->
190 </div><!-- /.box-header -->
191 <div class=
"box-body no-padding">
192 <table class=
"table table-bordered no-padding">
193 <tr style=
"font-weight:bold;">
194 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
196 <div class=
"col-sm-9" style=
"padding-left:0px;">
197 <input type=
"text" class=
"form-control" id=
"id_ctrl_text_timeout" name=
"name_ctrl_text_timeout"/>
201 <tr id=
"tr_title_desc_cn">
202 <td class=
"td_ctrl_col">选项说明
</td>
204 菜单倒计时(秒)。默认为
0(即没有超时时间),设置之后,比如设置为
10,则在倒计时
10秒之后,会自动启动选中的镜像文件。在倒计时的过程中按任意键会停止倒计时,等待用户操作。
207 <tr id=
"tr_title_desc_en">
208 <td class=
"td_ctrl_col">Option Description
</td>
210 Menu timeout (seconds). Default value is
0 (no timeout is set).
<br/>
211 When you set it to
10 for example, the selected image will be booted automatically after
10 seconds.
212 During the countdown, pressing any key will stop the countdown and wait for user operation.
216 </div><!-- /.box-body -->
221 <div class=
"box box-primary box-solid">
222 <div class=
"box-header with-border">
223 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_IMAGE
224 <span id=
"id_span_desc_cn"> —— 默认选中的镜像文件
</span></h3>
225 <div class=
"box-tools pull-right">
226 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
227 </div><!-- /.box-tools -->
228 </div><!-- /.box-header -->
229 <div class=
"box-body no-padding">
230 <table class=
"table table-bordered no-padding">
231 <tr style=
"font-weight:bold;">
232 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
234 <div class=
"col-sm-9" style=
"padding-left:0px;">
235 <input type=
"text" class=
"form-control" id=
"id_ctrl_text_default_img" name=
"name_id_ctrl_text_default_img" disabled=
"disabled"/>
237 <div class=
"col-sm-1" id=
"id_ctrl_div_img_status">
238 <span id=
"id_ctrl_span_img_valid" style=
"line-height: 2;" class=
"badge bg-green">有效
</span>
239 <span id=
"id_ctrl_span_img_invalid" style=
"line-height: 2;" class=
"badge bg-red">无效
</span>
241 <div class=
"col-sm-1">
242 <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>
244 <div class=
"col-sm-1">
245 <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>
249 <tr id=
"tr_title_desc_cn">
250 <td class=
"td_ctrl_col">选项说明
</td>
252 正常情况下默认选中的是第
1个镜像文件。通过这个选项可以设置默认选中的镜像文件,一般和 VTOY_MENU_TIMEOUT 一起使用。
<br/>
253 可以设置为 WIM/VHD/IMG 等支持的文件,必须是以 / 开始的全路径,ListView模式和TreeView模式都支持。
<br/>
254 注意,当同时设置了 VTOY_DEFAULT_SEARCH_ROOT 以后,VTOY_DEFAULT_IMAGE 对应的文件必须位于 VTOY_DEFAULT_SEARCH_ROOT 对应的目录下,否则不会生效。
257 <tr id=
"tr_title_desc_en">
258 <td class=
"td_ctrl_col">Option Description
</td>
260 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/>
261 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.
265 </div><!-- /.box-body -->
275 <div class=
"box box-primary box-solid">
276 <div class=
"box-header with-border">
277 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_MAX_SEARCH_LEVEL
278 <span id=
"id_span_desc_cn"> —— 最大搜索目录深度
</span></h3>
279 <div class=
"box-tools pull-right">
280 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
281 </div><!-- /.box-tools -->
282 </div><!-- /.box-header -->
283 <div class=
"box-body no-padding">
284 <table class=
"table table-bordered no-padding">
285 <tr style=
"font-weight:bold;">
286 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
288 <select id=
"id_ctrl_sel_max_depth" name=
"name_ctrl_sel_max_depth" class=
"form-control">
289 <option title=
"max" selected
>max
</option>
290 <option title=
"0">0</option>
291 <option title=
"1">1</option>
292 <option title=
"2">2</option>
293 <option title=
"3">3</option>
294 <option title=
"4">4</option>
295 <option title=
"5">5</option>
296 <option title=
"6">6</option>
297 <option title=
"7">7</option>
298 <option title=
"8">8</option>
299 <option title=
"9">9</option>
300 <option title=
"10">10</option>
304 <tr id=
"tr_title_desc_cn">
305 <td class=
"td_ctrl_col">选项说明
</td>
307 最大搜索子目录的层数,取值为:
<code>max
</code> <code>0</code> <code>1</code> <code>2</code> <code>3</code> <code>...
</code>
308 默认值为:
<code>max
</code><br/>
309 默认Ventoy会递归搜索磁盘上的所有目录和子目录,不管目录结构有多深都会搜索到底。你可以通过这个参数来控制搜索时的路径深度。
<br/><br/>
310 <code>max
</code> : 最大层数,也就是搜索所有子目录的意思。这也是 Ventoy 的默认值。
<br/>
311 <code>0</code> : 搜索
0层子目录,只列出根目录下的文件,不去搜索任何一个子目录。
<br/>
312 <code>1</code> : 搜索
1层子目录,除了根目录下的文件以外,再搜索根目录下的
1级子目录。但是不再搜索
1级子目录下的子目录(
2级子目录)。
<br/>
313 <code>2</code> : 搜索
2层子目录,除了根目录下的文件以外,再搜索根目录下的
1级子目录以及
1级子目录下的子目录(
2级子目录)。
<br/>
314 <code>3</code> : 搜索
3层子目录,......
<br/>
315 <code>...
</code><br/><br/>
316 注意,如果
<code>VTOY_DEFAULT_SEARCH_ROOT
</code> 参数也同时设置了的话,则就以
<code>VTOY_DEFAULT_SEARCH_ROOT
</code> 指定的目录作为根目录开始计算。
319 <tr id=
"tr_title_desc_en">
320 <td class=
"td_ctrl_col">Option Description
</td>
322 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>
323 default is :
<code>max
</code><br/>
324 By default, Ventoy will search all the directories and sub directories recursively no matter how deep the directory level is.
<br/>
325 You can use this parameter to set a max-depth for the search path.
<br/><br/>
326 <code>max
</code> : Maximum, search all the directories and subdirectories. This is Ventoy's default value.
<br/>
327 <code>0</code> : Only search files in the root and don't search any subdirectories.
<br/>
328 <code>1</code> : Search up to level
1 of subdirectories.
<br/>
329 <code>2</code> : Search up to level
2 of subdirectories.
<br/>
330 <code>3</code> : Search up to level
3 of subdirectories.
<br/>
331 <code>...
</code><br/><br/>
332 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> .
336 </div><!-- /.box-body -->
342 <div class=
"box box-primary box-solid">
343 <div class=
"box-header with-border">
344 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_KBD_LAYOUT
345 <span id=
"id_span_desc_cn"> —— 默认键盘布局
</span></h3>
346 <div class=
"box-tools pull-right">
347 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
348 </div><!-- /.box-tools -->
349 </div><!-- /.box-header -->
350 <div class=
"box-body no-padding">
351 <table class=
"table table-bordered no-padding">
352 <tr style=
"font-weight:bold;">
353 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
355 <select id=
"id_ctrl_sel_kbd" name=
"name_ctrl_sel_kbd" class=
"form-control">
356 <option title=
"QWERTY_USA" selected
>QWERTY_USA
</option>
357 <option title=
"AZERTY">AZERTY
</option>
358 <option title=
"CZECH_QWERTY">CZECH_QWERTY
</option>
359 <option title=
"CZECH_QWERTZ">CZECH_QWERTZ
</option>
360 <option title=
"DANISH">DANISH
</option>
361 <option title=
"DVORAK_USA">DVORAK_USA
</option>
362 <option title=
"FRENCH">FRENCH
</option>
363 <option title=
"GERMAN">GERMAN
</option>
364 <option title=
"ITALIANO">ITALIANO
</option>
365 <option title=
"JAPAN_106">JAPAN_106
</option>
366 <option title=
"LATIN_USA">LATIN_USA
</option>
367 <option title=
"PORTU_BRAZIL">PORTU_BRAZIL
</option>
368 <option title=
"QWERTY_UK">QWERTY_UK
</option>
369 <option title=
"QWERTZ">QWERTZ
</option>
370 <option title=
"QWERTZ_HUN">QWERTZ_HUN
</option>
371 <option title=
"QWERTZ_SLOV_CROAT">QWERTZ_SLOV_CROAT
</option>
372 <option title=
"SPANISH">SPANISH
</option>
373 <option title=
"SWEDISH">SWEDISH
</option>
374 <option title=
"TURKISH_Q">TURKISH_Q
</option>
375 <option title=
"VIETNAMESE">VIETNAMESE
</option>
379 <tr id=
"tr_title_desc_cn">
380 <td class=
"td_ctrl_col">选项说明
</td>
385 <tr id=
"tr_title_desc_en">
386 <td class=
"td_ctrl_col">Option Description
</td>
392 </div><!-- /.box-body -->
398 <div class=
"box box-primary box-solid">
399 <div class=
"box-header with-border">
400 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_TREE_VIEW_MENU_STYLE
401 <span id=
"id_span_desc_cn"> —— TreeView模式显示风格
</span></h3>
402 <div class=
"box-tools pull-right">
403 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
404 </div><!-- /.box-tools -->
405 </div><!-- /.box-header -->
406 <div class=
"box-body no-padding">
407 <table class=
"table table-bordered no-padding">
408 <tr style=
"font-weight:bold;">
409 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
411 <label class=
"radio-inline">
412 <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>
413 </label>
414 <label class=
"radio-inline">
415 <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>
419 <tr id=
"tr_title_desc_cn">
420 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
421 <td>TreeView模式下的菜单风格。
422 <code style=
"font-weight: bold;">0</code> 显示DIR和文件大小
423 <code style=
"font-weight: bold;">1</code> 不显示DIR和文件大小。只在 VTOY_DEFAULT_MENU_MODE 为
1时才有效。
426 <tr id=
"tr_title_desc_en">
427 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
429 Menu style in TreeView mode.
430 <code style=
"font-weight: bold;">0</code> with DIR and file size prefix
431 <code style=
"font-weight: bold;">1</code> No DIR and file size. Default is
0.
435 </div><!-- /.box-body -->
439 <div class=
"box box-primary box-solid">
440 <div class=
"box-header with-border">
441 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILT_DOT_UNDERSCORE_FILE
442 <span id=
"id_span_desc_cn"> —— 过滤以 ._ 开头的文件
</span></h3>
443 <div class=
"box-tools pull-right">
444 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
445 </div><!-- /.box-tools -->
446 </div><!-- /.box-header -->
447 <div class=
"box-body no-padding">
448 <table class=
"table table-bordered no-padding">
449 <tr style=
"font-weight:bold;">
450 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
452 <label class=
"radio-inline">
453 <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>
454 </label>
455 <label class=
"radio-inline">
456 <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>
460 <tr id=
"tr_title_desc_cn">
461 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
462 <td>过滤以 ._ 开头的文件。当使用苹果系统时,有时拷贝文件会产生一些 ._ 开头的文件,可以通过此选项过滤掉。
463 <code style=
"font-weight: bold;">0</code> 不过滤
464 <code style=
"font-weight: bold;">1</code> 过滤
467 <tr id=
"tr_title_desc_en">
468 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
470 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).
471 <code style=
"font-weight: bold;">0</code> Don't filt
472 <code style=
"font-weight: bold;">1</code> Filt
476 </div><!-- /.box-body -->
481 <div class=
"box box-primary box-solid">
482 <div class=
"box-header with-border">
483 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_SORT_CASE_SENSITIVE
484 <span id=
"id_span_desc_cn"> —— 菜单排序时是否区分大小写
</span></h3>
485 <div class=
"box-tools pull-right">
486 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
487 </div><!-- /.box-tools -->
488 </div><!-- /.box-header -->
489 <div class=
"box-body no-padding">
490 <table class=
"table table-bordered no-padding">
491 <tr style=
"font-weight:bold;">
492 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
494 <label class=
"radio-inline">
495 <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>
496 </label>
497 <label class=
"radio-inline">
498 <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>
502 <tr id=
"tr_title_desc_cn">
503 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
505 <code style=
"font-weight: bold;">0</code> 不区分大小写
<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 Case sensitive when sort the ISO files or directories.
512 <code style=
"font-weight: bold;">0</code> case insensitive
<code style=
"font-weight: bold;">1</code> case sensitive
516 </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_VHD_NO_WARNING
</h3>
524 <div class=
"box-tools pull-right">
525 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
526 </div><!-- /.box-tools -->
527 </div><!-- /.box-header -->
528 <div class=
"box-body no-padding">
529 <table class=
"table table-bordered no-padding">
530 <tr style=
"font-weight:bold;">
531 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
533 <label class=
"radio-inline">
534 <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>
535 </label>
536 <label class=
"radio-inline">
537 <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>
541 <tr id=
"tr_title_desc_cn">
542 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
544 <code style=
"font-weight: bold;">0</code> 启动Windows VHD(x)时,如果U盘分区不是NTFS格式,则显示告警信息。
545 <code style=
"font-weight: bold;">1</code> 不显示告警信息。
548 <tr id=
"tr_title_desc_en">
549 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
551 <code style=
"font-weight: bold;">0</code> Show a warning message if the partition is not NTFS when booting VHD(x) file.
552 <code style=
"font-weight: bold;">1</code> No warning message.
556 </div><!-- /.box-body -->
564 <div class=
"box box-primary box-solid">
565 <div class=
"box-header with-border">
566 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_ISO
567 <span id=
"id_span_desc_cn"> —— 过滤 .iso 文件
</span></h3>
568 <div class=
"box-tools pull-right">
569 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
570 </div><!-- /.box-tools -->
571 </div><!-- /.box-header -->
572 <div class=
"box-body no-padding">
573 <table class=
"table table-bordered no-padding">
574 <tr style=
"font-weight:bold;">
575 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
577 <label class=
"radio-inline">
578 <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>
579 </label>
580 <label class=
"radio-inline">
581 <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>
585 <tr id=
"tr_title_desc_cn">
586 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
588 <code style=
"font-weight: bold;">0</code> 不过滤 .iso 文件
589 <code style=
"font-weight: bold;">1</code> 过滤掉 .iso 文件。
590 过滤之后 .iso 文件就不会显示在启动菜单中。
593 <tr id=
"tr_title_desc_en">
594 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
596 <code style=
"font-weight: bold;">0</code> List .iso files.
597 <code style=
"font-weight: bold;">1</code> Filter .iso files.
598 The iso files will not be shown in the boot menu if set to
1.
602 </div><!-- /.box-body -->
606 <div class=
"box box-primary box-solid">
607 <div class=
"box-header with-border">
608 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_WIM
609 <span id=
"id_span_desc_cn"> —— 过滤 .wim 文件
</span></h3>
610 <div class=
"box-tools pull-right">
611 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
612 </div><!-- /.box-tools -->
613 </div><!-- /.box-header -->
614 <div class=
"box-body no-padding">
615 <table class=
"table table-bordered no-padding">
616 <tr style=
"font-weight:bold;">
617 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
619 <label class=
"radio-inline">
620 <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>
621 </label>
622 <label class=
"radio-inline">
623 <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>
627 <tr id=
"tr_title_desc_cn">
628 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
630 <code style=
"font-weight: bold;">0</code> 不过滤 .wim 文件
631 <code style=
"font-weight: bold;">1</code> 过滤掉 .wim 文件。
632 过滤之后 .wim 文件就不会显示在启动菜单中。
635 <tr id=
"tr_title_desc_en">
636 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
638 <code style=
"font-weight: bold;">0</code> List .wim files.
639 <code style=
"font-weight: bold;">1</code> Filter .wim files.
640 The wim files will not be shown in the boot menu if set to
1.
644 </div><!-- /.box-body -->
649 <div class=
"box box-primary box-solid">
650 <div class=
"box-header with-border">
651 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_EFI
652 <span id=
"id_span_desc_cn"> —— 过滤 .efi 文件
</span></h3>
653 <div class=
"box-tools pull-right">
654 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
655 </div><!-- /.box-tools -->
656 </div><!-- /.box-header -->
657 <div class=
"box-body no-padding">
658 <table class=
"table table-bordered no-padding">
659 <tr style=
"font-weight:bold;">
660 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
662 <label class=
"radio-inline">
663 <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>
664 </label>
665 <label class=
"radio-inline">
666 <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>
670 <tr id=
"tr_title_desc_cn">
671 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
673 <code style=
"font-weight: bold;">0</code> 不过滤 .efi 文件
674 <code style=
"font-weight: bold;">1</code> 过滤掉 .efi 文件。
675 过滤之后 .efi 文件就不会显示在启动菜单中。
678 <tr id=
"tr_title_desc_en">
679 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
681 <code style=
"font-weight: bold;">0</code> List .efi files.
682 <code style=
"font-weight: bold;">1</code> Filter .efi files.
683 The efi files will not be shown in the boot menu if set to
1.
687 </div><!-- /.box-body -->
692 <div class=
"box box-primary box-solid">
693 <div class=
"box-header with-border">
694 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_IMG
695 <span id=
"id_span_desc_cn"> —— 过滤 .img 文件
</span></h3>
696 <div class=
"box-tools pull-right">
697 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
698 </div><!-- /.box-tools -->
699 </div><!-- /.box-header -->
700 <div class=
"box-body no-padding">
701 <table class=
"table table-bordered no-padding">
702 <tr style=
"font-weight:bold;">
703 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
705 <label class=
"radio-inline">
706 <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>
707 </label>
708 <label class=
"radio-inline">
709 <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>
713 <tr id=
"tr_title_desc_cn">
714 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
716 <code style=
"font-weight: bold;">0</code> 不过滤 .img 文件
717 <code style=
"font-weight: bold;">1</code> 过滤掉 .img 文件。
718 过滤之后 .img 文件就不会显示在启动菜单中。
721 <tr id=
"tr_title_desc_en">
722 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
724 <code style=
"font-weight: bold;">0</code> List .img files.
725 <code style=
"font-weight: bold;">1</code> Filter .img files.
726 The img files will not be shown in the boot menu if set to
1.
730 </div><!-- /.box-body -->
735 <div class=
"box box-primary box-solid">
736 <div class=
"box-header with-border">
737 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_VHD
738 <span id=
"id_span_desc_cn"> —— 过滤 .vhd(x) 文件
</span></h3>
739 <div class=
"box-tools pull-right">
740 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
741 </div><!-- /.box-tools -->
742 </div><!-- /.box-header -->
743 <div class=
"box-body no-padding">
744 <table class=
"table table-bordered no-padding">
745 <tr style=
"font-weight:bold;">
746 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
748 <label class=
"radio-inline">
749 <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>
750 </label>
751 <label class=
"radio-inline">
752 <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>
756 <tr id=
"tr_title_desc_cn">
757 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
759 <code style=
"font-weight: bold;">0</code> 不过滤 .vhd(x) 文件
760 <code style=
"font-weight: bold;">1</code> 过滤掉 .vhd(x) 文件。
761 过滤之后 .vhd(x) 文件就不会显示在启动菜单中。
764 <tr id=
"tr_title_desc_en">
765 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
767 <code style=
"font-weight: bold;">0</code> List .vhd(x) files.
768 <code style=
"font-weight: bold;">1</code> Filter .vhd(x) files.
769 The vhd(x) files will not be shown in the boot menu if set to
1.
773 </div><!-- /.box-body -->
778 <div class=
"box box-primary box-solid">
779 <div class=
"box-header with-border">
780 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_VTOY
781 <span id=
"id_span_desc_cn"> —— 过滤 .vtoy 文件
</span></h3>
782 <div class=
"box-tools pull-right">
783 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
784 </div><!-- /.box-tools -->
785 </div><!-- /.box-header -->
786 <div class=
"box-body no-padding">
787 <table class=
"table table-bordered no-padding">
788 <tr style=
"font-weight:bold;">
789 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
791 <label class=
"radio-inline">
792 <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>
793 </label>
794 <label class=
"radio-inline">
795 <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>
799 <tr id=
"tr_title_desc_cn">
800 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
802 <code style=
"font-weight: bold;">0</code> 不过滤 .vtoy 文件
803 <code style=
"font-weight: bold;">1</code> 过滤掉 .vtoy 文件。
804 过滤之后 .vtoy 文件就不会显示在启动菜单中。
807 <tr id=
"tr_title_desc_en">
808 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
810 <code style=
"font-weight: bold;">0</code> List .vtoy files.
811 <code style=
"font-weight: bold;">1</code> Filter .vtoy files.
812 The vtoy files will not be shown in the boot menu if set to
1.
816 </div><!-- /.box-body -->
820 <div class=
"box box-primary box-solid">
821 <div class=
"box-header with-border">
822 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_HELP_TXT_LANGUAGE
823 <span id=
"id_span_desc_cn"> —— 帮助信息语言
</span></h3>
824 <div class=
"box-tools pull-right">
825 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
826 </div><!-- /.box-tools -->
827 </div><!-- /.box-header -->
828 <div class=
"box-body no-padding">
829 <table class=
"table table-bordered no-padding">
830 <tr style=
"font-weight:bold;">
831 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
833 <select id=
"id_ctrl_sel_help_lang" name=
"name_ctrl_sel_help_lang" class=
"form-control">
838 <tr id=
"tr_title_desc_cn">
839 <td class=
"td_ctrl_col">选项说明
</td>
841 快捷键
<code>h
</code> 显示的帮助信息的语言版本。默认是 "en_US"。
842 具体请参考
<a target=
"_blank" href='https://www.ventoy.net/cn/plugin_control.html#vtoy_help_language'
>Ventoy 帮助信息
</a>
845 <tr id=
"tr_title_desc_en">
846 <td class=
"td_ctrl_col">Option Description
</td>
848 The language of the help text when press
<code>h
</code>. Default is "en_US",
849 refer
<a target=
"_blank" href='https://www.ventoy.net/en/plugin_control.html#vtoy_help_language'
>Ventoy Help Text
</a> for details.
853 </div><!-- /.box-body -->
861 <script type=
"text/javascript">
862 function VtoyPageLanguageChange(newlang) {
863 VtoyCommonChangeLanguage(newlang);
865 $('h1[id=id_h1_page_title]').text(g_vtoy_cur_language.STR_PLUG_CONTROL);
866 $('#id_ctrl_span_search_root_valid').text(g_vtoy_cur_language.STR_VALID);
867 $('#id_ctrl_span_search_root_invalid').text(g_vtoy_cur_language.STR_INVALID);
868 $('#id_ctrl_span_img_valid').text(g_vtoy_cur_language.STR_VALID);
869 $('#id_ctrl_span_img_invalid').text(g_vtoy_cur_language.STR_INVALID);
871 $("span[id=id_span_edit]").each(function(){
872 $(this).text(' ' + g_vtoy_cur_language.STR_EDIT);
875 $("span[id=id_span_clear]").each(function(){
876 $(this).text(' ' + g_vtoy_cur_language.STR_CLEAR);
880 function VtoyGetCurrentPageItem(data) {
883 data.win11_bypass_check = parseInt($('input:radio[name=id_ctrl_bypass_win11_radio]:checked').val());
884 data.default_search_root = $('input:text[id=id_ctrl_text_search_root]').val();
885 data.menu_timeout = parseInt($('input:text[id=id_ctrl_text_timeout]').val());
886 data.default_image = $('input:text[id=id_ctrl_text_default_img]').val();
888 level = $('select[id=id_ctrl_sel_max_depth').val();
889 if (level === 'max') {
890 data.max_search_level = -
1;
892 data.max_search_level = parseInt(level);
895 data.default_kbd_layout = $('select[id=id_ctrl_sel_kbd').val();
896 data.default_menu_mode = parseInt($('input:radio[name=id_ctrl_radio_menu_mode]:checked').val());
897 data.treeview_style = parseInt($('input:radio[name=id_ctrl_radio_treestyle]:checked').val());
899 data.filter_dot_underscore = parseInt($('input:radio[name=id_ctrl_radio_underscore]:checked').val());
900 data.sort_casesensitive = parseInt($('input:radio[name=id_ctrl_radio_casesensitive]:checked').val());
902 data.vhd_no_warning = parseInt($('input:radio[name=id_ctrl_radio_vhd_warning]:checked').val());
903 data.filter_iso = parseInt($('input:radio[name=id_ctrl_radio_filt_iso]:checked').val());
904 data.filter_wim = parseInt($('input:radio[name=id_ctrl_radio_filt_wim]:checked').val());
905 data.filter_efi = parseInt($('input:radio[name=id_ctrl_radio_filt_efi]:checked').val());
906 data.filter_img = parseInt($('input:radio[name=id_ctrl_radio_filt_img]:checked').val());
907 data.filter_vhd = parseInt($('input:radio[name=id_ctrl_radio_filt_vhd]:checked').val());
908 data.filter_vtoy = parseInt($('input:radio[name=id_ctrl_radio_filt_vtoy]:checked').val());
910 data.help_text_language = $('select[id=id_ctrl_sel_help_lang').val();
913 function VtoyFillCurrentPageItem(data) {
914 //VTOY_WIN11_BYPASS_CHECK
915 $('input:radio[name=id_ctrl_bypass_win11_radio]')[data.win11_bypass_check].checked = true;
917 //VTOY_DEFAULT_SEARCH_ROOT
918 $('input:text[id=id_ctrl_text_search_root]').val(data.default_search_root);
919 if (data.default_search_root.length ===
0) {
920 $('div[id=id_ctrl_div_root_status]').hide();
922 $('div[id=id_ctrl_div_root_status]').show();
923 if (data.default_search_root_valid ===
0) {
924 $('span[id=id_ctrl_span_search_root_valid]').hide();
925 $('span[id=id_ctrl_span_search_root_invalid]').show();
927 $('span[id=id_ctrl_span_search_root_valid]').show();
928 $('span[id=id_ctrl_span_search_root_invalid]').hide();
933 $('input:text[id=id_ctrl_text_timeout]').val(data.menu_timeout);
937 $('input:text[id=id_ctrl_text_default_img]').val(data.default_image);
938 if (data.default_image.length ===
0) {
939 $('div[id=id_ctrl_div_img_status]').hide();
941 $('div[id=id_ctrl_div_img_status]').show();
942 if (data.default_image_valid ===
0) {
943 $('span[id=id_ctrl_span_img_valid]').hide();
944 $('span[id=id_ctrl_span_img_invalid]').show();
946 $('span[id=id_ctrl_span_img_valid]').show();
947 $('span[id=id_ctrl_span_img_invalid]').hide();
951 //VTOY_MAX_SEARCH_LEVEL
952 if (data.max_search_level
>=
0 && data.max_search_level <=
10) {
953 $('select[id=id_ctrl_sel_max_depth').val(data.max_search_level);
955 $('select[id=id_ctrl_sel_max_depth').val('max');
958 //VTOY_DEFAULT_KBD_LAYOUT
959 $('select[id=id_ctrl_sel_kbd').val(data.default_kbd_layout);
961 //VTOY_DEFAULT_MENU_MODE
962 $('input:radio[name=id_ctrl_radio_menu_mode]')[data.default_menu_mode].checked = true;
964 //VTOY_TREE_VIEW_MENU_STYLE
965 $('input:radio[name=id_ctrl_radio_treestyle]')[data.treeview_style].checked = true;
967 //VTOY_FILT_DOT_UNDERSCORE_FILE
968 $('input:radio[name=id_ctrl_radio_underscore]')[data.filter_dot_underscore].checked = true;
970 //VTOY_SORT_CASE_SENSITIVE
971 $('input:radio[name=id_ctrl_radio_casesensitive]')[data.sort_casesensitive].checked = true;
973 //VTOY_VHD_NO_WARNING
974 $('input:radio[name=id_ctrl_radio_vhd_warning]')[data.vhd_no_warning].checked = true;
977 $('input:radio[name=id_ctrl_radio_filt_iso]')[data.filter_iso].checked = true;
980 $('input:radio[name=id_ctrl_radio_filt_wim]')[data.filter_wim].checked = true;
983 $('input:radio[name=id_ctrl_radio_filt_efi]')[data.filter_efi].checked = true;
986 $('input:radio[name=id_ctrl_radio_filt_img]')[data.filter_img].checked = true;
990 $('input:radio[name=id_ctrl_radio_filt_vhd]')[data.filter_vhd].checked = true;
994 $('input:radio[name=id_ctrl_radio_filt_vtoy]')[data.filter_vtoy].checked = true;
996 //VTOY_HELP_TXT_LANGUAGE
997 if ($("select[id=id_ctrl_sel_help_lang")[
0].options.length ===
0)
999 for (var i =
0; i < data.help_list.length; i++) {
1000 var hlang = data.help_list[i];
1001 var opt = '
<option title=
"'+hlang+'">'+hlang+'
</option>';
1002 $('select[id=id_ctrl_sel_help_lang').append(opt);
1006 $('select[id=id_ctrl_sel_help_lang').val(data.help_text_language);
1009 function VtoySaveCurrentPage() {
1010 VtoyGetCurrentPageItem(m_data_control[current_tab_index]);
1011 var data = m_data_control[current_tab_index];
1014 method : 'save_control',
1015 index: current_tab_index,
1016 win11_bypass_check: data.win11_bypass_check,
1017 default_search_root: data.default_search_root,
1018 menu_timeout: data.menu_timeout,
1019 default_image: data.default_image,
1020 max_search_level: data.max_search_level,
1021 default_kbd_layout: data.default_kbd_layout,
1022 default_menu_mode: data.default_menu_mode,
1023 treeview_style: data.treeview_style,
1024 filter_dot_underscore: data.filter_dot_underscore,
1025 sort_casesensitive: data.sort_casesensitive,
1026 vhd_no_warning: data.vhd_no_warning,
1027 filter_iso: data.filter_iso,
1028 filter_wim: data.filter_wim,
1029 filter_efi: data.filter_efi,
1030 filter_img: data.filter_img,
1031 filter_vhd: data.filter_vhd,
1032 filter_vtoy: data.filter_vtoy,
1033 help_text_language: data.help_text_language
1035 Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
1039 function OnClickMultiModeTab() {
1040 var href = $(this).attr('href');
1041 var index = parseInt(href.substr(
5,
1));
1043 if (index <
0 || index
>= g_vtoy_data_default_index || current_tab_index === index) {
1047 current_tab_index = index;
1048 VtoyFillCurrentPageItem(m_data_control[index]);
1051 function OnSelectSearchRoot(root, extra) {
1052 var path = root.substr(g_current_dir.length);
1053 $('input:text[id=id_ctrl_text_search_root]').val(path);
1054 if (path.length ===
0) {
1055 $('div[id=id_ctrl_div_root_status]').hide();
1057 $('div[id=id_ctrl_div_root_status]').show();
1058 $('span[id=id_ctrl_span_search_root_valid]').show();
1059 $('span[id=id_ctrl_span_search_root_invalid]').hide();
1061 VtoySaveCurrentPage();
1064 function OnSelectDefaultImage(root, valid, extra) {
1065 var path = root.substr(g_current_dir.length);
1066 $('input:text[id=id_ctrl_text_default_img]').val(path);
1067 if (path.length ===
0) {
1068 $('div[id=id_ctrl_div_img_status]').hide();
1070 $('div[id=id_ctrl_div_img_status]').show();
1071 $('span[id=id_ctrl_span_img_valid]').show();
1072 $('span[id=id_ctrl_span_img_invalid]').hide();
1074 VtoySaveCurrentPage();
1079 var current_tab_index =
0;
1081 callVtoySync({method : 'get_control'}, function(data) {
1082 m_data_control = data;
1085 $('#id_ctrl_btn_sel_root').click(function() {
1086 var tip = (g_current_os === 'windows') ? '\\ISO\\Windows' : "/ISO/Linux";
1088 "title": g_vtoy_cur_language.STR_SET_SEARCH_ROOT,
1089 "tip": g_current_dir + tip,
1094 VtoySelectDirPath(OnSelectSearchRoot, para);
1097 $('#id_ctrl_btn_clr_root').click(function() {
1098 var old = $('input:text[id=id_ctrl_text_search_root]').val();
1099 if (old.length !=
0) {
1100 $('input:text[id=id_ctrl_text_search_root]').val('');
1101 $('div[id=id_ctrl_div_root_status]').hide();
1102 VtoySaveCurrentPage();
1106 $('#id_ctrl_btn_default_img').click(function() {
1107 var tip = (g_current_os === 'windows') ? '\\ISO\\Windows10_en.iso' : "/ISO/Windows10_en.iso";
1109 "title": g_vtoy_cur_language.STR_SET_DEFAULT_IMAGE,
1111 "tip1": g_current_dir + tip,
1117 VtoySelectFilePath(OnSelectDefaultImage, para);
1120 $('#id_ctrl_btn_clr_default').click(function() {
1121 var old = $('input:text[id=id_ctrl_text_default_img]').val();
1122 if (old.length !=
0) {
1123 $('input:text[id=id_ctrl_text_default_img]').val('');
1124 $('div[id=id_ctrl_div_img_status]').hide();
1125 VtoySaveCurrentPage();
1129 $('input[type=radio]').each(function(){
1130 var id = $(this).attr('id');
1131 if (id.startsWith('id_ctrl')) {
1132 $(this).change(VtoySaveCurrentPage);
1135 $('select[id=id_ctrl_sel_max_depth]').change(VtoySaveCurrentPage);
1136 $('select[id=id_ctrl_sel_kbd]').change(VtoySaveCurrentPage);
1137 $('select[id=id_ctrl_sel_help_lang]').change(VtoySaveCurrentPage);
1138 $('input[id=id_ctrl_text_timeout]').change(function() {
1139 var value = $('input:text[id=id_ctrl_text_timeout]').val();
1140 if (/^[
0-
9][
0-
9]*$/.test(value)) {
1141 VtoySaveCurrentPage();
1143 Message.error(g_vtoy_cur_language.STR_INVALID_TIMEOUT);
1144 $('input:text[id=id_ctrl_text_timeout]').val(m_data_control[current_tab_index].menu_timeout);
1148 $('#id_tab_control a[
href="#tab_0"]').click(OnClickMultiModeTab);
1149 $('#id_tab_control a[
href="#tab_1"]').click(OnClickMultiModeTab);
1150 $('#id_tab_control a[
href="#tab_2"]').click(OnClickMultiModeTab);
1151 $('#id_tab_control a[
href="#tab_3"]').click(OnClickMultiModeTab);
1152 $('#id_tab_control a[
href="#tab_4"]').click(OnClickMultiModeTab);
1153 $('#id_tab_control a[
href="#tab_5"]').click(OnClickMultiModeTab);
1155 $('#id_tab_control a[
href="#tab_0"]').tab('show');
1156 VtoyFillCurrentPageItem(m_data_control[
0]);
1157 VtoyPageLanguageChange(g_current_language);
1159 $('button[id=id_btn_collapse]').click(function() {
1160 $("button[data-widget='collapse'] i").each(function() {
1161 if ($(this).hasClass('fa-minus')) {
1167 $('button[id=id_btn_expand]').click(function() {
1168 $("button[data-widget='collapse'] i").each(function() {
1169 if ($(this).hasClass('fa-plus')) {