| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/Forms/ |
Upload File : |
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb" Inherits="MailEnable.Clients.WebAdmin.Mondo.DefaultPage" %>
<%@ Register TagPrefix="uc1" TagName="uscStyleHeader" Src="../Controls/uscStyleHeader.ascx" %>
<%@ Register TagPrefix="ucScriptsInclude" TagName="ScriptsInclude" Src="../Controls/ScriptsInclude.ascx" %>
<%@ Register TagPrefix="uc2" TagName="uscLanguageTokenMondo" Src="../Controls/uscLanguageToken.ascx" %>
<%@ Register TagPrefix="uc2" TagName="ScriptTranslationsArray" Src="../Controls/ScriptTranslationsArray.ascx" %>
<uc2:uscLanguageTokenMondo id="uscToken" runat="server"></uc2:uscLanguageTokenMondo>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<uc1:uscstyleheader id="UscStyleHeader1" runat="server"></uc1:uscstyleheader>
<uc2:ScriptTranslationsArray id="ScriptTranslationsArray" runat="server"></uc2:ScriptTranslationsArray>
<ucScriptsInclude:ScriptsInclude id="ScriptsInclude1" runat="server"></ucScriptsInclude:ScriptsInclude>
<script language="javascript" type="text/javascript" src="../Scripts/LIBCore.js"></script>
<script language="javascript" type="text/javascript" src="../Scripts/LIBCommon.js"></script>
<script language="javascript" type="text/javascript" src="../Scripts/LIBJQLayout.js"></script>
<script language="javascript" type="text/javascript" src="../Scripts/LIBDialogs.js"></script>
<title>MailEnable Web Admninistration</title>
<!--[if lte IE 7]>
<style type="text/css">
#ddlPostoffice {margin:0;padding:0;}
#ddlPostoffice_bttn {margin:0;padding:0;}
.bttn_right {float:left;}
</style>
<![endif]-->
<script type="text/javascript" language="Javascript">
document.title = "<%=WindowTitle%>";
var oWaitDialog = null;
var CONTEXT_WELCOME = 0;
var CONTEXT_USERLIST = 1;
var CONTEXT_GROUPLIST = 2;
var CONTEXT_LISTSLIST = 3;
var CONTEXT_DIRECTORYLIST = 4;
var CONTEXT_DOMAINLIST = 5;
var CONTEXT_UPLOADGRAPHICS = 6;
var CONTEXT_CAMPAIGNS = 7;
var CONTEXT_CAMPAIGNSUBSCRIPTION = 8;
var CONTEXT_HELP = 9;
var CONTEXT_DKIM = 10;
var CONTEXT_DISTRIBUTIONS = 11;
var CONTEXT_SMSLIST = 12;
var CONTEXT_FOOTER = 13;
var CONTEXT_SYSTEM = 14;
var CONTEXT_HTML = 15;
var CONTEXT_COUNT = 16;
var APP_CONTEXT_ADMIN = 0;
var APP_CONTEXT_SYSTEM = 1;
var APP_CONTEXT_USAGE = 2;
var gBrowserType = GetBrowserType();
var oNotification = null;
var g_opt={};
var oTimeoutDialog = null;
var bchrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
function HTMLEncode(data) {
if ((data != undefined) && (data.length > 0)) {
var sNewData = data;
sNewData = sNewData.replace(/&/g, "&");
sNewData = sNewData.replace(/</g, "<");
sNewData = sNewData.replace(/>/g, ">");
sNewData = sNewData.replace(/"/g, """);
return sNewData;
}
return "";
}
function SetInnerText(Parent, Text)
{
if ((gBrowserType == BROWSER_TYPE_FF) || (gBrowserType == BROWSER_TYPE_SAFARI) )
{
Parent.innerHTML = Text;
}
else
{
Parent.innerText = Text;
}
}
function SetRightPanelTitle(sTitle) {
if (document.getElementById('lblCurrentFolder')) {
SetInnerText(document.getElementById('lblCurrentFolder'), HTMLEncode(sTitle));
}
return;
}
function SetTreeNode(Context,source)
{
$(".adminList_shell_ul").find("li").removeClass("adminList_selected");
if (source)
{
source.parentNode.className = 'adminList_selected';
}
}
<%If UseSummaryToolBar(Request,Session) Then %>
function SetTabAsInactive(tabName)
{
$("#topNav_bttn_" + tabName + ".itopNav_bttn_selected").toggleClass("itopNav_bttn_selected itopNav_bttn");
}
function SetTabAsActive(tabName)
{
$("#topNav_bttn_" + tabName + ".itopNav_bttn").toggleClass("itopNav_bttn itopNav_bttn_selected");
}
<%Else%>
function SetTabAsInactive(tabName)
{
var NAV_PREFIX = 'topNav_';
$("." + NAV_PREFIX + tabName).toggleClass(NAV_PREFIX + tabName + " " + NAV_PREFIX + tabName + "_inactive");
$("." + NAV_PREFIX + tabName + "_icon").toggleClass(NAV_PREFIX + tabName + "_icon" + " " + NAV_PREFIX + tabName + "_icon_inactive");
}
function SetTabAsActive(tabName)
{
var NAV_PREFIX = 'topNav_';
$("." + NAV_PREFIX + tabName + "_inactive").toggleClass(NAV_PREFIX + tabName + "_inactive " + NAV_PREFIX + tabName);
}
<%End If%>
function SetAdminContext(Context)
{
//hides or shows various bits so that we can show the system stuff seperate to the postoffice stuff
//lets make sure our tab is active.
SetTabAsInactive("admin");
SetTabAsInactive("system");
SetTabAsInactive("usage");
if (Context == APP_CONTEXT_SYSTEM)
{
$( "#adminList_head_shell_js" ).hide();
$( "#adminList_ul_shell_js" ).hide();
$( "#usageList_head_shell_js" ).hide();
$( "#usageList_ul_shell_js" ).hide();
$( "#sysList_head_shell_js" ).show();
$( "#sysList_ul_shell_js" ).show();
SetTabAsActive("system")
<%If AllowServiceAdminMenu() Then%>
SetPageContextMode(CONTEXT_SYSTEM,null,"SERVER-SETTINGS");
<%Else %>
SetPageContextMode(CONTEXT_SYSTEM,null,"LIST-SERVICES");
<%End If %>
}
else if (Context == APP_CONTEXT_USAGE)
{
$( "#adminList_head_shell_js" ).hide();
$( "#adminList_ul_shell_js" ).hide();
$( "#sysList_head_shell_js" ).hide();
$( "#sysList_ul_shell_js" ).hide();
$( "#usageList_head_shell_js" ).show();
$( "#usageList_ul_shell_js" ).show();
SetTabAsActive("usage")
SetPageContextMode(CONTEXT_HTML,null,"MONITOR");
}
else
{
$( "#sysList_head_shell_js" ).hide();
$( "#sysList_ul_shell_js" ).hide();
$( "#usageList_head_shell_js" ).hide();
$( "#usageList_ul_shell_js" ).hide();
$( "#adminList_head_shell_js" ).show();
$( "#adminList_ul_shell_js" ).show();
SetTabAsActive("admin")
SetPageContextMode(CONTEXT_WELCOME);
}
browserResize();
return true;
}
function SetPageContextMode(Context,sourceNode,sAction)
{
oTimeoutDialog.ResetSession();
var iTS = (new Date()).getTime();
SetTreeNode(Context,sourceNode);
HideOtherPageContexts(Context);
switch (Context) {
case CONTEXT_WELCOME:
document.getElementById('divWelcome').style.display = "";
document.getElementById('frmWelcome').src = "Welcome.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_USERLIST:
document.getElementById('divUserList').style.display = "";
document.getElementById('frmUserList').src = "UserList.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_GROUPLIST:
document.getElementById('divGroupList').style.display = "";
document.getElementById('frmGroupList').src = "GroupList.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_LISTSLIST:
document.getElementById('divListsList').style.display = "";
document.getElementById('frmListsList').src = "ListsList.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_DIRECTORYLIST:
document.getElementById('divDirectoryList').style.display = "";
document.getElementById('frmDirectoryList').src = "DirectoryList.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_DOMAINLIST:
document.getElementById('divDomainList').style.display = "";
document.getElementById('frmDomainList').src = "DomainList.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_DISTRIBUTIONS:
document.getElementById('divDistributions').style.display = "";
document.getElementById('frmDistributions').src = "Distributions.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_DKIM:
document.getElementById('divDKIMList').style.display = "";
document.getElementById('frmDKIMList').src = "DKIM.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_UPLOADGRAPHICS:
document.getElementById('divUploadGraphics').style.display = "";
document.getElementById('frmUploadGraphics').src = "UploadGraphics.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_CAMPAIGNS:
document.getElementById('divCampaigns').style.display = "";
document.getElementById('frmCampaigns').src = "Campaigns.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_CAMPAIGNSUBSCRIPTION:
document.getElementById('divCampaignSubscription').style.display = "";
document.getElementById('frmCampaignSubscription').src = "CampaignSubscription.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_FOOTER:
document.getElementById('divFooterManagement').style.display = "";
document.getElementById('frmFooterManagement').src = "Footer.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
case CONTEXT_HTML:
document.getElementById('divHTML').style.display = "";
var sCommand = sAction.split('&');
switch(sCommand[0])
{
case "MONITOR":
{
document.getElementById('frmHTML').src = "SystemMonitor.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
}
default:
{
ShowWait(t_("[ME_TXT-Pleasewait]") + "...");
document.getElementById('frmHTML').src = getAppServletURL() + "?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Cmd=" + sAction
}
}
break;
case CONTEXT_SYSTEM:
ShowWait(t_("[ME_TXT-Pleasewait]") + "...",null,0);
document.getElementById('divSystem').style.display = "";
var sCommand = sAction.split('&');
switch(sCommand[0])
{
case "SERVICE-USAGE":
case "LIST-SERVICES":
case "SMTP_IN-QUEUE":
case "SMTP_OUT-QUEUE":
case "SMTP_CAMPAIGN-QUEUE":
case "SMTP_PRIORITY-QUEUE":
case "PO_IN-QUEUE":
case "PO_OUT-QUEUE":
case "LS_IN-QUEUE":
case "LS_OUT-QUEUE":
case "SMTP-LOG":
case "IMAP-LOG":
case "POP-LOG":
case "MTA-LOG":
case "LIST-BADMAIL":
case "LIST-QUARANTINE":
case "LIST-SYSTEM-MESSAGES":
document.getElementById('frmSystem').src = "SystemAdmin.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "LIST-FILTERS":
document.getElementById('frmSystem').src = "FilterSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "POSTOFFICE-SETTINGS":
document.getElementById('frmSystem').src = "PostofficeSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "GET-TRACKER":
document.getElementById('frmSystem').src = "MessageTracker.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "SERVER-SETTINGS":
document.getElementById('frmSystem').src = "Settings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "IMAP-SETTINGS":
document.getElementById('frmSystem').src = "IMAPServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "INDEXING-SETTINGS":
document.getElementById('frmSystem').src = "IndexingServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "SMTP-SETTINGS":
document.getElementById('frmSystem').src = "SMTPServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "MTA-SETTINGS":
document.getElementById('frmSystem').src = "MTAServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "LDAP-SETTINGS":
document.getElementById('frmSystem').src = "LDAPServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "SYNC-SETTINGS":
document.getElementById('frmSystem').src = "SyncServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "WEBMAIL-SETTINGS":
document.getElementById('frmSystem').src = "WebMailServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "WEBADMIN-SETTINGS":
document.getElementById('frmSystem').src = "WebAdminServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "POP3-SETTINGS":
document.getElementById('frmSystem').src = "POP3ServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "LISTSERVER-SETTINGS":
document.getElementById('frmSystem').src = "ListServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "PO-SETTINGS":
document.getElementById('frmSystem').src = "StoreServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
case "RETRIEVAL-SETTINGS":
document.getElementById('frmSystem').src = "RetrievalServiceSettings.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Action=" + sAction;
break;
default:
{
if (sAction)
document.getElementById('frmSystem').src = getAppServletURL() + "?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Cmd=" + sAction;
}
}
break;
case CONTEXT_HELP:
document.getElementById('divHelp').style.display = "";
document.getElementById('frmHelp').src = "Help.aspx";
break;
case CONTEXT_SMSLIST:
document.getElementById('divSMS').style.display = "";
document.getElementById('frmSMS').src = "SMS.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>";
break;
}
return true;
}
function ShowWait(message, cancellationAction, idelay) {
if (idelay == null){
idelay=1000;
} else if (idelay == 0){
idelay=1; //zero in libdialog does not work
}
if (message == undefined) {
message = t_('[ME_TXT-Pleasewait]') + '...';
}
if (oWaitDialog) // the dialog would not have been created until after PageLoad()
{
oWaitDialog.Show({Message: message, CancellationAction: cancellationAction, Delay: idelay});
}
}
function HideWait() {
if (oWaitDialog) // the dialog would not have been created until after PageLoad()
{
oWaitDialog.Hide();
}
}
function HideOtherPageContexts(CurrentContext) {
for (var i = 0; i < CONTEXT_COUNT; i++) {
if (i != CurrentContext) {
switch (i) {
case CONTEXT_WELCOME:
document.getElementById('divWelcome').style.display = "none";
break;
case CONTEXT_USERLIST:
document.getElementById('divUserList').style.display = "none";
break;
case CONTEXT_GROUPLIST:
document.getElementById('divGroupList').style.display = "none";
break;
case CONTEXT_LISTSLIST:
document.getElementById('divListsList').style.display = "none";
break;
case CONTEXT_DIRECTORYLIST:
document.getElementById('divDirectoryList').style.display = "none";
break;
case CONTEXT_DOMAINLIST:
document.getElementById('divDomainList').style.display = "none";
break;
case CONTEXT_DISTRIBUTIONS:
document.getElementById('divDistributions').style.display = "none";
break;
case CONTEXT_DKIM:
document.getElementById('divDKIMList').style.display = "none";
break;
case CONTEXT_UPLOADGRAPHICS:
document.getElementById('divUploadGraphics').style.display = "none";
break;
case CONTEXT_CAMPAIGNS:
document.getElementById('divCampaigns').style.display = "none";
break;
case CONTEXT_CAMPAIGNSUBSCRIPTION:
document.getElementById('divCampaignSubscription').style.display = "none";
break;
case CONTEXT_FOOTER:
document.getElementById('divFooterManagement').style.display = "none";
break;
case CONTEXT_HELP:
document.getElementById('divHelp').style.display = "none";
break;
case CONTEXT_SMSLIST:
var oSMS = document.getElementById('divSMS');
if (oSMS)
{
document.getElementById('divSMS').style.display = "none";
}
break;
case CONTEXT_SYSTEM:
document.getElementById('divSystem').style.display = "none";
break;
case CONTEXT_HTML:
document.getElementById('divHTML').style.display = "none";
break;
}
}
}
}
function PostofficeChanged() {
var poform = document.getElementById('FrmMenu');
if (poform)
{
var currentPostoffice = poform.ddlPostoffice.options[poform.ddlPostoffice.selectedIndex].value;
poform.hPostoffice.value = currentPostoffice;
poform.submit();
window.alert(t_("[ME_TXT-TheCurrentPostofficeWillNowBeChangedTo]") + ": '" + currentPostoffice + "'");
}
}
//===================================================================================================================================
window.onresize = browserResize;
function browserResize() {
//Body Shell Height
var html_height = document.body.offsetHeight;
var min_body_height = 400; //min-height on class "body_shell" set in CSS
var header_shell = document.getElementById('header_shell_js');
var footer_shell = document.getElementById('footer_shell_js');
var body_height = html_height - (header_shell.offsetHeight + footer_shell.offsetHeight);
if(body_height > min_body_height){
document.getElementById('body_shell_js').style.height = body_height + "px";
}else{
document.getElementById('body_shell_js').style.height = min_body_height + "px";
}
//Body Col Shell Height
var body_shell_height = document.getElementById('body_shell_js').offsetHeight;
var admin_head_height = document.getElementById('adminList_head_shell_js').offsetHeight;
var admin_ul_shell_h = 0;
var admin_ul_shell = document.getElementById('adminList_ul_shell_js');
if(admin_ul_shell){
admin_ul_shell_h = admin_ul_shell.offsetHeight;
}
var admin_footer_height = document.getElementById('topNav_bar_js').offsetHeight;
//var options_footer_height = document.getElementById("options_footer_js").clientHeight;
<% If MailEnable.Features.FeatureIsAdvertised("serveradminmenu", Session) Or MailEnable.Features.FeatureIsAdvertised("serverusagemenu", Session) Then%>
var js_sys_head = document.getElementById('sysList_head_shell_js');
if (js_sys_head)
{
var sys_head_h = document.getElementById('sysList_head_shell_js').offsetHeight;
var sysList_h = body_shell_height - admin_head_height - admin_ul_shell_h - sys_head_h - 5;
document.getElementById('adminList_shell_js').style.height = body_shell_height + "px";
document.getElementById('sysList_ul_shell_js').style.height = sysList_h + "px";
}
<%Else%>
var ol = document.getElementById('bodyCol_shell_optionsList');
if (ol)
{
ol.style.height = body_shell_height - admin_head_height + "px";
}
<%End If%>
document.getElementById('content_shell_js').style.height = body_shell_height + "px";
$('.content_shell_inner iframe').height('100%');
}
function LogOff()
{
document.location = '<%=sLoginPagePath%>'; // redirect to login page
}
function ShowHideShell(Show)
{
var header_shell = document.getElementById('header_shell_js');
var footer_shell = document.getElementById('footer_shell_js');
header_shell.style.display = (Show ? '' : 'none');
footer_shell.style.display = (Show ? '' : 'none');
if (!Show)
{
// when hiding the shell, move the top nav bar with the help and logoff
// actions down to the bottom of the left hand menu pane, to keep the navigation
// actions available
var topNav_bar = document.getElementById('topNav_bar_js');
var LeftPane = document.getElementById('bodyCol_optionsList_js');
topNav_bar.parentNode.removeChild(topNav_bar);
LeftPane.appendChild(topNav_bar);
// change the style as we move, because it will need to look different in the new spot
topNav_bar.className = 'leftNav_bar';
}
}
function IgnoreEvents(e)
{
return false;
}
function HandleFocus()
{
if (winModalWindow) {
if (!winModalWindow.closed) {
winModalWindow.focus();
}
else {
window.top.releaseEvents (Event.CLICK|Event.FOCUS);
}
}
return false;
}
$(document).ready(function () {
PageLoad();
browserResize();
});
function AddPostoffice(event) {
event.preventDefault();
ShowWindow('AccountWizard.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>&Cmd=Add&ts=' + (new Date()).getTime(), 'MailEnableAccount', 'resizable:1;center:yes;dialogWidth:510px;dialogHeight:500px');
}
function ShowWindow(Url, Title, Features)
{
var windowFeatures = {
windowURL: Url,
windowName: Title,
width: 550,
height: 550,
resizable: 1,
centerBrowser: 1,
dependent: true
};
if (window.showModalDialog && !bchrome)
{
windowFeatures.modal = true;
windowFeatures.modalArgument = window;
var returnVal = popupWindow(windowFeatures);
if (returnVal && (returnVal == true))
{
//RefreshList();
}
returnVal=null;
} else {
// Chrome & Opera Browsers...
window.top.captureEvents (Event.CLICK|Event.FOCUS);
window.top.onclick=IgnoreEvents;
window.top.onfocus=HandleFocus;
winModalWindow = popupWindow(windowFeatures);
}
}
function PageLoad()
{
g_opt['SkinPath']='<%=sSkinPath %>';
g_opt['ME_VALIDATIONTOKEN']='<%=sToken%>';
oWaitDialog = new ProgressDialog("WaitDialog");
oNotification = new NotificationDialog("NotificationDialog");
// initialise the timeout dialog...
oTimeoutDialog = new TimeoutDialog("TimeoutDialog", '<% =sTimeOutPagePath %>', '<% =sReconnectPage %>',
{
LogOffCallback: LogOff,
TimeoutMins: <% =Session.Timeout %>,
AlertSound: '<%=sSkinPath %>notify.wav'
});
ShowHideShell('<%= ShowShell %>' == 'True');
$("#frmSystem").on("load", function ()
{
HideWait();
});
$("#frmHTML").on("load", function ()
{
HideWait();
});
$('#btnAddPostoffice').click(AddPostoffice);
SetAdminContext(APP_CONTEXT_ADMIN);
if (typeof Notification !== 'undefined')
{
if (Notification.permission !== 'granted')
{
Notification.requestPermission();
}
}
}
function ShowNotification(Message, Persistent)
{
var bHandled = false;
try {
if (typeof Notification !== 'undefined')
{
if (Notification.permission === 'granted') {
var notification = new Notification(t_('[ME_TXT-MailEnableWebAdministration]'), {
icon: g_opt['SkinPath'] + 'logo_me.png',
body: Message});
bHandled = true;
if (!Persistent)
{
setTimeout(function(){ notification.close(); }, 3000);
}
}
}
}
catch(err) {
}
if (!bHandled)
{
if (oNotification)
{
oNotification.ShowNotification(Message, Persistent);
}
}
}
function Async_LockUI(message) {
}
function Async_UnlockUI() {
}
</script>
</head>
<!-- ======================================================================================================================================== -->
<body id="body" style="background-color:#fff;">
<div class="level0_shell" id="level0_shell_js">
<!-- Header -->
<%If UseSummaryToolBar(Request,Session) Then %>
<div class="iheader_shell" id="header_shell_js">
<div class="itopNav" id="topNav_bttn_shell_js">
<%=WriteTopNavigationMenuItems(True)%>
</div><!-- topNav -->
<div class="itopNav_bar"></div>
<%Else %>
<div class="header_shell" id="header_shell_js">
<div class="topNav">
<table class="topNav_table" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="topNav_table_left">
<div class="topNav_logo_shell">
<div class="topNav_logo">
<%=WriteLogo()%>
</div>
<%=WriteTopNavigationMenuItems(False)%>
</div>
</td>
<td class="topNav_table_right"></td>
</tr>
</table>
</div><!-- topNav -->
<%End If%>
<div class="topNav_bar" id="topNav_bar_js">
<table class="blueStatusBar_table" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="blueStatusBar_left">
<div class="blueStatusBar_shell"></div>
</td>
<td class="blueStatusBar_right">
<div class="blueStatusBar_shell">
<ul>
<li class="blueStatusBar_icon_help" onclick="SetPageContextMode(CONTEXT_HELP);" onmouseover="window.status='<%=uscToken.GetText("[ME_TXT-Help]")%>'; return true;" onmouseout="window.status=''; return true;" title="<%=uscToken.GetText("[ME_TXT-Help]")%>"><%=uscToken.GetText("[ME_TXT-Help]")%></li>
<li class="blueStatusBar_icon_logout" onclick="window.location='logoff.aspx<%=IIf(Request("ShowShell") IsNot Nothing, "?ShowShell=" & Request("ShowShell"), "") %>';" onmouseover="window.status='<%=uscToken.GetText("[ME_TXT-LogOff]")%>'; return true;" onmouseout="window.status=''; return true;" title="<%=uscToken.GetText("[ME_TXT-LogOff]")%>"><%=uscToken.GetText("[ME_TXT-LogOff]")%></li>
</ul>
</div>
</td>
</tr>
</table>
</div><!-- blueStatusBar -->
</div><!-- header_shell -->
<div class="clear_div"></div>
<div class="body_shell" id="body_shell_js">
<table class="body_shell_table" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="bodyCol_optionsList" id="bodyCol_optionsList_js">
<div class="adminList_shell" id="adminList_shell_js">
<div class="adminList_head_shell" id="adminList_head_shell_js" style="display:none">
<%If MailEnable.Features.IsEnterpriseInstalled() And MailEnable.Features.UserIsSYSADMIN(Session) Then%>
<table class="adminList_head_table" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width:21px;"><div class="adminList_icon_postoffice" title="<%=uscToken.GetText("[ME_TXT-CurrentPostoffice]")%>" onclick="PostofficeChanged()"></div></td>
<td>
<form id="FrmMenu" name="FrmMenu" runat="server"><%MailEnable.Utilities.WriteFormValidationField(Response, Session.SessionID, Session.Item("ME_VALIDATIONTOKEN"))%>
<asp:DropDownList id="ddlPostoffice" Runat="server" width="100" CssClass="ME_DropDownList"></asp:DropDownList>
<input id="hPostoffice" name="hPostoffice" type="hidden" />
</form>
</td>
<td>
<button id="btnAddPostoffice" class="ME_Button">+</button>
<!--<div id="btnAddPostoffice" class="toolbar_icon_newFolder"></div></td>-->
</tr>
</table>
<%End If%>
</div>
<%If MailEnable.Features.FeatureIsAdvertised("ServerAdminMenu", Session) Or MailEnable.Features.FeatureIsAdvertised("serverusagemenu", Session) Then%>
<div class="adminList_ul_shell" id="adminList_ul_shell_js" style="display:none">
<div class="adminList_ul_shell_inner" onselectstart="return false;">
<%Else%>
<div class="bodyCol_shell" id="bodyCol_shell_optionsList" style="padding:0px 5px;">
<div id="divAdminList" class="adminList_shell" onselectstart="return false;">
<%End If%>
<ul id="oAdminList" class="adminList_shell_ul">
<%=GetPostofficeMenuItems()%>
</ul>
</div><!-- bodyCol_shell_inner -->
</div><!-- bodyCol_shell -->
<% If MailEnable.Features.FeatureIsAdvertised("serveradminmenu", Session) Then%>
<div class="adminList_head_shell" id="sysList_head_shell_js" style="display:none"><h2>System</h2></div>
<div class="adminList_ul_shell" id="sysList_ul_shell_js" style="display:none"><%=GetSYSADMINListItems()%></div> <!-- adminList_ul_shell -->
<%End If%>
<% If MailEnable.Features.FeatureIsAdvertised("serverusagemenu", Session) Then%>
<div class="adminList_head_shell" id="usageList_head_shell_js" style="display:none"><h2>Usage</h2></div>
<div class="adminList_ul_shell" id="usageList_ul_shell_js" style="display:none"><%=GetSYSADMINUsageListItems()%></div> <!-- adminList_ul_shell -->
<%End If%>
</div><!-- adminList_shell_js -->
</td>
<td class="bodyCol_splitter_vertical"></td>
<td class="bodyCol_options">
<div class="content_shell" id="content_shell_js">
<div id="divWelcome" class="content_shell_inner">
<iframe id="frmWelcome" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="yes" style="background-color:Transparent;" src="Welcome.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>"></iframe>
</div>
<div id="divUserList" class="content_shell_inner" style="display:none;">
<iframe id="frmUserList" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="no" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divSMS" class="content_shell_inner" style="display:none;">
<iframe id="frmSMS" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="no" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divGroupList" class="content_shell_inner" style="display:none;">
<iframe id="frmGroupList" width="100%" height="100%" frameborder="0" background="red" scrolling="no" allowTransparency="true" scrolling="no" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divListsList" class="content_shell_inner" style="display:none;">
<iframe id="frmListsList" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="no" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divDirectoryList" class="content_shell_inner" style="display:none;">
<iframe id="frmDirectoryList" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="no" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divDomainList" class="content_shell_inner" style="display:none;">
<iframe id="frmDomainList" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="no" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divDKIMList" class="content_shell_inner" style="display:none;">
<iframe id="frmDKIMList" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="no" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divDistributions" class="content_shell_inner" style="display:none;">
<iframe id="frmDistributions" width="100%" height="100%" frameborder="0" allowTransparency="true" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divUploadGraphics" class="content_shell_inner" style="display:none;background:#F0F0F0;">
<iframe id="frmUploadGraphics" width="100%" height="100%" frameborder="0" allowTransparency="true" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divCampaigns" class="content_shell_inner" style="display:none;background:#F0F0F0;">
<iframe id="frmCampaigns" width="100%" height="100%" frameborder="0" allowTransparency="true" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divCampaignSubscription" class="content_shell_inner" style="display:none;background:#F0F0F0;">
<iframe id="frmCampaignSubscription" width="100%" height="100%" frameborder="0" allowTransparency="true" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divFooterManagement" class="content_shell_inner" style="display:none;background:#F0F0F0;">
<iframe id="frmFooterManagement" width="100%" height="100%" frameborder="0" allowTransparency="true" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divSystem" class="content_shell_inner" style="display:none;">
<iframe id="frmSystem" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="no" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divHTML" class="content_shell_inner" style="display:none;">
<iframe id="frmHTML" width="100%" height="100%" frameborder="0" allowTransparency="true" scrolling="yes" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
<div id="divHelp" class="content_shell_inner" style="display:none;">
<iframe id="frmHelp" width="100%" height="100%" frameborder="0" allowTransparency="true" style="background-color:Transparent;" src="loading.aspx"></iframe>
</div>
</div><!-- content_shell -->
</td><!-- bodyCol_contactsDetails -->
</tr>
</table><!-- body_shell_table -->
</div><!-- Body -->
<div class="clear_div"></div>
<!-- Footer -->
<div class="footer_shell" id="footer_shell_js">
<table class="blueStatusBar_table" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="blueStatusBar_left"></td>
<td class="blueStatusBar_right">
<div class="blueStatusBar_shell">
<%=GetStatusText() %>
</div>
</td>
</tr>
</table>
</div>
</div><!-- level0_shell -->
</body>
</html>