| 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 : /Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/Forms/ |
Upload File : |
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="DKIMNew.aspx.vb" Inherits="MailEnable.Clients.WebAdmin.Mondo.DKIMNew" %>
<%@ Register TagPrefix="uc1" TagName="uscStyleHeader" Src="../Controls/uscStyleHeader.ascx" %>
<%@ Register TagPrefix="uc2" TagName="uscLanguageTokenMondo" Src="../Controls/uscLanguageToken.ascx" %>
<%@ Register TagPrefix="uc1" TagName="ScriptsInclude" Src="../Controls/ScriptsInclude.ascx" %>
<uc2:uscLanguageTokenMondo id="uscToken" runat="server"></uc2: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-CreateNewSelector]")%></TITLE>
<BASE target="_self">
<META http-equiv="content-type" content="text/html;charset=UTF-8">
<META http-equiv="Expires" content="0">
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Cache-Control" content="no-cache">
<uc1:uscstyleheader id="UscStyleHeader1" runat="server"></uc1:uscstyleheader>
<uc1:ScriptsInclude id="ScriptsInclude" runat="server" libraries="core"></uc1:ScriptsInclude>
<style type="text/css">
/*Prevent IE intial scrolls for dialogs*/
.popupWin_body_bg{
-ms-overflow-style: none;
overflow: auto;
}
</style>
<script language="javascript">
function VerifySelectorDetails() {
var name = document.getElementById("<%= txtSelectorName.ClientID %>").value;
var keysize = document.getElementById("<%= lstKeySize.ClientID %>").value;
// don't want any funky characters, and a space at the end causes problems too...
var regx = new RegExp("[\\\"<>|?:\\\\/*;]|(\\s$)|(^\\s)");
var existingSelectors = "<%= g_selectorList %>".split(";");
var i;
if (name.length == 0) {
alert(t_("[ME_TXT-PleaseEnterASelectorName]"));
return false;
}
if (regx.test(name)) {
alert(t_("[ME_TXT-SelectorNameMustBeLegalFilename]"));
return false;
}
for (i = 0; i < existingSelectors.length; i++) {
if( existingSelectors[i] == name )
{
alert( t_("[ME_TXT-SelectorNameMustBeUnique]") );
return false;
}
}
return true;
}
function browserResize() {
dialogResize();
var html_h = document.body.offsetHeight;
var foot_h = document.getElementById('popupWin_content_foot_js').clientHeight;
var inputList = document.getElementById('popupWin_content_scroll_js').clientHeight;
var padding = 30 + 40 + 2;
var resize_h = html_h - foot_h - padding;
document.getElementById('popupWin_content_scroll_js').style.height = resize_h + "px";
}
window.onresize = function() {
browserResize();
}
</script>
</HEAD>
<BODY onload="browserResize()" class="popupWin_body_bg">
<div class="popupWin_content_body">
<div class="popupWin_content_body_inner">
<div class="popupWin_content_shell">
<form id="frmDKIMSelect" runat="server"><%MailEnable.Utilities.WriteFormValidationField(Response, Session.SessionID, Session.Item("ME_VALIDATIONTOKEN"))%>
<div class="popupWin_content_shell_inner">
<div class="popupWin_content_scroll" id="popupWin_content_scroll_js">
<div class="popupWIn_content_scroll_inner">
<div class="popupWin_tab_body" style="height:auto;">
<%=uscToken.GetText("[ME_TXT-EnterNameForNewSelector]")%><br />
<asp:literal id="litError" Runat="server"></asp:literal>
</div>
<br /><br />
<table class="options_form_table" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="options_form_table_minWidth"><div class="options_form_label"><%=uscToken.GetText("[ME_TXT-SelectorName]")%>:</div></td>
<td style="width:100%;"><asp:TextBox ID="txtSelectorName" runat="server" class="textfield" style="width:99%;"></asp:TextBox></td>
</tr>
<tr>
<td class="options_form_table_minWidth"><div class="options_form_label"><%=uscToken.GetText("[ME_TXT-SelectorSize]")%>:</div></td>
<td style="width:100%;"><asp:DropDownList ID="lstKeySize" runat="server"></asp:DropDownList></td>
</tr>
</table>
</div><!-- popupWin_content_scroll_inner -->
</div><!-- popupWin_content_scroll -->
<div class="popupWin_content_foot" id="popupWin_content_foot_js">
<asp:button id="btnAction" Runat="server" CssClass="ME_Button" OnClick="CreateSelector" Style="cursor:pointer;width:80px" OnClientClick="return VerifySelectorDetails()"></asp:button> <asp:button id="btnCancel" Runat="server" CssClass="ME_Button" Style="cursor:pointer;width:80px" OnClientClick="self.close()"></asp:button>
</div>
</div><!-- popupWin_content_shell_inner -->
</FORM>
</div><!-- popupWin_content_shell -->
</div><!-- popupWin_content_body_inner -->
</div><!-- popupWin_content_body -->
</BODY>
</HTML>