home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.f-secure.com
/
2014.06.ftp.f-secure.com.tar
/
ftp.f-secure.com
/
support
/
hotfix
/
fsav-server
/
FSAVSRV900_HF07.fsfix
/
iuwebui
/
forms
/
common
/
main.php
< prev
next >
Wrap
PHP Script
|
2010-09-07
|
25KB
|
565 lines
<?php include("commonphp.php"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title><?=fsloc("F-Secure Web Console")?></title>
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<link rel=stylesheet href="/allowed/main.css" type="text/css">
<link rel=stylesheet href="../css/nav-top.css" type="text/css">
<link rel=stylesheet href="../css/widget.css" type="text/css">
<script type="text/javascript">
var djConfig = {
isDebug: false,
bindEncoding: "utf-8",
debugAtAllCosts: false
};
</script>
<script type="text/javascript" src="https://<?php echo $_SERVER[HTTP_HOST];?>/common/translator.js.php"></script>
<?php
$isGeckoLayoutEngine = strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko')!==false;
?>
<style type="text/css">
.mainContainer
{
position: relative;
margin: 0;
width: 1000px;
height: 100%;
padding: 0px;
background-color: #f3f3f3;
<?php
if ($isGeckoLayoutEngine == false)
echo "margin: 0 auto; /* center on everything else */"
?>
}
.dojoDialog {
background: white;
border : 2px solid #999;
-moz-border-radius : 5px;
padding : 5px;
}
</style>
<script type="text/javascript" src="https://<?php echo $_SERVER[HTTP_HOST];?>/js/dojo.js"></script>
<script language="JavaScript" type="text/javascript">
dojo.require("dojo.widget.LayoutContainer");
dojo.require("dojo.widget.ContentPane");
dojo.require("dojo.widget.LinkPane");
dojo.require("dojo.widget.SplitContainer");
dojo.require("dojo.widget.TabContainer");
dojo.require("dojo.widget.Tree");
dojo.require("dojo.widget.TreeNode");
dojo.hostenv.writeIncludes();
dojo.registerModulePath('fs', 'fs');
// 2. load the user defined button
dojo.require("fs.Button");
dojo.require("fs.ContentPane");
</script>
<script>
function init(e)
{
<?php
if(tnb_is_eval_expired(&$prod_name, &$days_left) == true || (strlen($prod_name) > 0 && $days_left >= 0))
{
echo 'EnableExtraDialog("/common/tnb_screen.php");';
}
// Browsers based on Gecko layout engine have 'shaking' effect
// when layout container is placed in centered
// element (<CENTER>, <DIV style='margin: 0 auto'>).
// Fix: setting up margins manually during initializing
// and when resize.
if ($isGeckoLayoutEngine == true)
{
echo "
UpdateMainContainerMargins();
dojo.event.connect(window, 'onresize', 'UpdateMainContainerMargins');
";
}
?>
}
dojo.addOnLoad(init);
function UpdateMainContainerMargins()
{
var margin_left = (document.body.clientWidth-1000)/2;
if (margin_left < 0)
margin_left = 0;
var cont = window.document.getElementById('main_layout_container');
cont.style.marginLeft = margin_left + 'px';
}
function DisplayTreeContent()
{
this.update = function(message)
{
beforeNodeChange();
var clickedTreeNode = message.node;
var docPane = dojo.widget.byId("docpane");
var file = clickedTreeNode.object;
if (!file)
docPane.setContent(localized_strings.PageCannotBeLoaded);
else
docPane.setUrl(file);
};
}
var displayer = new DisplayTreeContent();
var nodeSelectionTopic = dojo.event.topic.getTopic("nodeSelected");
nodeSelectionTopic.subscribe(displayer, "update");
var ts = null;
var page_can_be_submitted = false;
function beforeNodeChange()
{
if(!page_can_be_submitted || !dojo.widget.byId('mainTabContainer'))
return;
var active_tab = dojo.widget.byId('mainTabContainer').selectedChildWidget.widgetId;
if(active_tab == '')
return;
if("function" == eval('typeof(' + active_tab + '_is_closing)'))
eval(active_tab + '_is_closing()');
}
function SetCanBeSubmitted()
{
page_can_be_submitted = true;
}
var ss_dialog_win = null;
function RefreshActiveContentPane()
{
if(!dojo.widget.byId('mainTabContainer'))
return;
var active_tab = dojo.widget.byId('mainTabContainer').selectedChild;
var pane = dojo.widget.byId(active_tab)
if(pane)
pane.refresh();
if(arguments.length > 0)
ss_dialog_win = arguments[0];
}
var global_stats_refresh_interval = 60000; // miliseconds
var global_stats_last_updated = 0;
var global_extra_last_updated = 0;
function RefreshStatisticstPane(pane_name)
{
if(!dojo.widget.byId('mainTabContainer'))
return;
var interval = (arguments.length == 1) ? global_stats_refresh_interval : arguments[1];
var active_tab = dojo.widget.byId('mainTabContainer').selectedChild;
// alert(arguments[1] + ' ' + interval);
if(pane_name != active_tab)
{
setTimeout('RefreshStatisticstPane("' + pane_name + '", ' + interval + ');', interval);
return;
}
var currentTime = new Date();
if(currentTime.getTime() + 2000 - global_stats_last_updated < interval)
return;
global_stats_last_updated = currentTime.getTime();
var pane = dojo.widget.byId(pane_name)
if(pane)
pane.refresh();
}
function RunRefreshStatisticstTimeout(pane_name)
{
setTimeout('RefreshStatisticstPane("' + pane_name + '");', global_stats_refresh_interval);
popup_unsaved_settings();
}
var dialog_arg = '';
function SetDialogArg(arg)
{
dialog_arg = arg;
}
function GetDialogArg()
{
return dialog_arg;
}
function selectTreeNode(nodeName)
{
var ts = dojo.widget.byId("treeSelector");
if (ts.selectedNode)
ts.selectedNode.unMarkSelected();
var node = dojo.widget.byId(nodeName);
node.markSelected();
ts.selectedNode = node;
var pane = dojo.widget.byId('docpane');
var file = node.object;
if (!file)
{
pane.setContent(localized_strings.PageCannotBeLoaded);
}
else
{
if(arguments.length > 1)
file = file + '&' + arguments[1];
pane.setUrl(file);
}
}
function EnableBrowseDialog(params)
{
EnableWebUIDialog('browse_dialog', params);
}
function EnableWebUIDialog(dialog_name, params)
{
setCookie('WEBUIDIALOG', params);
var pane = dojo.widget.byId(dialog_name)
if(!pane)
return;
if(pane.href.length > 0)
{
var oldrefresh = pane.refreshOnShow;
pane.refreshOnShow = false;
pane.isLoaded = false;
pane.show();
pane.refreshOnShow = oldrefresh;
}
else
{
if(dialog_name == 'browse_dialog')
pane.setUrl('/common/browse.php');
else if(dialog_name == 'mailboxes_dialog')
pane.setUrl('/common/mailboxes.php');
else if(dialog_name == 'pfolders_dialog')
pane.setUrl('/common/pfolders.php');
pane.show();
}
}
var rdefs_tab_name = '';
function RestoreDefaultsHit()
{
if(arguments.length > 0)
{
rdefs_tab_name = arguments[0];
show_webui_message_box(localized_strings.Warning, localized_strings.RestoreDefaultsWarning, 0, 'RestoreDefaultsHit', 'Yes', 'No');
}
else if(rdefs_tab_name != '')
{
eval(rdefs_tab_name + '_restore_hit();');
rdefs_tab_name = '';
}
setTimeout('check_unsaved_settings(def_attempts_unsaved_settings)', 1000);
}
var def_attempts_unsaved_settings = 4;
var have_unsaved_settings = false;
function popup_unsaved_settings()
{
var page_div = dojo.byId('mainTabContainer');
if(!page_div){return;}
var divs = page_div.getElementsByTagName("div");
if(!divs){return;}
for (var i = 0; i < divs.length; i++)
if (hasClass(divs[i]) && divs[i].className == 'SettingsInformerCont')
divs[i].style.display = have_unsaved_settings ? 'block' : 'none';
}
function check_unsaved_settings(param)
{
dojo.io.bind({
url: "/common/utility.php?changed_stngs",
load: function(type, data, evt){
have_unsaved_settings = (data == '1');
popup_unsaved_settings();
if(param && param > 0)
setTimeout('check_unsaved_settings(' + (param-1) + ')', 300);
},
method: "post",
mimetype: "text/plain"
});
}
reset_unsaved_settings = function()
{
dojo.io.bind({
url: "/common/utility.php?reset_stngs",
load: function(type, data, evt){
setTimeout('RefreshActiveContentPane()', 2000);
},
method: "post",
mimetype: "text/plain"
});
}
</script>
</head>
<body>
<div dojoType="dialog" cacheContent='false' id="exclusions_dialog" bgColor="white" bgOpacity="0.5" toggle="plain"
toggleDuration="250" executeScripts="true">
</div>
<div dojoType="dialog" cacheContent='false' id="lists_dialog" bgColor="white" bgOpacity="0.5" toggle="fade"
toggleDuration="250" executeScripts="true">
</div>
<div dojoType="dialog" cacheContent='false' id="browse_dialog" bgColor="white" bgOpacity="0.5" toggle="fade"
toggleDuration="250" executeScripts="true">
</div>
<div dojoType="dialog" cacheContent='false' id="mailboxes_dialog" bgColor="white" bgOpacity="0.5" toggle="fade"
toggleDuration="250" executeScripts="true">
</div>
<div dojoType="dialog" cacheContent='false' id="pfolders_dialog" bgColor="white" bgOpacity="0.5" toggle="fade"
toggleDuration="250" executeScripts="true">
</div>
<div dojoType="dialog" cacheContent='false' id="fileTypes_dialog" bgColor="white" bgOpacity="0.5" toggle="fade"
toggleDuration="250" executeScripts="true">
</div>
<?php $ini_array = parse_ini_file('../../bin/webui.cnf', true); ?>
<?php
$banner = "";
if (products_is_av4srv_installed() && products_is_av4mse_installed())
{
$banner = "banner_ess.png";
}
else if (products_is_av4mse_installed())
{
$banner = "banner_fsavmse.png";
}
else if (products_is_av4srv_installed())
{
$banner = "banner_fsavsrv.png";
}
if ($banner != "")
{
$banner = '<img src="../pics/layout/'.$banner.'" ISMAP usemap="#IHIP_NEW" alt="" border="0" class="banner"/>';
}
?>
<div dojoType="LayoutContainer" id="main_layout_container" layoutChildPriority='top-bottom' class="mainContainer">
<div dojoType="fs:ContentPane" layoutAlign="top" style="height: 80px; padding-top: 5px !important;">
<div class="topBar">
<?php echo($banner); ?>
<map name="IHIP_NEW">
<area shape="rect" coords="15,5,160,75" href="javascript: void(window.open('http://www.f-secure.com/<?=$GLOBAL_LOC_LANGS[get_lang()];?>/'));">
<area shape="default" nohref>
</map>
</div>
</div>
<div dojoType="LinkPane" layoutAlign="left" style="height: 100%; width: 200px; background-color: #f3f3f3; top: 83px !important;
padding-left: 10px; margin-top: 0px;" executeScripts="true" href="/common/tree.php?<?php
if($ini_array[Extra][DontShowGettingStarted] == 1) echo'NoGetStarted';
// Add extra params to prevent a browser from taking the menu from the cache when installing/uninstalling the products
if(products_is_av4srv_installed()) echo '&srv';
if(products_is_av4mse_installed()) echo '&mse';
?>">
</div>
<div dojoType="fs:ContentPane" layoutAlign="client" style="background-color: white; margin: 0 0 0 0; padding: 0px; top: 83px !important"
id="docpane" executeScripts="true">
</div>
<div cacheContent='false' dojoType="fs:ContentPane" id="session_reporter" bgColor="white"cacheContent='false'
executeScripts="true" href="/common/session_reporter.php?stats_page" onDownloadStart="arguments[0].preventDefault()">
</div>
<span class="lt"><!--do not delete - for strict xhtml validation--></span>
<span class="rt"><!--do not delete - for strict xhtml validation--></span>
<span class="lb"><!--do not delete - for strict xhtml validation--></span>
<span class="rb"><!--do not delete - for strict xhtml validation--></span>
<span class="page-l"><!--do not delete - for strict xhtml validation--></span>
<span class="page-r"><!--do not delete - for strict xhtml validation--></span>
<span class="page-t"><!--do not delete - for strict xhtml validation--></span>
<span class="page-b"><!--do not delete - for strict xhtml validation--></span>
<div dojoType="fs:ContentPane" id="footer" layoutAlign="bottom">
<span class="t" style="width: 982px !important;"><!--do not delete - for strict xhtml validation--></span>
<p>© 2010 <a id="main: f-secure" href="javascript: void(window.open('http://www.f-secure.com/<?=$GLOBAL_LOC_LANGS[get_lang()];?>/'))">F-Secure Corporation</a><a id="main: logout" class="main: pti tagline" href="javascript: void(window.open('http://www.f-secure.com/<?=$GLOBAL_LOC_LANGS[get_lang()];?>/about-us/company/brand.html'))">Protecting the irreplaceable</a></p>
<ul>
<li><a id="main: security center" href="javascript: void(window.open('http://www.f-secure.com/<?=$GLOBAL_LOC_LANGS[get_lang()];?>/security/'))" ><?=fsloc('Security Center')?></a></li>
<li><a id="main: webclub" href="javascript: void(window.open('http://www.f-secure.com/<?=$GLOBAL_LOC_LANGS[get_lang()];?>/downloads/product-updates/'))" ><?=fsloc('Web Club')?></a></li>
<li><a id="main: support" href="javascript: void(window.open('http://www.f-secure.com/<?=$GLOBAL_LOC_LANGS[get_lang()];?>/support/business/product-support/'))" ><?=fsloc('Product Support')?></a></li>
<li><a id="main: about" href="javascript:;" onclick="EnableExtraDialog('/common/about.php')" ><?=fsloc('About')?></a></li>
<li><a id="main: logout" href="javascript:;" onClick="EnableExtraDialog('/common/logout.php');" class="logout" title="<?=fsloc('Click here to log out and end your session')?>"><b><?=fsloc('Log out')?></b></a></li>
</ul>
</div>
<div style="position: absolute; bottom: 18px; left: 0; background-image:url(/allowed/page-left.gif); height: 17px; width: 9px;"></div>
<div style="position: absolute; bottom: 18px; right: 0; background-image:url(/allowed/page-right.gif); height: 17px; width: 9px;"></div>
</div>
</body>
</html>
<script>
var av4srvHelp = 'http://www.f-secure.com/<?=$GLOBAL_LOC_LANGS[get_lang()];?>/downloads/documentation/online-help/avsrv/900/frameset.html?';
var ProjectHelpIDs = new Array();
function FillProjectHelpIDs()
{
if(ProjectHelpIDs.length == 0)
{
var is_av4mse = new Boolean(<?php if(products_is_av4mse_installed()) echo "1"; else echo "0"; ?>);
var is_av4srv = new Boolean(<?php if(products_is_av4srv_installed()) echo "1"; else echo "0"; ?>);
var is_both = (is_av4mse == true) && (is_av4srv == true);
// Home pages
if(is_both == true || is_av4mse == true)
{
ProjectHelpIDs.push(new Array('tabHomeGetStarted', av4mseHelp + 'av4ex_local-admin3.html'));
ProjectHelpIDs.push(new Array('tabHomeSummary', av4mseHelp + 'av4ex_local-admin4.html'));
ProjectHelpIDs.push(new Array('tabHomeServices', av4mseHelp + 'av4ex_local-admin8.html'));
ProjectHelpIDs.push(new Array('tabHomeVirusStats', av4mseHelp + 'av4ex_local-admin9.html'));
}
else
{
ProjectHelpIDs.push(new Array('tabHomeGetStarted', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabHomeSummary', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabHomeServices', av4srvHelp + 'getting_started/concepts/getting_started.html'));
}
// Automatic Updates and General pages
if(is_both == true || is_av4mse == true)
{
ProjectHelpIDs.push(new Array('tabAUAStatus', av4mseHelp + 'av4ex_local-admin55.html'));
ProjectHelpIDs.push(new Array('tabAUADownloads', av4mseHelp + 'av4ex_local-admin56.html'));
ProjectHelpIDs.push(new Array('tabAUAGeneral', av4mseHelp + 'av4ex_local-admin58.html'));
ProjectHelpIDs.push(new Array('tabAUAPM', av4mseHelp + 'av4ex_local-admin59.html'));
ProjectHelpIDs.push(new Array('tabFSMAStatus', av4mseHelp + 'av4ex_local-admin66.html'));
ProjectHelpIDs.push(new Array('tabFSMAManagement', av4mseHelp + 'av4ex_local-admin69.html'));
ProjectHelpIDs.push(new Array('tabFSMAAlerting', av4mseHelp + 'av4ex_local-admin72.html'));
ProjectHelpIDs.push(new Array('tabFSMAWebui', av4mseHelp + 'av4ex_local-admin73.html'));
ProjectHelpIDs.push(new Array('tabFSMANotifications', av4mseHelp + 'av4ex_local-admin74.html'));
ProjectHelpIDs.push(new Array('tabFSMANetwork', av4mseHelp + 'av4ex_local-admin67.html'));
ProjectHelpIDs.push(new Array('tabFSMASamples', av4mseHelp + 'av4ex_local-admin78.html'));
ProjectHelpIDs.push(new Array('tabFSMAMatchLists', av4mseHelp + 'av4ex_local-admin76.html'));
ProjectHelpIDs.push(new Array('tabFSMATemplates', av4mseHelp + 'av4ex_local-admin77.html'));
ProjectHelpIDs.push(new Array('tabGetStartedDomains', av4mseHelp + 'av4ex_local-admin67.html'));
ProjectHelpIDs.push(new Array('tabGetStartedAlerts', av4mseHelp + 'av4ex_app_smtp-alerts3.html'));
ProjectHelpIDs.push(new Array('tabGetStartedUpdates', av4mseHelp + 'av4ex_virus-definition-databases4.html'));
}
else
{
ProjectHelpIDs.push(new Array('tabAUAStatus', av4srvHelp + 'automatic_updates/tasks/status.html'));
ProjectHelpIDs.push(new Array('tabAUADownloads', av4srvHelp + 'automatic_updates/concepts/aua.html'));
ProjectHelpIDs.push(new Array('tabAUAGeneral', av4srvHelp + 'automatic_updates/tasks/settings.html'));
ProjectHelpIDs.push(new Array('tabAUAPM', av4srvHelp + 'central_management/tasks/add_a_pm_proxy_server.html'));
ProjectHelpIDs.push(new Array('tabFSMAStatus', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabFSMAManagement', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabFSMAAlerting', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabFSMAWebui', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabFSMANotifications', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabFSMANetwork', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabFSMASamples', av4srvHelp + 'getting_started/concepts/getting_started.html'));
ProjectHelpIDs.push(new Array('tabGetStartedUpdates', av4srvHelp + 'automatic_updates/concepts/aua.html'));
}
if(is_av4mse == true)
{
ProjectHelpIDs.push(new Array('tabTransportStatus', av4mseHelp + 'av4ex_local-admin11.html'));
ProjectHelpIDs.push(new Array('tabTransportInboundAttachmentFiltering', av4mseHelp + 'av4ex_local-admin13.html'));
ProjectHelpIDs.push(new Array('tabTransportOutboundAttachmentFiltering', av4mseHelp + 'av4ex_local-admin13.html'));
ProjectHelpIDs.push(new Array('tabTransportInternalAttachmentFiltering', av4mseHelp + 'av4ex_local-admin13.html'));
ProjectHelpIDs.push(new Array('tabTransportInboundVirusScanning', av4mseHelp + 'av4ex_local-admin14.html'));
ProjectHelpIDs.push(new Array('tabTransportOutboundVirusScanning', av4mseHelp + 'av4ex_local-admin14.html'));
ProjectHelpIDs.push(new Array('tabTransportInternalVirusScanning', av4mseHelp + 'av4ex_local-admin14.html'));
ProjectHelpIDs.push(new Array('tabTransportInboundGraywareScanning', av4mseHelp + 'av4ex_local-admin15.html'));
ProjectHelpIDs.push(new Array('tabTransportOutboundGraywareScanning', av4mseHelp + 'av4ex_local-admin15.html'));
ProjectHelpIDs.push(new Array('tabTransportInternalGraywareScanning', av4mseHelp + 'av4ex_local-admin15.html'));
ProjectHelpIDs.push(new Array('tabTransportInboundArchiveProcessing', av4mseHelp + 'av4ex_local-admin16.html'));
ProjectHelpIDs.push(new Array('tabTransportOutboundArchiveProcessing', av4mseHelp + 'av4ex_local-admin16.html'));
ProjectHelpIDs.push(new Array('tabTransportInternalArchiveProcessing', av4mseHelp + 'av4ex_local-admin16.html'));
ProjectHelpIDs.push(new Array('tabTransportInboundContentFiltering', av4mseHelp + 'av4ex_local-admin17.html'));
ProjectHelpIDs.push(new Array('tabTransportOutboundContentFiltering', av4mseHelp + 'av4ex_local-admin17.html'));
ProjectHelpIDs.push(new Array('tabTransportInternalContentFiltering', av4mseHelp + 'av4ex_local-admin17.html'));
ProjectHelpIDs.push(new Array('tabAntispamStatus', av4mseHelp + 'av4ex_local-admin43.html'));
ProjectHelpIDs.push(new Array('tabAntispamOptions', av4mseHelp + 'avgw_spam4.html'));
ProjectHelpIDs.push(new Array('tabTransportInboundSecurityOptions', av4mseHelp + 'av4ex_local-admin19.html'));
ProjectHelpIDs.push(new Array('tabTransportOutboundSecurityOptions', av4mseHelp + 'av4ex_local-admin19.html'));
ProjectHelpIDs.push(new Array('tabTransportInternalSecurityOptions', av4mseHelp + 'av4ex_local-admin19.html'));
ProjectHelpIDs.push(new Array('tabStorageStatus', av4mseHelp + 'av4ex_local-admin20.html'));
ProjectHelpIDs.push(new Array('tabStorageRealtimeGeneral', av4mseHelp + 'av4ex_local-admin23.html'));
ProjectHelpIDs.push(new Array('tabStorageRealtimeVirusScanning', av4mseHelp + 'av4ex_local-admin24.html'));
ProjectHelpIDs.push(new Array('tabStorageRealtimeGraywareScanning', av4mseHelp + 'av4ex_local-admin25.html'));
ProjectHelpIDs.push(new Array('tabStorageRealtimeArchiveProcessing', av4mseHelp + 'av4ex_local-admin26.html'));
ProjectHelpIDs.push(new Array('tabStorageManualStatus', av4mseHelp + 'av4ex_local-admin27.html'));
ProjectHelpIDs.push(new Array('tabStorageManualGeneral', av4mseHelp + 'av4ex_local-admin30.html'));
ProjectHelpIDs.push(new Array('tabStorageManualStripping', av4mseHelp + 'av4ex_local-admin31.html'));
ProjectHelpIDs.push(new Array('tabStorageManualVirusScanning', av4mseHelp + 'av4ex_local-admin32.html'));
ProjectHelpIDs.push(new Array('tabStorageManualGraywareScanning', av4mseHelp + 'av4ex_local-admin33.html'));
ProjectHelpIDs.push(new Array('tabStorageManualArchiveProcessing', av4mseHelp + 'av4ex_local-admin34.html'));
ProjectHelpIDs.push(new Array('tabScheduledScanning', av4mseHelp + 'av4ex_local-admin35.html'));
ProjectHelpIDs.push(new Array('tabQuarantineStatus', av4mseHelp + 'av4ex_local-admin46.html'));
ProjectHelpIDs.push(new Array('tabQuarantineStorage', av4mseHelp + 'av4ex_local-admin49.html'));
ProjectHelpIDs.push(new Array('tabQuarantineMaintain', av4mseHelp + 'av4ex_local-admin50.html'));
ProjectHelpIDs.push(new Array('tabQuarantineDatabase', av4mseHelp + 'av4ex_local-admin51.html'));
ProjectHelpIDs.push(new Array('tabQuarantineLogging', av4mseHelp + 'av4ex_local-admin52.html'));
ProjectHelpIDs.push(new Array('tabQuarantineQuery', av4mseHelp + 'av4ex_local-admin47.html'));
ProjectHelpIDs.push(new Array('tabCSSStatus', av4mseHelp + 'av4ex_local-admin60.html'));
ProjectHelpIDs.push(new Array('tabCSSUpdates', av4mseHelp + 'av4ex_local-admin62.html'));
ProjectHelpIDs.push(new Array('tabCSSProxy', av4mseHelp + 'av4ex_local-admin63.html'));
ProjectHelpIDs.push(new Array('tabCSSVod', av4mseHelp + 'av4ex_local-admin64.html'));
ProjectHelpIDs.push(new Array('tabCSSAdvanced', av4mseHelp + 'av4ex_local-admin65.html'));
}
// AV4SRV specific pages
if(is_av4srv == true)
{
ProjectHelpIDs.push(new Array('tabServerStatus', av4srvHelp + 'virus_and_spy_protection/concepts/how_to_scan-mac.html'));
ProjectHelpIDs.push(new Array('tabServerRealtime', av4srvHelp + 'virus_and_spy_protection/concepts/real_time_scanning.html'));
ProjectHelpIDs.push(new Array('tabServerManualStatus', av4srvHelp + 'virus_and_spy_protection/concepts/manual_scanning.html'));
ProjectHelpIDs.push(new Array('tabServerScheduledScanning', av4srvHelp + 'virus_and_spy_protection/concepts/scheduled_scanning.html'));
ProjectHelpIDs.push(new Array('tabQuarantineQueryFiles', av4srvHelp + 'virus_and_spy_protection/tasks/see_the_programs_in_quarantine.html'));
}
// Pages which are different for both products
if(is_both == true || is_av4mse == true)
{
// TODO: Think how to solve it when both products are installed.
// Probably we should add to help links to these pages.
ProjectHelpIDs.push(new Array('tabQuarantineStatus', av4mseHelp + 'av4ex_local-admin4.html'));
}
else
{
ProjectHelpIDs.push(new Array('tabQuarantineStatus', av4srvHelp + 'virus_and_spy_protection/concepts/quarantine.html'));
}
}
}
var VirusScanStatuses = new Array();
var CntrVirusScanStatuses = 0;
function virusScanStatus(name, status)
{
this.name = name;
this.status = status;
}
function setVirusScanStatus(name, status, overwrite)
{
var index = have_such_entry(VirusScanStatuses, name);
if(index == -1)
VirusScanStatuses[CntrVirusScanStatuses++] = new virusScanStatus(name, status);
else if(overwrite)
VirusScanStatuses[index].status = status;
}
function getVirusScanStatus(name)
{
var index = have_such_entry(VirusScanStatuses, name);
if(index != -1)
return VirusScanStatuses[index].status;
}
check_unsaved_settings(false);
</script>
<script type="text/javascript" src="https://<?php echo $_SERVER[HTTP_HOST];?>/common/commonscripts.js"></script>