]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - Plugson/www/plugson_control.html
Fix the boot issue for Fedora/CentOS when file name contains special character (e...
[Ventoy.git] / Plugson / www / plugson_control.html
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">&nbsp;&nbsp;</i>
5 <h1 class="box-title" style="font-weight:bold;" id="id_h1_page_title">全局控制插件</h1>
6 </div>
7
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>
11 </div>
12
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>
15 </div>
16
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>
19 </div>
20 </div>
21 <legend></legend>
22
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>
32 </ul>
33 </div>
34
35
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>
48 <td>
49 <select id="id_ctrl_sel_menu_lang" name="name_ctrl_sel_menu_lang" class="form-control">
50
51 </select>
52 </td>
53 </tr>
54 <tr id="tr_title_desc_cn">
55 <td class="td_ctrl_col">选项说明</td>
56 <td>
57 Ventoy 菜单的语言版本。默认是 "en_US"。
58 </td>
59 </tr>
60 <tr id="tr_title_desc_en">
61 <td class="td_ctrl_col">Option Description</td>
62 <td>
63 Ventoy menu language. Default is "en_US",
64 </td>
65 </tr>
66 </table>
67 </div><!-- /.box-body -->
68 </div><!-- /.box -->
69
70
71
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>
84 <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"/>
87 </div>
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>
91 </div>
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>
94 </div>
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>
97 </div>
98 </td>
99 </tr>
100 <tr id="tr_title_desc_cn">
101 <td class="td_ctrl_col">选项说明</td>
102 <td>
103 指定搜索ISO文件的根目录。默认Ventoy会搜索U盘上的所有目录和子目录,当你U盘上有海量的文件时,这个过程会很慢。<br/>
104 这种情况下你可以把ISO文件单独放在某个子目录下,然后通过这个变量来指定搜索路径,此时Ventoy就只会搜索该目录及其子目录。<br/>
105 注意这里不能设置为U盘根目录,必须为一个子目录。
106 </td>
107 </tr>
108 <tr id="tr_title_desc_en">
109 <td class="td_ctrl_col">Option Description</td>
110 <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.
115 </td>
116 </tr>
117 </table>
118 </div><!-- /.box-body -->
119 </div><!-- /.box -->
120
121
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>
134 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
140 </label>
141 </td>
142 </tr>
143 <tr id="tr_title_desc_cn">
144 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
145 <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/>
154 </td>
155 </tr>
156 <tr id="tr_title_desc_en">
157 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
158 <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/>
168 </td>
169 </tr>
170 </table>
171 </div><!-- /.box-body -->
172 </div><!-- /.box -->
173
174
175
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>
188 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
194 </label>
195 </td>
196 </tr>
197 <tr id="tr_title_desc_cn">
198 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
199 <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/>
205 </td>
206 </tr>
207 <tr id="tr_title_desc_en">
208 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
209 <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>
215 </td>
216 </tr>
217 </table>
218 </div><!-- /.box-body -->
219 </div><!-- /.box -->
220
221
222
223
224
225
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>
238 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
244 </label>
245 </td>
246 </tr>
247 <tr id="tr_title_desc_cn">
248 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
249 <td>启动菜单默认显示模式,
250 <code style="font-weight: bold;">0</code> 列表模式 &nbsp;&nbsp;
251 <code style="font-weight: bold;">1</code> TreeView(目录树) 模式</td>
252 </tr>
253 <tr id="tr_title_desc_en">
254 <td class="td_ctrl_col">Option Description</td>
255 <td>
256 Default boot menu display mode.
257 <code style="font-weight: bold;">0</code> ListView Mode &nbsp;&nbsp
258 <code style="font-weight: bold;">1</code> TreeView Mode
259 </td>
260 </tr>
261 </table>
262 </div><!-- /.box-body -->
263 </div><!-- /.box -->
264
265
266
267
268
269
270
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>
283 <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"/>
286 </div>
287 </td>
288 </tr>
289 <tr id="tr_title_desc_cn">
290 <td class="td_ctrl_col">选项说明</td>
291 <td>
292 菜单倒计时(秒)。默认为0(即没有超时时间),设置之后,比如设置为10,则在倒计时10秒之后,会自动启动选中的镜像文件。在倒计时的过程中按任意键会停止倒计时,等待用户操作。
293 </td>
294 </tr>
295 <tr id="tr_title_desc_en">
296 <td class="td_ctrl_col">Option Description</td>
297 <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.
301 </td>
302 </tr>
303 </table>
304 </div><!-- /.box-body -->
305 </div><!-- /.box -->
306
307
308
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>
321 <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"/>
324 </div>
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>
328 </div>
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>
331 </div>
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>
334 </div>
335 </td>
336 </tr>
337 <tr id="tr_title_desc_cn">
338 <td class="td_ctrl_col">选项说明</td>
339 <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 对应的目录下,否则不会生效。
343 </td>
344 </tr>
345 <tr id="tr_title_desc_en">
346 <td class="td_ctrl_col">Option Description</td>
347 <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.
350 </td>
351 </tr>
352 </table>
353 </div><!-- /.box-body -->
354 </div><!-- /.box -->
355
356
357
358
359
360
361
362
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>
375 <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>
389 </select>
390 </td>
391 </tr>
392 <tr id="tr_title_desc_cn">
393 <td class="td_ctrl_col">选项说明</td>
394 <td>
395 最大搜索子目录的层数,取值为:<code>max</code> <code>0</code> <code>1</code> <code>2</code> <code>3</code> <code>...</code>
396 &nbsp;&nbsp;&nbsp;默认值为:<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> 指定的目录作为根目录开始计算。
405 </td>
406 </tr>
407 <tr id="tr_title_desc_en">
408 <td class="td_ctrl_col">Option Description</td>
409 <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 &nbsp;&nbsp;&nbsp;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> .
421 </td>
422 </tr>
423 </table>
424 </div><!-- /.box-body -->
425 </div><!-- /.box -->
426
427
428
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>
441 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
447 </label>
448 </td>
449 </tr>
450 <tr id="tr_title_desc_cn">
451 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
452 <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 会尝试通过一些特殊的手段绕过内核的这个限制,但是这个功能是实验性质的,没有经过大规模和长时间的验证。
458 </td>
459 </tr>
460 <tr id="tr_title_desc_en">
461 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
462 <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/>
466
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.
471
472 </td>
473 </tr>
474 </table>
475 </div><!-- /.box-body -->
476 </div><!-- /.box -->
477
478
479
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>
492 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
498 </label>
499 </td>
500 </tr>
501 <tr id="tr_title_desc_cn">
502 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
503 <td>二级启动菜单控制开关
504 <code style="font-weight: bold;">0</code> 不显示 &nbsp;&nbsp;
505 <code style="font-weight: bold;">1</code> 显示
506 </td>
507 </tr>
508 <tr id="tr_title_desc_en">
509 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
510 <td>
511 Secondary boot menu display option
512 <code style="font-weight: bold;">0</code> Don't display &nbsp;&nbsp;&nbsp;
513 <code style="font-weight: bold;">1</code> Display
514 </td>
515 </tr>
516 </table>
517 </div><!-- /.box-body -->
518 </div><!-- /.box -->
519
520
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>
533 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
539 </label>
540 </td>
541 </tr>
542 <tr id="tr_title_desc_cn">
543 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
544 <td>输入密码时是否显示星号
545 <code style="font-weight: bold;">0</code> 不显示 &nbsp;&nbsp;
546 <code style="font-weight: bold;">1</code> 显示
547 </td>
548 </tr>
549 <tr id="tr_title_desc_en">
550 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
551 <td>
552 Display asterisk when typing password
553 <code style="font-weight: bold;">0</code> Don't display &nbsp;&nbsp;&nbsp;
554 <code style="font-weight: bold;">1</code> Display
555 </td>
556 </tr>
557 </table>
558 </div><!-- /.box-body -->
559 </div><!-- /.box -->
560
561
562
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>
575 <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"/>
578 </div>
579 </td>
580 </tr>
581 <tr id="tr_title_desc_cn">
582 <td class="td_ctrl_col">选项说明</td>
583 <td>
584 二级菜单倒计时(秒)。只有当 <code>VTOY_SECONDARY_BOOT_MENU</code> 设置为1时才有效。<br/>
585 默认不设置,设置之后,比如设置为10,则在倒计时10秒之后,会自动选择第一项,即:<code>Boot in normal mode</code> <br/>
586 在倒计时的过程中按任意键会停止倒计时,等待用户操作。
587 </td>
588 </tr>
589 <tr id="tr_title_desc_en">
590 <td class="td_ctrl_col">Option Description</td>
591 <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.
594 </td>
595 </tr>
596 </table>
597 </div><!-- /.box-body -->
598 </div><!-- /.box -->
599
600
601
602
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>
615 <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>
637 </select>
638 </td>
639 </tr>
640 <tr id="tr_title_desc_cn">
641 <td class="td_ctrl_col">选项说明</td>
642 <td>
643 键盘布局
644 </td>
645 </tr>
646 <tr id="tr_title_desc_en">
647 <td class="td_ctrl_col">Option Description</td>
648 <td>
649 Keyboard Layout
650 </td>
651 </tr>
652 </table>
653 </div><!-- /.box-body -->
654 </div><!-- /.box -->
655
656
657
658
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>
671 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
677 </label>
678 </td>
679 </tr>
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和文件大小 &nbsp;&nbsp;&nbsp;
684 <code style="font-weight: bold;">1</code> 不显示DIR和文件大小。只在 VTOY_DEFAULT_MENU_MODE 为1时才有效。
685 </td>
686 </tr>
687 <tr id="tr_title_desc_en">
688 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
689 <td>
690 Menu style in TreeView mode.
691 <code style="font-weight: bold;">0</code> with DIR and file size prefix &nbsp;&nbsp;&nbsp;
692 <code style="font-weight: bold;">1</code> No DIR and file size. Default is 0.
693 </td>
694 </tr>
695 </table>
696 </div><!-- /.box-body -->
697 </div><!-- /.box -->
698
699
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>
712 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
718 </label>
719 </td>
720 </tr>
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> 不过滤 &nbsp;&nbsp;
725 <code style="font-weight: bold;">1</code> 过滤
726 </td>
727 </tr>
728 <tr id="tr_title_desc_en">
729 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
730 <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 &nbsp;&nbsp;&nbsp;
733 <code style="font-weight: bold;">1</code> Filt
734 </td>
735 </tr>
736 </table>
737 </div><!-- /.box-body -->
738 </div><!-- /.box -->
739
740
741
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>
754 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
760 </label>
761 </td>
762 </tr>
763 <tr id="tr_title_desc_cn">
764 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
765 <td>在菜单排序时是否大小写敏感。
766 <code style="font-weight: bold;">0</code> 不区分大小写 &nbsp;&nbsp;&nbsp; <code style="font-weight: bold;">1</code> 区分大小写
767 </td>
768 </tr>
769 <tr id="tr_title_desc_en">
770 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
771 <td>
772 Case sensitive when sort the ISO files or directories. &nbsp;&nbsp;&nbsp;
773 <code style="font-weight: bold;">0</code> case insensitive &nbsp;&nbsp;&nbsp;<code style="font-weight: bold;">1</code> case sensitive
774 </td>
775 </tr>
776 </table>
777 </div><!-- /.box-body -->
778 </div><!-- /.box -->
779
780
781
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>
793 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
799 </label>
800 </td>
801 </tr>
802 <tr id="tr_title_desc_cn">
803 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
804 <td>
805 <code style="font-weight: bold;">0</code> 启动Windows VHD(x)时,如果U盘分区不是NTFS格式,则显示告警信息。&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
806 <code style="font-weight: bold;">1</code> 不显示告警信息。
807 </td>
808 </tr>
809 <tr id="tr_title_desc_en">
810 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
811 <td>
812 <code style="font-weight: bold;">0</code> Show a warning message if the partition is not NTFS when booting VHD(x) file.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
813 <code style="font-weight: bold;">1</code> No warning message.
814 </td>
815 </tr>
816 </table>
817 </div><!-- /.box-body -->
818 </div><!-- /.box -->
819
820
821
822
823
824
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>
837 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
843 </label>
844 </td>
845 </tr>
846 <tr id="tr_title_desc_cn">
847 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
848 <td>
849 <code style="font-weight: bold;">0</code> 不过滤 .iso 文件 &nbsp;&nbsp; &nbsp;&nbsp;
850 <code style="font-weight: bold;">1</code> 过滤掉 .iso 文件。&nbsp;&nbsp; &nbsp;&nbsp;
851 过滤之后 .iso 文件就不会显示在启动菜单中。
852 </td>
853 </tr>
854 <tr id="tr_title_desc_en">
855 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
856 <td>
857 <code style="font-weight: bold;">0</code> List .iso files. &nbsp;&nbsp;&nbsp;&nbsp;
858 <code style="font-weight: bold;">1</code> Filter .iso files. &nbsp;&nbsp;&nbsp;&nbsp;
859 The iso files will not be shown in the boot menu if set to 1.
860 </td>
861 </tr>
862 </table>
863 </div><!-- /.box-body -->
864 </div><!-- /.box -->
865
866
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>
879 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
885 </label>
886 </td>
887 </tr>
888 <tr id="tr_title_desc_cn">
889 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
890 <td>
891 <code style="font-weight: bold;">0</code> 不过滤 .wim 文件 &nbsp;&nbsp; &nbsp;&nbsp;
892 <code style="font-weight: bold;">1</code> 过滤掉 .wim 文件。&nbsp;&nbsp; &nbsp;&nbsp;
893 过滤之后 .wim 文件就不会显示在启动菜单中。
894 </td>
895 </tr>
896 <tr id="tr_title_desc_en">
897 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
898 <td>
899 <code style="font-weight: bold;">0</code> List .wim files. &nbsp;&nbsp;&nbsp;&nbsp;
900 <code style="font-weight: bold;">1</code> Filter .wim files. &nbsp;&nbsp;&nbsp;&nbsp;
901 The wim files will not be shown in the boot menu if set to 1.
902 </td>
903 </tr>
904 </table>
905 </div><!-- /.box-body -->
906 </div><!-- /.box -->
907
908
909
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>
922 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
928 </label>
929 </td>
930 </tr>
931 <tr id="tr_title_desc_cn">
932 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
933 <td>
934 <code style="font-weight: bold;">0</code> 不过滤 .efi 文件 &nbsp;&nbsp; &nbsp;&nbsp;
935 <code style="font-weight: bold;">1</code> 过滤掉 .efi 文件。&nbsp;&nbsp; &nbsp;&nbsp;
936 过滤之后 .efi 文件就不会显示在启动菜单中。
937 </td>
938 </tr>
939 <tr id="tr_title_desc_en">
940 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
941 <td>
942 <code style="font-weight: bold;">0</code> List .efi files. &nbsp;&nbsp;&nbsp;&nbsp;
943 <code style="font-weight: bold;">1</code> Filter .efi files. &nbsp;&nbsp;&nbsp;&nbsp;
944 The efi files will not be shown in the boot menu if set to 1.
945 </td>
946 </tr>
947 </table>
948 </div><!-- /.box-body -->
949 </div><!-- /.box -->
950
951
952
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>
965 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
971 </label>
972 </td>
973 </tr>
974 <tr id="tr_title_desc_cn">
975 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
976 <td>
977 <code style="font-weight: bold;">0</code> 不过滤 .img 文件 &nbsp;&nbsp; &nbsp;&nbsp;
978 <code style="font-weight: bold;">1</code> 过滤掉 .img 文件。&nbsp;&nbsp; &nbsp;&nbsp;
979 过滤之后 .img 文件就不会显示在启动菜单中。
980 </td>
981 </tr>
982 <tr id="tr_title_desc_en">
983 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
984 <td>
985 <code style="font-weight: bold;">0</code> List .img files. &nbsp;&nbsp;&nbsp;&nbsp;
986 <code style="font-weight: bold;">1</code> Filter .img files. &nbsp;&nbsp;&nbsp;&nbsp;
987 The img files will not be shown in the boot menu if set to 1.
988 </td>
989 </tr>
990 </table>
991 </div><!-- /.box-body -->
992 </div><!-- /.box -->
993
994
995
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>
1008 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
1014 </label>
1015 </td>
1016 </tr>
1017 <tr id="tr_title_desc_cn">
1018 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
1019 <td>
1020 <code style="font-weight: bold;">0</code> 不过滤 .vhd(x) 文件 &nbsp;&nbsp; &nbsp;&nbsp;
1021 <code style="font-weight: bold;">1</code> 过滤掉 .vhd(x) 文件。&nbsp;&nbsp; &nbsp;&nbsp;
1022 过滤之后 .vhd(x) 文件就不会显示在启动菜单中。
1023 </td>
1024 </tr>
1025 <tr id="tr_title_desc_en">
1026 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
1027 <td>
1028 <code style="font-weight: bold;">0</code> List .vhd(x) files. &nbsp;&nbsp;&nbsp;&nbsp;
1029 <code style="font-weight: bold;">1</code> Filter .vhd(x) files. &nbsp;&nbsp;&nbsp;&nbsp;
1030 The vhd(x) files will not be shown in the boot menu if set to 1.
1031 </td>
1032 </tr>
1033 </table>
1034 </div><!-- /.box-body -->
1035 </div><!-- /.box -->
1036
1037
1038
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>
1051 <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>&nbsp;&nbsp;&nbsp;&nbsp;
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>
1057 </label>
1058 </td>
1059 </tr>
1060 <tr id="tr_title_desc_cn">
1061 <td class="td_ctrl_col" id="td_title_desc">选项说明</td>
1062 <td>
1063 <code style="font-weight: bold;">0</code> 不过滤 .vtoy 文件 &nbsp;&nbsp; &nbsp;&nbsp;
1064 <code style="font-weight: bold;">1</code> 过滤掉 .vtoy 文件。&nbsp;&nbsp; &nbsp;&nbsp;
1065 过滤之后 .vtoy 文件就不会显示在启动菜单中。
1066 </td>
1067 </tr>
1068 <tr id="tr_title_desc_en">
1069 <td class="td_ctrl_col" id="td_title_desc">Option Description</td>
1070 <td>
1071 <code style="font-weight: bold;">0</code> List .vtoy files. &nbsp;&nbsp;&nbsp;&nbsp;
1072 <code style="font-weight: bold;">1</code> Filter .vtoy files. &nbsp;&nbsp;&nbsp;&nbsp;
1073 The vtoy files will not be shown in the boot menu if set to 1.
1074 </td>
1075 </tr>
1076 </table>
1077 </div><!-- /.box-body -->
1078 </div><!-- /.box -->
1079
1080
1081
1082 </div>
1083
1084 </div>
1085 <script type="text/javascript">
1086
1087 function VtoyPageLanguageChange(newlang) {
1088 VtoyCommonChangeLanguage(newlang);
1089
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);
1095
1096 $("span[id=id_span_edit]").each(function(){
1097 $(this).text(' ' + g_vtoy_cur_language.STR_EDIT);
1098 });
1099
1100 $("span[id=id_span_clear]").each(function(){
1101 $(this).text(' ' + g_vtoy_cur_language.STR_CLEAR);
1102 });
1103 }
1104
1105 function VtoyGetCurrentPageItem(data) {
1106 var level;
1107
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();
1117
1118 level = $('select[id=id_ctrl_sel_max_depth').val();
1119 if (level === 'max') {
1120 data.max_search_level = -1;
1121 } else {
1122 data.max_search_level = parseInt(level);
1123 }
1124
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());
1128
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());
1131
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());
1139
1140 data.menu_language = $('select[id=id_ctrl_sel_menu_lang').val();
1141 }
1142
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;
1151
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();
1156 } else {
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();
1161 } else {
1162 $('span[id=id_ctrl_span_search_root_valid]').show();
1163 $('span[id=id_ctrl_span_search_root_invalid]').hide();
1164 }
1165 }
1166
1167 //VTOY_MENU_TIMEOUT
1168 $('input:text[id=id_ctrl_text_timeout]').val(data.menu_timeout);
1169
1170 //VTOY_SECONDARY_TIMEOUT
1171 $('input:text[id=id_ctrl_text_secondary_timeout]').val(data.secondary_menu_timeout);
1172
1173
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();
1178 } else {
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();
1183 } else {
1184 $('span[id=id_ctrl_span_img_valid]').show();
1185 $('span[id=id_ctrl_span_img_invalid]').hide();
1186 }
1187 }
1188
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);
1192 } else {
1193 $('select[id=id_ctrl_sel_max_depth').val('max');
1194 }
1195
1196 //VTOY_DEFAULT_KBD_LAYOUT
1197 $('select[id=id_ctrl_sel_kbd').val(data.default_kbd_layout);
1198
1199 //VTOY_DEFAULT_MENU_MODE
1200 $('input:radio[name=id_ctrl_radio_menu_mode]')[data.default_menu_mode].checked = true;
1201
1202 //VTOY_TREE_VIEW_MENU_STYLE
1203 $('input:radio[name=id_ctrl_radio_treestyle]')[data.treeview_style].checked = true;
1204
1205 //VTOY_FILT_DOT_UNDERSCORE_FILE
1206 $('input:radio[name=id_ctrl_radio_underscore]')[data.filter_dot_underscore].checked = true;
1207
1208 //VTOY_SORT_CASE_SENSITIVE
1209 $('input:radio[name=id_ctrl_radio_casesensitive]')[data.sort_casesensitive].checked = true;
1210
1211 //VTOY_VHD_NO_WARNING
1212 $('input:radio[name=id_ctrl_radio_vhd_warning]')[data.vhd_no_warning].checked = true;
1213
1214 //VTOY_FILE_FLT_ISO
1215 $('input:radio[name=id_ctrl_radio_filt_iso]')[data.filter_iso].checked = true;
1216
1217 //VTOY_FILE_FLT_WIM
1218 $('input:radio[name=id_ctrl_radio_filt_wim]')[data.filter_wim].checked = true;
1219
1220 //VTOY_FILE_FLT_EFI
1221 $('input:radio[name=id_ctrl_radio_filt_efi]')[data.filter_efi].checked = true;
1222
1223 //VTOY_FILE_FLT_IMG
1224 $('input:radio[name=id_ctrl_radio_filt_img]')[data.filter_img].checked = true;
1225
1226
1227 //VTOY_FILE_FLT_VHD
1228 $('input:radio[name=id_ctrl_radio_filt_vhd]')[data.filter_vhd].checked = true;
1229
1230
1231 //VTOY_FILE_FLT_VTOY
1232 $('input:radio[name=id_ctrl_radio_filt_vtoy]')[data.filter_vtoy].checked = true;
1233
1234 //VTOY_MENU_LANGUAGE
1235 if ($("select[id=id_ctrl_sel_menu_lang")[0].options.length === 0)
1236 {
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);
1241 }
1242 }
1243 $('select[id=id_ctrl_sel_menu_lang').val(data.menu_language);
1244 }
1245
1246 function VtoySaveCurrentPage() {
1247 VtoyGetCurrentPageItem(m_data_control[current_tab_index]);
1248 var data = m_data_control[current_tab_index];
1249
1250 callVtoy({
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
1276 }, function(e) {
1277 Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
1278 });
1279 }
1280
1281 function OnClickMultiModeTab() {
1282 var href = $(this).attr('href');
1283 var index = parseInt(href.substr(5, 1));
1284
1285 if (index < 0 || index >= g_vtoy_data_default_index || current_tab_index === index) {
1286 return;
1287 }
1288
1289 current_tab_index = index;
1290 VtoyFillCurrentPageItem(m_data_control[index]);
1291 }
1292
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();
1298 } else {
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();
1302 }
1303 VtoySaveCurrentPage();
1304 }
1305
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();
1311 } else {
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();
1315 }
1316 VtoySaveCurrentPage();
1317 }
1318
1319 //Main process
1320 var m_data_control;
1321 var current_tab_index = 0;
1322
1323 callVtoySync({method : 'get_control'}, function(data) {
1324 m_data_control = data;
1325 });
1326
1327 $('#id_ctrl_btn_sel_root').click(function() {
1328 var tip = (g_current_os === 'windows') ? '\\ISO\\Windows' : "/ISO/Linux";
1329 var para = {
1330 "title": g_vtoy_cur_language.STR_SET_SEARCH_ROOT,
1331 "tip": g_current_dir + tip,
1332 "tip3": '',
1333 "extra": false,
1334 "extra_title": ''
1335 };
1336 VtoySelectDirPath(OnSelectSearchRoot, para);
1337 });
1338
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();
1345 }
1346 });
1347
1348 $('#id_ctrl_btn_default_img').click(function() {
1349 var tip = (g_current_os === 'windows') ? '\\ISO\\Windows10_en.iso' : "/ISO/Windows10_en.iso";
1350 var para = {
1351 "title": g_vtoy_cur_language.STR_SET_DEFAULT_IMAGE,
1352 "fuzzy": 0,
1353 "tip1": g_current_dir + tip,
1354 "tip2": '',
1355 "tip3": '',
1356 "extra": false,
1357 "extra_title": ''
1358 };
1359 VtoySelectFilePath(OnSelectDefaultImage, para);
1360 });
1361
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();
1368 }
1369 });
1370
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);
1375 }
1376 });
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();
1384 } else {
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);
1387 }
1388 });
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();
1393 } else {
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);
1396 }
1397 });
1398
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);
1405
1406 function UpdateTabTitleIcon(data) {
1407 CommonUpdateTabTitleIcon(data.exist_control, '#id_tab_control a[href="#tab_', 'control');
1408 }
1409 $('#id_btn_reset').click(function() {
1410 Modal.confirm({msg:GetResetTabConfigTipMsg(current_tab_index, 'control')}).on(function(e) {
1411 if (e) {
1412 VtoyFillCurrentPageItem(m_data_control[g_vtoy_data_default_index]);
1413 VtoySaveCurrentPage();
1414 }
1415 });
1416 });
1417
1418 $('#id_tab_control a[href="#tab_0"]').tab('show');
1419 VtoyFillCurrentPageItem(m_data_control[0]);
1420 VtoyPageLanguageChange(g_current_language);
1421
1422 $('button[id=id_btn_collapse]').click(function() {
1423 $("button[data-widget='collapse'] i").each(function() {
1424 if ($(this).hasClass('fa-minus')) {
1425 $(this).click();
1426 }
1427 });
1428 });
1429
1430 $('button[id=id_btn_expand]').click(function() {
1431 $("button[data-widget='collapse'] i").each(function() {
1432 if ($(this).hasClass('fa-plus')) {
1433 $(this).click();
1434 }
1435 });
1436 });
1437
1438
1439 </script>