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 -->
341 <div class=
"box box-primary box-solid">
342 <div class=
"box-header with-border">
343 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_LINUX_REMOUNT
344 <span id=
"id_span_desc_cn"> —— Linux 启动后继续访问ISO文件所在分区
</span></h3>
345 <div class=
"box-tools pull-right">
346 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
347 </div><!-- /.box-tools -->
348 </div><!-- /.box-header -->
349 <div class=
"box-body no-padding">
350 <table class=
"table table-bordered no-padding">
351 <tr style=
"font-weight:bold;">
352 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
354 <label class=
"radio-inline">
355 <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>
356 </label>
357 <label class=
"radio-inline">
358 <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>
362 <tr id=
"tr_title_desc_cn">
363 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
365 <code style=
"font-weight: bold;">0</code> Linux启动后不需要继续访问ISO文件所在的分区。
<br/>
366 <code style=
"font-weight: bold;">1</code> Linux启动后需要继续访问ISO文件所在的分区。
<br/><br/>
367 该选项只对 Linux 系统镜像有效。
<br/>
368 默认情况下,受Linux内核相关功能的限制,对于Linux系统,在启动后无法继续访问ISO文件所在的分区。在mount的时候会提示 device busy。
<br/>
369 如果这里选择
1,则 Ventoy 会尝试通过一些特殊的手段绕过内核的这个限制,但是这个功能是实验性质的,没有经过大规模和长时间的验证。
372 <tr id=
"tr_title_desc_en">
373 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
375 <code style=
"font-weight: bold;">0</code> I don't need to access the image partition after boot.
<br/>
376 <code style=
"font-weight: bold;">1</code> I need to access the image partition after boot.
<br/><br/>
377 This option is only avaliable for Linux distro image files.
<br/>
379 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.
380 This is due to linux kernel restriction (device-mapper module).
<br/>
381 If you select
1 here, Ventoy will try to bypass the restriction with some special mechanism.
<br/>
382 But it should be noted that, this is an experimental feature and is not fully tested.
387 </div><!-- /.box-body -->
393 <div class=
"box box-primary box-solid">
394 <div class=
"box-header with-border">
395 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_DEFAULT_KBD_LAYOUT
396 <span id=
"id_span_desc_cn"> —— 默认键盘布局
</span></h3>
397 <div class=
"box-tools pull-right">
398 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
399 </div><!-- /.box-tools -->
400 </div><!-- /.box-header -->
401 <div class=
"box-body no-padding">
402 <table class=
"table table-bordered no-padding">
403 <tr style=
"font-weight:bold;">
404 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
406 <select id=
"id_ctrl_sel_kbd" name=
"name_ctrl_sel_kbd" class=
"form-control">
407 <option title=
"QWERTY_USA" selected
>QWERTY_USA
</option>
408 <option title=
"AZERTY">AZERTY
</option>
409 <option title=
"CZECH_QWERTY">CZECH_QWERTY
</option>
410 <option title=
"CZECH_QWERTZ">CZECH_QWERTZ
</option>
411 <option title=
"DANISH">DANISH
</option>
412 <option title=
"DVORAK_USA">DVORAK_USA
</option>
413 <option title=
"FRENCH">FRENCH
</option>
414 <option title=
"GERMAN">GERMAN
</option>
415 <option title=
"ITALIANO">ITALIANO
</option>
416 <option title=
"JAPAN_106">JAPAN_106
</option>
417 <option title=
"LATIN_USA">LATIN_USA
</option>
418 <option title=
"PORTU_BRAZIL">PORTU_BRAZIL
</option>
419 <option title=
"QWERTY_UK">QWERTY_UK
</option>
420 <option title=
"QWERTZ">QWERTZ
</option>
421 <option title=
"QWERTZ_HUN">QWERTZ_HUN
</option>
422 <option title=
"QWERTZ_SLOV_CROAT">QWERTZ_SLOV_CROAT
</option>
423 <option title=
"SPANISH">SPANISH
</option>
424 <option title=
"SWEDISH">SWEDISH
</option>
425 <option title=
"TURKISH_Q">TURKISH_Q
</option>
426 <option title=
"VIETNAMESE">VIETNAMESE
</option>
430 <tr id=
"tr_title_desc_cn">
431 <td class=
"td_ctrl_col">选项说明
</td>
436 <tr id=
"tr_title_desc_en">
437 <td class=
"td_ctrl_col">Option Description
</td>
443 </div><!-- /.box-body -->
449 <div class=
"box box-primary box-solid">
450 <div class=
"box-header with-border">
451 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_TREE_VIEW_MENU_STYLE
452 <span id=
"id_span_desc_cn"> —— TreeView模式显示风格
</span></h3>
453 <div class=
"box-tools pull-right">
454 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
455 </div><!-- /.box-tools -->
456 </div><!-- /.box-header -->
457 <div class=
"box-body no-padding">
458 <table class=
"table table-bordered no-padding">
459 <tr style=
"font-weight:bold;">
460 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
462 <label class=
"radio-inline">
463 <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>
464 </label>
465 <label class=
"radio-inline">
466 <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>
470 <tr id=
"tr_title_desc_cn">
471 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
472 <td>TreeView模式下的菜单风格。
473 <code style=
"font-weight: bold;">0</code> 显示DIR和文件大小
474 <code style=
"font-weight: bold;">1</code> 不显示DIR和文件大小。只在 VTOY_DEFAULT_MENU_MODE 为
1时才有效。
477 <tr id=
"tr_title_desc_en">
478 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
480 Menu style in TreeView mode.
481 <code style=
"font-weight: bold;">0</code> with DIR and file size prefix
482 <code style=
"font-weight: bold;">1</code> No DIR and file size. Default is
0.
486 </div><!-- /.box-body -->
490 <div class=
"box box-primary box-solid">
491 <div class=
"box-header with-border">
492 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILT_DOT_UNDERSCORE_FILE
493 <span id=
"id_span_desc_cn"> —— 过滤以 ._ 开头的文件
</span></h3>
494 <div class=
"box-tools pull-right">
495 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
496 </div><!-- /.box-tools -->
497 </div><!-- /.box-header -->
498 <div class=
"box-body no-padding">
499 <table class=
"table table-bordered no-padding">
500 <tr style=
"font-weight:bold;">
501 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
503 <label class=
"radio-inline">
504 <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>
505 </label>
506 <label class=
"radio-inline">
507 <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>
511 <tr id=
"tr_title_desc_cn">
512 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
513 <td>过滤以 ._ 开头的文件。当使用苹果系统时,有时拷贝文件会产生一些 ._ 开头的文件,可以通过此选项过滤掉。
514 <code style=
"font-weight: bold;">0</code> 不过滤
515 <code style=
"font-weight: bold;">1</code> 过滤
518 <tr id=
"tr_title_desc_en">
519 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
521 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).
522 <code style=
"font-weight: bold;">0</code> Don't filt
523 <code style=
"font-weight: bold;">1</code> Filt
527 </div><!-- /.box-body -->
532 <div class=
"box box-primary box-solid">
533 <div class=
"box-header with-border">
534 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_SORT_CASE_SENSITIVE
535 <span id=
"id_span_desc_cn"> —— 菜单排序时是否区分大小写
</span></h3>
536 <div class=
"box-tools pull-right">
537 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
538 </div><!-- /.box-tools -->
539 </div><!-- /.box-header -->
540 <div class=
"box-body no-padding">
541 <table class=
"table table-bordered no-padding">
542 <tr style=
"font-weight:bold;">
543 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
545 <label class=
"radio-inline">
546 <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>
547 </label>
548 <label class=
"radio-inline">
549 <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>
553 <tr id=
"tr_title_desc_cn">
554 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
556 <code style=
"font-weight: bold;">0</code> 不区分大小写
<code style=
"font-weight: bold;">1</code> 区分大小写
559 <tr id=
"tr_title_desc_en">
560 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
562 Case sensitive when sort the ISO files or directories.
563 <code style=
"font-weight: bold;">0</code> case insensitive
<code style=
"font-weight: bold;">1</code> case sensitive
567 </div><!-- /.box-body -->
572 <div class=
"box box-primary box-solid">
573 <div class=
"box-header with-border">
574 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_VHD_NO_WARNING
</h3>
575 <div class=
"box-tools pull-right">
576 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
577 </div><!-- /.box-tools -->
578 </div><!-- /.box-header -->
579 <div class=
"box-body no-padding">
580 <table class=
"table table-bordered no-padding">
581 <tr style=
"font-weight:bold;">
582 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
584 <label class=
"radio-inline">
585 <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>
586 </label>
587 <label class=
"radio-inline">
588 <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>
592 <tr id=
"tr_title_desc_cn">
593 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
595 <code style=
"font-weight: bold;">0</code> 启动Windows VHD(x)时,如果U盘分区不是NTFS格式,则显示告警信息。
596 <code style=
"font-weight: bold;">1</code> 不显示告警信息。
599 <tr id=
"tr_title_desc_en">
600 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
602 <code style=
"font-weight: bold;">0</code> Show a warning message if the partition is not NTFS when booting VHD(x) file.
603 <code style=
"font-weight: bold;">1</code> No warning message.
607 </div><!-- /.box-body -->
615 <div class=
"box box-primary box-solid">
616 <div class=
"box-header with-border">
617 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_ISO
618 <span id=
"id_span_desc_cn"> —— 过滤 .iso 文件
</span></h3>
619 <div class=
"box-tools pull-right">
620 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
621 </div><!-- /.box-tools -->
622 </div><!-- /.box-header -->
623 <div class=
"box-body no-padding">
624 <table class=
"table table-bordered no-padding">
625 <tr style=
"font-weight:bold;">
626 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
628 <label class=
"radio-inline">
629 <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>
630 </label>
631 <label class=
"radio-inline">
632 <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>
636 <tr id=
"tr_title_desc_cn">
637 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
639 <code style=
"font-weight: bold;">0</code> 不过滤 .iso 文件
640 <code style=
"font-weight: bold;">1</code> 过滤掉 .iso 文件。
641 过滤之后 .iso 文件就不会显示在启动菜单中。
644 <tr id=
"tr_title_desc_en">
645 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
647 <code style=
"font-weight: bold;">0</code> List .iso files.
648 <code style=
"font-weight: bold;">1</code> Filter .iso files.
649 The iso files will not be shown in the boot menu if set to
1.
653 </div><!-- /.box-body -->
657 <div class=
"box box-primary box-solid">
658 <div class=
"box-header with-border">
659 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_WIM
660 <span id=
"id_span_desc_cn"> —— 过滤 .wim 文件
</span></h3>
661 <div class=
"box-tools pull-right">
662 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
663 </div><!-- /.box-tools -->
664 </div><!-- /.box-header -->
665 <div class=
"box-body no-padding">
666 <table class=
"table table-bordered no-padding">
667 <tr style=
"font-weight:bold;">
668 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
670 <label class=
"radio-inline">
671 <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>
672 </label>
673 <label class=
"radio-inline">
674 <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>
678 <tr id=
"tr_title_desc_cn">
679 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
681 <code style=
"font-weight: bold;">0</code> 不过滤 .wim 文件
682 <code style=
"font-weight: bold;">1</code> 过滤掉 .wim 文件。
683 过滤之后 .wim 文件就不会显示在启动菜单中。
686 <tr id=
"tr_title_desc_en">
687 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
689 <code style=
"font-weight: bold;">0</code> List .wim files.
690 <code style=
"font-weight: bold;">1</code> Filter .wim files.
691 The wim files will not be shown in the boot menu if set to
1.
695 </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_FILE_FLT_EFI
703 <span id=
"id_span_desc_cn"> —— 过滤 .efi 文件
</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_filt_efi0" name=
"id_ctrl_radio_filt_efi" 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_filt_efi1" name=
"id_ctrl_radio_filt_efi" 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>
724 <code style=
"font-weight: bold;">0</code> 不过滤 .efi 文件
725 <code style=
"font-weight: bold;">1</code> 过滤掉 .efi 文件。
726 过滤之后 .efi 文件就不会显示在启动菜单中。
729 <tr id=
"tr_title_desc_en">
730 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
732 <code style=
"font-weight: bold;">0</code> List .efi files.
733 <code style=
"font-weight: bold;">1</code> Filter .efi files.
734 The efi files will not be shown in the boot menu if set to
1.
738 </div><!-- /.box-body -->
743 <div class=
"box box-primary box-solid">
744 <div class=
"box-header with-border">
745 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_IMG
746 <span id=
"id_span_desc_cn"> —— 过滤 .img 文件
</span></h3>
747 <div class=
"box-tools pull-right">
748 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
749 </div><!-- /.box-tools -->
750 </div><!-- /.box-header -->
751 <div class=
"box-body no-padding">
752 <table class=
"table table-bordered no-padding">
753 <tr style=
"font-weight:bold;">
754 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
756 <label class=
"radio-inline">
757 <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>
758 </label>
759 <label class=
"radio-inline">
760 <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>
764 <tr id=
"tr_title_desc_cn">
765 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
767 <code style=
"font-weight: bold;">0</code> 不过滤 .img 文件
768 <code style=
"font-weight: bold;">1</code> 过滤掉 .img 文件。
769 过滤之后 .img 文件就不会显示在启动菜单中。
772 <tr id=
"tr_title_desc_en">
773 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
775 <code style=
"font-weight: bold;">0</code> List .img files.
776 <code style=
"font-weight: bold;">1</code> Filter .img files.
777 The img files will not be shown in the boot menu if set to
1.
781 </div><!-- /.box-body -->
786 <div class=
"box box-primary box-solid">
787 <div class=
"box-header with-border">
788 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_VHD
789 <span id=
"id_span_desc_cn"> —— 过滤 .vhd(x) 文件
</span></h3>
790 <div class=
"box-tools pull-right">
791 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
792 </div><!-- /.box-tools -->
793 </div><!-- /.box-header -->
794 <div class=
"box-body no-padding">
795 <table class=
"table table-bordered no-padding">
796 <tr style=
"font-weight:bold;">
797 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
799 <label class=
"radio-inline">
800 <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>
801 </label>
802 <label class=
"radio-inline">
803 <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>
807 <tr id=
"tr_title_desc_cn">
808 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
810 <code style=
"font-weight: bold;">0</code> 不过滤 .vhd(x) 文件
811 <code style=
"font-weight: bold;">1</code> 过滤掉 .vhd(x) 文件。
812 过滤之后 .vhd(x) 文件就不会显示在启动菜单中。
815 <tr id=
"tr_title_desc_en">
816 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
818 <code style=
"font-weight: bold;">0</code> List .vhd(x) files.
819 <code style=
"font-weight: bold;">1</code> Filter .vhd(x) files.
820 The vhd(x) files will not be shown in the boot menu if set to
1.
824 </div><!-- /.box-body -->
829 <div class=
"box box-primary box-solid">
830 <div class=
"box-header with-border">
831 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_FILE_FLT_VTOY
832 <span id=
"id_span_desc_cn"> —— 过滤 .vtoy 文件
</span></h3>
833 <div class=
"box-tools pull-right">
834 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
835 </div><!-- /.box-tools -->
836 </div><!-- /.box-header -->
837 <div class=
"box-body no-padding">
838 <table class=
"table table-bordered no-padding">
839 <tr style=
"font-weight:bold;">
840 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
842 <label class=
"radio-inline">
843 <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>
844 </label>
845 <label class=
"radio-inline">
846 <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>
850 <tr id=
"tr_title_desc_cn">
851 <td class=
"td_ctrl_col" id=
"td_title_desc">选项说明
</td>
853 <code style=
"font-weight: bold;">0</code> 不过滤 .vtoy 文件
854 <code style=
"font-weight: bold;">1</code> 过滤掉 .vtoy 文件。
855 过滤之后 .vtoy 文件就不会显示在启动菜单中。
858 <tr id=
"tr_title_desc_en">
859 <td class=
"td_ctrl_col" id=
"td_title_desc">Option Description
</td>
861 <code style=
"font-weight: bold;">0</code> List .vtoy files.
862 <code style=
"font-weight: bold;">1</code> Filter .vtoy files.
863 The vtoy files will not be shown in the boot menu if set to
1.
867 </div><!-- /.box-body -->
871 <div class=
"box box-primary box-solid">
872 <div class=
"box-header with-border">
873 <h3 class=
"box-title" style=
"font-size: 14px;font-weight: bold;">VTOY_HELP_TXT_LANGUAGE
874 <span id=
"id_span_desc_cn"> —— 帮助信息语言
</span></h3>
875 <div class=
"box-tools pull-right">
876 <button class=
"btn btn-box-tool" data-widget=
"collapse"><i class=
"fa fa-minus"></i></button>
877 </div><!-- /.box-tools -->
878 </div><!-- /.box-header -->
879 <div class=
"box-body no-padding">
880 <table class=
"table table-bordered no-padding">
881 <tr style=
"font-weight:bold;">
882 <td class=
"td_ctrl_col" id=
"td_title_setting">选项设置
</td>
884 <select id=
"id_ctrl_sel_help_lang" name=
"name_ctrl_sel_help_lang" class=
"form-control">
889 <tr id=
"tr_title_desc_cn">
890 <td class=
"td_ctrl_col">选项说明
</td>
892 快捷键
<code>h
</code> 显示的帮助信息的语言版本。默认是 "en_US"。
893 具体请参考
<a target=
"_blank" href='https://www.ventoy.net/cn/plugin_control.html#vtoy_help_language'
>Ventoy 帮助信息
</a>
896 <tr id=
"tr_title_desc_en">
897 <td class=
"td_ctrl_col">Option Description
</td>
899 The language of the help text when press
<code>h
</code>. Default is "en_US",
900 refer
<a target=
"_blank" href='https://www.ventoy.net/en/plugin_control.html#vtoy_help_language'
>Ventoy Help Text
</a> for details.
904 </div><!-- /.box-body -->
912 <script type=
"text/javascript">
913 function VtoyPageLanguageChange(newlang) {
914 VtoyCommonChangeLanguage(newlang);
916 $('h1[id=id_h1_page_title]').text(g_vtoy_cur_language.STR_PLUG_CONTROL);
917 $('#id_ctrl_span_search_root_valid').text(g_vtoy_cur_language.STR_VALID);
918 $('#id_ctrl_span_search_root_invalid').text(g_vtoy_cur_language.STR_INVALID);
919 $('#id_ctrl_span_img_valid').text(g_vtoy_cur_language.STR_VALID);
920 $('#id_ctrl_span_img_invalid').text(g_vtoy_cur_language.STR_INVALID);
922 $("span[id=id_span_edit]").each(function(){
923 $(this).text(' ' + g_vtoy_cur_language.STR_EDIT);
926 $("span[id=id_span_clear]").each(function(){
927 $(this).text(' ' + g_vtoy_cur_language.STR_CLEAR);
931 function VtoyGetCurrentPageItem(data) {
934 data.win11_bypass_check = parseInt($('input:radio[name=id_ctrl_bypass_win11_radio]:checked').val());
935 data.linux_remount = parseInt($('input:radio[name=id_ctrl_linux_remount_radio]:checked').val());
936 data.default_search_root = $('input:text[id=id_ctrl_text_search_root]').val();
937 data.menu_timeout = parseInt($('input:text[id=id_ctrl_text_timeout]').val());
938 data.default_image = $('input:text[id=id_ctrl_text_default_img]').val();
940 level = $('select[id=id_ctrl_sel_max_depth').val();
941 if (level === 'max') {
942 data.max_search_level = -
1;
944 data.max_search_level = parseInt(level);
947 data.default_kbd_layout = $('select[id=id_ctrl_sel_kbd').val();
948 data.default_menu_mode = parseInt($('input:radio[name=id_ctrl_radio_menu_mode]:checked').val());
949 data.treeview_style = parseInt($('input:radio[name=id_ctrl_radio_treestyle]:checked').val());
951 data.filter_dot_underscore = parseInt($('input:radio[name=id_ctrl_radio_underscore]:checked').val());
952 data.sort_casesensitive = parseInt($('input:radio[name=id_ctrl_radio_casesensitive]:checked').val());
954 data.vhd_no_warning = parseInt($('input:radio[name=id_ctrl_radio_vhd_warning]:checked').val());
955 data.filter_iso = parseInt($('input:radio[name=id_ctrl_radio_filt_iso]:checked').val());
956 data.filter_wim = parseInt($('input:radio[name=id_ctrl_radio_filt_wim]:checked').val());
957 data.filter_efi = parseInt($('input:radio[name=id_ctrl_radio_filt_efi]:checked').val());
958 data.filter_img = parseInt($('input:radio[name=id_ctrl_radio_filt_img]:checked').val());
959 data.filter_vhd = parseInt($('input:radio[name=id_ctrl_radio_filt_vhd]:checked').val());
960 data.filter_vtoy = parseInt($('input:radio[name=id_ctrl_radio_filt_vtoy]:checked').val());
962 data.help_text_language = $('select[id=id_ctrl_sel_help_lang').val();
965 function VtoyFillCurrentPageItem(data) {
966 //VTOY_WIN11_BYPASS_CHECK
967 $('input:radio[name=id_ctrl_bypass_win11_radio]')[data.win11_bypass_check].checked = true;
968 $('input:radio[name=id_ctrl_linux_remount_radio]')[data.linux_remount].checked = true;
970 //VTOY_DEFAULT_SEARCH_ROOT
971 $('input:text[id=id_ctrl_text_search_root]').val(data.default_search_root);
972 if (data.default_search_root.length ===
0) {
973 $('div[id=id_ctrl_div_root_status]').hide();
975 $('div[id=id_ctrl_div_root_status]').show();
976 if (data.default_search_root_valid ===
0) {
977 $('span[id=id_ctrl_span_search_root_valid]').hide();
978 $('span[id=id_ctrl_span_search_root_invalid]').show();
980 $('span[id=id_ctrl_span_search_root_valid]').show();
981 $('span[id=id_ctrl_span_search_root_invalid]').hide();
986 $('input:text[id=id_ctrl_text_timeout]').val(data.menu_timeout);
990 $('input:text[id=id_ctrl_text_default_img]').val(data.default_image);
991 if (data.default_image.length ===
0) {
992 $('div[id=id_ctrl_div_img_status]').hide();
994 $('div[id=id_ctrl_div_img_status]').show();
995 if (data.default_image_valid ===
0) {
996 $('span[id=id_ctrl_span_img_valid]').hide();
997 $('span[id=id_ctrl_span_img_invalid]').show();
999 $('span[id=id_ctrl_span_img_valid]').show();
1000 $('span[id=id_ctrl_span_img_invalid]').hide();
1004 //VTOY_MAX_SEARCH_LEVEL
1005 if (data.max_search_level
>=
0 && data.max_search_level <=
10) {
1006 $('select[id=id_ctrl_sel_max_depth').val(data.max_search_level);
1008 $('select[id=id_ctrl_sel_max_depth').val('max');
1011 //VTOY_DEFAULT_KBD_LAYOUT
1012 $('select[id=id_ctrl_sel_kbd').val(data.default_kbd_layout);
1014 //VTOY_DEFAULT_MENU_MODE
1015 $('input:radio[name=id_ctrl_radio_menu_mode]')[data.default_menu_mode].checked = true;
1017 //VTOY_TREE_VIEW_MENU_STYLE
1018 $('input:radio[name=id_ctrl_radio_treestyle]')[data.treeview_style].checked = true;
1020 //VTOY_FILT_DOT_UNDERSCORE_FILE
1021 $('input:radio[name=id_ctrl_radio_underscore]')[data.filter_dot_underscore].checked = true;
1023 //VTOY_SORT_CASE_SENSITIVE
1024 $('input:radio[name=id_ctrl_radio_casesensitive]')[data.sort_casesensitive].checked = true;
1026 //VTOY_VHD_NO_WARNING
1027 $('input:radio[name=id_ctrl_radio_vhd_warning]')[data.vhd_no_warning].checked = true;
1030 $('input:radio[name=id_ctrl_radio_filt_iso]')[data.filter_iso].checked = true;
1033 $('input:radio[name=id_ctrl_radio_filt_wim]')[data.filter_wim].checked = true;
1036 $('input:radio[name=id_ctrl_radio_filt_efi]')[data.filter_efi].checked = true;
1039 $('input:radio[name=id_ctrl_radio_filt_img]')[data.filter_img].checked = true;
1043 $('input:radio[name=id_ctrl_radio_filt_vhd]')[data.filter_vhd].checked = true;
1046 //VTOY_FILE_FLT_VTOY
1047 $('input:radio[name=id_ctrl_radio_filt_vtoy]')[data.filter_vtoy].checked = true;
1049 //VTOY_HELP_TXT_LANGUAGE
1050 if ($("select[id=id_ctrl_sel_help_lang")[
0].options.length ===
0)
1052 for (var i =
0; i < data.help_list.length; i++) {
1053 var hlang = data.help_list[i];
1054 var opt = '
<option title=
"'+hlang+'">'+hlang+'
</option>';
1055 $('select[id=id_ctrl_sel_help_lang').append(opt);
1059 $('select[id=id_ctrl_sel_help_lang').val(data.help_text_language);
1062 function VtoySaveCurrentPage() {
1063 VtoyGetCurrentPageItem(m_data_control[current_tab_index]);
1064 var data = m_data_control[current_tab_index];
1067 method : 'save_control',
1068 index: current_tab_index,
1069 win11_bypass_check: data.win11_bypass_check,
1070 linux_remount:data.linux_remount,
1071 default_search_root: data.default_search_root,
1072 menu_timeout: data.menu_timeout,
1073 default_image: data.default_image,
1074 max_search_level: data.max_search_level,
1075 default_kbd_layout: data.default_kbd_layout,
1076 default_menu_mode: data.default_menu_mode,
1077 treeview_style: data.treeview_style,
1078 filter_dot_underscore: data.filter_dot_underscore,
1079 sort_casesensitive: data.sort_casesensitive,
1080 vhd_no_warning: data.vhd_no_warning,
1081 filter_iso: data.filter_iso,
1082 filter_wim: data.filter_wim,
1083 filter_efi: data.filter_efi,
1084 filter_img: data.filter_img,
1085 filter_vhd: data.filter_vhd,
1086 filter_vtoy: data.filter_vtoy,
1087 help_text_language: data.help_text_language
1089 Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
1093 function OnClickMultiModeTab() {
1094 var href = $(this).attr('href');
1095 var index = parseInt(href.substr(
5,
1));
1097 if (index <
0 || index
>= g_vtoy_data_default_index || current_tab_index === index) {
1101 current_tab_index = index;
1102 VtoyFillCurrentPageItem(m_data_control[index]);
1105 function OnSelectSearchRoot(root, extra) {
1106 var path = root.substr(g_current_dir.length);
1107 $('input:text[id=id_ctrl_text_search_root]').val(path);
1108 if (path.length ===
0) {
1109 $('div[id=id_ctrl_div_root_status]').hide();
1111 $('div[id=id_ctrl_div_root_status]').show();
1112 $('span[id=id_ctrl_span_search_root_valid]').show();
1113 $('span[id=id_ctrl_span_search_root_invalid]').hide();
1115 VtoySaveCurrentPage();
1118 function OnSelectDefaultImage(root, valid, extra) {
1119 var path = root.substr(g_current_dir.length);
1120 $('input:text[id=id_ctrl_text_default_img]').val(path);
1121 if (path.length ===
0) {
1122 $('div[id=id_ctrl_div_img_status]').hide();
1124 $('div[id=id_ctrl_div_img_status]').show();
1125 $('span[id=id_ctrl_span_img_valid]').show();
1126 $('span[id=id_ctrl_span_img_invalid]').hide();
1128 VtoySaveCurrentPage();
1133 var current_tab_index =
0;
1135 callVtoySync({method : 'get_control'}, function(data) {
1136 m_data_control = data;
1139 $('#id_ctrl_btn_sel_root').click(function() {
1140 var tip = (g_current_os === 'windows') ? '\\ISO\\Windows' : "/ISO/Linux";
1142 "title": g_vtoy_cur_language.STR_SET_SEARCH_ROOT,
1143 "tip": g_current_dir + tip,
1148 VtoySelectDirPath(OnSelectSearchRoot, para);
1151 $('#id_ctrl_btn_clr_root').click(function() {
1152 var old = $('input:text[id=id_ctrl_text_search_root]').val();
1153 if (old.length !=
0) {
1154 $('input:text[id=id_ctrl_text_search_root]').val('');
1155 $('div[id=id_ctrl_div_root_status]').hide();
1156 VtoySaveCurrentPage();
1160 $('#id_ctrl_btn_default_img').click(function() {
1161 var tip = (g_current_os === 'windows') ? '\\ISO\\Windows10_en.iso' : "/ISO/Windows10_en.iso";
1163 "title": g_vtoy_cur_language.STR_SET_DEFAULT_IMAGE,
1165 "tip1": g_current_dir + tip,
1171 VtoySelectFilePath(OnSelectDefaultImage, para);
1174 $('#id_ctrl_btn_clr_default').click(function() {
1175 var old = $('input:text[id=id_ctrl_text_default_img]').val();
1176 if (old.length !=
0) {
1177 $('input:text[id=id_ctrl_text_default_img]').val('');
1178 $('div[id=id_ctrl_div_img_status]').hide();
1179 VtoySaveCurrentPage();
1183 $('input[type=radio]').each(function(){
1184 var id = $(this).attr('id');
1185 if (typeof(id) != 'undefined' && id.startsWith('id_ctrl')) {
1186 $(this).change(VtoySaveCurrentPage);
1189 $('select[id=id_ctrl_sel_max_depth]').change(VtoySaveCurrentPage);
1190 $('select[id=id_ctrl_sel_kbd]').change(VtoySaveCurrentPage);
1191 $('select[id=id_ctrl_sel_help_lang]').change(VtoySaveCurrentPage);
1192 $('input[id=id_ctrl_text_timeout]').change(function() {
1193 var value = $('input:text[id=id_ctrl_text_timeout]').val();
1194 if (/^[
0-
9][
0-
9]*$/.test(value)) {
1195 VtoySaveCurrentPage();
1197 Message.error(g_vtoy_cur_language.STR_INVALID_TIMEOUT);
1198 $('input:text[id=id_ctrl_text_timeout]').val(m_data_control[current_tab_index].menu_timeout);
1202 $('#id_tab_control a[
href="#tab_0"]').click(OnClickMultiModeTab);
1203 $('#id_tab_control a[
href="#tab_1"]').click(OnClickMultiModeTab);
1204 $('#id_tab_control a[
href="#tab_2"]').click(OnClickMultiModeTab);
1205 $('#id_tab_control a[
href="#tab_3"]').click(OnClickMultiModeTab);
1206 $('#id_tab_control a[
href="#tab_4"]').click(OnClickMultiModeTab);
1207 $('#id_tab_control a[
href="#tab_5"]').click(OnClickMultiModeTab);
1209 $('#id_tab_control a[
href="#tab_0"]').tab('show');
1210 VtoyFillCurrentPageItem(m_data_control[
0]);
1211 VtoyPageLanguageChange(g_current_language);
1213 $('button[id=id_btn_collapse]').click(function() {
1214 $("button[data-widget='collapse'] i").each(function() {
1215 if ($(this).hasClass('fa-minus')) {
1221 $('button[id=id_btn_expand]').click(function() {
1222 $("button[data-widget='collapse'] i").each(function() {
1223 if ($(this).hasClass('fa-plus')) {