| 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/NETWebMail/Mondo/lang/sys/Forms/MAI/ |
Upload File : |
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="AddRecipients.aspx.vb" Inherits="MailEnable.Clients.WebMail.Mondo.AddRecipients" %>
<%@ Register TagPrefix="uc1" TagName="uscStyleHeader" Src="../../../Controls/uscStyleHeader.ascx" %>
<%@ Register TagPrefix="uc2" TagName="uscScriptsInclude" Src="../../../Controls/ScriptsInclude.ascx" %>
<%@ Register TagPrefix="uc3" TagName="uscLanguageTokenMondo" Src="../../../Controls/uscLanguageToken.ascx" %>
<uc3:uscLanguageTokenMondo id="uscToken" runat="server"></uc3:uscLanguageTokenMondo>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=uscToken.GetText("[ME_TXT-AddToContacts]")%></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<uc1:uscstyleheader id="UscStyleHeader1" runat="server"></uc1:uscstyleheader>
<uc2:uscScriptsInclude id="ScriptsInclude" runat="server" Flags="EXPIRE"></uc2:uscScriptsInclude>
<script type="text/javascript" language="javascript">
<!--
window.onresize = BrowserResize;
$(document).ready(function()
{
// setup the default text onclick stuff...
$(".defaultText").focus(function(srcc)
{
if ($(this).val() == $(this)[0].title)
{
$(this).removeClass("defaultTextActive");
$(this).val("");
}
});
$(".defaultText").blur(function()
{
if ($(this).val() == "")
{
$(this).addClass("defaultTextActive");
$(this).val($(this)[0].title);
}
});
$(".defaultText").blur();
SetAddButtonState();
});
function BrowserResize()
{
var html_height = $("html").height();
var options_footer_height = $("#options_footer_js").outerHeight();
var padding = 20;
var paneiframe_padding = 0;
if ($('.pane-iframe').css('padding-top')) {
paneiframe_padding = $('.pane-iframe').css('padding-top').replace('px', '');
}
var options_shell_height = html_height - options_footer_height - padding - paneiframe_padding;
if (html_height > 0)
{
$('.options_shell_inner').height(options_shell_height);
}
}
function SetAllCheckboxes(selected)
{
var chkVal = selected ? "checked" : "";
$("#divAdditions > table").each(function()
{
if ($(this).attr("id") != "tblSelectAll")
{
$(this).find("input:checkbox").prop("checked", chkVal);
}
});
}
function SelectAllClick()
{
SetAllCheckboxes($("#chkSelectAll").prop("checked"));
SetAddButtonState();
}
function SetAddButtonState()
{
if (GetSelectedCount() == 0)
{
DisableOKButton("btnAdd", BTTN_FLOAT_LEFT);
}
else
{
EnableOKButton("btnAdd", function() { Add(); }, BTTN_FLOAT_LEFT);
}
}
function CheckboxClick()
{
$("#chkSelectAll").prop("checked", IsAllSelected());
SetAddButtonState();
}
function GetSelectedCount()
{
var count = 0;
$("#divAdditions > table").each(function()
{
if ($(this).attr("id") != "tblSelectAll")
{
if ($(this).find("input:checkbox").prop("checked") == true)
{
count++;
}
}
});
return count;
}
function IsAllSelected()
{
// return true/false to indicate whether all checkboxes are selected
var bAllSelected = true;
$("#divAdditions > table").each(function()
{
if ($(this).attr("id") != "tblSelectAll")
{
if ($(this).find("input:checkbox").prop("checked") != true)
{
bAllSelected = false;
}
}
});
return bAllSelected;
}
function Add()
{
// before we postback we should clear the First/Last name field values if they are
// just default values (i.e. nothing was entered by the user)
$(".defaultText").each(function()
{
if ($(this).val() == $(this)[0].title)
{
$(this).val("");
}
});
// now post back to server to handle the adds
__doPostBack('', '');
}
function CloseWindow()
{
var oParentWindow;
var bIsNewWindow = (window.opener != undefined);
if (bIsNewWindow)
{
oParentWindow = window.opener;
}
else
{
oParentWindow = window.parent;
}
if (oParentWindow)
{
try
{
// we just want to return to the message list (at the last position)
oParentWindow.SetCurrentView(oParentWindow.VIEW_PERSONAL);
oParentWindow.SetPageContextMode(oParentWindow.CONTEXT_AUTODETECT);
oParentWindow.HideComposePane();
}
catch (ex) { }
}
if (bIsNewWindow)
{
window.close();
}
}
// -->
</script>
</head>
<body onload="BrowserResize()" style="background-color:Transparent;">
<form id="frmMain" runat="server"><%WriteFormValidationField()%>
<div class="options_shell pane-iframe" id="options_shell_js" style="background:none;">
<div class="options_shell_inner" id="divAdditions" style="min-width:550px;">
<!-- CONTENT -->
<div class="addToContacts_label">
<%=uscToken.GetText("[ME_TXT-TheFollowingEmailsDon'tExistAddThemNow?]")%>
</div>
<table class="addToContacts_table" id="tblSelectAll" runat="server" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="addToContacts_tickbox"><input id="chkSelectAll" type="checkbox" onclick="SelectAllClick()"/></td>
<td class="addToContacts_noWidth"><b><i><%=uscToken.GetText("[ME_TXT-Select/DeselectAll]")%></i></b></td>
</tr>
<tr>
<td class="addToContacts_head" colspan="2"></td>
</tr>
</table>
<asp:PlaceHolder ID="phEntries" runat="server"></asp:PlaceHolder>
</div><!-- options_shell_inner -->
</div><!-- options_shell -->
<div class="options_footer" id="options_footer_js">
<!-- Save / Cancel -->
<div class="bttn_float_left" id="btnAdd" onclick="Add()">
<div class="bttn_left" onselectstart="return false;"><div class="compose_bttn_okCancel"><%=uscToken.GetText("[ME_TXT-Add]")%></div></div>
<div class="bttn_right"></div>
</div>
<div class="bttn_float_left" id="btnCancel" onclick="CloseWindow()">
<div class="bttn_left" onselectstart="return false;"><div class="compose_bttn_okCancel"><%=uscToken.GetText("[ME_TXT-Cancel]")%></div></div>
<div class="bttn_right"></div>
</div>
</div><!-- options_footer -->
<!--
We need the LinkButton below so that the javascript function '__doPostBack()'
is written out on the client page.
-->
<asp:LinkButton ID="LinkBtn" runat="server" style="display:none"></asp:LinkButton>
</form>
</body>
</html>