4 require './frox-lib.pl';
5 &ui_print_header(undef, $text{'cache_title'}, "");
8 print &ui_form_start("save_cache.cgi", "post");
9 print &ui_table_start($text{'cache_header'}, "width=100%", 4);
11 $module = &find_value("CacheModule", $conf);
12 print &ui_table_row($text{'cache_module'},
13 &ui_radio("CacheModule", $module,
14 [ [ "", $text{'cache_none'} ],
15 [ "local", $text{'cache_local'} ],
16 [ "http", $text{'cache_http'} ] ]), 3, \@ui_td);
18 print &config_textbox($conf, "CacheSize", 6, undef, "MB");
20 print &config_textbox($conf, "HTTPProxy", 30);
22 print &ui_table_row("", "");
24 print &config_textbox($conf, "MinCacheSize", 6, undef, "bytes");
26 print &config_yesno($conf, "StrictCaching", undef, undef, "no");
28 print &config_yesno($conf, "CacheOnFQDN", undef, undef, "yes");
30 print &config_yesno($conf, "CacheAll", undef, undef, "no");
34 print &config_opt_textbox($conf, "VirusScanner", 40, 3, $text{'cache_vnone'});
36 print &config_opt_textbox($conf, "VSOK", 4, 3);
38 print &config_opt_textbox($conf, "VSProgressMsgs", 4, 3);
40 print &ui_table_end();
41 print &ui_form_end([ [ 'save', $text{'save'} ] ], "100%");
43 &ui_print_footer("", $text{'index_return'});