Merge branch 'Feature_20240510'
This commit is contained in:
commit
a55c796eea
|
@ -25,9 +25,9 @@ REM --------------
|
|||
|
||||
@echo 设置.net控制台环境
|
||||
@echo.
|
||||
@call "%VS100COMNTOOLS%"vsvars32.bat
|
||||
@call "%VS150%"
|
||||
|
||||
SqlMetal /views /server:.\SQL2016 /database:HJGLDB_ZJBSF /code:%Model_ROOT%\Model.cs /namespace:Model
|
||||
SqlMetal /views /server:. /database:HJGLDB_ZJBSF /code:%Model_ROOT%\Model.cs /namespace:Model
|
||||
|
||||
@ECHO 完成
|
||||
pause
|
||||
|
|
Binary file not shown.
|
@ -98,6 +98,7 @@
|
|||
<Compile Include="APIService\APIMessagePushService.cs" />
|
||||
<Compile Include="Common\AttachFileService.cs" />
|
||||
<Compile Include="Common\BaseInfo\Base_ProjectTypeService.cs" />
|
||||
<Compile Include="Common\MailHelper.cs" />
|
||||
<Compile Include="Common\ProjectSet\Base_ProjectService.cs" />
|
||||
<Compile Include="Common\ProjectSet\Base_UnitService.cs" />
|
||||
<Compile Include="Common\ChartControlService.cs" />
|
||||
|
@ -119,6 +120,12 @@
|
|||
<Compile Include="Common\Const.cs" />
|
||||
<Compile Include="NPOIHelper.cs" />
|
||||
<Compile Include="PublicInfo\BaseInfo\Base_PIPClassService.cs" />
|
||||
<Compile Include="Schedule\TaskScheduleService.cs" />
|
||||
<Compile Include="SendEmail\Email_ParamsService.cs" />
|
||||
<Compile Include="SendEmail\Email_PopService.cs" />
|
||||
<Compile Include="SendEmail\Email_SendLogService.cs" />
|
||||
<Compile Include="SendEmail\Email_SendTemplateService.cs" />
|
||||
<Compile Include="SendEmail\Email_ToPeopleService.cs" />
|
||||
<Compile Include="WelderManage\WelderQualifiedService.cs" />
|
||||
<Compile Include="WelderManage\WelderService.cs" />
|
||||
<Compile Include="DropListService.cs" />
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -693,10 +693,38 @@ namespace BLL
|
|||
#endregion
|
||||
|
||||
|
||||
#region 邮箱发送
|
||||
/// <summary>
|
||||
/// 发送邮件
|
||||
/// </summary>
|
||||
public const string SendEmailMenuId = "97143EDB-6A32-4BBA-9F49-E33E87912BC8";
|
||||
|
||||
/// <summary>
|
||||
/// 邮件配置
|
||||
/// </summary>
|
||||
public const string SendEmailPopMenuId = "9E9DD8E3-D91B-4FD4-B922-2F5CC23D2745";
|
||||
|
||||
/// <summary>
|
||||
/// 邮件记录
|
||||
/// </summary>
|
||||
public const string SendEmailLogMenuId = "5941BE0C-C262-48C7-899F-F0BE5A779926";
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱模板设置
|
||||
/// </summary>
|
||||
public const string SendEmailTemplateListMenuId = "06EB7C08-6F6E-433B-91A7-579BFC435A0C";
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱参数设置
|
||||
/// </summary>
|
||||
public const string MailParametersMenuId = "F19A6438-C757-4BC2-ADC2-72AAF02089E5";
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
public const string CCType = "1";//抄送人
|
||||
|
||||
|
||||
public const string SenderType = "0";//发送人
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,185 @@
|
|||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Mail;
|
||||
namespace FineUIPro.Web.common
|
||||
{
|
||||
public class MailHelper
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 私有构造方法,不允许创建实例
|
||||
/// </summary>
|
||||
private MailHelper()
|
||||
{
|
||||
// TODO: Add constructor logic here
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SendNetMail(须配置SMTP服务器地址)(多个收件人、抄送人、附件其参数用";"隔开,最后一个不能有";")
|
||||
/// </summary>
|
||||
/// <param name="mailFrom">发件人</param>
|
||||
/// <param name="mailTo">收件人(多个收件人用";"隔开,最后一个不能有";")</param>
|
||||
/// <param name="mailSubject">主题</param>
|
||||
/// <param name="mailBody">内容</param>
|
||||
/// <param name="mailAttch">附件(多个附件用";"隔开,最后一个不能有";")</param>
|
||||
/// <param name="mailCode">密码(对加密过的)</param>
|
||||
/// <param name="mailPriority">优先级</param>
|
||||
/// <param name="mailCC">抄送(多个抄送人用";"隔开,最后一个不能有";")</param>
|
||||
/// <param name="resultMessage">输出信息</param>
|
||||
public static bool SendNetMail(Email_Pop ps, string mailFrom, string[] mailTo, string mailSubject, string mailBody, string mailAttch, string mailCode, string mailPriority, string[] mailCC, out string resultMessage)
|
||||
{
|
||||
//初始化输出参数
|
||||
resultMessage = "";
|
||||
|
||||
//发件人和收件人不为空
|
||||
if (string.IsNullOrEmpty(ps.EmailYx) || mailTo == null)
|
||||
{
|
||||
resultMessage = "Please Fill Email Addresser Or Addressee . ";
|
||||
return false;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(ps.EmailYx))
|
||||
{
|
||||
mailFrom = ps.EmailYx;
|
||||
}
|
||||
|
||||
MailMessage email = new MailMessage();
|
||||
//MailAddress emailFrom = new MailAddress(mailFrom);
|
||||
|
||||
//发件人
|
||||
email.From = new MailAddress(mailFrom, ps.EmailYx);//发件人地址
|
||||
|
||||
//收件人
|
||||
if (mailTo != null && mailTo.Length > 0)
|
||||
{
|
||||
foreach (string send in mailTo)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(send))
|
||||
{
|
||||
email.To.Add(send);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//加抄送
|
||||
if (mailCC != null && mailCC.Length > 0)
|
||||
{
|
||||
|
||||
foreach (string cc in mailCC)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(cc))
|
||||
{
|
||||
email.CC.Add(cc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//主题
|
||||
email.Subject = mailSubject;
|
||||
//内容
|
||||
email.Body = mailBody;
|
||||
//附件
|
||||
if (!string.IsNullOrEmpty(mailAttch))
|
||||
{
|
||||
string[] attachments = mailAttch.Split(';');
|
||||
foreach (string file in attachments)
|
||||
{
|
||||
System.Net.Mail.Attachment attach = new System.Net.Mail.Attachment(file, System.Net.Mime.MediaTypeNames.Application.Octet);
|
||||
//为附件添加发送时间
|
||||
System.Net.Mime.ContentDisposition disposition = attach.ContentDisposition;
|
||||
disposition.CreationDate = System.IO.File.GetCreationTime(file);
|
||||
disposition.ModificationDate = System.IO.File.GetLastWriteTime(file);
|
||||
disposition.ReadDate = System.IO.File.GetLastAccessTime(file);
|
||||
//添加附件
|
||||
email.Attachments.Add(attach);
|
||||
}
|
||||
}
|
||||
//优先级
|
||||
email.Priority = (mailPriority == "High") ? System.Net.Mail.MailPriority.High : System.Net.Mail.MailPriority.Normal;
|
||||
//内容编码、格式
|
||||
email.BodyEncoding = System.Text.Encoding.UTF8;
|
||||
email.IsBodyHtml = true;
|
||||
//SMTP服务器
|
||||
System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient(ps.EmailFwq);
|
||||
|
||||
client.UseDefaultCredentials = true;
|
||||
//验证(Credentials 凭证)
|
||||
client.Credentials = new System.Net.NetworkCredential(mailFrom, ps.EmailPass);
|
||||
|
||||
//处理待发的电子邮件的方法 (Delivery 发送,传输)
|
||||
client.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
//发送邮件
|
||||
client.Send(email);
|
||||
if (mailTo != null && mailTo.Length > 0)
|
||||
{
|
||||
foreach (string send in mailTo)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(send))
|
||||
{
|
||||
Email_SendLog newSendEmail = new Email_SendLog();
|
||||
newSendEmail.EmailId = Guid.NewGuid().ToString();
|
||||
newSendEmail.EmailTile = mailSubject;
|
||||
newSendEmail.EmailContent = mailBody;
|
||||
newSendEmail.EmailURL = send;
|
||||
newSendEmail.EmailName = send;
|
||||
newSendEmail.EmailStatus = "发送成功";
|
||||
newSendEmail.CreateTime = DateTime.Now;
|
||||
newSendEmail.CreateName = "sys";
|
||||
BLL.Email_Send.Email_SendLogService.AddEmail_SendLog(newSendEmail);
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (mailTo != null && mailTo.Length > 0)
|
||||
{
|
||||
List<Email_SendLog> ss = new List<Email_SendLog>();
|
||||
foreach (string send in mailTo)
|
||||
{
|
||||
if (!String.IsNullOrEmpty(send))
|
||||
{
|
||||
Email_SendLog newSendEmail = new Email_SendLog();
|
||||
newSendEmail.EmailId = Guid.NewGuid().ToString();
|
||||
newSendEmail.EmailTile = mailSubject;
|
||||
newSendEmail.EmailContent = mailBody;
|
||||
newSendEmail.EmailURL = send;
|
||||
newSendEmail.EmailName = send;
|
||||
newSendEmail.EmailStatus = "发送失败";
|
||||
newSendEmail.CreateTime = DateTime.Now;
|
||||
newSendEmail.CreateName = "sys";
|
||||
BLL.Email_Send.Email_SendLogService.AddEmail_SendLog(newSendEmail);
|
||||
}
|
||||
}
|
||||
}
|
||||
resultMessage = ex.Message;
|
||||
return false;
|
||||
}
|
||||
finally
|
||||
{
|
||||
//及时释放占用的资源
|
||||
email.Attachments.Clear();
|
||||
email.Attachments.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static Email_Pop getEmailPop()
|
||||
{
|
||||
var pp = Funs.DB.Email_Pop.FirstOrDefault();
|
||||
|
||||
return pp;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,78 @@
|
|||
using FineUIPro.Web.common;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
public class TaskScheduleService
|
||||
{
|
||||
|
||||
//NDE点口未审核统计
|
||||
public static int NDEWeldPointNotAuditStatusTotal(int type)
|
||||
{
|
||||
if (type == 0)
|
||||
return 0;
|
||||
|
||||
StringBuilder strSql = new StringBuilder();
|
||||
strSql.Append(@"SELECT count(1) FROM dbo.View_Batch_PointBatchItem WHERE PointState IS NOT NULL ");
|
||||
switch (type)
|
||||
{
|
||||
case 1:
|
||||
strSql.Append(" AND JLAudit='未审核'");
|
||||
break;
|
||||
case 2:
|
||||
strSql.Append(" AND GLGSAudit='未审核' ");
|
||||
break;
|
||||
}
|
||||
|
||||
int totalCount= SQLHelper.getIntValue(strSql.ToString());
|
||||
|
||||
return totalCount;
|
||||
}
|
||||
|
||||
public static void GetNDEAuditEmailTemplate(int type)
|
||||
{
|
||||
var pop = MailHelper.getEmailPop();
|
||||
if (pop == null)
|
||||
{
|
||||
BLL.ErrLogInfo.WriteLog($"未配置邮件服务器");
|
||||
return;
|
||||
}
|
||||
string templateContent = string.Empty;
|
||||
List<string> emailSend = new List<string>(); //发送人
|
||||
List<string> emailCC = new List<string>(); //抄送给
|
||||
string mailSubject = string.Empty;
|
||||
string typeStr = string.Empty;
|
||||
if (type == 1)
|
||||
typeStr = "监理";
|
||||
if (type == 2)
|
||||
typeStr = "管理公司";
|
||||
|
||||
var emailTemplate = BLL.Email_Send.Email_SendTemplateService.GetEmailNotifier(typeStr);
|
||||
if (emailTemplate == null)
|
||||
{
|
||||
BLL.ErrLogInfo.WriteLog($"不存在此邮件模版");
|
||||
return;
|
||||
}
|
||||
emailSend = BLL.Email_Send.Email_SendTemplateService.GetEmailByTemplateId(emailTemplate.EmailId, "0");
|
||||
emailCC = BLL.Email_Send.Email_SendTemplateService.GetEmailByTemplateId(emailTemplate.EmailId, "1");
|
||||
if (emailSend.Count == 0)
|
||||
{
|
||||
BLL.ErrLogInfo.WriteLog($"未检测到发送人邮箱,请先配置邮箱地址");
|
||||
return;
|
||||
}
|
||||
mailSubject = $"{typeStr}—{emailTemplate.EailTiaoJian}"; //发送主题
|
||||
templateContent = emailTemplate.EmailContext;
|
||||
int totalCount = BLL.TaskScheduleService.NDEWeldPointNotAuditStatusTotal(type);
|
||||
templateContent = templateContent.Replace("{{totalCount}}", totalCount.ToString());
|
||||
|
||||
string resultMessage = "";
|
||||
MailHelper.SendNetMail(pop, pop.EmailYx, emailSend.ToArray(), mailSubject, templateContent, string.Empty, string.Empty, string.Empty, emailCC.ToArray(), out resultMessage);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,86 @@
|
|||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BLL.Email_Send
|
||||
{
|
||||
public static class Email_ParamsService
|
||||
{
|
||||
#region 根据主键查询信息
|
||||
/// <summary>
|
||||
/// 根据主键查询信息
|
||||
/// </summary>
|
||||
/// <param name="EmailID">主键</param>
|
||||
/// <returns>对象</returns>
|
||||
public static Email_Params GetEmail_ParamsPop(string EmailID)
|
||||
{
|
||||
return Funs.DB.Email_Params.FirstOrDefault(x => x.ID == EmailID);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 查询列表
|
||||
/// <summary>
|
||||
/// 查询列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Email_Params> GetEmail_ParamsList()
|
||||
{
|
||||
return (from x in Funs.DB.Email_Params orderby x.CreateTime descending select x).ToList();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 新增
|
||||
/// <summary>
|
||||
/// 新增
|
||||
/// </summary>
|
||||
/// <param name="email_Params"></param>
|
||||
public static void AddEmail_Params(Email_Params email_Params)
|
||||
{
|
||||
Email_Params newemail_Params = new Email_Params();
|
||||
newemail_Params.ID = Guid.NewGuid().ToString();
|
||||
newemail_Params.MailClassName = email_Params.MailClassName;
|
||||
newemail_Params.MailClassID = email_Params.MailClassID;
|
||||
newemail_Params.CreateName = email_Params.CreateName;
|
||||
newemail_Params.CreateTime = DateTime.Now;
|
||||
newemail_Params.UpdateName = email_Params.UpdateName;
|
||||
newemail_Params.UpdateTime = DateTime.Now;
|
||||
|
||||
Funs.DB.Email_Params.InsertOnSubmit(newemail_Params);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 修改
|
||||
/// <summary>
|
||||
/// 修改
|
||||
/// </summary>
|
||||
/// <param name="email_Params"></param>
|
||||
public static void UpdateEmail_Params(Email_Params email_Params)
|
||||
{
|
||||
Email_Params newemail_Params = Funs.DB.Email_Params.FirstOrDefault(x => x.ID == email_Params.ID);
|
||||
newemail_Params.MailClassName = email_Params.MailClassName;
|
||||
newemail_Params.MailClassID = email_Params.MailClassID;
|
||||
newemail_Params.UpdateName = email_Params.UpdateName;
|
||||
newemail_Params.UpdateTime = DateTime.Now;
|
||||
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 删除
|
||||
/// <summary>
|
||||
/// 删除
|
||||
/// </summary>
|
||||
/// <param name="EmailId"></param>
|
||||
public static void DeleteEmail_ParamsById(string EmailId)
|
||||
{
|
||||
Email_Params newemail_Params = Funs.DB.Email_Params.FirstOrDefault(e => e.ID == EmailId);
|
||||
|
||||
Funs.DB.Email_Params.DeleteOnSubmit(newemail_Params);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,71 @@
|
|||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BLL.Email_Send
|
||||
{
|
||||
public static class Email_PopService
|
||||
{
|
||||
#region 获取邮件设置
|
||||
/// <summary>
|
||||
/// 获取邮件设置
|
||||
/// </summary>
|
||||
/// <param name="EmailID">邮件设置Id</param>
|
||||
/// <returns></returns>
|
||||
public static Email_Pop GetEmail_Pop(string EmailID)
|
||||
{
|
||||
return Funs.DB.Email_Pop.FirstOrDefault(x => x.EmailID == EmailID);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 邮件管理
|
||||
/// <summary>
|
||||
/// 邮件设置
|
||||
/// </summary>
|
||||
/// <param name="eProject"></param>
|
||||
public static void AddEmail_Pop(Email_Pop email_Pop)
|
||||
{
|
||||
Email_Pop pf = Funs.DB.Email_Pop.FirstOrDefault(e => e.EmailID == email_Pop.EmailID);
|
||||
if (pf == null)
|
||||
{
|
||||
pf = new Email_Pop();
|
||||
pf.EmailID = email_Pop.EmailID;
|
||||
pf.EmailFwq = email_Pop.EmailFwq;
|
||||
pf.EmailDk = email_Pop.EmailDk;
|
||||
pf.EmailUsername = email_Pop.EmailUsername;
|
||||
pf.EmailPass = email_Pop.EmailPass;
|
||||
pf.CreateTime = email_Pop.CreateTime;
|
||||
pf.CreateName = email_Pop.CreateName;
|
||||
pf.EmailYx = email_Pop.EmailYx;
|
||||
|
||||
Funs.DB.Email_Pop.InsertOnSubmit(pf);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 修改
|
||||
/// <summary>
|
||||
/// 修改
|
||||
/// </summary>
|
||||
/// <param name="email_Params"></param>
|
||||
public static void UpdateEmail_Pop(Email_Pop email_Pop)
|
||||
{
|
||||
Email_Pop pf = Funs.DB.Email_Pop.FirstOrDefault(e => e.EmailID == email_Pop.EmailID);
|
||||
|
||||
pf.EmailID = email_Pop.EmailID;
|
||||
pf.EmailFwq = email_Pop.EmailFwq;
|
||||
pf.EmailDk = email_Pop.EmailDk;
|
||||
pf.EmailUsername = email_Pop.EmailUsername;
|
||||
pf.EmailPass = email_Pop.EmailPass;
|
||||
pf.CreateTime = email_Pop.CreateTime;
|
||||
pf.CreateName = email_Pop.CreateName;
|
||||
pf.EmailYx = email_Pop.EmailYx;
|
||||
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,56 @@
|
|||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BLL.Email_Send
|
||||
{
|
||||
public static class Email_SendLogService
|
||||
{
|
||||
#region 邮件管理
|
||||
/// <summary>
|
||||
/// 邮件增加
|
||||
/// </summary>
|
||||
/// <param name="eProject"></param>
|
||||
public static void AddEmail_SendLog(Email_SendLog email_SendLog)
|
||||
{
|
||||
Email_SendLog newEmail_SendLog = new Email_SendLog();
|
||||
newEmail_SendLog.EmailId = Guid.NewGuid().ToString();
|
||||
newEmail_SendLog.EmailTile = email_SendLog.EmailTile;
|
||||
newEmail_SendLog.EmailContent = email_SendLog.EmailContent;
|
||||
newEmail_SendLog.EmailURL = email_SendLog.EmailURL;
|
||||
newEmail_SendLog.EmailName = email_SendLog.EmailName;
|
||||
newEmail_SendLog.EmailStatus = email_SendLog.EmailStatus;
|
||||
newEmail_SendLog.CreateTime = email_SendLog.CreateTime;
|
||||
newEmail_SendLog.CreateName = email_SendLog.CreateName;
|
||||
|
||||
Funs.DB.Email_SendLog.InsertOnSubmit(newEmail_SendLog);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 获取列表
|
||||
/// <summary>
|
||||
/// 获取列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Email_SendLog> GetEmail_SendLogList()
|
||||
{
|
||||
return (from x in Funs.DB.Email_SendLog orderby x.CreateTime descending select x).ToList();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据主键查询信息
|
||||
/// <summary>
|
||||
/// 根据主键查询信息
|
||||
/// </summary>
|
||||
/// <param name="EmailID">主键</param>
|
||||
/// <returns>对象</returns>
|
||||
public static Email_SendLog GetEmail_SendLog(string EmailID)
|
||||
{
|
||||
return Funs.DB.Email_SendLog.FirstOrDefault(x => x.EmailId == EmailID);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,324 @@
|
|||
using Model;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BLL.Email_Send
|
||||
{
|
||||
public static class Email_SendTemplateService
|
||||
{
|
||||
#region 邮件模板添加
|
||||
/// <summary>
|
||||
/// 邮件模板添加
|
||||
/// </summary>
|
||||
/// <param name="eProject"></param>
|
||||
public static void AddSendEmail(Model.Email_SendTemplate Email_SendTemplate)
|
||||
{
|
||||
Model.Email_SendTemplate newsendTemplate = new Model.Email_SendTemplate();
|
||||
newsendTemplate.EmailId = Guid.NewGuid().ToString();
|
||||
newsendTemplate.EmailParamsID = Email_SendTemplate.EmailParamsID;
|
||||
newsendTemplate.EailTiaoJian = Email_SendTemplate.EailTiaoJian;
|
||||
newsendTemplate.EmailUserYN = Email_SendTemplate.EmailUserYN;
|
||||
newsendTemplate.EmailTitle = Email_SendTemplate.EmailTitle;
|
||||
newsendTemplate.EmailContext = Email_SendTemplate.EmailContext;
|
||||
newsendTemplate.CreateName = Email_SendTemplate.CreateName;
|
||||
newsendTemplate.CreateTime = Email_SendTemplate.CreateTime;
|
||||
newsendTemplate.UpdateName = Email_SendTemplate.UpdateName;
|
||||
newsendTemplate.UpdateTime = Email_SendTemplate.UpdateTime;
|
||||
newsendTemplate.EmailDesc = Email_SendTemplate.EmailDesc;
|
||||
|
||||
|
||||
Funs.DB.Email_SendTemplate.InsertOnSubmit(newsendTemplate);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 邮件模板修改
|
||||
/// <summary>
|
||||
/// 邮件模板修改
|
||||
/// </summary>
|
||||
/// <param name="Email_SendTemplate"></param>
|
||||
public static void UpdateEmail_SendTemplate(Model.Email_SendTemplate Email_SendTemplate)
|
||||
{
|
||||
Model.Email_SendTemplate newsendTemplate = Funs.DB.Email_SendTemplate.FirstOrDefault(x => x.EmailId == Email_SendTemplate.EmailId);
|
||||
newsendTemplate.EmailParamsID = Email_SendTemplate.EmailParamsID;
|
||||
newsendTemplate.EailTiaoJian = Email_SendTemplate.EailTiaoJian;
|
||||
newsendTemplate.EmailUserYN = Email_SendTemplate.EmailUserYN;
|
||||
newsendTemplate.EmailTitle = Email_SendTemplate.EmailTitle;
|
||||
newsendTemplate.EmailContext = Email_SendTemplate.EmailContext;
|
||||
newsendTemplate.UpdateName = Email_SendTemplate.UpdateName;
|
||||
newsendTemplate.UpdateTime = Email_SendTemplate.UpdateTime;
|
||||
newsendTemplate.EmailDesc = Email_SendTemplate.EmailDesc;
|
||||
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据主键获取邮件设置
|
||||
/// <summary>
|
||||
/// 根据主键获取邮件设置
|
||||
/// </summary>
|
||||
/// <param name="EmailID">邮件设置Id</param>
|
||||
/// <returns></returns>
|
||||
public static Model.Email_SendTemplate GetEmail_SendTemplate(string EmailID)
|
||||
{
|
||||
return Funs.DB.Email_SendTemplate.FirstOrDefault(x => x.EmailId == EmailID);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 获取邮件模板列表
|
||||
/// <summary>
|
||||
/// 获取邮件模板列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Model.Email_SendTemplate> GetEmail_SendTemplateList()
|
||||
{
|
||||
return (from x in Funs.DB.Email_SendTemplate orderby x.CreateTime descending select x).ToList();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据主键删除
|
||||
/// <summary>
|
||||
/// 根据主键删除EProject
|
||||
/// </summary>
|
||||
/// <param name="EmailId"></param>
|
||||
public static void DeleteEproejctById(string EmailId)
|
||||
{
|
||||
Model.Email_SendTemplate Email_SendTemplate = Funs.DB.Email_SendTemplate.FirstOrDefault(e => e.EmailId == EmailId);
|
||||
if (Email_SendTemplate != null)
|
||||
{
|
||||
Funs.DB.Email_SendTemplate.DeleteOnSubmit(Email_SendTemplate);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据EmailNotifier查询
|
||||
/// <summary>
|
||||
/// 根据EmailNotifier查询EProject
|
||||
/// </summary>
|
||||
/// <param name="EmailId"></param>
|
||||
public static List<Email_SendTemplate> GetEmailNotifierList(string EmailNotifier)
|
||||
{
|
||||
return (from x in Funs.DB.Email_SendTemplate orderby x.CreateTime descending select x).Where(o => o.EmailParamsID == EmailNotifier).ToList();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据EmailNotifier查询
|
||||
/// <summary>
|
||||
/// 根据EmailNotifier查询EProject
|
||||
/// </summary>
|
||||
/// <param name="EmailId"></param>
|
||||
public static Email_SendTemplate GetEmailNotifier(string EmailNotifier)
|
||||
{
|
||||
return Funs.DB.Email_SendTemplate.FirstOrDefault(x => x.EmailParamsID == EmailNotifier);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据模版ID获取发送人列表
|
||||
public static List<string> GetEmailByTemplateId(string templateId,string isCc)
|
||||
{
|
||||
var result = (from a in Funs.DB.Email_ToPeople
|
||||
join b in Funs.DB.Sys_User on a.EmuserID equals b.UserId
|
||||
where b.IsPost.Value && b.Email!=""
|
||||
&& a.EMPeopleType==isCc && a.EmtempID==templateId
|
||||
select b.Email
|
||||
).ToList();
|
||||
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 事务提交 新增
|
||||
/// <summary>
|
||||
/// 事物提交
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <param name="PlanDetailList"></param>
|
||||
/// <param name="ManHoursPlanList"></param>
|
||||
/// <returns></returns>
|
||||
public static bool Add(Model.Email_SendTemplate Email_SendTemplate, List<Model.Email_ToPeople> peopleList)
|
||||
{
|
||||
bool result = true;
|
||||
if (Email_SendTemplate == null)
|
||||
return false;
|
||||
Funs.DB.Connection.Close();
|
||||
Funs.DB.Connection.Open();
|
||||
Funs.DB.CommandTimeout = 30000;
|
||||
using (DbTransaction tran = Funs.DB.Connection.BeginTransaction())
|
||||
{
|
||||
Funs.DB.Transaction = tran;
|
||||
try
|
||||
{
|
||||
Model.Email_SendTemplate newsendTemplate = new Email_SendTemplate();
|
||||
newsendTemplate.EmailId = Email_SendTemplate.EmailId;
|
||||
newsendTemplate.EmailParamsID = Email_SendTemplate.EmailParamsID;
|
||||
newsendTemplate.EailTiaoJian = Email_SendTemplate.EailTiaoJian;
|
||||
newsendTemplate.EmailUserYN = Email_SendTemplate.EmailUserYN;
|
||||
newsendTemplate.EmailTitle = Email_SendTemplate.EmailTitle;
|
||||
newsendTemplate.EmailContext = Email_SendTemplate.EmailContext;
|
||||
newsendTemplate.CreateName = Email_SendTemplate.CreateName;
|
||||
newsendTemplate.CreateTime = Email_SendTemplate.CreateTime;
|
||||
newsendTemplate.UpdateName = Email_SendTemplate.UpdateName;
|
||||
newsendTemplate.UpdateTime = Email_SendTemplate.UpdateTime;
|
||||
newsendTemplate.EmailDesc = Email_SendTemplate.EmailDesc;
|
||||
|
||||
Funs.DB.Email_SendTemplate.InsertOnSubmit(newsendTemplate);
|
||||
|
||||
if (newsendTemplate != null)
|
||||
{
|
||||
var list = (from x in Funs.DB.Email_ToPeople where x.EmtempID == newsendTemplate.EmailId select x).ToList();
|
||||
if (list != null || list.Count > 0)
|
||||
{
|
||||
Funs.DB.Email_ToPeople.DeleteAllOnSubmit(list);
|
||||
}
|
||||
}
|
||||
if (peopleList != null)
|
||||
{
|
||||
Funs.DB.Email_ToPeople.InsertAllOnSubmit(peopleList);
|
||||
}
|
||||
|
||||
Funs.DB.SubmitChanges();
|
||||
|
||||
tran.Commit();
|
||||
result = true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
tran.Rollback();//回滚事务
|
||||
// db.Connection.Close();
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
Funs.DB.Connection.Close();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 事务提交 修改
|
||||
/// <summary>
|
||||
/// 事物提交
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <param name="PlanDetailList"></param>
|
||||
/// <param name="ManHoursPlanList"></param>
|
||||
/// <returns></returns>
|
||||
public static bool Update(Model.Email_SendTemplate Email_SendTemplate, List<Model.Email_ToPeople> peopleList)
|
||||
{
|
||||
bool result = true;
|
||||
if (Email_SendTemplate == null)
|
||||
return false;
|
||||
Funs.DB.Connection.Close();
|
||||
Funs.DB.Connection.Open();
|
||||
Funs.DB.CommandTimeout = 30000;
|
||||
using (DbTransaction tran = Funs.DB.Connection.BeginTransaction())
|
||||
{
|
||||
Funs.DB.Transaction = tran;
|
||||
try
|
||||
{
|
||||
Model.Email_SendTemplate newsendTemplate = Funs.DB.Email_SendTemplate.FirstOrDefault(x => x.EmailId == Email_SendTemplate.EmailId);
|
||||
|
||||
newsendTemplate.EmailParamsID = Email_SendTemplate.EmailParamsID;
|
||||
newsendTemplate.EailTiaoJian = Email_SendTemplate.EailTiaoJian;
|
||||
newsendTemplate.EmailUserYN = Email_SendTemplate.EmailUserYN;
|
||||
newsendTemplate.EmailTitle = Email_SendTemplate.EmailTitle;
|
||||
newsendTemplate.EmailContext = Email_SendTemplate.EmailContext;
|
||||
newsendTemplate.CreateName = Email_SendTemplate.CreateName;
|
||||
newsendTemplate.CreateTime = Email_SendTemplate.CreateTime;
|
||||
newsendTemplate.UpdateName = Email_SendTemplate.UpdateName;
|
||||
newsendTemplate.UpdateTime = Email_SendTemplate.UpdateTime;
|
||||
newsendTemplate.EmailDesc = Email_SendTemplate.EmailDesc;
|
||||
|
||||
if (newsendTemplate != null)
|
||||
{
|
||||
// var list = (from x in Funs.DB.Em_toPeople where x.EmuserID == newsendTemplate.EmailId select x).ToList();
|
||||
var list = (from x in Funs.DB.Email_ToPeople where x.EmtempID == newsendTemplate.EmailId select x).ToList();
|
||||
if (list == null || list.Count == 0)
|
||||
{ }
|
||||
else
|
||||
{
|
||||
Funs.DB.Email_ToPeople.DeleteAllOnSubmit(list);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
||||
}
|
||||
if (peopleList != null)
|
||||
{
|
||||
Funs.DB.Email_ToPeople.InsertAllOnSubmit(peopleList);
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
|
||||
Funs.DB.SubmitChanges();
|
||||
tran.Commit();
|
||||
result = true;
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
string ss = e.Message;
|
||||
tran.Rollback();//回滚事务
|
||||
// db.Connection.Close();
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
Funs.DB.Connection.Close();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region 事务提交 删除
|
||||
/// <summary>
|
||||
/// 事物提交
|
||||
/// </summary>
|
||||
/// <param name="model"></param>
|
||||
/// <param name="PlanDetailList"></param>
|
||||
/// <param name="ManHoursPlanList"></param>
|
||||
/// <returns></returns>
|
||||
public static bool Delete(string EmailId)
|
||||
{
|
||||
bool result = true;
|
||||
if (EmailId == null)
|
||||
return false;
|
||||
Funs.DB.Connection.Close();
|
||||
Funs.DB.Connection.Open();
|
||||
Funs.DB.CommandTimeout = 30000;
|
||||
using (DbTransaction tran = Funs.DB.Connection.BeginTransaction())
|
||||
{
|
||||
Funs.DB.Transaction = tran;
|
||||
try
|
||||
{
|
||||
Model.Email_SendTemplate newsendTemplate = Funs.DB.Email_SendTemplate.FirstOrDefault(x => x.EmailId == EmailId);
|
||||
Funs.DB.Email_SendTemplate.DeleteOnSubmit(newsendTemplate);
|
||||
Funs.DB.SubmitChanges();
|
||||
|
||||
if (newsendTemplate != null)
|
||||
{
|
||||
// var list = (from x in Funs.DB.Em_toPeople where x.EmuserID == newsendTemplate.EmailId select x).ToList();
|
||||
var list = (from x in Funs.DB.Email_ToPeople where x.EmtempID == EmailId select x).ToList();
|
||||
if (list == null || list.Count == 0)
|
||||
{ }
|
||||
else {
|
||||
Funs.DB.Email_ToPeople.DeleteAllOnSubmit(list);
|
||||
}
|
||||
}
|
||||
Funs.DB.SubmitChanges();
|
||||
tran.Commit();
|
||||
result = true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
tran.Rollback();//回滚事务
|
||||
// db.Connection.Close();
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
Funs.DB.Connection.Close();
|
||||
return result;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace BLL.Email_Send
|
||||
{
|
||||
public static class Email_ToPeopleService
|
||||
{
|
||||
#region 根据EmtempID查询Em_toPeople
|
||||
/// <summary>
|
||||
/// 获取抄送人信息
|
||||
/// </summary>
|
||||
/// <param name="EmtempID">邮件主键</param>
|
||||
/// <returns></returns>
|
||||
public static List<Model.Email_ToPeople> GetCCTopeopleList(string EmtempID)
|
||||
{
|
||||
return (from x in Funs.DB.Email_ToPeople select x).Where(o => o.EmtempID == EmtempID && o.EMPeopleType == Const.CCType).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取发送人信息
|
||||
/// </summary>
|
||||
/// <param name="EmtempID">邮件主键</param>
|
||||
/// <returns></returns>
|
||||
public static List<Model.Email_ToPeople> GetSenderTopeopleList(string EmtempID)
|
||||
{
|
||||
return (from x in Funs.DB.Email_ToPeople select x).Where(o => o.EmtempID == EmtempID && o.EMPeopleType == Const.SenderType).ToList();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Email_Params_Edit.aspx.cs" Inherits="FineUIPro.Web.Email_Send.Email_Params_Edit" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" />
|
||||
<f:SimpleForm ID="SimpleForm1" CssClass="blockpanel" BodyPadding="10px" LabelWidth="150px"
|
||||
EnableCollapse="false" runat="server" ShowBorder="true" ShowHeader="false" >
|
||||
<Items>
|
||||
<%--<f:Label ID="lblID" ShowLabel="true" LabelWidth="180px" BoxFlex="2" runat="server" Label="Parameter primary key" LabelAlign="Right" ></f:Label>--%>
|
||||
|
||||
<f:TextBox ID="txtMailClassName" ShowLabel="true" Required="true" LabelWidth="180px" BoxFlex="2"
|
||||
runat="server" Label="类型名称" LabelAlign="Right" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="txtMailClassID" ShowLabel="true" Required="true" LabelWidth="180px" BoxFlex="2"
|
||||
runat="server" Label="类型编码" LabelAlign="Right" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
|
||||
<f:Button ID="btnSubmit" ValidateForms="SimpleForm1" CssClass="marginr" Text="保存"
|
||||
runat="server" OnClick="btnSubmit_Click" Icon="SystemSave" >
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:SimpleForm>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,71 @@
|
|||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class Email_Params_Edit : PageBase
|
||||
{
|
||||
#region 加载
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//按钮权限
|
||||
|
||||
Model.Email_Params pops = new Model.Email_Params();
|
||||
string emailId = Request.Params["id"];
|
||||
|
||||
pops = BLL.Email_Send.Email_ParamsService.GetEmail_ParamsPop(emailId);
|
||||
if (pops != null)
|
||||
{
|
||||
//this.lblID.Text = pops.ID;
|
||||
this.txtMailClassName.Text = pops.MailClassName;
|
||||
this.txtMailClassID.Text = pops.MailClassID;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void btnSubmit_Click(object sender, EventArgs e)
|
||||
{
|
||||
Model.Email_Params pops = new Model.Email_Params();
|
||||
string emailId = Request.Params["id"];
|
||||
pops = BLL.Email_Send.Email_ParamsService.GetEmail_ParamsPop(emailId);
|
||||
|
||||
|
||||
if (pops == null)
|
||||
{
|
||||
Email_Params pop = new Email_Params();
|
||||
pop.MailClassName = this.txtMailClassName.Text;
|
||||
pop.MailClassID = this.txtMailClassID.Text;
|
||||
pop.CreateName = this.CurrUser.UserName;
|
||||
pop.CreateTime = DateTime.Now;
|
||||
pop.UpdateName = this.CurrUser.UserName;
|
||||
pop.UpdateTime = DateTime.Now;
|
||||
|
||||
BLL.Email_Send.Email_ParamsService.AddEmail_Params(pop);
|
||||
//BLL.Sys_LogService.AddLog(Const.System_2, this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.SendEmailPopMenuId,, "Add Parameter information",);
|
||||
ShowNotify("发送成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
else {
|
||||
pops.MailClassName = this.txtMailClassName.Text;
|
||||
pops.MailClassID = this.txtMailClassID.Text;
|
||||
pops.CreateName = this.CurrUser.UserName;
|
||||
pops.UpdateName = this.CurrUser.UserName;
|
||||
pops.UpdateTime = DateTime.Now;
|
||||
BLL.Email_Send.Email_ParamsService.UpdateEmail_Params(pops);
|
||||
//BLL.Sys_LogService.AddLog(Const.System_2, this.CurrUser.LoginProjectId, this.CurrUser.UserId,Const.menuId, "Update Parameter information");
|
||||
ShowNotify("发送成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,69 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send {
|
||||
|
||||
|
||||
public partial class Email_Params_Edit {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.SimpleForm SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// txtMailClassName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMailClassName;
|
||||
|
||||
/// <summary>
|
||||
/// txtMailClassID 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMailClassID;
|
||||
|
||||
/// <summary>
|
||||
/// btnSubmit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSubmit;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,117 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Email_Params_List.aspx.cs" Inherits="FineUIPro.Web.Email_Send.Email_Params_List" %>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title></title>
|
||||
<style>
|
||||
.mycheckbox .f-field-checkbox-switch .f-field-checkbox-switch-text {
|
||||
min-width: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" runat="server"
|
||||
BoxFlex="1" DataKeyNames="ID" AllowCellEditing="true" ClicksToEdit="2" DataIDField="ID"
|
||||
AllowSorting="true" SortField="CreateTime" SortDirection="DESC" OnSort="Grid1_Sort"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnAdd" ToolTip="Add" Icon="Add" Text="添加" runat="server" OnClick="btnAdd_Click" ></f:Button>
|
||||
|
||||
<f:Button ID="btnDelete" ToolTip="Delete" Text="删除" Icon="Delete" ConfirmText="确定要删除当前数据?" OnClick="btnDelete_Click"
|
||||
runat="server" >
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:TemplateField Width="50px" TextAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<%--<f:RenderField Width="200px" ColumnID="ID" DataField="ID" SortField="ID"
|
||||
HeaderTextAlign="Center" TextAlign="Left" FieldType="String" HeaderText="Parameter primary key" ExpandUnusedSpace="true" >
|
||||
</f:RenderField>--%>
|
||||
|
||||
<f:RenderField Width="200px" ColumnID="MailClassName" DataField="MailClassName" SortField="MailClassName"
|
||||
HeaderTextAlign="Center" TextAlign="Center" FieldType="String" HeaderText="类型名称" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="200px" ColumnID="MailClassID" DataField="MailClassID" SortField="MailClassID"
|
||||
HeaderTextAlign="Center" TextAlign="Center" FieldType="String" HeaderText="类型编码" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="120px" ColumnID="CreateTime" DataField="CreateTime" SortField="CreateTime"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="创建时间"
|
||||
HeaderTextAlign="Center" TextAlign="Center" EnableFilter="true">
|
||||
<Filter EnableMultiFilter="true" ShowMatcher="true">
|
||||
<Operator>
|
||||
<f:DropDownList ID="DropDownList4" runat="server">
|
||||
<f:ListItem Text="greater than" Value="greater" Selected="true" />
|
||||
<f:ListItem Text="less than" Value="less" />
|
||||
<f:ListItem Text="equal to" Value="equal" />
|
||||
</f:DropDownList>
|
||||
</Operator>
|
||||
<Field>
|
||||
<f:DatePicker runat="server" Required="true" ID="DatePicker2">
|
||||
</f:DatePicker>
|
||||
</Field>
|
||||
</Filter>
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="Number of records per page:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="15" Value="15" />
|
||||
<f:ListItem Text="20" Value="20" />
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
<f:ListItem Text="30" Value="30" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="Mail Parameters Editor" Hidden="true" EnableIFrame="true" EnableMaximize="false"
|
||||
Target="Parent" EnableResize="false" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||
Width="650px" Height="300px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
||||
Icon="BulletEdit" runat="server" Text="Modify" Hidden="true">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||
Icon="Delete" ConfirmText="Delete selected row?" ConfirmTarget="Top" runat="server" Text="Delete" Hidden="true">
|
||||
</f:MenuButton>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,130 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class Email_Params_List : PageBase
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
|
||||
#region BindGrid
|
||||
|
||||
private void BindGrid()
|
||||
{
|
||||
List<Model.Email_Params> senList = new List<Model.Email_Params>();
|
||||
senList = BLL.Email_Send.Email_ParamsService.GetEmail_ParamsList();
|
||||
Grid1.RecordCount = senList.Count;
|
||||
Grid1.DataSource = senList;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 分页下拉选择
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
Grid1.PageIndex = e.NewPageIndex;
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
|
||||
{
|
||||
Grid1.SortDirection = e.SortDirection;
|
||||
Grid1.SortField = e.SortField;
|
||||
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("Email_Params_Edit.aspx", null, "添加 - ")));
|
||||
}
|
||||
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
/// <summary>
|
||||
/// 右键编辑事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInParent("请选择至少一条记录!");
|
||||
return;
|
||||
}
|
||||
string Id = Grid1.SelectedRowID;
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("Email_Params_Edit.aspx?id={0}", Id, "编辑 - ")));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Grid双击事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||
{
|
||||
btnMenuEdit_Click(null, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 右键删除事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DeleteData();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
protected void btnDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DeleteData();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除方法
|
||||
/// </summary>
|
||||
private void DeleteData()
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length > 0)
|
||||
{
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
|
||||
BLL.Email_Send.Email_ParamsService.DeleteEmail_ParamsById(rowID);
|
||||
ShowNotify("删除成功!");
|
||||
|
||||
}
|
||||
BindGrid();
|
||||
//BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Delete Parameter control editor information");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,177 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send {
|
||||
|
||||
|
||||
public partial class Email_Params_List {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnAdd 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAdd;
|
||||
|
||||
/// <summary>
|
||||
/// btnDelete 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDelete;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
|
||||
/// <summary>
|
||||
/// DropDownList4 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropDownList4;
|
||||
|
||||
/// <summary>
|
||||
/// DatePicker2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker DatePicker2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDelete;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Email_Pop_Edit.aspx.cs" Inherits="FineUIPro.Web.Email_Send.Email_Pop_Edit" %>
|
||||
|
||||
<!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 runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" />
|
||||
<f:SimpleForm ID="SimpleForm1" CssClass="blockpanel" BodyPadding="10px" LabelWidth="200px"
|
||||
EnableCollapse="false" runat="server" ShowBorder="true" ShowHeader="true" Title="邮件配置">
|
||||
<Items>
|
||||
<f:TextBox ID="EmailFwq" ShowLabel="true" Required="true" LabelWidth="160px" BoxFlex="2"
|
||||
runat="server" Label="邮件服务器地址" LabelAlign="Right" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="EmailDk" ShowLabel="true" Required="true" LabelWidth="160px" BoxFlex="2"
|
||||
runat="server" Label="端口" LabelAlign="Right" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="EmailYx" ShowLabel="true" Required="true" LabelWidth="160px" BoxFlex="2"
|
||||
runat="server" Label="发件人邮箱" LabelAlign="Right" ShowRedStar="true">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="EmailUsername" ShowLabel="true" LabelWidth="160px"
|
||||
BoxFlex="2" runat="server" Label="账号" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:TextBox ID="EmailPass" ShowLabel="true" LabelWidth="160px" BoxFlex="2"
|
||||
runat="server" Label="密码" LabelAlign="Right">
|
||||
</f:TextBox>
|
||||
<f:Button ID="btnSubmit" ValidateForms="SimpleForm1" CssClass="marginr" Text="保存"
|
||||
runat="server" OnClick="btnSubmit_Click" Icon="SystemSave">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:SimpleForm>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,57 @@
|
|||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class Email_Pop_Edit : PageBase
|
||||
{
|
||||
#region 加载
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//按钮权限
|
||||
|
||||
Email_Pop pops = new Email_Pop();
|
||||
|
||||
pops = BLL.Email_Send.Email_PopService.GetEmail_Pop("7EC5E991-B7A0-495A-90ED-2BE15370C959");
|
||||
if (pops != null)
|
||||
{
|
||||
EmailFwq.Text = pops.EmailFwq;
|
||||
EmailDk.Text = pops.EmailDk;
|
||||
EmailYx.Text = pops.EmailYx;
|
||||
EmailUsername.Text = pops.EmailUsername;
|
||||
EmailPass.Text = pops.EmailPass;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void btnSubmit_Click(object sender, EventArgs e)
|
||||
{
|
||||
Email_Pop pop = new Email_Pop();
|
||||
|
||||
pop.EmailID = "7EC5E991-B7A0-495A-90ED-2BE15370C959";
|
||||
pop.EmailFwq = EmailFwq.Text.Trim();
|
||||
pop.EmailDk = EmailDk.Text.Trim();
|
||||
pop.EmailYx = EmailYx.Text.Trim();
|
||||
pop.EmailUsername = EmailUsername.Text.Trim();
|
||||
pop.EmailPass = EmailPass.Text.Trim();
|
||||
pop.CreateTime = DateTime.Now.ToString();
|
||||
pop.CreateName = CurrUser.UserName;
|
||||
pop.UpdateTime = DateTime.Now.ToString();
|
||||
pop.UpdateName = CurrUser.UserName;
|
||||
|
||||
BLL.Email_Send.Email_PopService.UpdateEmail_Pop(pop);
|
||||
//BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Update Email information");
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send {
|
||||
|
||||
|
||||
public partial class Email_Pop_Edit {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.SimpleForm SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// EmailFwq 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox EmailFwq;
|
||||
|
||||
/// <summary>
|
||||
/// EmailDk 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox EmailDk;
|
||||
|
||||
/// <summary>
|
||||
/// EmailYx 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox EmailYx;
|
||||
|
||||
/// <summary>
|
||||
/// EmailUsername 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox EmailUsername;
|
||||
|
||||
/// <summary>
|
||||
/// EmailPass 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox EmailPass;
|
||||
|
||||
/// <summary>
|
||||
/// btnSubmit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSubmit;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,78 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Email_SendLog_List.aspx.cs" Inherits="FineUIPro.Web.Email_Send.Email_SendLog_List" %>
|
||||
|
||||
<!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 runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" runat="server"
|
||||
BoxFlex="1" DataKeyNames="EmailId" AllowCellEditing="true" ClicksToEdit="2" DataIDField="EmailId"
|
||||
AllowSorting="true" SortField="CreateTime" SortDirection="DESC" OnSort="Grid1_Sort"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
AllowFilters="true" OnFilterChange="Grid1_FilterChange">
|
||||
<Columns>
|
||||
<f:TemplateField Width="50px" TextAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:RenderField Width="150px" ColumnID="EmailName" DataField="EmailName" SortField="EmailName" FieldType="String"
|
||||
HeaderTextAlign="Center" TextAlign="Left" HeaderText="收件人">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="130px" ColumnID="CreateTime" DataField="CreateTime" SortField="CreateTime"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="发送时间"
|
||||
HeaderTextAlign="Center" TextAlign="Center" EnableFilter="true">
|
||||
<Filter EnableMultiFilter="true" ShowMatcher="true">
|
||||
<Operator>
|
||||
<f:DropDownList ID="DropDownList4" runat="server">
|
||||
<f:ListItem Text="greater than" Value="greater" Selected="true" />
|
||||
<f:ListItem Text="less than" Value="less" />
|
||||
<f:ListItem Text="equal to" Value="equal" />
|
||||
</f:DropDownList>
|
||||
</Operator>
|
||||
<Field>
|
||||
<f:DatePicker runat="server" Required="true" ID="DatePicker2">
|
||||
</f:DatePicker>
|
||||
</Field>
|
||||
</Filter>
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="180px" ColumnID="EmailURL" DataField="EmailURL" SortField="Ip" FieldType="String"
|
||||
HeaderTextAlign="Center" TextAlign="Left" HeaderText="邮箱地址">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="250px" ColumnID="EmailTile" DataField="EmailTile" SortField="EmailTile"
|
||||
HeaderTextAlign="Center" TextAlign="Left" FieldType="String" HeaderText="发送标题">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="250px" ColumnID="EmailContent" DataField="EmailContent" SortField="EmailContent"
|
||||
HeaderTextAlign="Center" TextAlign="Left" FieldType="String" HeaderText="发送内容" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="150px" ColumnID="EmailStatus" DataField="EmailStatus" SortField="EmailStatus"
|
||||
HeaderTextAlign="Center" TextAlign="Left" FieldType="String" HeaderText="发送状态" >
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="Number of records per page:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="15" Value="15" />
|
||||
<f:ListItem Text="20" Value="20" />
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
<f:ListItem Text="30" Value="30" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,72 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class Email_SendLog_List : PageBase
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
|
||||
#region BindGrid
|
||||
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = @"select EmailId, EmailTile, EmailContent, EmailURL, EmailName, EmailStatus, CreateTime, CreateName from Email_SendLog order by CreateTime desc";
|
||||
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, null);
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
#region 表头过滤
|
||||
protected void Grid1_FilterChange(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 分页下拉选择
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
Grid1.PageIndex = e.NewPageIndex;
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
|
||||
protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
|
||||
{
|
||||
Grid1.SortDirection = e.SortDirection;
|
||||
Grid1.SortField = e.SortField;
|
||||
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,105 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send {
|
||||
|
||||
|
||||
public partial class Email_SendLog_List {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
|
||||
/// <summary>
|
||||
/// DropDownList4 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropDownList4;
|
||||
|
||||
/// <summary>
|
||||
/// DatePicker2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker DatePicker2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,140 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Email_SendTemplate_Edit.aspx.cs" Inherits="FineUIPro.Web.Email_Send.Email_SendTemplate_Edit" %>
|
||||
|
||||
<%@ Register Src="~/Email_Send/SelectUserControl.ascx" TagPrefix="uc1" TagName="SelectUserControl" %>
|
||||
<%@ Register Src="~/Email_Send/SelectRoleControl.ascx" TagPrefix="uc1" TagName="SelectRoleControl" %>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html>
|
||||
<head runat="server">
|
||||
<title>编辑</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowHeader="false" ShowBorder="false" CssClass="blockpanel" BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList runat="server" ID="ddlEmailParamsID" Required="true" ShowRedStar="true" LabelWidth="150px" Label="邮件类型">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtTemplateCondition" ShowLabel="true" ShowRedStar="true" Required="true" LabelWidth="150px" LabelAlign="Right"
|
||||
BoxFlex="2" runat="server" Label="模版条件">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtTemplateName" ShowLabel="true" ShowRedStar="true" Required="true" LabelWidth="150px" LabelAlign="Right"
|
||||
BoxFlex="2" runat="server" Label="模版名称">
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:HtmlEditor runat="server" Label="模版内容" ID="txtContent" Editor="UMEditor" BasePath="~/res/third-party/umeditor/" Height="300px" LabelWidth="150px" LabelAlign="Right">
|
||||
</f:HtmlEditor>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="rblAutoPostBack" AutoPostBack="true" OnSelectedIndexChanged="rblAutoPostBack_SelectedIndexChanged" LabelWidth="150px" LabelAlign="Right"
|
||||
Label="选择人员" ColumnNumber="3" runat="server" Required="true">
|
||||
<f:RadioItem Text="不选择" Value="0" />
|
||||
<f:RadioItem Text="选择用户" Value="1" Selected="true" />
|
||||
<f:RadioItem Text="选择角色" Value="2" />
|
||||
</f:RadioButtonList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownBox runat="server" Label="接收人" Required="true" ShowRedStar="true" ID="ddlSendUserName" LabelWidth="150px" EmptyText="请选择" DataControlID="Grid1"
|
||||
EnableMultiSelect="true" MatchFieldWidth="false" EnableEdit="true">
|
||||
<PopPanel>
|
||||
<f:UserControlConnector runat="server">
|
||||
<uc1:SelectUserControl runat="server" ID="SelectUserControl1" EnableGridMultiSelect="true" />
|
||||
</f:UserControlConnector>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
|
||||
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownBox runat="server" Label="接收人" ID="ddlSendRole" LabelWidth="150px" EmptyText="请选择" DataControlID="Grid1"
|
||||
EnableMultiSelect="true" MatchFieldWidth="false" EnableEdit="true">
|
||||
<PopPanel>
|
||||
<f:UserControlConnector runat="server">
|
||||
<uc1:SelectRoleControl runat="server" ID="SelectRoleControl1" EnableGridMultiSelect="true" />
|
||||
</f:UserControlConnector>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownBox runat="server" Label="抄送人" ID="ddlccUserName" LabelWidth="150px" EmptyText="请选择" DataControlID="Grid1"
|
||||
EnableMultiSelect="true" MatchFieldWidth="false" EnableEdit="true">
|
||||
<PopPanel>
|
||||
<f:UserControlConnector runat="server">
|
||||
<uc1:SelectUserControl runat="server" ID="SelectUserControl2" EnableGridMultiSelect="true" />
|
||||
</f:UserControlConnector>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownBox runat="server" Label="抄送人" ID="ddlccRole" LabelWidth="150px" EmptyText="请选择" DataControlID="Grid1"
|
||||
EnableMultiSelect="true" MatchFieldWidth="false" EnableEdit="true">
|
||||
<PopPanel>
|
||||
<f:UserControlConnector runat="server">
|
||||
<uc1:SelectRoleControl runat="server" ID="SelectRoleControl2" EnableGridMultiSelect="true" />
|
||||
</f:UserControlConnector>
|
||||
</PopPanel>
|
||||
</f:DropDownBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
|
||||
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
|
||||
<Items>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ToolTip="保存" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,490 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class Email_SendTemplate_Edit : PageBase
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BindEmailParamsDropDownList();
|
||||
string emailId = Request.Params["id"];
|
||||
|
||||
if (!string.IsNullOrEmpty(emailId))
|
||||
{
|
||||
Model.Email_SendTemplate sends = new Model.Email_SendTemplate();
|
||||
sends = BLL.Email_Send.Email_SendTemplateService.GetEmail_SendTemplate(emailId);
|
||||
this.rblAutoPostBack.SelectedValue = sends.EmailUserYN.ToString();
|
||||
this.ddlEmailParamsID.SelectedValue = sends.EmailParamsID.Trim();
|
||||
this.txtTemplateName.Text = sends.EmailTitle.ToString();
|
||||
this.txtTemplateCondition.Text = sends.EailTiaoJian.ToString();
|
||||
this.txtContent.Text = sends.EmailContext.ToString();
|
||||
}
|
||||
|
||||
if (rblAutoPostBack.SelectedValue == "0")
|
||||
{
|
||||
ddlSendUserName.Hidden = true;
|
||||
ddlccUserName.Hidden = true;
|
||||
|
||||
ddlSendRole.Hidden = true;
|
||||
ddlccRole.Hidden = true;
|
||||
}
|
||||
else if (rblAutoPostBack.SelectedValue == "1")//选择人
|
||||
{
|
||||
//发送人
|
||||
var people1 = BLL.Email_Send.Email_ToPeopleService.GetSenderTopeopleList(emailId);
|
||||
if (people1.Count == 0 || people1 == null)
|
||||
{ }
|
||||
else
|
||||
{
|
||||
this.ddlSendUserName.Values = people1.Select(o => o.EmuserID).ToArray();
|
||||
this.ddlSendUserName.Texts = people1.Select(o => o.EmuserName).ToArray();
|
||||
}
|
||||
|
||||
//抄送人
|
||||
var people2 = BLL.Email_Send.Email_ToPeopleService.GetCCTopeopleList(emailId);
|
||||
if (people2.Count == 0 || people2 == null)
|
||||
{ }
|
||||
else
|
||||
{
|
||||
this.ddlccUserName.Values = people2.Select(o => o.EmuserID).ToArray();
|
||||
this.ddlccUserName.Texts = people2.Select(o => o.EmuserName).ToArray();
|
||||
}
|
||||
|
||||
ddlSendUserName.Hidden = false;
|
||||
ddlccUserName.Hidden = false;
|
||||
|
||||
ddlSendRole.Hidden = true;
|
||||
ddlccRole.Hidden = true;
|
||||
|
||||
}
|
||||
else if (rblAutoPostBack.SelectedValue == "2")//选择角色
|
||||
{
|
||||
//发送人
|
||||
var people1 = BLL.Email_Send.Email_ToPeopleService.GetSenderTopeopleList(emailId);
|
||||
if (people1.Count == 0 || people1 == null)
|
||||
{ }
|
||||
else
|
||||
{
|
||||
this.ddlSendRole.Values = people1.Select(o => o.EmuserID).ToArray();
|
||||
this.ddlSendRole.Texts = people1.Select(o => o.EmuserName).ToArray();
|
||||
}
|
||||
|
||||
//抄送人
|
||||
var people2 = BLL.Email_Send.Email_ToPeopleService.GetCCTopeopleList(emailId);
|
||||
if (people2.Count == 0 || people2 == null)
|
||||
{ }
|
||||
else
|
||||
{
|
||||
this.ddlccRole.Values = people2.Select(o => o.EmuserID).ToArray();
|
||||
this.ddlccRole.Texts = people2.Select(o => o.EmuserName).ToArray();
|
||||
}
|
||||
|
||||
ddlSendUserName.Hidden = true;
|
||||
ddlccUserName.Hidden = true;
|
||||
|
||||
ddlSendRole.Hidden = false;
|
||||
ddlccRole.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#region 下拉加载
|
||||
|
||||
private void BindEmailParamsDropDownList()
|
||||
{
|
||||
List<Model.Email_Params> email_Params = new List<Model.Email_Params>();
|
||||
|
||||
email_Params = BLL.Email_Send.Email_ParamsService.GetEmail_ParamsList();
|
||||
ddlEmailParamsID.DataTextField = "MailClassName";
|
||||
ddlEmailParamsID.DataValueField = "MailClassID";
|
||||
ddlEmailParamsID.DataSource = email_Params;
|
||||
ddlEmailParamsID.DataBind();
|
||||
ddlEmailParamsID.Items.Insert(0,new ListItem("",""));
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
protected void rblAutoPostBack_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
//ShowNotify("列表三选中项的值:" + rblAutoPostBack.SelectedValue);
|
||||
if (rblAutoPostBack.SelectedValue == "0")
|
||||
{
|
||||
ddlccUserName.Value = string.Empty;
|
||||
ddlccUserName.Hidden = true;
|
||||
|
||||
ddlSendUserName.Value = string.Empty;
|
||||
ddlSendUserName.Hidden = true;
|
||||
|
||||
ddlccRole.Value = string.Empty;
|
||||
ddlccRole.Hidden = true;
|
||||
|
||||
ddlSendRole.Value = string.Empty;
|
||||
ddlSendRole.Hidden = true;
|
||||
|
||||
}
|
||||
else if (rblAutoPostBack.SelectedValue == "1")
|
||||
{
|
||||
ddlSendUserName.Hidden = false;
|
||||
ddlccUserName.Hidden = false;
|
||||
|
||||
ddlSendRole.Hidden = true;
|
||||
ddlccRole.Hidden = true;
|
||||
}
|
||||
else if (rblAutoPostBack.SelectedValue == "2")
|
||||
{
|
||||
ddlSendUserName.Hidden = true;
|
||||
ddlccUserName.Hidden = true;
|
||||
|
||||
ddlSendRole.Hidden = false;
|
||||
ddlccRole.Hidden = false;
|
||||
}
|
||||
}
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
string emailId = Request.Params["id"];
|
||||
|
||||
if (rblAutoPostBack.SelectedValue == "1")
|
||||
{
|
||||
//发送人id 集合
|
||||
List<Model.Sys_User> SenduserList = new List<Model.Sys_User>();
|
||||
if (!string.IsNullOrEmpty(this.ddlSendUserName.Value))
|
||||
{
|
||||
string[] toUserId = this.ddlSendUserName.Values;
|
||||
List<Model.Sys_User> usList = BLL.Sys_UserService.GetUserList();
|
||||
foreach (var item in toUserId)
|
||||
{
|
||||
string itemstr = item.Trim();
|
||||
Model.Sys_User syuser = new Model.Sys_User();
|
||||
syuser = usList.Where(o => o.UserId == itemstr).FirstOrDefault();
|
||||
SenduserList.Add(syuser);
|
||||
}
|
||||
}
|
||||
|
||||
//抄送人集合
|
||||
List<Model.Sys_User> CCuserList = new List<Model.Sys_User>();
|
||||
if (!string.IsNullOrEmpty(this.ddlccUserName.Value))
|
||||
{
|
||||
string[] toUserId = this.ddlccUserName.Values;
|
||||
List<Model.Sys_User> usList = BLL.Sys_UserService.GetUserList();
|
||||
foreach (var item in toUserId)
|
||||
{
|
||||
string itemstr = item.Trim();
|
||||
Model.Sys_User syuser = new Model.Sys_User();
|
||||
syuser = usList.Where(o => o.UserId == itemstr).FirstOrDefault();
|
||||
CCuserList.Add(syuser);
|
||||
}
|
||||
}
|
||||
List<Model.Email_ToPeople> tplist = null;
|
||||
if (string.IsNullOrEmpty(emailId))
|
||||
{
|
||||
Model.Email_SendTemplate temp = new Model.Email_SendTemplate();
|
||||
temp.EmailParamsID = ddlEmailParamsID.SelectedValue.ToString();
|
||||
temp.EmailId = Guid.NewGuid().ToString();
|
||||
temp.EmailTitle = txtTemplateName.Text.Trim();
|
||||
temp.EailTiaoJian = txtTemplateCondition.Text.Trim();
|
||||
temp.EmailContext = this.txtContent.Text;
|
||||
temp.EmailUserYN = Convert.ToInt32(rblAutoPostBack.SelectedValue);
|
||||
|
||||
List<Model.Email_SendTemplate> stlist = new List<Model.Email_SendTemplate>();
|
||||
stlist = BLL.Email_Send.Email_SendTemplateService.GetEmailNotifierList(temp.EmailParamsID);
|
||||
if (stlist == null || stlist.Count == 0)
|
||||
{
|
||||
tplist = new List<Model.Email_ToPeople>();
|
||||
|
||||
//发送人
|
||||
if (SenduserList != null || SenduserList.Count != 0)
|
||||
{
|
||||
foreach (var item in SenduserList)
|
||||
{
|
||||
Model.Email_ToPeople tep = new Model.Email_ToPeople();
|
||||
tep.EmID = Guid.NewGuid().ToString();
|
||||
tep.EmtempID = temp.EmailId;
|
||||
tep.EmuserID = item.UserId.ToString();
|
||||
tep.EmuserName = item.UserName.ToString();
|
||||
tep.EMPeopleType = BLL.Const.SenderType;
|
||||
tep.EmuaerEmailAddress = item.Email;
|
||||
tplist.Add(tep);
|
||||
}
|
||||
}
|
||||
|
||||
//抄送人保存
|
||||
if (CCuserList != null || CCuserList.Count != 0)
|
||||
{
|
||||
foreach (var item in CCuserList)
|
||||
{
|
||||
Model.Email_ToPeople tep = new Model.Email_ToPeople();
|
||||
tep.EmID = Guid.NewGuid().ToString();
|
||||
tep.EmtempID = temp.EmailId;
|
||||
tep.EmuserID = item.UserId.ToString();
|
||||
tep.EmuserName = item.UserName.ToString();
|
||||
tep.EMPeopleType = BLL.Const.CCType;
|
||||
tep.EmuaerEmailAddress = item.Email;
|
||||
tplist.Add(tep);
|
||||
}
|
||||
}
|
||||
|
||||
temp.CreateName = this.CurrUser.UserName;
|
||||
temp.CreateTime = DateTime.Now;
|
||||
BLL.Email_Send.Email_SendTemplateService.Add(temp, tplist);
|
||||
//BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Add SendEmailTemplate!");
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("不能重复创建!", MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
Model.Email_SendTemplate temp = BLL.Email_Send.Email_SendTemplateService.GetEmail_SendTemplate(emailId);
|
||||
|
||||
temp.EmailId = emailId;
|
||||
temp.EmailParamsID = ddlEmailParamsID.SelectedValue.ToString();
|
||||
temp.EailTiaoJian = txtTemplateCondition.Text.Trim();
|
||||
temp.EmailTitle = this.txtTemplateName.Text.Trim();
|
||||
temp.EmailContext = this.txtContent.Text;
|
||||
temp.EmailUserYN = Convert.ToInt32(rblAutoPostBack.SelectedValue);
|
||||
temp.UpdateName = this.CurrUser.UserName;
|
||||
temp.UpdateTime = DateTime.Now;
|
||||
|
||||
tplist = new List<Model.Email_ToPeople>();
|
||||
if (SenduserList != null || SenduserList.Count != 0)
|
||||
{
|
||||
foreach (var item in SenduserList)
|
||||
{
|
||||
Model.Email_ToPeople tep = new Model.Email_ToPeople();
|
||||
tep.EmID = Guid.NewGuid().ToString();
|
||||
tep.EmtempID = emailId;
|
||||
tep.EmuserID = item.UserId.ToString();
|
||||
tep.EMPeopleType = BLL.Const.SenderType;
|
||||
tep.EmuserName = item.UserName;
|
||||
tep.EmuaerEmailAddress = item.Email;
|
||||
tplist.Add(tep);
|
||||
}
|
||||
}
|
||||
|
||||
//抄送人保存
|
||||
if (CCuserList.Count != 0 || CCuserList != null)
|
||||
{
|
||||
foreach (var item in CCuserList)
|
||||
{
|
||||
Model.Email_ToPeople tep = new Model.Email_ToPeople();
|
||||
tep.EmID = Guid.NewGuid().ToString();
|
||||
tep.EmtempID = temp.EmailId;
|
||||
tep.EmuserID = item.UserId;
|
||||
tep.EmuserName = item.UserName;
|
||||
tep.EMPeopleType = BLL.Const.CCType;
|
||||
tep.EmuaerEmailAddress = item.Email;
|
||||
tplist.Add(tep);
|
||||
}
|
||||
}
|
||||
|
||||
BLL.Email_Send.Email_SendTemplateService.Update(temp, tplist);
|
||||
// BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Update SendEmailTemplate!");
|
||||
}
|
||||
}
|
||||
else if (rblAutoPostBack.SelectedValue == "2")
|
||||
{
|
||||
//发送人id 集合
|
||||
List<Model.Sys_Role> SenduserList = new List<Model.Sys_Role>();
|
||||
if (!string.IsNullOrEmpty(this.ddlSendRole.Value))
|
||||
{
|
||||
string[] toRoleId = this.ddlSendRole.Values;
|
||||
List<Model.Sys_Role> usRoleList = BLL.Sys_RoleService.GetRoleList();
|
||||
foreach (var item in toRoleId)
|
||||
{
|
||||
string itemstr = item.Trim();
|
||||
Model.Sys_Role syuser = new Model.Sys_Role();
|
||||
syuser = usRoleList.Where(o => o.RoleId == itemstr).FirstOrDefault();
|
||||
SenduserList.Add(syuser);
|
||||
}
|
||||
}
|
||||
|
||||
//抄送人集合
|
||||
List<Model.Sys_Role> CCuserList = new List<Model.Sys_Role>();
|
||||
if (!string.IsNullOrEmpty(this.ddlccRole.Value))
|
||||
{
|
||||
string[] toUserId = this.ddlccRole.Values;
|
||||
List<Model.Sys_Role> usList = BLL.Sys_RoleService.GetRoleList();
|
||||
foreach (var item in toUserId)
|
||||
{
|
||||
string itemstr = item.Trim();
|
||||
Model.Sys_Role syuser = new Model.Sys_Role();
|
||||
syuser = usList.Where(o => o.RoleId == itemstr).FirstOrDefault();
|
||||
CCuserList.Add(syuser);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
List<Model.Email_ToPeople> tplist = null;
|
||||
if (string.IsNullOrEmpty(emailId))
|
||||
{
|
||||
Model.Email_SendTemplate temp = new Model.Email_SendTemplate();
|
||||
temp.EmailParamsID = ddlEmailParamsID.SelectedValue.ToString();
|
||||
temp.EmailId = Guid.NewGuid().ToString();
|
||||
temp.EmailTitle = txtTemplateName.Text.Trim();
|
||||
temp.EailTiaoJian = txtTemplateCondition.Text.Trim();
|
||||
temp.EmailContext = this.txtContent.Text;
|
||||
temp.EmailUserYN = Convert.ToInt32(rblAutoPostBack.SelectedValue);
|
||||
|
||||
List<Model.Email_SendTemplate> stlist = new List<Model.Email_SendTemplate>();
|
||||
stlist = BLL.Email_Send.Email_SendTemplateService.GetEmailNotifierList(temp.EmailParamsID);
|
||||
if (stlist == null || stlist.Count == 0)
|
||||
{
|
||||
tplist = new List<Model.Email_ToPeople>();
|
||||
|
||||
//发送人
|
||||
if (SenduserList != null || SenduserList.Count != 0)
|
||||
{
|
||||
foreach (var item in SenduserList)
|
||||
{
|
||||
Model.Email_ToPeople tep = new Model.Email_ToPeople();
|
||||
tep.EmID = Guid.NewGuid().ToString();
|
||||
tep.EmtempID = temp.EmailId;
|
||||
tep.EmuserID = item.RoleId.ToString();
|
||||
tep.EmuserName = item.RoleName.ToString();
|
||||
tep.EMPeopleType = BLL.Const.SenderType;
|
||||
tep.EmuaerEmailAddress = string.Empty;
|
||||
tplist.Add(tep);
|
||||
}
|
||||
}
|
||||
|
||||
//抄送人保存
|
||||
if (CCuserList != null || CCuserList.Count != 0)
|
||||
{
|
||||
foreach (var item in CCuserList)
|
||||
{
|
||||
Model.Email_ToPeople tep = new Model.Email_ToPeople();
|
||||
tep.EmID = Guid.NewGuid().ToString();
|
||||
tep.EmtempID = temp.EmailId;
|
||||
tep.EmuserID = item.RoleId.ToString();
|
||||
tep.EmuserName = item.RoleName.ToString();
|
||||
tep.EMPeopleType = BLL.Const.CCType;
|
||||
tep.EmuaerEmailAddress = string.Empty;
|
||||
tplist.Add(tep);
|
||||
}
|
||||
}
|
||||
|
||||
temp.CreateName = this.CurrUser.UserName;
|
||||
temp.CreateTime = DateTime.Now;
|
||||
BLL.Email_Send.Email_SendTemplateService.Add(temp, tplist);
|
||||
// BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Add SendEmailTemplate!");
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("不能重复创建", MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Model.Email_SendTemplate temp = BLL.Email_Send.Email_SendTemplateService.GetEmail_SendTemplate(emailId);
|
||||
|
||||
temp.EmailId = emailId;
|
||||
temp.EmailParamsID = ddlEmailParamsID.SelectedValue.ToString();
|
||||
temp.EailTiaoJian = txtTemplateCondition.Text.Trim();
|
||||
temp.EmailTitle = this.txtTemplateName.Text.Trim();
|
||||
temp.EmailContext = this.txtContent.Text;
|
||||
temp.EmailUserYN = Convert.ToInt32(rblAutoPostBack.SelectedValue);
|
||||
temp.UpdateName = this.CurrUser.UserName;
|
||||
temp.UpdateTime = DateTime.Now;
|
||||
|
||||
tplist = new List<Model.Email_ToPeople>();
|
||||
if (SenduserList != null || SenduserList.Count != 0)
|
||||
{
|
||||
foreach (var item in SenduserList)
|
||||
{
|
||||
Model.Email_ToPeople tep = new Model.Email_ToPeople();
|
||||
tep.EmID = Guid.NewGuid().ToString();
|
||||
tep.EmtempID = emailId;
|
||||
tep.EmuserID = item.RoleId.ToString();
|
||||
tep.EMPeopleType = BLL.Const.SenderType;
|
||||
tep.EmuserName = item.RoleName.ToString();
|
||||
tep.EmuaerEmailAddress = string.Empty;
|
||||
tplist.Add(tep);
|
||||
}
|
||||
}
|
||||
|
||||
//抄送人保存
|
||||
if (CCuserList.Count != 0 || CCuserList != null)
|
||||
{
|
||||
foreach (var item in CCuserList)
|
||||
{
|
||||
Model.Email_ToPeople tep = new Model.Email_ToPeople();
|
||||
tep.EmID = Guid.NewGuid().ToString();
|
||||
tep.EmtempID = temp.EmailId;
|
||||
tep.EmuserID = item.RoleId.ToString();
|
||||
tep.EmuserName = item.RoleName.ToString();
|
||||
tep.EMPeopleType = BLL.Const.CCType;
|
||||
tep.EmuaerEmailAddress = string.Empty;
|
||||
tplist.Add(tep);
|
||||
}
|
||||
}
|
||||
|
||||
BLL.Email_Send.Email_SendTemplateService.Update(temp, tplist);
|
||||
//BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Update SendEmailTemplate!");
|
||||
}
|
||||
}
|
||||
else {
|
||||
List<Model.Email_ToPeople> tplist = null;
|
||||
if (string.IsNullOrEmpty(emailId))
|
||||
{
|
||||
Model.Email_SendTemplate temp = BLL.Email_Send.Email_SendTemplateService.GetEmail_SendTemplate(emailId);
|
||||
if (temp==null)
|
||||
{
|
||||
temp = new Model.Email_SendTemplate();
|
||||
temp.EmailId = Guid.NewGuid().ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
temp.EmailId = emailId;
|
||||
}
|
||||
|
||||
temp.EmailParamsID = ddlEmailParamsID.SelectedValue.ToString();
|
||||
temp.EailTiaoJian = txtTemplateCondition.Text.Trim();
|
||||
temp.EmailTitle = this.txtTemplateName.Text.Trim();
|
||||
temp.EmailContext = this.txtContent.Text;
|
||||
temp.EmailUserYN = Convert.ToInt32(rblAutoPostBack.SelectedValue);
|
||||
temp.UpdateName = this.CurrUser.UserName;
|
||||
temp.UpdateTime = DateTime.Now;
|
||||
BLL.Email_Send.Email_SendTemplateService.Add(temp, tplist);
|
||||
//BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Add SendEmailTemplate!");
|
||||
}
|
||||
else {
|
||||
Model.Email_SendTemplate temp = BLL.Email_Send.Email_SendTemplateService.GetEmail_SendTemplate(emailId);
|
||||
if (temp == null)
|
||||
{
|
||||
temp = new Model.Email_SendTemplate();
|
||||
temp.EmailId = Guid.NewGuid().ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
temp.EmailId = emailId;
|
||||
}
|
||||
temp.EmailParamsID = ddlEmailParamsID.SelectedValue.ToString();
|
||||
temp.EailTiaoJian = txtTemplateCondition.Text.Trim();
|
||||
temp.EmailTitle = this.txtTemplateName.Text.Trim();
|
||||
temp.EmailContext = this.txtContent.Text;
|
||||
temp.EmailUserYN = Convert.ToInt32(rblAutoPostBack.SelectedValue);
|
||||
temp.UpdateName = this.CurrUser.UserName;
|
||||
temp.UpdateTime = DateTime.Now;
|
||||
BLL.Email_Send.Email_SendTemplateService.Update(temp, tplist);
|
||||
//BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Update SendEmailTemplate!");
|
||||
}
|
||||
}
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,177 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send {
|
||||
|
||||
|
||||
public partial class Email_SendTemplate_Edit {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlEmailParamsID 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlEmailParamsID;
|
||||
|
||||
/// <summary>
|
||||
/// txtTemplateCondition 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTemplateCondition;
|
||||
|
||||
/// <summary>
|
||||
/// txtTemplateName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTemplateName;
|
||||
|
||||
/// <summary>
|
||||
/// txtContent 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HtmlEditor txtContent;
|
||||
|
||||
/// <summary>
|
||||
/// rblAutoPostBack 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.RadioButtonList rblAutoPostBack;
|
||||
|
||||
/// <summary>
|
||||
/// ddlSendUserName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownBox ddlSendUserName;
|
||||
|
||||
/// <summary>
|
||||
/// SelectUserControl1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Email_Send.SelectUserControl SelectUserControl1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlSendRole 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownBox ddlSendRole;
|
||||
|
||||
/// <summary>
|
||||
/// SelectRoleControl1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Email_Send.SelectRoleControl SelectRoleControl1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlccUserName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownBox ddlccUserName;
|
||||
|
||||
/// <summary>
|
||||
/// SelectUserControl2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Email_Send.SelectUserControl SelectUserControl2;
|
||||
|
||||
/// <summary>
|
||||
/// ddlccRole 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownBox ddlccRole;
|
||||
|
||||
/// <summary>
|
||||
/// SelectRoleControl2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Web.Email_Send.SelectRoleControl SelectRoleControl2;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,127 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Email_SendTemplate_List.aspx.cs" Inherits="FineUIPro.Web.Email_Send.Email_SendTemplate_List" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title></title>
|
||||
<style>
|
||||
.mycheckbox .f-field-checkbox-switch .f-field-checkbox-switch-text {
|
||||
min-width: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" runat="server"
|
||||
BoxFlex="1" DataKeyNames="EmailId" AllowCellEditing="true" DataIDField="EmailId"
|
||||
AllowSorting="true" SortField="CreateTime" SortDirection="DESC" OnSort="Grid1_Sort"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnAdd" ToolTip="Add" Icon="Add" Text="添加" runat="server" OnClick="btnAdd_Click" ></f:Button>
|
||||
<f:Button ID="btnEdit" ToolTip="Edit" Icon="Pencil" Text="修改" runat="server" OnClick="btnEdit_Click" ></f:Button>
|
||||
|
||||
<f:Button ID="btnDelete" ToolTip="Delete" Text="删除" Icon="Delete" ConfirmText="确定要删除当前数据?" OnClick="btnDelete_Click"
|
||||
runat="server" >
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:TemplateField Width="50px" TextAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Container.DataItemIndex + 1 %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:RenderField Width="120px" ColumnID="EmailParamsID" DataField="EmailParamsID" SortField="EmailParamsID"
|
||||
HeaderTextAlign="Left" TextAlign="Left" FieldType="String" HeaderText="邮件通知人">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="380px" ColumnID="EmailTitle" DataField="EmailTitle" SortField="EmailTitle" FieldType="String"
|
||||
HeaderTextAlign="Left" TextAlign="Left" HeaderText="邮件标题">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="400px" ColumnID="EailTiaoJian" DataField="EailTiaoJian" SortField="EailTiaoJian"
|
||||
HeaderTextAlign="Left" TextAlign="Left" FieldType="String" HeaderText="发送条件">
|
||||
</f:RenderField>
|
||||
|
||||
<f:RenderField Width="500px" ColumnID="EmailContext" DataField="EmailContext" SortField="EmailContext" FieldType="String"
|
||||
HeaderTextAlign="Left" TextAlign="Left" HeaderText="邮件内容">
|
||||
</f:RenderField>
|
||||
|
||||
<%-- <f:RenderField Width="120px" ColumnID="EmailDesc" DataField="EmailDesc" SortField="EmailDesc"
|
||||
HeaderTextAlign="Left" TextAlign="Left" FieldType="String" HeaderText="EmailDesc" ExpandUnusedSpace="true">
|
||||
</f:RenderField>--%>
|
||||
|
||||
<f:RenderField Width="100px" ColumnID="CreateTime" DataField="CreateTime" SortField="CreateTime"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="CreateTime"
|
||||
HeaderTextAlign="Left" TextAlign="Center" EnableFilter="true">
|
||||
<Filter EnableMultiFilter="true" ShowMatcher="true">
|
||||
<Operator>
|
||||
<f:DropDownList ID="DropDownList4" runat="server">
|
||||
<f:ListItem Text="greater than" Value="greater" Selected="true" />
|
||||
<f:ListItem Text="less than" Value="less" />
|
||||
<f:ListItem Text="equal to" Value="equal" />
|
||||
</f:DropDownList>
|
||||
</Operator>
|
||||
<Field>
|
||||
<f:DatePicker runat="server" Required="true" ID="DatePicker2">
|
||||
</f:DatePicker>
|
||||
</Field>
|
||||
</Filter>
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="Number of records per page:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="15" Value="15" />
|
||||
<f:ListItem Text="20" Value="20" />
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
<f:ListItem Text="30" Value="30" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="新增/编辑" Hidden="true" EnableIFrame="true" EnableMaximize="false"
|
||||
Target="Parent" EnableResize="false" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||
Width="1000px" Height="650px">
|
||||
</f:Window>
|
||||
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
||||
Icon="BulletEdit" runat="server" Text="Modify" Hidden="true">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||
Icon="Delete" ConfirmText="确定要删除此数据项?" ConfirmTarget="Top" runat="server" Text="Delete" Hidden="true">
|
||||
</f:MenuButton>
|
||||
</f:Menu>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,136 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class Email_SendTemplate_List : PageBase
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
|
||||
#region BindGrid
|
||||
|
||||
private void BindGrid()
|
||||
{
|
||||
List<Model.Email_SendTemplate> senList = new List<Model.Email_SendTemplate>();
|
||||
senList = BLL.Email_Send.Email_SendTemplateService.GetEmail_SendTemplateList();
|
||||
Grid1.RecordCount = senList.Count;
|
||||
var table = this.GetPagedDataTable(Grid1, senList);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
#endregion
|
||||
/// <summary>
|
||||
/// 分页下拉选择
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
Grid1.PageIndex = e.NewPageIndex;
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
|
||||
{
|
||||
Grid1.SortDirection = e.SortDirection;
|
||||
Grid1.SortField = e.SortField;
|
||||
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("Email_SendTemplate_Edit.aspx", null, "添加 - ")));
|
||||
}
|
||||
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
/// <summary>
|
||||
/// 右键编辑事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInParent("请选择至少一条记录!");
|
||||
return;
|
||||
}
|
||||
string Id = Grid1.SelectedRowID;
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("Email_SendTemplate_Edit.aspx?id={0}", Id, "编辑 - ")));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Grid双击事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||
{
|
||||
btnMenuEdit_Click(null, null);
|
||||
}
|
||||
|
||||
protected void btnEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnMenuEdit_Click(null, null);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 右键删除事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DeleteData();
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void btnDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.DeleteData();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除方法
|
||||
/// </summary>
|
||||
private void DeleteData()
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length > 0)
|
||||
{
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
|
||||
BLL.Email_Send.Email_SendTemplateService.Delete(rowID);
|
||||
ShowNotify("成功删除!");
|
||||
|
||||
}
|
||||
BindGrid();
|
||||
//BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Delete Project control editor information");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,186 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send {
|
||||
|
||||
|
||||
public partial class Email_SendTemplate_List {
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnAdd 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAdd;
|
||||
|
||||
/// <summary>
|
||||
/// btnEdit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnEdit;
|
||||
|
||||
/// <summary>
|
||||
/// btnDelete 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnDelete;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
|
||||
/// <summary>
|
||||
/// DropDownList4 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList DropDownList4;
|
||||
|
||||
/// <summary>
|
||||
/// DatePicker2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker DatePicker2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDelete;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Email_Send_Edit.aspx.cs" Inherits="FineUIPro.Web.Email_Send.Email_Send_Edit" %>
|
||||
|
||||
|
||||
<!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 id="Head1" runat="server">
|
||||
<title>邮件发送指定用户</title>
|
||||
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="SimpleForm1" runat="server">
|
||||
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="RegionPanel1" />
|
||||
<f:Panel ID="Panel1" CssClass="blockpanel" runat="server" ShowBorder="false" EnableCollapse="false"
|
||||
Layout="HBox" ShowHeader="false" Title="短信发送" BoxConfigChildMargin="0 5 0 0" Height="600px"
|
||||
BodyPadding="5">
|
||||
<Items>
|
||||
<f:Panel ID="Panel3" Title="面板1" Width="600px" runat="server" BodyPadding="10px"
|
||||
ShowBorder="true" ShowHeader="false">
|
||||
<Items>
|
||||
<f:TextBox ID="txtSendTitle" ShowLabel="true" Required="true" LabelWidth="140px"
|
||||
BoxFlex="2" runat="server" Label="发送标题">
|
||||
</f:TextBox>
|
||||
<f:TextArea ID="txtSendContent" ShowLabel="true" Required="true" LabelWidth="140px" Height="500px"
|
||||
BoxFlex="2" runat="server" Label="发送内容">
|
||||
</f:TextArea>
|
||||
</Items>
|
||||
<Toolbars>
|
||||
<f:Toolbar runat="server" ID="Toolbar1" Position="Bottom">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="Email" runat="server" CssClass="marginr" Text="点击发送"
|
||||
ValidateForms="SimpleForm1" OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
</f:Panel>
|
||||
<f:Panel ID="Panel5" CssClass="blockpanel" runat="server" ShowBorder="true" Width="600px" EnableCollapse="false"
|
||||
Layout="HBox" AutoScroll="false" ShowHeader="true" Title="收件人" BoxConfigChildMargin="0 5 0 0"
|
||||
BodyPadding="5">
|
||||
<Items>
|
||||
<f:Panel ID="Panel2" Title="面板2" BoxFlex="1" MinWidth="550px" Margin="0" runat="server"
|
||||
BodyPadding="5px" ShowBorder="false" ShowHeader="false" AutoScroll="true">
|
||||
<Items>
|
||||
<f:Tree ID="tvMenu" Width="500px" EnableCollapse="true" ShowHeader="false" ShowBorder="false" Title="System menu"
|
||||
AutoLeafIdentification="true" runat="server" EnableIcons="true" AutoScroll="true"
|
||||
EnableSingleClickExpand="false" OnNodeCheck="tvMenu_NodeCheck" EnableCheckBox="true">
|
||||
</f:Tree>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,166 @@
|
|||
using FineUIPro.Web.common;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class Email_Send_Edit : PageBase
|
||||
{
|
||||
#region 加载
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
//加载菜单树
|
||||
this.InitMenuTree();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 初始化系统菜单树
|
||||
/// <summary>
|
||||
/// 加载菜单树:动态加载
|
||||
/// </summary>
|
||||
private void InitMenuTree()
|
||||
{
|
||||
this.tvMenu.Nodes.Clear();
|
||||
TreeNode rootNode = new TreeNode();//定义根节点
|
||||
rootNode.Text = "所有人";
|
||||
rootNode.NodeID = "0";
|
||||
rootNode.Expanded = true;
|
||||
rootNode.EnableCheckEvent = true;
|
||||
rootNode.EnableCheckBox = true;
|
||||
this.tvMenu.Nodes.Add(rootNode);
|
||||
this.GetNodes(rootNode.Nodes, rootNode.NodeID);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 遍历节点方法(系统功能)
|
||||
/// <summary>
|
||||
/// 遍历节点方法
|
||||
/// </summary>
|
||||
/// <param name="nodes">节点集合</param>
|
||||
/// <param name="parentId">父节点</param>
|
||||
private void GetNodes(TreeNodeCollection nodes, string parentId)
|
||||
{
|
||||
List<Model.Sys_User> sysUserMenu = null;
|
||||
|
||||
sysUserMenu = (from x in BLL.Funs.DB.Sys_User where x.Account != "gly" orderby x.UserName select x).ToList();
|
||||
|
||||
foreach (var q in sysUserMenu)
|
||||
{
|
||||
TreeNode newNode = new TreeNode();
|
||||
newNode.Text = (q.UserName + "(" + q.Email + ")").ToString();
|
||||
newNode.NodeID = q.UserId;
|
||||
newNode.CommandName = q.Email;
|
||||
//newNode.NavigateUrl = q.Email;
|
||||
newNode.EnableCheckEvent = true;
|
||||
newNode.EnableCheckBox = true;
|
||||
newNode.Selectable = true;
|
||||
nodes.Add(newNode);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 全选、全不选
|
||||
/// <summary>
|
||||
/// 全选、全不选
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void tvMenu_NodeCheck(object sender, FineUIPro.TreeCheckEventArgs e)
|
||||
{
|
||||
if (e.Checked)
|
||||
{
|
||||
this.tvMenu.CheckAllNodes(e.Node.Nodes);
|
||||
SetCheckParentNode(e.Node);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.tvMenu.UncheckAllNodes(e.Node.Nodes);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 选中父节点
|
||||
/// </summary>
|
||||
/// <param name="node"></param>
|
||||
private void SetCheckParentNode(TreeNode node)
|
||||
{
|
||||
if (node.ParentNode != null && node.ParentNode.NodeID != "0")
|
||||
{
|
||||
node.ParentNode.Checked = true;
|
||||
if (node.ParentNode.ParentNode.NodeID != "0")
|
||||
{
|
||||
SetCheckParentNode(node.ParentNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
//string mailFrom = MailHelper.MailServerFrom;
|
||||
var pop = MailHelper.getEmailPop();
|
||||
if (pop == null)
|
||||
{
|
||||
ShowNotify("未配置邮件服务器", MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
|
||||
string mailFrom = pop.EmailYx;
|
||||
|
||||
string[] mailTo = null;
|
||||
string mailSubject = string.Empty;
|
||||
string mailBody = string.Empty;
|
||||
string mailAttch = string.Empty;
|
||||
string mailCode = string.Empty;
|
||||
string mailPriority = string.Empty;
|
||||
string[] mailCC = null;
|
||||
string resultMessage = "";
|
||||
List<string> namelist = new List<string>();
|
||||
|
||||
foreach (TreeNode tn in this.tvMenu.GetCheckedNodes())
|
||||
{
|
||||
if (tn.NodeID != "0")
|
||||
{
|
||||
namelist.Add(tn.CommandName);
|
||||
}
|
||||
}
|
||||
if (namelist.Count == 0)
|
||||
{
|
||||
ShowNotify("请至少选择一项用户进行发送!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
mailTo = namelist.ToList().ToArray();
|
||||
mailSubject = this.txtSendTitle.Text.Trim();
|
||||
|
||||
try
|
||||
{
|
||||
string templetpath = txtSendContent.Text.Trim();
|
||||
mailBody = templetpath;
|
||||
|
||||
bool f = MailHelper.SendNetMail(pop, mailFrom, mailTo, mailSubject, mailBody, mailAttch, mailCode, mailPriority, mailCC, out resultMessage);
|
||||
if (f == true)
|
||||
{
|
||||
ShowNotify("Send Successfully!", MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify(resultMessage, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ShowNotify(ex.Message, MessageBoxIcon.Success);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,132 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send {
|
||||
|
||||
|
||||
public partial class Email_Send_Edit {
|
||||
|
||||
/// <summary>
|
||||
/// Head1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel3;
|
||||
|
||||
/// <summary>
|
||||
/// txtSendTitle 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSendTitle;
|
||||
|
||||
/// <summary>
|
||||
/// txtSendContent 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtSendContent;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
/// <summary>
|
||||
/// Panel5 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel5;
|
||||
|
||||
/// <summary>
|
||||
/// Panel2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel2;
|
||||
|
||||
/// <summary>
|
||||
/// tvMenu 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tree tvMenu;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectRoleControl.ascx.cs" Inherits="FineUIPro.Web.Email_Send.SelectRoleControl" %>
|
||||
<f:Panel ID="Panel1" runat="server" BodyPadding="10px" Width="750px" Height="300px" Hidden="true"
|
||||
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Form ID="Form5" ShowBorder="False" ShowHeader="False" runat="server">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TwinTriggerBox Width="300px" runat="server" EmptyText="Find in RoleName" ShowLabel="false" ID="ttbSearch"
|
||||
ShowTrigger1="false" OnTrigger1Click="ttbSearch_Trigger1Click" OnTrigger2Click="ttbSearch_Trigger2Click"
|
||||
Trigger1Icon="Clear" Trigger2Icon="Search">
|
||||
</f:TwinTriggerBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Grid ID="Grid1" BoxFlex="1"
|
||||
DataIDField="RoleId" DataTextField="RoleName" EnableMultiSelect="true" KeepCurrentSelection="true"
|
||||
PageSize="10" ShowBorder="true" ShowHeader="false"
|
||||
AllowPaging="true" IsDatabasePaging="true" runat="server" EnableCheckBoxSelect="True"
|
||||
DataKeyNames="RoleId,RoleName" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
AllowSorting="true" SortField="RoleName" SortDirection="ASC"
|
||||
OnSort="Grid1_Sort">
|
||||
<Columns>
|
||||
<f:RowNumberField />
|
||||
<f:BoundField Width="200px" DataField="RoleName" SortField="RoleName" DataFormatString="{0}"
|
||||
HeaderText="RoleName" />
|
||||
<f:BoundField Width="200px" SortField="RoleId" DataField="RoleId" HeaderText="RoleId" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
|
@ -0,0 +1,148 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class SelectRoleControl : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
}
|
||||
|
||||
#region BindGrid
|
||||
private void BindGrid()
|
||||
{
|
||||
// 1.设置总项数(特别注意:数据库分页一定要设置总记录数RecordCount)
|
||||
Grid1.RecordCount = GetTotalCount();
|
||||
// 2.获取当前分页数据
|
||||
DataTable table = GetPagedDataTable();
|
||||
// 3.绑定到Grid
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 模拟返回总项数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private int GetTotalCount()
|
||||
{
|
||||
return GetSource().Rows.Count;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 模拟数据库分页(实际项目中请直接使用SQL语句返回分页数据!)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private DataTable GetPagedDataTable()
|
||||
{
|
||||
int pageIndex = Grid1.PageIndex;
|
||||
int pageSize = Grid1.PageSize;
|
||||
|
||||
DataTable table = GetSource();
|
||||
|
||||
DataTable paged = table.Clone();
|
||||
int rowbegin = pageIndex * pageSize;
|
||||
int rowend = (pageIndex + 1) * pageSize;
|
||||
if (rowend > table.Rows.Count)
|
||||
{
|
||||
rowend = table.Rows.Count;
|
||||
}
|
||||
for (int i = rowbegin; i < rowend; i++)
|
||||
{
|
||||
paged.ImportRow(table.Rows[i]);
|
||||
}
|
||||
|
||||
return paged;
|
||||
}
|
||||
|
||||
private DataTable GetSource()
|
||||
{
|
||||
string sortField = Grid1.SortField;
|
||||
string sortDirection = Grid1.SortDirection;
|
||||
|
||||
string strSql = @"select * from Sys_Role where 1=1";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable table2 = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
DataView view2 = table2.DefaultView;
|
||||
view2.Sort = String.Format("{0} {1}", sortField, sortDirection);
|
||||
|
||||
List<string> filters = new List<string>();
|
||||
|
||||
string searchKeyword = ttbSearch.Text.Trim();
|
||||
if (!String.IsNullOrEmpty(searchKeyword) && ttbSearch.ShowTrigger1)
|
||||
{
|
||||
// RowFilter的用法:http://www.csharp-examples.net/dataview-rowfilter/
|
||||
filters.Add(String.Format("RoleName LIKE '*{0}*'", EscapeLikeValue(searchKeyword)));
|
||||
}
|
||||
|
||||
if (filters.Count > 0)
|
||||
{
|
||||
view2.RowFilter = String.Join(" AND ", filters.ToArray());
|
||||
}
|
||||
|
||||
|
||||
|
||||
return view2.ToTable();
|
||||
}
|
||||
|
||||
// From: http://www.csharp-examples.net/dataview-rowfilter/
|
||||
public static string EscapeLikeValue(string valueWithoutWildcards)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (int i = 0; i < valueWithoutWildcards.Length; i++)
|
||||
{
|
||||
char c = valueWithoutWildcards[i];
|
||||
if (c == '*' || c == '%' || c == '[' || c == ']')
|
||||
sb.Append("[").Append(c).Append("]");
|
||||
else if (c == '\'')
|
||||
sb.Append("''");
|
||||
else
|
||||
sb.Append(c);
|
||||
}
|
||||
return sb.ToString();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Events
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
|
||||
protected void ttbSearch_Trigger1Click(object sender, EventArgs e)
|
||||
{
|
||||
ttbSearch.Text = String.Empty;
|
||||
ttbSearch.ShowTrigger1 = false;
|
||||
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
protected void ttbSearch_Trigger2Click(object sender, EventArgs e)
|
||||
{
|
||||
ttbSearch.ShowTrigger1 = true;
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send {
|
||||
|
||||
|
||||
public partial class SelectRoleControl {
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// Form5 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form5;
|
||||
|
||||
/// <summary>
|
||||
/// ttbSearch 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TwinTriggerBox ttbSearch;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,37 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectUserControl.ascx.cs" Inherits="FineUIPro.Web.Email_Send.SelectUserControl" %>
|
||||
|
||||
<f:Panel ID="Panel7" runat="server" BodyPadding="10px" Width="750px" Height="300px" Hidden="true"
|
||||
ShowBorder="true" ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Form ID="Form5" ShowBorder="False" ShowHeader="False" runat="server">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
|
||||
<f:DropDownList Width="300px" runat="server" OnSelectedIndexChanged="drpSearch_SelectedIndexChanged" EmptyText="请选择单位" EnableAjax="true" AutoPostBack="true" ShowLabel="false" ID="drpSearch">
|
||||
</f:DropDownList>
|
||||
<f:TwinTriggerBox Width="300px" runat="server" EmptyText="根据姓名/单位查询" ShowLabel="false" ID="ttbSearch"
|
||||
ShowTrigger1="false" OnTrigger1Click="ttbSearch_Trigger1Click" OnTrigger2Click="ttbSearch_Trigger2Click"
|
||||
Trigger1Icon="Clear" Trigger2Icon="Search">
|
||||
</f:TwinTriggerBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<f:Grid ID="Grid1" BoxFlex="1"
|
||||
DataIDField="UserId" DataTextField="UserName" EnableMultiSelect="true" KeepCurrentSelection="true"
|
||||
PageSize="10" ShowBorder="true" ShowHeader="false"
|
||||
AllowPaging="true" IsDatabasePaging="true" runat="server" EnableCheckBoxSelect="True"
|
||||
DataKeyNames="UserId,UserName" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
AllowSorting="true" SortField="UserName" SortDirection="ASC"
|
||||
OnSort="Grid1_Sort">
|
||||
<Columns>
|
||||
<f:RowNumberField />
|
||||
<f:BoundField Width="260px" HeaderText="单位名称" DataField="UnitName" SortField="UnitName" DataFormatString="{0}"></f:BoundField>
|
||||
<f:BoundField DataField="UserName" SortField="UserName"
|
||||
HeaderText="姓名" />
|
||||
<f:BoundField Width="200px" SortField="Email" DataField="Email" HeaderText="Email" />
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
|
@ -0,0 +1,188 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
public partial class SelectUserControl : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BindGrid("");
|
||||
DataBindDrpUnit();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#region BindGrid
|
||||
|
||||
|
||||
private void BindGrid(string selectUnitId)
|
||||
{
|
||||
// 1.设置总项数(特别注意:数据库分页一定要设置总记录数RecordCount)
|
||||
Grid1.RecordCount = GetTotalCount(selectUnitId);
|
||||
|
||||
// 2.获取当前分页数据
|
||||
DataTable table = GetPagedDataTable(selectUnitId);
|
||||
|
||||
// 3.绑定到Grid
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 模拟返回总项数
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private int GetTotalCount(string selectUnitId)
|
||||
{
|
||||
return GetSource(selectUnitId).Rows.Count;
|
||||
}
|
||||
|
||||
private void DataBindDrpUnit()
|
||||
{
|
||||
var data = Funs.DB.Base_Unit.ToList();
|
||||
drpSearch.DataSource = data;
|
||||
drpSearch.DataTextField = "UnitName";
|
||||
drpSearch.DataValueField = "UnitId";
|
||||
drpSearch.DataBind();
|
||||
drpSearch.Items.Insert(0,new ListItem("请选择单位",""));
|
||||
}
|
||||
/// <summary>
|
||||
/// 模拟数据库分页(实际项目中请直接使用SQL语句返回分页数据!)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private DataTable GetPagedDataTable(string selectUnitId)
|
||||
{
|
||||
int pageIndex = Grid1.PageIndex;
|
||||
int pageSize = Grid1.PageSize;
|
||||
|
||||
DataTable table = GetSource(selectUnitId);
|
||||
|
||||
DataTable paged = table.Clone();
|
||||
int rowbegin = pageIndex * pageSize;
|
||||
int rowend = (pageIndex + 1) * pageSize;
|
||||
if (rowend > table.Rows.Count)
|
||||
{
|
||||
rowend = table.Rows.Count;
|
||||
}
|
||||
for (int i = rowbegin; i < rowend; i++)
|
||||
{
|
||||
paged.ImportRow(table.Rows[i]);
|
||||
}
|
||||
|
||||
return paged;
|
||||
}
|
||||
protected void drpSearch_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
string rowId = this.drpSearch.SelectedValue;
|
||||
this.BindGrid(rowId);
|
||||
}
|
||||
private DataTable GetSource(string selectUnitId)
|
||||
{
|
||||
string sortField = Grid1.SortField;
|
||||
string sortDirection = Grid1.SortDirection;
|
||||
|
||||
string strSql = @"select a.UserId,b.UnitId,b.UserName,c.UnitName,b.Email from Project_User as a inner join Sys_User as b on a.UserId=b.UserId
|
||||
inner join Base_Unit as c on b.UnitId=c.UnitId where b.IsPost=1 order by c.UnitName ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable table2 = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
DataView view2 = table2.DefaultView;
|
||||
|
||||
List<string> filters = new List<string>();
|
||||
|
||||
string searchKeyword = ttbSearch.Text.Trim();
|
||||
if (!String.IsNullOrEmpty(searchKeyword) && ttbSearch.ShowTrigger1)
|
||||
{
|
||||
// RowFilter的用法:http://www.csharp-examples.net/dataview-rowfilter/
|
||||
filters.Add(String.Format("(UnitName LIKE '*{0}*' or UserName like '*{0}*')", EscapeLikeValue(searchKeyword)));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(selectUnitId))
|
||||
{
|
||||
filters.Add(string.Format(" UnitId='{0}'", selectUnitId));
|
||||
}
|
||||
|
||||
if (filters.Count > 0)
|
||||
{
|
||||
view2.RowFilter = String.Join(" AND ", filters.ToArray());
|
||||
}
|
||||
|
||||
|
||||
|
||||
return view2.ToTable();
|
||||
}
|
||||
|
||||
// From: http://www.csharp-examples.net/dataview-rowfilter/
|
||||
public static string EscapeLikeValue(string valueWithoutWildcards)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for (int i = 0; i < valueWithoutWildcards.Length; i++)
|
||||
{
|
||||
char c = valueWithoutWildcards[i];
|
||||
if (c == '*' || c == '%' || c == '[' || c == ']')
|
||||
sb.Append("[").Append(c).Append("]");
|
||||
else if (c == '\'')
|
||||
sb.Append("''");
|
||||
else
|
||||
sb.Append(c);
|
||||
}
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Events
|
||||
|
||||
|
||||
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
//Grid1.PageIndex = e.NewPageIndex;
|
||||
|
||||
BindGrid(string.Empty); ;
|
||||
}
|
||||
|
||||
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||
{
|
||||
//Grid1.SortDirection = e.SortDirection;
|
||||
//Grid1.SortField = e.SortField;
|
||||
|
||||
BindGrid(string.Empty);
|
||||
}
|
||||
|
||||
|
||||
protected void ttbSearch_Trigger1Click(object sender, EventArgs e)
|
||||
{
|
||||
ttbSearch.Text = String.Empty;
|
||||
ttbSearch.ShowTrigger1 = false;
|
||||
|
||||
BindGrid(string.Empty);
|
||||
}
|
||||
|
||||
protected void ttbSearch_Trigger2Click(object sender, EventArgs e)
|
||||
{
|
||||
ttbSearch.ShowTrigger1 = true;
|
||||
|
||||
BindGrid(string.Empty);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.Email_Send
|
||||
{
|
||||
|
||||
|
||||
public partial class SelectUserControl
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Panel7 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel7;
|
||||
|
||||
/// <summary>
|
||||
/// Form5 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form Form5;
|
||||
|
||||
/// <summary>
|
||||
/// drpSearch 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpSearch;
|
||||
|
||||
/// <summary>
|
||||
/// ttbSearch 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TwinTriggerBox ttbSearch;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
}
|
||||
}
|
|
@ -236,10 +236,847 @@
|
|||
<Content Include="common\ReportPrint\SaveTabFile.aspx" />
|
||||
<Content Include="common\ReportPrint\upload\636745907126050098_scs.png" />
|
||||
<Content Include="common\SysManage\LogList.aspx" />
|
||||
<Content Include="Email_Send\Email_Params_Edit.aspx" />
|
||||
<Content Include="Email_Send\Email_Params_List.aspx" />
|
||||
<Content Include="Email_Send\Email_Pop_Edit.aspx" />
|
||||
<Content Include="Email_Send\Email_SendLog_List.aspx" />
|
||||
<Content Include="Email_Send\Email_SendTemplate_Edit.aspx" />
|
||||
<Content Include="Email_Send\Email_SendTemplate_List.aspx" />
|
||||
<Content Include="Email_Send\Email_Send_Edit.aspx" />
|
||||
<Content Include="Email_Send\SelectRoleControl.ascx" />
|
||||
<Content Include="Email_Send\SelectUserControl.ascx" />
|
||||
<Content Include="PublicInfo\BaseInfo\PIPClass.aspx" />
|
||||
<Content Include="PublicInfo\BaseInfo\PIPClassEdit.aspx" />
|
||||
<Content Include="res\DataInTable.js" />
|
||||
<Content Include="res\ProcessBar.js" />
|
||||
<Content Include="res\third-party\ckeditor\adapters\jquery.js" />
|
||||
<Content Include="res\third-party\ckeditor\build-config.js" />
|
||||
<Content Include="res\third-party\ckeditor\ckeditor.js" />
|
||||
<Content Include="res\third-party\ckeditor\config.js" />
|
||||
<Content Include="res\third-party\ckeditor\contents.css" />
|
||||
<Content Include="res\third-party\ckeditor\lang\af.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ar.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\bg.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\bn.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\bs.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ca.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\cs.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\cy.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\da.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\de.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\el.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\en-au.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\en-ca.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\en-gb.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\en.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\eo.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\es.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\et.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\eu.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\fa.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\fi.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\fo.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\fr-ca.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\fr.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\gl.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\gu.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\he.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\hi.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\hr.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\hu.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\id.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\is.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\it.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ja.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ka.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\km.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ko.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ku.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\lt.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\lv.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\mk.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\mn.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ms.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\nb.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\nl.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\no.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\pl.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\pt-br.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\pt.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ro.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ru.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\si.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\sk.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\sl.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\sq.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\sr-latn.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\sr.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\sv.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\th.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\tr.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\tt.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\ug.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\uk.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\vi.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\zh-cn.js" />
|
||||
<Content Include="res\third-party\ckeditor\lang\zh.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\a11yhelp.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\ar.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\bg.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\ca.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\cs.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\cy.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\da.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\de.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\el.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\en-gb.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\en.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\eo.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\es.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\et.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\fa.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\fi.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\fr-ca.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\fr.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\gl.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\gu.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\he.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\hi.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\hr.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\hu.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\id.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\it.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\ja.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\km.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\ko.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\ku.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\lt.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\lv.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\mk.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\mn.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\nb.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\nl.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\no.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\pl.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\pt-br.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\pt.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\ro.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\ru.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\si.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\sk.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\sl.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\sq.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\sr-latn.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\sr.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\sv.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\th.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\tr.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\tt.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\ug.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\uk.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\vi.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\zh-cn.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\zh.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\a11yhelp\dialogs\lang\_translationstatus.txt" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\about\dialogs\about.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\about\dialogs\hidpi\logo_ckeditor.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\about\dialogs\logo_ckeditor.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\clipboard\dialogs\paste.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\colordialog\dialogs\colordialog.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\dialog\dialogDefinition.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\div\dialogs\div.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\find\dialogs\find.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\flash\dialogs\flash.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\flash\images\placeholder.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\dialogs\button.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\dialogs\checkbox.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\dialogs\form.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\dialogs\hiddenfield.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\dialogs\radio.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\dialogs\select.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\dialogs\textarea.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\dialogs\textfield.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\forms\images\hiddenfield.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\icons.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\icons_hidpi.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\iframe\dialogs\iframe.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\iframe\images\placeholder.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\image\dialogs\image.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\image\images\noimage.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\link\dialogs\anchor.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\link\dialogs\link.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\link\images\anchor.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\link\images\hidpi\anchor.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\liststyle\dialogs\liststyle.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\magicline\images\hidpi\icon.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\magicline\images\icon.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\pagebreak\images\pagebreak.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\pastefromword\filter\default.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\preview\preview.html" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\scayt\dialogs\options.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\scayt\dialogs\toolbar.css" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_address.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_blockquote.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_div.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_h1.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_h2.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_h3.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_h4.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_h5.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_h6.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_p.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\showblocks\images\block_pre.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\dialogs\smiley.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\angel_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\angel_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\angry_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\angry_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\broken_heart.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\broken_heart.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\confused_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\confused_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\cry_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\cry_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\devil_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\devil_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\embaressed_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\embarrassed_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\embarrassed_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\envelope.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\envelope.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\heart.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\heart.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\kiss.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\kiss.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\lightbulb.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\lightbulb.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\omg_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\omg_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\regular_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\regular_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\sad_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\sad_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\shades_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\shades_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\teeth_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\teeth_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\thumbs_down.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\thumbs_down.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\thumbs_up.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\thumbs_up.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\tongue_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\tongue_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\tounge_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\whatchutalkingabout_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\whatchutalkingabout_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\wink_smile.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\smiley\images\wink_smile.png" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\ar.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\bg.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\ca.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\cs.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\cy.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\de.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\el.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\en-gb.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\en.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\eo.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\es.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\et.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\fa.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\fi.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\fr-ca.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\fr.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\gl.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\he.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\hr.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\hu.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\id.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\it.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\ja.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\km.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\ku.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\lv.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\nb.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\nl.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\no.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\pl.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\pt-br.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\pt.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\ru.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\si.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\sk.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\sl.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\sq.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\sv.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\th.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\tr.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\tt.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\ug.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\uk.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\vi.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\zh-cn.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\zh.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\lang\_translationstatus.txt" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\specialchar\dialogs\specialchar.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\tabletools\dialogs\tableCell.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\table\dialogs\table.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\templates\dialogs\templates.css" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\templates\dialogs\templates.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\templates\templates\default.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\templates\templates\images\template1.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\templates\templates\images\template2.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\templates\templates\images\template3.gif" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\wsc\dialogs\ciframe.html" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\wsc\dialogs\tmpFrameset.html" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\wsc\dialogs\wsc.css" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\wsc\dialogs\wsc.js" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\wsc\dialogs\wsc_ie.js" />
|
||||
<Content Include="res\third-party\ckeditor\samples\ajax.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\api.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\appendto.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\assets\inlineall\logo.png" />
|
||||
<Content Include="res\third-party\ckeditor\samples\assets\outputxhtml\outputxhtml.css" />
|
||||
<Content Include="res\third-party\ckeditor\samples\assets\sample.jpg" />
|
||||
<Content Include="res\third-party\ckeditor\samples\assets\uilanguages\languages.js" />
|
||||
<Content Include="res\third-party\ckeditor\samples\datafiltering.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\divreplace.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\index.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\inlineall.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\inlinebycode.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\inlinetextarea.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\jquery.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\dialog\assets\my_dialog.js" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\dialog\dialog.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\enterkey\enterkey.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\htmlwriter\assets\outputforflash\outputforflash.swf" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\htmlwriter\assets\outputforflash\swfobject.js" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\htmlwriter\outputforflash.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\htmlwriter\outputhtml.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\magicline\magicline.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\toolbar\toolbar.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\wysiwygarea\fullpage.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\readonly.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\replacebyclass.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\replacebycode.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\sample.css" />
|
||||
<Content Include="res\third-party\ckeditor\samples\sample.js" />
|
||||
<Content Include="res\third-party\ckeditor\samples\tabindex.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\uicolor.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\uilanguages.html" />
|
||||
<Content Include="res\third-party\ckeditor\samples\xhtmlstyle.html" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\dialog.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\dialog_ie.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\dialog_ie7.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\dialog_ie8.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\dialog_iequirks.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\editor.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\editor_gecko.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\editor_ie.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\editor_ie7.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\editor_ie8.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\editor_iequirks.css" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\icons.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\icons_hidpi.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\arrow.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\close.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\hidpi\close.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\hidpi\lock-open.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\hidpi\lock.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\hidpi\refresh.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\lock-open.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\lock.png" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\images\refresh.png" />
|
||||
<Content Include="res\third-party\ckeditor\styles.js" />
|
||||
<Content Include="res\third-party\echarts\echarts.min.js" />
|
||||
<Content Include="res\third-party\ionicons\fonts.css" />
|
||||
<Content Include="res\third-party\ionicons\fonts\ionicons.svg" />
|
||||
<Content Include="res\third-party\jqueryuiautocomplete\images\ui-icons_444444_256x240.png" />
|
||||
<Content Include="res\third-party\jqueryuiautocomplete\images\ui-icons_555555_256x240.png" />
|
||||
<Content Include="res\third-party\jqueryuiautocomplete\images\ui-icons_777620_256x240.png" />
|
||||
<Content Include="res\third-party\jqueryuiautocomplete\images\ui-icons_777777_256x240.png" />
|
||||
<Content Include="res\third-party\jqueryuiautocomplete\images\ui-icons_cc0000_256x240.png" />
|
||||
<Content Include="res\third-party\jqueryuiautocomplete\images\ui-icons_ffffff_256x240.png" />
|
||||
<Content Include="res\third-party\jqueryuiautocomplete\jquery-ui.css" />
|
||||
<Content Include="res\third-party\jqueryuiautocomplete\jquery-ui.js" />
|
||||
<Content Include="res\third-party\license.txt" />
|
||||
<Content Include="res\third-party\my97\calendar.js" />
|
||||
<Content Include="res\third-party\my97\lang\en.js" />
|
||||
<Content Include="res\third-party\my97\lang\zh-cn.js" />
|
||||
<Content Include="res\third-party\my97\lang\zh-tw.js" />
|
||||
<Content Include="res\third-party\my97\skin\datePicker.gif" />
|
||||
<Content Include="res\third-party\my97\skin\default\datepicker.css" />
|
||||
<Content Include="res\third-party\my97\skin\default\img.gif" />
|
||||
<Content Include="res\third-party\my97\skin\ext\datepicker.css" />
|
||||
<Content Include="res\third-party\my97\skin\ext\dateselect.gif" />
|
||||
<Content Include="res\third-party\my97\skin\ext\glass-bg.gif" />
|
||||
<Content Include="res\third-party\my97\skin\ext\hd-sprite.gif" />
|
||||
<Content Include="res\third-party\my97\skin\ext\img.gif" />
|
||||
<Content Include="res\third-party\my97\skin\ext\left-btn.gif" />
|
||||
<Content Include="res\third-party\my97\skin\ext\left-btn2.gif" />
|
||||
<Content Include="res\third-party\my97\skin\ext\right-btn.gif" />
|
||||
<Content Include="res\third-party\my97\skin\ext\right-btn2.gif" />
|
||||
<Content Include="res\third-party\my97\skin\neptune\datepicker.css" />
|
||||
<Content Include="res\third-party\my97\skin\neptune\img.gif" />
|
||||
<Content Include="res\third-party\my97\skin\twoer\datepicker-dev.css" />
|
||||
<Content Include="res\third-party\my97\skin\twoer\datepicker.css" />
|
||||
<Content Include="res\third-party\my97\skin\twoer\img.gif" />
|
||||
<Content Include="res\third-party\my97\skin\twoer\img.png" />
|
||||
<Content Include="res\third-party\my97\skin\WdatePicker.css" />
|
||||
<Content Include="res\third-party\my97\skin\whyGreen\bg.jpg" />
|
||||
<Content Include="res\third-party\my97\skin\whyGreen\datepicker.css" />
|
||||
<Content Include="res\third-party\my97\skin\whyGreen\img.gif" />
|
||||
<Content Include="res\third-party\my97\WdatePicker.js" />
|
||||
<Content Include="res\third-party\openiconic\fonts.css" />
|
||||
<Content Include="res\third-party\openiconic\fonts\open-iconic.svg" />
|
||||
<Content Include="res\third-party\openlayers\ol.css" />
|
||||
<Content Include="res\third-party\openlayers\ol.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-de.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-dk.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-es.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-fa.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-fi.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-fr.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-gr.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-he.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-hr.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-it.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-ja.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-nl.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-pl.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-pt-br.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-ru.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-sv.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-tr.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-zh-cn.js" />
|
||||
<Content Include="res\third-party\spectrum\i18n\jquery.spectrum-zh-tw.js" />
|
||||
<Content Include="res\third-party\spectrum\spectrum.css" />
|
||||
<Content Include="res\third-party\spectrum\spectrum.js" />
|
||||
<Content Include="res\third-party\tinymce\jquery.tinymce.min.js" />
|
||||
<Content Include="res\third-party\tinymce\license.txt" />
|
||||
<Content Include="res\third-party\tinymce\plugins\advlist\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\anchor\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\autolink\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\autoresize\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\autosave\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\bbcode\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\charmap\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\codesample\css\prism.css" />
|
||||
<Content Include="res\third-party\tinymce\plugins\codesample\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\code\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\colorpicker\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\contextmenu\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\directionality\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-cool.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-cry.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-embarassed.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-foot-in-mouth.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-frown.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-innocent.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-kiss.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-laughing.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-money-mouth.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-sealed.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-smile.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-surprised.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-tongue-out.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-undecided.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-wink.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\img\smiley-yell.gif" />
|
||||
<Content Include="res\third-party\tinymce\plugins\emoticons\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\example\dialog.html" />
|
||||
<Content Include="res\third-party\tinymce\plugins\example\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\example_dependency\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\fullpage\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\fullscreen\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\hr\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\imagetools\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\image\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\importcss\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\insertdatetime\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\legacyoutput\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\link\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\lists\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\media\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\nonbreaking\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\noneditable\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\pagebreak\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\paste\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\preview\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\print\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\save\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\searchreplace\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\spellchecker\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\tabfocus\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\table\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\template\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\textcolor\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\textpattern\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\toc\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\visualblocks\css\visualblocks.css" />
|
||||
<Content Include="res\third-party\tinymce\plugins\visualblocks\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\visualchars\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\plugins\wordcount\plugin.min.js" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\content.inline.min.css" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\content.min.css" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\fonts\tinymce-small.svg" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\fonts\tinymce.svg" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\img\anchor.gif" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\img\loader.gif" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\img\object.gif" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\img\trans.gif" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\skin.ie7.min.css" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\skin.min.css" />
|
||||
<Content Include="res\third-party\tinymce\themes\inlite\theme.min.js" />
|
||||
<Content Include="res\third-party\tinymce\themes\modern\theme.min.js" />
|
||||
<Content Include="res\third-party\tinymce\tinymce.min.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\anchor\anchor.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\attachment.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\attachment.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\attachment.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_chm.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_default.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_doc.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_exe.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_jpg.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_mp3.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_mv.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_pdf.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_ppt.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_psd.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_rar.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_txt.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\fileTypeImages\icon_xls.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\alignicon.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\alignicon.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\bg.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\file-icons.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\file-icons.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\icons.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\icons.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\image.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\progress.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\success.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\attachment\images\success.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\background\background.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\background\background.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\background\background.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\background\images\bg.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\background\images\success.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\chart.config.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\charts.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\charts.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\charts.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\images\charts0.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\images\charts1.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\images\charts2.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\images\charts3.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\images\charts4.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\charts\images\charts5.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\emotion.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\emotion.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\emotion.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\0.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\bface.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\cface.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\fface.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\jxface2.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\neweditor-tab-bg.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\tface.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\wface.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\emotion\images\yface.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\gmap\gmap.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\help\help.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\help\help.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\help\help.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\image.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\image.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\image.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\images\alignicon.jpg" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\images\bg.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\images\icons.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\images\icons.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\images\image.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\images\progress.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\images\success.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\image\images\success.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\insertframe\insertframe.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\internal.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\link\link.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\map\map.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\map\show.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\music\music.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\music\music.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\music\music.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\preview\preview.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\addimg.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\brush.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\delimg.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\delimgH.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\empty.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\emptyH.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\eraser.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\redo.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\redoH.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\scale.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\scaleH.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\size.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\undo.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\images\undoH.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\scrawl.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\scrawl.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\scrawl\scrawl.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\searchreplace\searchreplace.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\searchreplace\searchreplace.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\snapscreen\snapscreen.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\spechars\spechars.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\spechars\spechars.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\table\dragicon.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\table\edittable.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\table\edittable.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\table\edittable.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\table\edittd.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\table\edittip.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\config.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\images\bg.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\images\pre0.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\images\pre1.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\images\pre2.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\images\pre3.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\images\pre4.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\template.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\template.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\template\template.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\bg.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\center_focus.jpg" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\file-icons.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\file-icons.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\icons.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\icons.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\image.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\left_focus.jpg" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\none_focus.jpg" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\progress.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\right_focus.jpg" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\success.gif" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\images\success.png" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\video.css" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\video.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\video\video.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\webapp\webapp.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\wordimage\fClipboard_ueditor.swf" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\wordimage\imageUploader.swf" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\wordimage\tangram.js" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\wordimage\wordimage.html" />
|
||||
<Content Include="res\third-party\ueditor\dialogs\wordimage\wordimage.js" />
|
||||
<Content Include="res\third-party\ueditor\index.html" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\en.js" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\addimage.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\alldeletebtnhoverskin.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\alldeletebtnupskin.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\background.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\button.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\copy.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\deletedisable.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\deleteenable.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\listbackground.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\localimage.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\music.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\rotateleftdisable.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\rotateleftenable.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\rotaterightdisable.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\rotaterightenable.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\en\images\upload.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\zh-cn\images\copy.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\zh-cn\images\localimage.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\zh-cn\images\music.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\zh-cn\images\upload.png" />
|
||||
<Content Include="res\third-party\ueditor\lang\zh-cn\zh-cn.js" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\css\ueditor.css" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\css\ueditor.min.css" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\dialogbase.css" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\anchor.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\arrow.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\arrow_down.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\arrow_up.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\button-bg.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\cancelbutton.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\charts.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\cursor_h.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\cursor_h.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\cursor_v.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\cursor_v.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\dialog-title-bg.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\filescan.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\highlighted.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\icons-all.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\icons.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\icons.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\loaderror.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\loading.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\lock.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\neweditor-tab-bg.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\pagebreak.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\scale.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\sortable.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\spacer.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\sparator_v.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\table-cell-align.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\tangram-colorpicker.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\toolbar_bg.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\unhighlighted.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\upload.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\videologo.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\word.gif" />
|
||||
<Content Include="res\third-party\ueditor\themes\default\images\wordpaste.png" />
|
||||
<Content Include="res\third-party\ueditor\themes\iframe.css" />
|
||||
<Content Include="res\third-party\ueditor\third-party\codemirror\codemirror.css" />
|
||||
<Content Include="res\third-party\ueditor\third-party\codemirror\codemirror.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\adapters\mootools-adapter.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\adapters\mootools-adapter.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\adapters\prototype-adapter.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\adapters\prototype-adapter.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\adapters\standalone-framework.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\adapters\standalone-framework.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\highcharts-more.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\highcharts-more.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\highcharts.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\highcharts.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\annotations.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\annotations.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\canvas-tools.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\canvas-tools.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\data.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\data.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\drilldown.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\drilldown.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\exporting.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\exporting.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\funnel.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\funnel.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\heatmap.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\heatmap.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\map.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\map.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\no-data-to-display.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\modules\no-data-to-display.src.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\themes\dark-blue.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\themes\dark-green.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\themes\gray.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\themes\grid.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\highcharts\themes\skies.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\jquery-1.10.2.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\jquery-1.10.2.min.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\snapscreen\UEditorSnapscreen.exe" />
|
||||
<Content Include="res\third-party\ueditor\third-party\SyntaxHighlighter\shCore.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\SyntaxHighlighter\shCoreDefault.css" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\font\vjs.svg" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\video-js.css" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\video-js.min.css" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\video-js.swf" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\video.dev.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\video.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\Uploader.swf" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.css" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.custom.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.custom.min.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.flashonly.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.flashonly.min.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.html5only.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.html5only.min.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.min.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.withoutimage.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\webuploader\webuploader.withoutimage.min.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\xss.min.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\zeroclipboard\ZeroClipboard.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\zeroclipboard\ZeroClipboard.min.js" />
|
||||
<Content Include="res\third-party\ueditor\third-party\zeroclipboard\ZeroClipboard.swf" />
|
||||
<Content Include="res\third-party\ueditor\ueditor.all.js" />
|
||||
<Content Include="res\third-party\ueditor\ueditor.all.min.js" />
|
||||
<Content Include="res\third-party\ueditor\ueditor.config.js" />
|
||||
<Content Include="res\third-party\ueditor\ueditor.parse.js" />
|
||||
<Content Include="res\third-party\ueditor\ueditor.parse.min.js" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\emotion.css" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\emotion.js" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\0.gif" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\bface.gif" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\cface.gif" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\fface.gif" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\jxface2.gif" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\neweditor-tab-bg.png" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\tface.gif" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\wface.gif" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\emotion\images\yface.gif" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\formula\formula.css" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\formula\formula.html" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\formula\formula.js" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\formula\images\formula.png" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\image\image.css" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\image\image.js" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\image\images\close.png" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\image\images\upload1.png" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\image\images\upload2.png" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\link\link.js" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\map\map.html" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\map\map.js" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\video\images\center_focus.jpg" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\video\images\left_focus.jpg" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\video\images\none_focus.jpg" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\video\images\right_focus.jpg" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\video\video.css" />
|
||||
<Content Include="res\third-party\umeditor\dialogs\video\video.js" />
|
||||
<Content Include="res\third-party\umeditor\index.html" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\en.js" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\addimage.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\alldeletebtnhoverskin.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\alldeletebtnupskin.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\background.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\button.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\copy.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\deletedisable.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\deleteenable.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\imglabel.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\listbackground.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\localimage.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\music.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\rotateleftdisable.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\rotateleftenable.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\rotaterightdisable.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\rotaterightenable.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\en\images\upload.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\zh-cn\images\copy.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\zh-cn\images\imglabel.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\zh-cn\images\localimage.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\zh-cn\images\music.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\zh-cn\images\upload.png" />
|
||||
<Content Include="res\third-party\umeditor\lang\zh-cn\zh-cn.js" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\css\umeditor.css" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\css\umeditor.min.css" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\images\caret.png" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\images\close.png" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\images\icons.gif" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\images\icons.png" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\images\ok.gif" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\images\pop-bg.png" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\images\spacer.gif" />
|
||||
<Content Include="res\third-party\umeditor\themes\default\images\videologo.gif" />
|
||||
<Content Include="res\third-party\umeditor\third-party\jquery.min.js" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\STIXFontLicense2010.txt" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneral-webfont.svg" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralbol-webfont.svg" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralbolita-webfont.svg" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralitalic-webfont.svg" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\Symbola.svg" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\mathquill.css" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\mathquill.js" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\mathquill.min.js" />
|
||||
<Content Include="res\third-party\umeditor\umeditor.config.js" />
|
||||
<Content Include="res\third-party\umeditor\umeditor.js" />
|
||||
<Content Include="res\third-party\umeditor\umeditor.min.js" />
|
||||
<Content Include="res\third-party\webuploader\Uploader.swf" />
|
||||
<Content Include="res\third-party\webuploader\webuploader.nolog.js" />
|
||||
<Content Include="res\third-party\webuploader\webuploader.nolog.min.js" />
|
||||
<Content Include="WelderManage\AnalysisEdit.aspx" />
|
||||
<Content Include="WelderManage\QualificationAnalysis.aspx" />
|
||||
<Content Include="WelderManage\QualifiedProject.aspx" />
|
||||
|
@ -3209,6 +4046,54 @@
|
|||
<Content Include="Report\HJGLDs.xss">
|
||||
<DependentUpon>HJGLDs.xsd</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="res\third-party\ckeditor\CHANGES.md" />
|
||||
<Content Include="res\third-party\ckeditor\LICENSE.md" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\scayt\LICENSE.md" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\scayt\README.md" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\wsc\LICENSE.md" />
|
||||
<Content Include="res\third-party\ckeditor\plugins\wsc\README.md" />
|
||||
<Content Include="res\third-party\ckeditor\README.md" />
|
||||
<Content Include="res\third-party\ckeditor\samples\assets\posteddata.php" />
|
||||
<Content Include="res\third-party\ckeditor\samples\plugins\htmlwriter\assets\outputforflash\outputforflash.fla" />
|
||||
<Content Include="res\third-party\ckeditor\samples\sample_posteddata.php" />
|
||||
<Content Include="res\third-party\ckeditor\skins\moono\readme.md" />
|
||||
<Content Include="res\third-party\ionicons\fonts\ionicons.eot" />
|
||||
<Content Include="res\third-party\ionicons\fonts\ionicons.ttf" />
|
||||
<Content Include="res\third-party\ionicons\fonts\ionicons.woff" />
|
||||
<Content Include="res\third-party\ionicons\fonts\ionicons.woff2" />
|
||||
<Content Include="res\third-party\openiconic\fonts\open-iconic.eot" />
|
||||
<Content Include="res\third-party\openiconic\fonts\open-iconic.otf" />
|
||||
<Content Include="res\third-party\openiconic\fonts\open-iconic.ttf" />
|
||||
<Content Include="res\third-party\openiconic\fonts\open-iconic.woff" />
|
||||
<Content Include="res\third-party\openlayers\ol.css.map" />
|
||||
<Content Include="res\third-party\openlayers\ol.js.map" />
|
||||
<Content Include="res\third-party\tinymce\langs\readme.md" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\fonts\tinymce-small.eot" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\fonts\tinymce-small.ttf" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\fonts\tinymce-small.woff" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\fonts\tinymce.eot" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\fonts\tinymce.ttf" />
|
||||
<Content Include="res\third-party\tinymce\skins\lightgray\fonts\tinymce.woff" />
|
||||
<Content Include="res\third-party\ueditor\third-party\jquery-1.10.2.min.map" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\font\vjs.eot" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\font\vjs.ttf" />
|
||||
<Content Include="res\third-party\ueditor\third-party\video-js\font\vjs.woff" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneral-webfont.eot" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneral-webfont.ttf" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneral-webfont.woff" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralbol-webfont.eot" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralbol-webfont.ttf" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralbol-webfont.woff" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralbolita-webfont.eot" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralbolita-webfont.ttf" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralbolita-webfont.woff" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralitalic-webfont.eot" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralitalic-webfont.ttf" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\stixgeneral-bundle\stixgeneralitalic-webfont.woff" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\Symbola.eot" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\Symbola.otf" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\Symbola.ttf" />
|
||||
<Content Include="res\third-party\umeditor\third-party\mathquill\font\Symbola.woff" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="App_GlobalResources\Lan.en-US.designer.cs">
|
||||
|
@ -3416,6 +4301,60 @@
|
|||
<Compile Include="common\SysManage\LogList.aspx.designer.cs">
|
||||
<DependentUpon>LogList.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_Params_Edit.aspx.cs">
|
||||
<DependentUpon>Email_Params_Edit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_Params_Edit.aspx.designer.cs">
|
||||
<DependentUpon>Email_Params_Edit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_Params_List.aspx.cs">
|
||||
<DependentUpon>Email_Params_List.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_Params_List.aspx.designer.cs">
|
||||
<DependentUpon>Email_Params_List.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_Pop_Edit.aspx.cs">
|
||||
<DependentUpon>Email_Pop_Edit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_Pop_Edit.aspx.designer.cs">
|
||||
<DependentUpon>Email_Pop_Edit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_SendLog_List.aspx.cs">
|
||||
<DependentUpon>Email_SendLog_List.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_SendLog_List.aspx.designer.cs">
|
||||
<DependentUpon>Email_SendLog_List.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_SendTemplate_Edit.aspx.cs">
|
||||
<DependentUpon>Email_SendTemplate_Edit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_SendTemplate_Edit.aspx.designer.cs">
|
||||
<DependentUpon>Email_SendTemplate_Edit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_SendTemplate_List.aspx.cs">
|
||||
<DependentUpon>Email_SendTemplate_List.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_SendTemplate_List.aspx.designer.cs">
|
||||
<DependentUpon>Email_SendTemplate_List.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_Send_Edit.aspx.cs">
|
||||
<DependentUpon>Email_Send_Edit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\Email_Send_Edit.aspx.designer.cs">
|
||||
<DependentUpon>Email_Send_Edit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\SelectRoleControl.ascx.cs">
|
||||
<DependentUpon>SelectRoleControl.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\SelectRoleControl.ascx.designer.cs">
|
||||
<DependentUpon>SelectRoleControl.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\SelectUserControl.ascx.cs">
|
||||
<DependentUpon>SelectUserControl.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Email_Send\SelectUserControl.ascx.designer.cs">
|
||||
<DependentUpon>SelectUserControl.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="PublicInfo\BaseInfo\PIPClass.aspx.cs">
|
||||
<DependentUpon>PIPClass.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using BLL;
|
||||
using FineUIPro.Web.common;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
public class Global : System.Web.HttpApplication
|
||||
{
|
||||
|
@ -47,6 +49,8 @@
|
|||
// 开启线程
|
||||
System.Threading.Thread LoadServiceData = new System.Threading.Thread(new System.Threading.ThreadStart(ExpirePoint));
|
||||
LoadServiceData.Start();
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void ExpirePoint()
|
||||
|
@ -60,6 +64,7 @@
|
|||
ExpirePoint.Elapsed += new System.Timers.ElapsedEventHandler(ExpirePoint_Elapsed);
|
||||
}
|
||||
|
||||
|
||||
void ExpirePoint_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
|
||||
{
|
||||
|
||||
|
@ -141,7 +146,8 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void Session_Start(object sender, EventArgs e)
|
||||
{
|
||||
Session.Timeout = 36000;
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="HJGLDBConnectionString" connectionString="Data Source=.\sql2016;Initial Catalog=HJGLDB_ZJBSF;uid=sa;pwd=1111;"/>
|
||||
<add name="HJGLDBConnectionString" connectionString="Data Source=.;Initial Catalog=HJGLDB_ZJBSF;uid=sa;pwd=Sh@nghai9;"/>
|
||||
<!--<add name="HJGLDBConnectionString" connectionString="Data Source=.;Initial Catalog=HJGLDB;Integrated Security=True"
|
||||
providerName="System.Data.SqlClient" />-->
|
||||
</connectionStrings>
|
||||
<FineUIPro DebugMode="false" CustomTheme="Metro_Dark_Blue" EnableAnimation="true" JSLibrary="All"/>
|
||||
<appSettings>
|
||||
<appSettings>
|
||||
<!--连接字符串-->
|
||||
<!--<add key="ConnectionString" value="Server=.;Database=HJGLDB;Integrated Security=False; User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>-->
|
||||
<!--系统名称-->
|
||||
|
|
|
@ -69,7 +69,8 @@ namespace FineUIPro.Web.common.SysManage
|
|||
this.txtUserName.Text = user.UserName;
|
||||
this.txtAccount.Text = user.Account;
|
||||
this.txtDepart.Text = user.Depart;
|
||||
|
||||
this.txtEmail.Text = user.Email;
|
||||
this.txtEmailPassword.Text = user.EmailPassword;
|
||||
if (user.IsPost.HasValue)
|
||||
{
|
||||
this.cbIsPost.Checked = user.IsPost.Value;
|
||||
|
|
|
@ -0,0 +1,589 @@
|
|||
CKEditor 4 Changelog
|
||||
====================
|
||||
|
||||
## CKEditor 4.4.2
|
||||
|
||||
Important Notes:
|
||||
|
||||
* The CKEditor testing environment is now publicly available. Read more about how to set up the environment and execute tests in the [CKEditor Testing Environment](http://docs.ckeditor.com/#!/guide/dev_tests) guide.
|
||||
Please note that the [`tests/`](https://github.com/ckeditor/ckeditor-dev/tree/master/tests) directory which contains editor tests is not available in release packages. It can only be found in the development version of CKEditor on [GitHub](https://github.com/ckeditor/ckeditor-dev/).
|
||||
|
||||
New Features:
|
||||
|
||||
* [#11909](http://dev.ckeditor.com/ticket/11909): Introduced a parameter to prevent the [`editor.setData()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData) method from recording undo snapshots.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#11757](http://dev.ckeditor.com/ticket/11757): Fixed: Imperfections in the [Moono](http://ckeditor.com/addon/moono) skin. Thanks to [danyaPostfactum](https://github.com/danyaPostfactum)!
|
||||
* [#10091](http://dev.ckeditor.com/ticket/10091): Blockquote should be treated like an object by the styles system. Thanks to [dan-james-deeson](https://github.com/dan-james-deeson)!
|
||||
* [#11478](http://dev.ckeditor.com/ticket/11478): Fixed: Issue with passing jQuery objects to [adapter](http://docs.ckeditor.com/#!/guide/dev_jquery) configuration.
|
||||
* [#10867](http://dev.ckeditor.com/ticket/10867): Fixed: Issue with setting encoded URI as image link.
|
||||
* [#11983](http://dev.ckeditor.com/ticket/11983): Fixed: Clicking a nested widget does not focus it. Additionally, performance of the [`widget.repository.getByElement()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-getByElement) method was improved.
|
||||
* [#12000](http://dev.ckeditor.com/ticket/12000): Fixed: Nested widgets should be initialized on [`editor.setData()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData) and [`nestedEditable.setData()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.nestedEditable-method-setData).
|
||||
* [#12022](http://dev.ckeditor.com/ticket/12022): Fixed: Outer widget's drag handler is not created at all if it has any nested widgets inside.
|
||||
* [#11960](http://dev.ckeditor.com/ticket/11960): [Blink/WebKit] Fixed: The caret should be scrolled into view on *Backspace* and *Delete* (covers only the merging blocks case).
|
||||
* [#11306](http://dev.ckeditor.com/ticket/11306): [OSX][Blink/WebKit] Fixed: No widget entries in the context menu on widget right-click.
|
||||
* [#11957](http://dev.ckeditor.com/ticket/11957): Fixed: Alignment labels in the [Enhanced Image](http://ckeditor.com/addon/image2) dialog window are not translated.
|
||||
* [#11980](http://dev.ckeditor.com/ticket/11980): [Blink/WebKit] Fixed: `<span>` elements created when joining adjacent elements (non-collapsed selection).
|
||||
* [#12009](http://dev.ckeditor.com/ticket/12009): [Nested widgets] Integration with the [Magic Line](http://ckeditor.com/addon/magicline) plugin.
|
||||
* [#11387](http://dev.ckeditor.com/ticket/11387): Fixed: `role="radiogroup"` should be applied only to radio inputs' container.
|
||||
* [#7975](http://dev.ckeditor.com/ticket/7975): [IE8] Fixed: Errors when trying to select an empty table cell.
|
||||
* [#11947](http://dev.ckeditor.com/ticket/11947): [Firefox+IE11] Fixed: *Shift+Enter* in lists produces two line breaks.
|
||||
* [#11972](http://dev.ckeditor.com/ticket/11972): Fixed: Feature detection in the [`element.setText()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.element-method-setText) method should not trigger the layout engine.
|
||||
* [#7634](http://dev.ckeditor.com/ticket/7634): Fixed: The [Flash Dialog](http://ckeditor.com/addon/flash) plugin omits the `allowFullScreen` parameter in the editor data if set to `true`.
|
||||
* [#11910](http://dev.ckeditor.com/ticket/11910): Fixed: [Enhanced Image](http://ckeditor.com/addon/image2) does not take [`config.baseHref`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-baseHref) into account when updating image dimensions.
|
||||
* [#11753](http://dev.ckeditor.com/ticket/11753): Fixed: Wrong [`checkDirty()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty) method value after focusing or blurring a widget.
|
||||
* [#11830](http://dev.ckeditor.com/ticket/11830): Fixed: Impossible to pass some arguments to [CKBuilder](https://github.com/ckeditor/ckbuilder) when using the `/dev/builder/build.sh` script.
|
||||
* [#11945](http://dev.ckeditor.com/ticket/11945): Fixed: [Form Elements](http://ckeditor.com/addon/forms) plugin should not change a core method.
|
||||
* [#11384](http://dev.ckeditor.com/ticket/11384): [IE9+] Fixed: `IndexSizeError` thrown when pasting into a non-empty selection anchored in one text node.
|
||||
|
||||
## CKEditor 4.4.1
|
||||
|
||||
New Features:
|
||||
|
||||
* [#9661](http://dev.ckeditor.com/ticket/9661): Added the option to [configure](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-linkJavaScriptLinksAllowed) anchor tags with JavaScript code in the `href` attribute.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#11861](http://dev.ckeditor.com/ticket/11861): [Webkit/Blink] Fixed: Span elements created while joining adjacent elements. **Note:** This patch only covers cases when *Backspace* or *Delete* is pressed on a collapsed (empty) selection. The remaining case, with a non-empty selection, will be fixed in the next release.
|
||||
* [#10714](http://dev.ckeditor.com/ticket/10714): [iOS] Fixed: Selection and drop-downs are broken if a touch event listener is used due to a [Webkit bug](https://bugs.webkit.org/show_bug.cgi?id=128924). Thanks to [Arty Gus](https://github.com/artygus)!
|
||||
* [#11911](http://dev.ckeditor.com/ticket/11911): Fixed setting the `dir` attribute for a preloaded language in [CKEDITOR.lang](http://docs.ckeditor.com/#!/api/CKEDITOR.lang). Thanks to [Akash Mohapatra](https://github.com/akashmohapatra)!
|
||||
* [#11926](http://dev.ckeditor.com/ticket/11926): Fixed: [Code Snippet](http://ckeditor.com/addon/codesnippet) does not decode HTML entities when loading code from the `<code>` element.
|
||||
* [#11223](http://dev.ckeditor.com/ticket/11223): Fixed: Issue when [Protected Source](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-protectedSource) was not working in the `<title>` element.
|
||||
* [#11859](http://dev.ckeditor.com/ticket/11859): Fixed: Removed the [Source Dialog](http://ckeditor.com/addon/sourcedialog) plugin dependency from the [Code Snippet](http://ckeditor.com/addon/codesnippet) sample.
|
||||
* [#11754](http://dev.ckeditor.com/ticket/11754): [Chrome] Fixed: Infinite loop when content includes not closed attributes.
|
||||
* [#11848](http://dev.ckeditor.com/ticket/11848): [IE] Fixed: [`editor.insertElement()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertElement) throwing an exception when there was no selection in the editor.
|
||||
* [#11801](http://dev.ckeditor.com/ticket/11801): Fixed: Editor anchors unavailable when linking the [Enhanced Image](http://ckeditor.com/addon/image2) widget.
|
||||
* [#11626](http://dev.ckeditor.com/ticket/11626): Fixed: [Table Resize](http://ckeditor.com/addon/tableresize) sets invalid column width.
|
||||
* [#11872](http://dev.ckeditor.com/ticket/11872): Made [`element.addClass()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.element-method-addClass) chainable symmetrically to [`element.removeClass()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.element-method-removeClass).
|
||||
* [#11813](http://dev.ckeditor.com/ticket/11813): Fixed: Link lost while pasting a captioned image and restoring an undo snapshot ([Enhanced Image](http://ckeditor.com/addon/image2)).
|
||||
* [#11814](http://dev.ckeditor.com/ticket/11814): Fixed: _Link_ and _Unlink_ entries persistently displayed in the [Enhanced Image](http://ckeditor.com/addon/image2) context menu.
|
||||
* [#11839](http://dev.ckeditor.com/ticket/11839): [IE9] Fixed: The caret jumps out of the editable area when resizing the editor in the source mode.
|
||||
* [#11822](http://dev.ckeditor.com/ticket/11822): [Webkit] Fixed: Editing anchors by double-click is broken in some cases.
|
||||
* [#11823](http://dev.ckeditor.com/ticket/11823): [IE8] Fixed: [Table Resize](http://ckeditor.com/addon/tableresize) throws an error over scrollbar.
|
||||
* [#11788](http://dev.ckeditor.com/ticket/11788): Fixed: It is not possible to change the language back to _Not set_ in the [Code Snippet](http://ckeditor.com/addon/codesnippet) dialog window.
|
||||
* [#11788](http://dev.ckeditor.com/ticket/11788): Fixed: [Filter](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.filter) rules are not applied inside elements with the `contenteditable` attribute set to `true`.
|
||||
* [#11798](http://dev.ckeditor.com/ticket/11798): Fixed: Inserting a non-editable element inside a table cell breaks the table.
|
||||
* [#11793](http://dev.ckeditor.com/ticket/11793): Fixed: Drop-down is not "on" when clicking it while the editor is blurred.
|
||||
* [#11850](http://dev.ckeditor.com/ticket/11850): Fixed: Fake objects with the `contenteditable` attribute set to `false` are not downcasted properly.
|
||||
* [#11811](http://dev.ckeditor.com/ticket/11811): Fixed: Widget's data is not encoded correctly when passed to an attribute.
|
||||
* [#11777](http://dev.ckeditor.com/ticket/11777): Fixed encoding ampersand in the [Mathematical Formulas](http://ckeditor.com/addon/mathjax) plugin.
|
||||
* [#11880](http://dev.ckeditor.com/ticket/11880): [IE8-9] Fixed: Linked image has a default thick border.
|
||||
|
||||
Other Changes:
|
||||
|
||||
* [#11807](http://dev.ckeditor.com/ticket/11807): Updated jQuery version used in the sample to 1.11.0 and tested CKEditor jQuery Adapter with version 1.11.0 and 2.1.0.
|
||||
* [#9504](http://dev.ckeditor.com/ticket/9504): Stopped using deprecated `attribute.specified` in all browsers except Internet Explorer.
|
||||
* [#11809](http://dev.ckeditor.com/ticket/11809): Changed tab size in `<pre>` to 4 spaces.
|
||||
|
||||
## CKEditor 4.4
|
||||
|
||||
**Important Notes:**
|
||||
|
||||
* Marked the [`editor.beforePaste`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-beforePaste) event as deprecated.
|
||||
* The default class of captioned images has changed to `image` (was: `caption`). Please note that once edited in CKEditor 4.4+, all existing images of the `caption` class (`<figure class="caption">`) will be [filtered out](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter) unless the [`config.image2_captionedClass`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-image2_captionedClass) option is set to `caption`. For backward compatibility (i.e. when upgrading), it is highly recommended to use this setting, which also helps prevent CSS conflicts, etc. This does not apply to new CKEditor integrations.
|
||||
* Widgets without defined buttons are no longer registered automatically to the [Advanced Content Filter](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter). Before CKEditor 4.4 widgets were registered to the ACF which was an incorrect behavior ([#11567](http://dev.ckeditor.com/ticket/11567)). This change should not have any impact on standard scenarios, but if your button does not execute the widget command, you need to set [`allowedContent`](http://docs.ckeditor.com/#!/api/CKEDITOR.feature-property-allowedContent) and [`requiredContent`](http://docs.ckeditor.com/#!/api/CKEDITOR.feature-property-requiredContent) properties for it manually, because the editor will not be able to find them.
|
||||
* The [Show Borders](http://ckeditor.com/addon/showborders) plugin was added to the Standard installation package in order to ensure that unstyled tables are still visible for the user ([#11665](http://dev.ckeditor.com/ticket/11665)).
|
||||
* Since CKEditor 4.4 the editor instance should be passed to [`CKEDITOR.style`](http://docs.ckeditor.com/#!/api/CKEDITOR.style) methods to ensure full compatibility with other features (e.g. applying styles to widgets requires that). We ensured backward compatibility though, so the [`CKEDITOR.style`](http://docs.ckeditor.com/#!/api/CKEDITOR.style) will work even when the editor instance is not provided.
|
||||
|
||||
New Features:
|
||||
|
||||
* [#11297](http://dev.ckeditor.com/ticket/11297): Styles can now be applied to widgets. The definition of a style which can be applied to a specific widget must contain two additional properties — `type` and `widget`. Read more in the [Widget Styles](http://docs.ckeditor.com/#!/guide/dev_styles-section-widget-styles) section of the "Syles Drop-down" guide. Note that by default, widgets support only classes and no other attributes or styles. Related changes and features:
|
||||
* Introduced the [`CKEDITOR.style.addCustomHandler()`](http://docs.ckeditor.com/#!/api/CKEDITOR.style-static-method-addCustomHandler) method for registering custom style handlers.
|
||||
* The [`CKEDITOR.style.apply()`](http://docs.ckeditor.com/#!/api/CKEDITOR.style-method-apply) and [`CKEDITOR.style.remove()`](http://docs.ckeditor.com/#!/api/CKEDITOR.style-method-remove) methods are now called with an editor instance instead of the document so they can be reused by the [`CKEDITOR.editor.applyStyle()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-applyStyle) and [`CKEDITOR.editor.removeStyle()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-removeStyle) methods. Backward compatibility was preserved, but from CKEditor 4.4 it is highly recommended to pass an editor instead of a document to these methods.
|
||||
* Many new methods and properties were introduced in the [Widget API](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget) to make the handling of styles by widgets fully customizable. See: [`widget.definition.styleableElements`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.definition-property-styleableElements), [`widget.definition.styleToAllowedContentRule`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.definition-property-styleToAllowedContentRules), [`widget.addClass()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-method-addClass), [`widget.removeClass()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-method-removeClass), [`widget.getClasses()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-method-getClasses), [`widget.hasClass()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-method-hasClass), [`widget.applyStyle()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-method-applyStyle), [`widget.removeStyle()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-method-removeStyle), [`widget.checkStyleActive()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-method-checkStyleActive).
|
||||
* Integration with the [Allowed Content Filter](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter) required an introduction of the [`CKEDITOR.style.toAllowedContent()`](http://docs.ckeditor.com/#!/api/CKEDITOR.style-method-toAllowedContentRules) method which can be implemented by the custom style handler and if exists, it is used by the [`CKEDITOR.filter`](http://docs.ckeditor.com/#!/api/CKEDITOR.filter) to translate a style to [allowed content rules](http://docs.ckeditor.com/#!/api/CKEDITOR.filter.allowedContentRules).
|
||||
* [#11300](http://dev.ckeditor.com/ticket/11300): Various changes in the [Enhanced Image](http://ckeditor.com/addon/image2) plugin:
|
||||
* Introduced the [`config.image2_captionedClass`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-image2_captionedClass) option to configure the class of captioned images.
|
||||
* Introduced the [`config.image2_alignClasses`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-image2_alignClasses) option to configure the way images are aligned with CSS classes.
|
||||
If this setting is defined, the editor produces classes instead of inline styles for aligned images.
|
||||
* Default image caption can be translated (customized) with the `editor.lang.image2.captionPlaceholder` string.
|
||||
* [#11341](http://dev.ckeditor.com/ticket/11341): [Enhanced Image](http://ckeditor.com/addon/image2) plugin: It is now possible to add a link to any image type.
|
||||
* [#10202](http://dev.ckeditor.com/ticket/10202): Introduced wildcard support in the [Allowed Content Rules](http://docs.ckeditor.com/#!/guide/dev_allowed_content_rules) format.
|
||||
* [#10276](http://dev.ckeditor.com/ticket/10276): Introduced blacklisting in the [Allowed Content Filter](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter).
|
||||
* [#10480](http://dev.ckeditor.com/ticket/10480): Introduced code snippets with code highlighting. There are two versions available so far — the default [Code Snippet](http://ckeditor.com/addon/codesnippet) which uses the [highlight.js](http://highlightjs.org) library and the [Code Snippet GeSHi](http://ckeditor.com/addon/codesnippetgeshi) which uses the [GeSHi](http://qbnz.com/highlighter/) library.
|
||||
* [#11737](http://dev.ckeditor.com/ticket/11737): Introduced an option to prevent [filtering](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter) of an element that matches custom criteria (see [`filter.addElementCallback()`](http://docs.ckeditor.com/#!/api/CKEDITOR.filter-method-addElementCallback)).
|
||||
* [#11532](http://dev.ckeditor.com/ticket/11532): Introduced the [`editor.addContentsCss()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-addContentsCss) method that can be used for [adding custom CSS files](http://docs.ckeditor.com/#!/guide/plugin_sdk_styles).
|
||||
* [#11536](http://dev.ckeditor.com/ticket/11536): Added the [`CKEDITOR.tools.htmlDecode()`](http://docs.ckeditor.com/#!/api/CKEDITOR.tools-method-htmlDecode) method for decoding HTML entities.
|
||||
* [#11225](http://dev.ckeditor.com/ticket/11225): Introduced the [`CKEDITOR.tools.transparentImageData`](http://docs.ckeditor.com/#!/api/CKEDITOR.tools-property-transparentImageData) property which contains transparent image data to be used in CSS or as image source.
|
||||
|
||||
Other Changes:
|
||||
|
||||
* [#11377](http://dev.ckeditor.com/ticket/11377): Unified internal representation of empty anchors using the [fake objects](http://ckeditor.com/addon/fakeobjects).
|
||||
* [#11422](http://dev.ckeditor.com/ticket/11422): Removed Firefox 3.x, Internet Explorer 6 and Opera 12.x leftovers in code.
|
||||
* [#5217](http://dev.ckeditor.com/ticket/5217): Setting data (including switching between modes) creates a new undo snapshot. Besides that:
|
||||
* Introduced the [`editable.status`](http://docs.ckeditor.com/#!/api/CKEDITOR.editable-property-status) property.
|
||||
* Introduced a new `forceUpdate` option for the [`editor.lockSnapshot`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-lockSnapshot) event.
|
||||
* Fixed: Selection not being unlocked in inline editor after setting data ([#11500](http://dev.ckeditor.com/ticket/11500)).
|
||||
* The [WebSpellChecker](http://ckeditor.com/addon/wsc) plugin was updated to the latest version.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10190](http://dev.ckeditor.com/ticket/10190): Fixed: Removing block style with [`editor.removeStyle()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-removeStyle) should result in a paragraph and not a div.
|
||||
* [#11727](http://dev.ckeditor.com/ticket/11727): Fixed: The editor tries to select a non-editable image which was clicked.
|
||||
|
||||
## CKEditor 4.3.5
|
||||
|
||||
New Features:
|
||||
|
||||
* Added new translation: Tatar.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#11677](http://dev.ckeditor.com/ticket/11677): Fixed: Undo/Redo keystrokes are blocked in the source mode.
|
||||
* [#11717](http://dev.ckeditor.com/ticket/11717): [Document Properties](http://ckeditor.com/addon/docprops) plugin requires the [Color Dialog](http://ckeditor.com/addon/colordialog) plugin to work.
|
||||
|
||||
## CKEditor 4.3.4
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#11597](http://dev.ckeditor.com/ticket/11597): [IE11] Fixed: Error thrown when trying to open the [preview](http://ckeditor.com/addon/preview) using the keyboard.
|
||||
* [#11544](http://dev.ckeditor.com/ticket/11544): [Placeholders](http://ckeditor.com/addon/placeholder) will no longer be upcasted in parents not accepting `<span>` elements.
|
||||
* [#8663](http://dev.ckeditor.com/ticket/8663): Fixed [`element.renameNode()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.element-method-renameNode) not clearing the [`element.getName()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.element-method-getName) cache.
|
||||
* [#11574](http://dev.ckeditor.com/ticket/11574): Fixed: *Backspace* destroying the DOM structure if an inline editable is placed in a list item.
|
||||
* [#11603](http://dev.ckeditor.com/ticket/11603): Fixed: [Table Resize](http://ckeditor.com/addon/tableresize) attaches to tables outside the editable.
|
||||
* [#9205](http://dev.ckeditor.com/ticket/9205), [#7805](http://dev.ckeditor.com/ticket/7805), [#8216](http://dev.ckeditor.com/ticket/8216): Fixed: `{cke_protected_1}` appearing in data in various cases where HTML comments are placed next to `"` or `'`.
|
||||
* [#11635](http://dev.ckeditor.com/ticket/11635): Fixed: Some attributes are not protected before the content is passed through the fix bin.
|
||||
* [#11660](http://dev.ckeditor.com/ticket/11660): [IE] Fixed: Table content is lost when some extra markup is inside the table.
|
||||
* [#11641](http://dev.ckeditor.com/ticket/11641): Fixed: Switching between modes in the classic editor removes content styles for the inline editor.
|
||||
* [#11568](http://dev.ckeditor.com/ticket/11568): Fixed: [Styles](http://ckeditor.com/addon/stylescombo) drop-down list is not enabled on selection change.
|
||||
|
||||
## CKEditor 4.3.3
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#11500](http://dev.ckeditor.com/ticket/11500): [Webkit/Blink] Fixed: Selection lost when setting data in another inline editor. Additionally, [`selection.removeAllRanges()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-method-removeAllRanges) is now scoped to selection's [root](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-property-root).
|
||||
* [#11104](http://dev.ckeditor.com/ticket/11104): [IE] Fixed: Various issues with scrolling and selection when focusing widgets.
|
||||
* [#11487](http://dev.ckeditor.com/ticket/11487): Moving mouse over the [Enhanced Image](http://ckeditor.com/addon/image2) widget will no longer change the value returned by the [`editor.checkDirty()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty) method.
|
||||
* [#8673](http://dev.ckeditor.com/ticket/8673): [WebKit] Fixed: Cannot select and remove the [Page Break](http://ckeditor.com/addon/pagebreak).
|
||||
* [#11413](http://dev.ckeditor.com/ticket/11413): Fixed: Incorrect [`editor.execCommand()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-execCommand) behavior.
|
||||
* [#11438](http://dev.ckeditor.com/ticket/11438): Splitting table cells vertically is no longer changing table structure.
|
||||
* [#8899](http://dev.ckeditor.com/ticket/8899): Fixed: Links in the [About CKEditor](http://ckeditor.com/addon/about) dialog window now open in a new browser window or tab.
|
||||
* [#11490](http://dev.ckeditor.com/ticket/11490): Fixed: [Menu button](http://ckeditor.com/addon/menubutton) panel not showing in the source mode.
|
||||
* [#11417](http://dev.ckeditor.com/ticket/11417): The [`widget.doubleclick`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget-event-doubleclick) event is not canceled anymore after editing was triggered.
|
||||
* [#11253](http://dev.ckeditor.com/ticket/11253): [IE] Fixed: Clipped upload button in the [Enhanced Image](http://ckeditor.com/addon/image2) dialog window.
|
||||
* [#11359](http://dev.ckeditor.com/ticket/11359): Standardized the way anchors are discovered by the [Link](http://ckeditor.com/addon/link) plugin.
|
||||
* [#11058](http://dev.ckeditor.com/ticket/11058): [IE8] Fixed: Error when deleting a table row.
|
||||
* [#11508](http://dev.ckeditor.com/ticket/11508): Fixed: [`htmlDataProcessor`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlDataProcessor) discovering protected attributes within other attributes' values.
|
||||
* [#11533](http://dev.ckeditor.com/ticket/11533): Widgets: Avoid recurring upcasts if the DOM structure was modified during an upcast.
|
||||
* [#11400](http://dev.ckeditor.com/ticket/11400): Fixed: The [`domObject.removeAllListeners()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.domObject-method-removeAllListeners) method does not remove custom listeners completely.
|
||||
* [#11493](http://dev.ckeditor.com/ticket/11493): Fixed: The [`selection.getRanges()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-method-getRanges) method does not override cached ranges when used with the `onlyEditables` argument.
|
||||
* [#11390](http://dev.ckeditor.com/ticket/11390): [IE] All [XML](http://ckeditor.com/addon/xml) plugin [methods](http://docs.ckeditor.com/#!/api/CKEDITOR.xml) now work in IE10+.
|
||||
* [#11542](http://dev.ckeditor.com/ticket/11542): [IE11] Fixed: Blurry toolbar icons when Right-to-Left UI language is set.
|
||||
* [#11504](http://dev.ckeditor.com/ticket/11504): Fixed: When [`config.fullPage`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-fullPage) is set to `true`, entities are not encoded in editor output.
|
||||
* [#11004](http://dev.ckeditor.com/ticket/11004): Integrated [Enhanced Image](http://ckeditor.com/addon/image2) dialog window with [Advanced Content Filter](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter).
|
||||
* [#11439](http://dev.ckeditor.com/ticket/11439): Fixed: Properties get cloned in the Cell Properties dialog window if multiple cells are selected.
|
||||
|
||||
## CKEditor 4.3.2
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#11331](http://dev.ckeditor.com/ticket/11331): A menu button will have a changed label when selected instead of using the `aria-pressed` attribute.
|
||||
* [#11177](http://dev.ckeditor.com/ticket/11177): Widget drag handler improvements:
|
||||
* [#11176](http://dev.ckeditor.com/ticket/11176): Fixed: Initial position is not updated when the widget data object is empty.
|
||||
* [#11001](http://dev.ckeditor.com/ticket/11001): Fixed: Multiple synchronous layout recalculations are caused by initial drag handler positioning causing performance issues.
|
||||
* [#11161](http://dev.ckeditor.com/ticket/11161): Fixed: Drag handler is not repositioned in various situations.
|
||||
* [#11281](http://dev.ckeditor.com/ticket/11281): Fixed: Drag handler and mask are duplicated after widget reinitialization.
|
||||
* [#11207](http://dev.ckeditor.com/ticket/11207): [Firefox] Fixed: Misplaced [Enhanced Image](http://ckeditor.com/addon/image2) resizer in the inline editor.
|
||||
* [#11102](http://dev.ckeditor.com/ticket/11102): `CKEDITOR.template` improvements:
|
||||
* [#11102](http://dev.ckeditor.com/ticket/11102): Added newline character support.
|
||||
* [#11216](http://dev.ckeditor.com/ticket/11216): Added "\\'" substring support.
|
||||
* [#11121](http://dev.ckeditor.com/ticket/11121): [Firefox] Fixed: High Contrast mode is enabled when the editor is loaded in a hidden iframe.
|
||||
* [#11350](http://dev.ckeditor.com/ticket/11350): The default value of [`config.contentsCss`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss) is affected by [`CKEDITOR.getUrl()`](http://docs.ckeditor.com/#!/api/CKEDITOR-method-getUrl).
|
||||
* [#11097](http://dev.ckeditor.com/ticket/11097): Improved the [Autogrow](http://ckeditor.com/addon/autogrow) plugin performance when dealing with very big tables.
|
||||
* [#11290](http://dev.ckeditor.com/ticket/11290): Removed redundant code in the [Source Dialog](http://ckeditor.com/addon/sourcedialog) plugin.
|
||||
* [#11133](http://dev.ckeditor.com/ticket/11133): [Page Break](http://ckeditor.com/addon/pagebreak) becomes editable if pasted.
|
||||
* [#11126](http://dev.ckeditor.com/ticket/11126): Fixed: Native Undo executed once the bottom of the snapshot stack is reached.
|
||||
* [#11131](http://dev.ckeditor.com/ticket/11131): [Div Editing Area](http://ckeditor.com/addon/divarea): Fixed: Error thrown when switching to source mode if the selection was in widget's nested editable.
|
||||
* [#11139](http://dev.ckeditor.com/ticket/11139): [Div Editing Area](http://ckeditor.com/addon/divarea): Fixed: Elements Path is not cleared after switching to source mode.
|
||||
* [#10778](http://dev.ckeditor.com/ticket/10778): Fixed a bug with range enlargement. The range no longer expands to visible whitespace.
|
||||
* [#11146](http://dev.ckeditor.com/ticket/11146): [IE] Fixed: Preview window switches Internet Explorer to Quirks Mode.
|
||||
* [#10762](http://dev.ckeditor.com/ticket/10762): [IE] Fixed: JavaScript code displayed in preview window's URL bar.
|
||||
* [#11186](http://dev.ckeditor.com/ticket/11186): Introduced the [`widgets.repository.addUpcastCallback()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-addUpcastCallback) method that allows to block upcasting given element to a widget.
|
||||
* [#11307](http://dev.ckeditor.com/ticket/11307): Fixed: Paste as Plain Text conflict with the [MooTools](http://mootools.net) library.
|
||||
* [#11140](http://dev.ckeditor.com/ticket/11140): [IE11] Fixed: Anchors are not draggable.
|
||||
* [#11379](http://dev.ckeditor.com/ticket/11379): Changed default contents `line-height` to unitless values to avoid huge text overlapping (like in [#9696](http://dev.ckeditor.com/ticket/9696)).
|
||||
* [#10787](http://dev.ckeditor.com/ticket/10787): [Firefox] Fixed: Broken replacement of text while pasting into `div`-based editor.
|
||||
* [#10884](http://dev.ckeditor.com/ticket/10884): Widgets integration with the [Show Blocks](http://ckeditor.com/addon/showblocks) plugin.
|
||||
* [#11021](http://dev.ckeditor.com/ticket/11021): Fixed: An error thrown when selecting entire editable contents while fake selection is on.
|
||||
* [#11086](http://dev.ckeditor.com/ticket/11086): [IE8] Re-enable inline widgets drag&drop in Internet Explorer 8.
|
||||
* [#11372](http://dev.ckeditor.com/ticket/11372): Widgets: Special characters encoded twice in nested editables.
|
||||
* [#10068](http://dev.ckeditor.com/ticket/10068): Fixed: Support for protocol-relative URLs.
|
||||
* [#11283](http://dev.ckeditor.com/ticket/11283): [Enhanced Image](http://ckeditor.com/addon/image2): A `<div>` element with `text-align: center` and an image inside is not recognised correctly.
|
||||
* [#11196](http://dev.ckeditor.com/ticket/11196): [Accessibility Instructions](http://ckeditor.com/addon/a11yhelp): Allowed additional keyboard button labels to be translated in the dialog window.
|
||||
|
||||
## CKEditor 4.3.1
|
||||
|
||||
**Important Notes:**
|
||||
|
||||
* To match the naming convention, the `language` button is now `Language` ([#11201](http://dev.ckeditor.com/ticket/11201)).
|
||||
* [Enhanced Image](http://ckeditor.com/addon/image2) button, context menu, command, and icon names match those of the [Image](http://ckeditor.com/addon/image) plugin ([#11222](http://dev.ckeditor.com/ticket/11222)).
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#11244](http://dev.ckeditor.com/ticket/11244): Changed: The [`widget.repository.checkWidgets()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-checkWidgets) method now fires the [`widget.repository.checkWidgets`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-event-checkWidgets) event, so from CKEditor 4.3.1 it is preferred to use the method rather than fire the event.
|
||||
* [#11171](http://dev.ckeditor.com/ticket/11171): Fixed: [`editor.insertElement()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertElement) and [`editor.insertText()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertText) methods do not call the [`widget.repository.checkWidgets()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.repository-method-checkWidgets) method.
|
||||
* [#11085](http://dev.ckeditor.com/ticket/11085): [IE8] Replaced preview generated by the [Mathematical Formulas](http://ckeditor.com/addon/mathjax) widget with a placeholder.
|
||||
* [#11044](http://dev.ckeditor.com/ticket/11044): Enhanced WAI-ARIA support for the [Language](http://ckeditor.com/addon/language) plugin drop-down menu.
|
||||
* [#11075](http://dev.ckeditor.com/ticket/11075): With drop-down menu button focused, pressing the *Down Arrow* key will now open the menu and focus its first option.
|
||||
* [#11165](http://dev.ckeditor.com/ticket/11165): Fixed: The [File Browser](http://ckeditor.com/addon/filebrowser) plugin cannot be removed from the editor.
|
||||
* [#11159](http://dev.ckeditor.com/ticket/11159): [IE9-10] [Enhanced Image](http://ckeditor.com/addon/image2): Fixed buggy discovery of image dimensions.
|
||||
* [#11101](http://dev.ckeditor.com/ticket/11101): Drop-down lists no longer break when given double quotes.
|
||||
* [#11077](http://dev.ckeditor.com/ticket/11077): [Enhanced Image](http://ckeditor.com/addon/image2): Empty undo step recorded when resizing the image.
|
||||
* [#10853](http://dev.ckeditor.com/ticket/10853): [Enhanced Image](http://ckeditor.com/addon/image2): Widget has paragraph wrapper when de-captioning unaligned image.
|
||||
* [#11198](http://dev.ckeditor.com/ticket/11198): Widgets: Drag handler is not fully visible when an inline widget is in a heading.
|
||||
* [#11132](http://dev.ckeditor.com/ticket/11132): [Firefox] Fixed: Caret is lost after drag and drop of an inline widget.
|
||||
* [#11182](http://dev.ckeditor.com/ticket/11182): [IE10-11] Fixed: Editor crashes (IE11) or works with minor issues (IE10) if a page is loaded in Quirks Mode. See [`env.quirks`](http://docs.ckeditor.com/#!/api/CKEDITOR.env-property-quirks) for more details.
|
||||
* [#11204](http://dev.ckeditor.com/ticket/11204): Added `figure` and `figcaption` styles to the `contents.css` file so [Enhanced Image](http://ckeditor.com/addon/image2) looks nicer.
|
||||
* [#11202](http://dev.ckeditor.com/ticket/11202): Fixed: No newline in [BBCode](http://ckeditor.com/addon/bbcode) mode.
|
||||
* [#10890](http://dev.ckeditor.com/ticket/10890): Fixed: Error thrown when pressing the *Delete* key in a list item.
|
||||
* [#10055](http://dev.ckeditor.com/ticket/10055): [IE8-10] Fixed: *Delete* pressed on a selected image causes the browser to go back.
|
||||
* [#11183](http://dev.ckeditor.com/ticket/11183): Fixed: Inserting a horizontal rule or a table in multiple row selection causes a browser crash. Additionally, the [`editor.insertElement()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertElement) method does not insert the element into every range of a selection any more.
|
||||
* [#11042](http://dev.ckeditor.com/ticket/11042): Fixed: Selection made on an element containing a non-editable element was not auto faked.
|
||||
* [#11125](http://dev.ckeditor.com/ticket/11125): Fixed: Keyboard navigation through menu and drop-down items will now cycle.
|
||||
* [#11011](http://dev.ckeditor.com/ticket/11011): Fixed: The [`editor.applyStyle()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-applyStyle) method removes attributes from nested elements.
|
||||
* [#11179](http://dev.ckeditor.com/ticket/11179): Fixed: [`editor.destroy()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-destroy) does not cleanup content generated by the [Table Resize](http://ckeditor.com/addon/tableresize) plugin for inline editors.
|
||||
* [#11237](http://dev.ckeditor.com/ticket/11237): Fixed: Table border attribute value is deleted when pasting content from Microsoft Word.
|
||||
* [#11250](http://dev.ckeditor.com/ticket/11250): Fixed: HTML entities inside the `<textarea>` element are not encoded.
|
||||
* [#11260](http://dev.ckeditor.com/ticket/11260): Fixed: Initially disabled buttons are not read by JAWS as disabled.
|
||||
* [#11200](http://dev.ckeditor.com/ticket/11200): Added [Clipboard](http://ckeditor.com/addon/clipboard) plugin as a dependency for [Widget](http://ckeditor.com/addon/widget) to fix drag and drop.
|
||||
|
||||
## CKEditor 4.3
|
||||
|
||||
New Features:
|
||||
|
||||
* [#10612](http://dev.ckeditor.com/ticket/10612): Internet Explorer 11 support.
|
||||
* [#10869](http://dev.ckeditor.com/ticket/10869): Widgets: Added better integration with the [Elements Path](http://ckeditor.com/addon/elementspath) plugin.
|
||||
* [#10886](http://dev.ckeditor.com/ticket/10886): Widgets: Added tooltip to the drag handle.
|
||||
* [#10933](http://dev.ckeditor.com/ticket/10933): Widgets: Introduced drag and drop of block widgets with the [Line Utilities](http://ckeditor.com/addon/lineutils) plugin.
|
||||
* [#10936](http://dev.ckeditor.com/ticket/10936): Widget System changes for easier integration with other dialog systems.
|
||||
* [#10895](http://dev.ckeditor.com/ticket/10895): [Enhanced Image](http://ckeditor.com/addon/image2): Added file browser integration.
|
||||
* [#11002](http://dev.ckeditor.com/ticket/11002): Added the [`draggable`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget.definition-property-draggable) option to disable drag and drop support for widgets.
|
||||
* [#10937](http://dev.ckeditor.com/ticket/10937): [Mathematical Formulas](http://ckeditor.com/addon/mathjax) widget improvements:
|
||||
* loading indicator ([#10948](http://dev.ckeditor.com/ticket/10948)),
|
||||
* applying paragraph changes (like font color change) to iframe ([#10841](http://dev.ckeditor.com/ticket/10841)),
|
||||
* Firefox and IE9 clipboard fixes ([#10857](http://dev.ckeditor.com/ticket/10857)),
|
||||
* fixing same origin policy issue ([#10840](http://dev.ckeditor.com/ticket/10840)),
|
||||
* fixing undo bugs ([#10842](http://dev.ckeditor.com/ticket/10842), [#10930](http://dev.ckeditor.com/ticket/10930)),
|
||||
* fixing other minor bugs.
|
||||
* [#10862](http://dev.ckeditor.com/ticket/10862): [Placeholder](http://ckeditor.com/addon/placeholder) plugin was rewritten as a widget.
|
||||
* [#10822](http://dev.ckeditor.com/ticket/10822): Added styles system integration with non-editable elements (for example widgets) and their nested editables. Styles cannot change non-editable content and are applied in nested editable only if allowed by its type and content filter.
|
||||
* [#10856](http://dev.ckeditor.com/ticket/10856): Menu buttons will now toggle the visibility of their panels when clicked multiple times. [Language](http://ckeditor.com/addon/language) plugin fixes: Added active language highlighting, added an option to remove the language.
|
||||
* [#10028](http://dev.ckeditor.com/ticket/10028): New [`config.dialog_noConfirmCancel`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-dialog_noConfirmCancel) configuration option that eliminates the need to confirm closing of a dialog window when the user changed any of its fields.
|
||||
* [#10848](http://dev.ckeditor.com/ticket/10848): Integrate remaining plugins ([Styles](http://ckeditor.com/addon/stylescombo), [Format](http://ckeditor.com/addon/format), [Font](http://ckeditor.com/addon/font), [Color Button](http://ckeditor.com/addon/colorbutton), [Language](http://ckeditor.com/addon/language) and [Indent](http://ckeditor.com/addon/indent)) with [active filter](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-activeFilter).
|
||||
* [#10855](http://dev.ckeditor.com/ticket/10855): Change the extension of emoticons in the [BBCode](http://ckeditor.com/addon/bbcode) sample from GIF to PNG.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10831](http://dev.ckeditor.com/ticket/10831): [Enhanced Image](http://ckeditor.com/addon/image2): Merged `image2inline` and `image2block` into one `image2` widget.
|
||||
* [#10835](http://dev.ckeditor.com/ticket/10835): [Enhanced Image](http://ckeditor.com/addon/image2): Improved visibility of the resize handle.
|
||||
* [#10836](http://dev.ckeditor.com/ticket/10836): [Enhanced Image](http://ckeditor.com/addon/image2): Preserve custom mouse cursor while resizing the image.
|
||||
* [#10939](http://dev.ckeditor.com/ticket/10939): [Firefox] [Enhanced Image](http://ckeditor.com/addon/image2): hovering the image causes it to change.
|
||||
* [#10866](http://dev.ckeditor.com/ticket/10866): Fixed: Broken *Tab* key navigation in the [Enhanced Image](http://ckeditor.com/addon/image2) dialog window.
|
||||
* [#10833](http://dev.ckeditor.com/ticket/10833): Fixed: *Lock ratio* option should be on by default in the [Enhanced Image](http://ckeditor.com/addon/image2) dialog window.
|
||||
* [#10881](http://dev.ckeditor.com/ticket/10881): Various improvements to *Enter* key behavior in nested editables.
|
||||
* [#10879](http://dev.ckeditor.com/ticket/10879): [Remove Format](http://ckeditor.com/addon/removeformat) should not leak from a nested editable.
|
||||
* [#10877](http://dev.ckeditor.com/ticket/10877): Fixed: [WebSpellChecker](http://ckeditor.com/addon/wsc) fails to apply changes if a nested editable was focused.
|
||||
* [#10877](http://dev.ckeditor.com/ticket/10877): Fixed: [SCAYT](http://ckeditor.com/addon/wsc) blocks typing in nested editables.
|
||||
* [#11079](http://dev.ckeditor.com/ticket/11079): Add button icons to the [Placeholder](http://ckeditor.com/addon/placeholder) sample.
|
||||
* [#10870](http://dev.ckeditor.com/ticket/10870): The `paste` command is no longer being disabled when the clipboard is empty.
|
||||
* [#10854](http://dev.ckeditor.com/ticket/10854): Fixed: Firefox prepends `<br>` to `<body>`, so it is stripped by the HTML data processor.
|
||||
* [#10823](http://dev.ckeditor.com/ticket/10823): Fixed: [Link](http://ckeditor.com/addon/link) plugin does not work with non-editable content.
|
||||
* [#10828](http://dev.ckeditor.com/ticket/10828): [Magic Line](http://ckeditor.com/addon/magicline) integration with the Widget System.
|
||||
* [#10865](http://dev.ckeditor.com/ticket/10865): Improved hiding copybin, so copying widgets works smoothly.
|
||||
* [#11066](http://dev.ckeditor.com/ticket/11066): Widget's private parts use CSS reset.
|
||||
* [#11027](http://dev.ckeditor.com/ticket/11027): Fixed: Block commands break on widgets; added the [`contentDomInvalidated`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-contentDomInvalidated) event.
|
||||
* [#10430](http://dev.ckeditor.com/ticket/10430): Resolve dependence of the [Image](http://ckeditor.com/addon/image) plugin on the [Form Elements](http://ckeditor.com/addon/forms) plugin.
|
||||
* [#10911](http://dev.ckeditor.com/ticket/10911): Fixed: Browser *Alt* hotkeys will no longer be blocked while a widget is focused.
|
||||
* [#11082](http://dev.ckeditor.com/ticket/11082): Fixed: Selected widget is not copied or cut when using toolbar buttons or context menu.
|
||||
* [#11083](http://dev.ckeditor.com/ticket/11083): Fixed list and div element application to block widgets.
|
||||
* [#10887](http://dev.ckeditor.com/ticket/10887): Internet Explorer 8 compatibility issues related to the Widget System.
|
||||
* [#11074](http://dev.ckeditor.com/ticket/11074): Temporarily disabled inline widget drag and drop, because of seriously buggy native `range#moveToPoint` method.
|
||||
* [#11098](http://dev.ckeditor.com/ticket/11098): Fixed: Wrong selection position after undoing widget drag and drop.
|
||||
* [#11110](http://dev.ckeditor.com/ticket/11110): Fixed: IFrame and Flash objects are being incorrectly pasted in certain conditions.
|
||||
* [#11129](http://dev.ckeditor.com/ticket/11129): Page break is lost when loading data.
|
||||
* [#11123](http://dev.ckeditor.com/ticket/11123): [Firefox] Widget is destroyed after being dragged outside of `<body>`.
|
||||
* [#11124](http://dev.ckeditor.com/ticket/11124): Fixed the [Elements Path](http://ckeditor.com/addon/elementspath) in an editor using the [Div Editing Area](http://ckeditor.com/addon/divarea).
|
||||
|
||||
## CKEditor 4.3 Beta
|
||||
|
||||
New Features:
|
||||
|
||||
* [#9764](http://dev.ckeditor.com/ticket/9764): Widget System.
|
||||
* [Widget plugin](http://ckeditor.com/addon/widget) introducing the [Widget API](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.widget).
|
||||
* New [`editor.enterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-enterMode) and [`editor.shiftEnterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-shiftEnterMode) properties – normalized versions of [`config.enterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-enterMode) and [`config.shiftEnterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-shiftEnterMode).
|
||||
* Dynamic editor settings. Starting from CKEditor 4.3 Beta, *Enter* mode values and [content filter](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter) instances may be changed dynamically (for example when the caret was placed in an element in which editor features should be adjusted). When you are implementing a new editor feature, you should base its behavior on [dynamic](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-activeEnterMode) or [static](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-enterMode) *Enter* mode values depending on whether this feature works in selection context or globally on editor content.
|
||||
* Dynamic *Enter* mode values – [`editor.setActiveEnterMode()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setActiveEnterMode) method, [`editor.activeEnterModeChange`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-activeEnterModeChange) event, and two properties: [`editor.activeEnterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-activeEnterMode) and [`editor.activeShiftEnterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-activeShiftEnterMode).
|
||||
* Dynamic content filter instances – [`editor.setActiveFilter()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setActiveFilter) method, [`editor.activeFilterChange`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-activeFilterChange) event, and [`editor.activeFilter`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-activeFilter) property.
|
||||
* "Fake" selection was introduced. It makes it possible to virtually select any element when the real selection remains hidden. See the [`selection.fake()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.selection-method-fake) method.
|
||||
* Default [`htmlParser.filter`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.filter) rules are not applied to non-editable elements (elements with `contenteditable` attribute set to `false` and their descendants) anymore. To add a rule which will be applied to all elements you need to pass an additional argument to the [`filter.addRules()`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.filter-method-addRules) method.
|
||||
* Dozens of new methods were introduced – most interesting ones:
|
||||
* [`document.find()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.document-method-find),
|
||||
* [`document.findOne()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.document-method-findOne),
|
||||
* [`editable.insertElementIntoRange()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editable-method-insertElementIntoRange),
|
||||
* [`range.moveToClosestEditablePosition()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.range-method-moveToClosestEditablePosition),
|
||||
* New methods for [`htmlParser.node`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.node) and [`htmlParser.element`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.element).
|
||||
* [#10659](http://dev.ckeditor.com/ticket/10659): New [Enhanced Image](http://ckeditor.com/addon/image2) plugin that introduces a widget with integrated image captions, an option to center images, and dynamic "click and drag" resizing.
|
||||
* [#10664](http://dev.ckeditor.com/ticket/10664): New [Mathematical Formulas](http://ckeditor.com/addon/mathjax) plugin that introduces the MathJax widget.
|
||||
* [#7987](https://dev.ckeditor.com/ticket/7987): New [Language](http://ckeditor.com/addon/language) plugin that implements Language toolbar button to support [WCAG 3.1.2 Language of Parts](http://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html).
|
||||
* [#10708](http://dev.ckeditor.com/ticket/10708): New [smileys](http://ckeditor.com/addon/smiley).
|
||||
|
||||
## CKEditor 4.2.3
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10994](http://dev.ckeditor.com/ticket/10994): Fixed: Loading external jQuery library when opening the [jQuery Adapter](http://docs.ckeditor.com/#!/guide/dev_jquery) sample directly from file.
|
||||
* [#10975](http://dev.ckeditor.com/ticket/10975): [IE] Fixed: Error thrown while opening the color palette.
|
||||
* [#9929](http://dev.ckeditor.com/ticket/9929): [Blink/WebKit] Fixed: A non-breaking space is created once a character is deleted and a regular space is typed.
|
||||
* [#10963](http://dev.ckeditor.com/ticket/10963): Fixed: JAWS issue with the keyboard shortcut for [Magic Line](http://ckeditor.com/addon/magicline).
|
||||
* [#11096](http://dev.ckeditor.com/ticket/11096): Fixed: TypeError: Object has no method 'is'.
|
||||
|
||||
## CKEditor 4.2.2
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#9314](http://dev.ckeditor.com/ticket/9314): Fixed: Incorrect error message on closing a dialog window without saving changs.
|
||||
* [#10308](http://dev.ckeditor.com/ticket/10308): [IE10] Fixed: Unspecified error when deleting a row.
|
||||
* [#10945](http://dev.ckeditor.com/ticket/10945): [Chrome] Fixed: Clicking with a mouse inside the editor does not show the caret.
|
||||
* [#10912](http://dev.ckeditor.com/ticket/10912): Prevent default action when content of a non-editable link is clicked.
|
||||
* [#10913](http://dev.ckeditor.com/ticket/10913): Fixed [`CKEDITOR.plugins.addExternal()`](http://docs.ckeditor.com/#!/api/CKEDITOR.resourceManager-method-addExternal) not handling paths including file name specified.
|
||||
* [#10666](http://dev.ckeditor.com/ticket/10666): Fixed [`CKEDITOR.tools.isArray()`](http://docs.ckeditor.com/#!/api/CKEDITOR.tools-method-isArray) not working cross frame.
|
||||
* [#10910](http://dev.ckeditor.com/ticket/10910): [IE9] Fixed JavaScript error thrown in Compatibility Mode when clicking and/or typing in the editing area.
|
||||
* [#10868](http://dev.ckeditor.com/ticket/10868): [IE8] Prevent the browser from crashing when applying the Inline Quotation style.
|
||||
* [#10915](http://dev.ckeditor.com/ticket/10915): Fixed: Invalid CSS filter in the Kama skin.
|
||||
* [#10914](http://dev.ckeditor.com/ticket/10914): Plugins [Indent List](http://ckeditor.com/addon/indentlist) and [Indent Block](http://ckeditor.com/addon/indentblock) are now included in the build configuration.
|
||||
* [#10812](http://dev.ckeditor.com/ticket/10812): Fixed [`range.createBookmark2()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dom.range-method-createBookmark2) incorrectly normalizing offsets. This bug was causing many issues: [#10850](http://dev.ckeditor.com/ticket/10850), [#10842](http://dev.ckeditor.com/ticket/10842).
|
||||
* [#10951](http://dev.ckeditor.com/ticket/10951): Reviewed and optimized focus handling on panels (combo, menu buttons, color buttons, and context menu) to enhance accessibility. Fixed [#10705](http://dev.ckeditor.com/ticket/10705), [#10706](http://dev.ckeditor.com/ticket/10706) and [#10707](http://dev.ckeditor.com/ticket/10707).
|
||||
* [#10704](http://dev.ckeditor.com/ticket/10704): Fixed a JAWS issue with the Select Color dialog window title not being announced.
|
||||
* [#10753](http://dev.ckeditor.com/ticket/10753): The floating toolbar in inline instances now has a dedicated accessibility label.
|
||||
|
||||
## CKEditor 4.2.1
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10301](http://dev.ckeditor.com/ticket/10301): [IE9-10] Undo fails after 3+ consecutive paste actions with a JavaScript error.
|
||||
* [#10689](http://dev.ckeditor.com/ticket/10689): Save toolbar button saves only the first editor instance.
|
||||
* [#10368](http://dev.ckeditor.com/ticket/10368): Move language reading direction definition (`dir`) from main language file to core.
|
||||
* [#9330](http://dev.ckeditor.com/ticket/9330): Fixed pasting anchors from MS Word.
|
||||
* [#8103](http://dev.ckeditor.com/ticket/8103): Fixed pasting nested lists from MS Word.
|
||||
* [#9958](http://dev.ckeditor.com/ticket/9958): [IE9] Pressing the "OK" button will trigger the `onbeforeunload` event in the popup dialog.
|
||||
* [#10662](http://dev.ckeditor.com/ticket/10662): Fixed styles from the Styles drop-down list not registering to the ACF in case when the [Shared Spaces plugin](http://ckeditor.com/addon/sharedspace) is used.
|
||||
* [#9654](http://dev.ckeditor.com/ticket/9654): Problems with Internet Explorer 10 Quirks Mode.
|
||||
* [#9816](http://dev.ckeditor.com/ticket/9816): Floating toolbar does not reposition vertically in several cases.
|
||||
* [#10646](http://dev.ckeditor.com/ticket/10646): Removing a selected sublist or nested table with *Backspace/Delete* removes the parent element.
|
||||
* [#10623](http://dev.ckeditor.com/ticket/10623): [WebKit] Page is scrolled when opening a drop-down list.
|
||||
* [#10004](http://dev.ckeditor.com/ticket/10004): [ChromeVox] Button names are not announced.
|
||||
* [#10731](http://dev.ckeditor.com/ticket/10731): [WebSpellChecker](http://ckeditor.com/addon/wsc) plugin breaks cloning of editor configuration.
|
||||
* It is now possible to set per instance [WebSpellChecker](http://ckeditor.com/addon/wsc) plugin configuration instead of setting the configuration globally.
|
||||
|
||||
## CKEditor 4.2
|
||||
|
||||
**Important Notes:**
|
||||
|
||||
* Dropped compatibility support for Internet Explorer 7 and Firefox 3.6.
|
||||
|
||||
* Both the Basic and the Standard distribution packages will not contain the new [Indent Block](http://ckeditor.com/addon/indentblock) plugin. Because of this the [Advanced Content Filter](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter) might remove block indentations from existing contents. If you want to prevent this, either [add an appropriate ACF rule to your filter](http://docs.ckeditor.com/#!/guide/dev_allowed_content_rules) or create a custom build based on the Basic/Standard package and add the Indent Block plugin in [CKBuilder](http://ckeditor.com/builder).
|
||||
|
||||
New Features:
|
||||
|
||||
* [#10027](http://dev.ckeditor.com/ticket/10027): Separated list and block indentation into two plugins: [Indent List](http://ckeditor.com/addon/indentlist) and [Indent Block](http://ckeditor.com/addon/indentblock).
|
||||
* [#8244](http://dev.ckeditor.com/ticket/8244): Use *(Shift+)Tab* to indent and outdent lists.
|
||||
* [#10281](http://dev.ckeditor.com/ticket/10281): The [jQuery Adapter](http://docs.ckeditor.com/#!/guide/dev_jquery) is now available. Several jQuery-related issues fixed: [#8261](http://dev.ckeditor.com/ticket/8261), [#9077](http://dev.ckeditor.com/ticket/9077), [#8710](http://dev.ckeditor.com/ticket/8710), [#8530](http://dev.ckeditor.com/ticket/8530), [#9019](http://dev.ckeditor.com/ticket/9019), [#6181](http://dev.ckeditor.com/ticket/6181), [#7876](http://dev.ckeditor.com/ticket/7876), [#6906](http://dev.ckeditor.com/ticket/6906).
|
||||
* [#10042](http://dev.ckeditor.com/ticket/10042): Introduced [`config.title`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-title) setting to change the human-readable title of the editor.
|
||||
* [#9794](http://dev.ckeditor.com/ticket/9794): Added [`editor.onChange`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-change) event.
|
||||
* [#9923](http://dev.ckeditor.com/ticket/9923): HiDPI support in the editor UI. HiDPI icons for [Moono skin](http://ckeditor.com/addon/moono) added.
|
||||
* [#8031](http://dev.ckeditor.com/ticket/8031): Handle `required` attributes on `<textarea>` elements — introduced [`editor.required`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-required) event.
|
||||
* [#10280](http://dev.ckeditor.com/ticket/10280): Ability to replace `<textarea>` elements with the inline editor.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10599](http://dev.ckeditor.com/ticket/10599): [Indent](http://ckeditor.com/addon/indent) plugin is no longer required by the [List](http://ckeditor.com/addon/list) plugin.
|
||||
* [#10370](http://dev.ckeditor.com/ticket/10370): Inconsistency in data events between framed and inline editors.
|
||||
* [#10438](http://dev.ckeditor.com/ticket/10438): [FF, IE] No selection is done on an editable element on executing [`editor.setData()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData).
|
||||
|
||||
## CKEditor 4.1.3
|
||||
|
||||
New Features:
|
||||
|
||||
* Added new translation: Indonesian.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10644](http://dev.ckeditor.com/ticket/10644): Fixed a critical bug when pasting plain text in Blink-based browsers.
|
||||
* [#5189](http://dev.ckeditor.com/ticket/5189): [Find/Replace](http://ckeditor.com/addon/find) dialog window: rename "Cancel" button to "Close".
|
||||
* [#10562](http://dev.ckeditor.com/ticket/10562): [Housekeeping] Unified CSS gradient filter formats in the [Moono](http://ckeditor.com/addon/moono) skin.
|
||||
* [#10537](http://dev.ckeditor.com/ticket/10537): Advanced Content Filter should register a default rule for [`config.shiftEnterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-shiftEnterMode).
|
||||
* [#10610](http://dev.ckeditor.com/ticket/10610): [`CKEDITOR.dialog.addIframe()`](http://docs.ckeditor.com/#!/api/CKEDITOR.dialog-static-method-addIframe) incorrectly sets the iframe size in dialog windows.
|
||||
|
||||
## CKEditor 4.1.2
|
||||
|
||||
New Features:
|
||||
|
||||
* Added new translation: Sinhala.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10339](http://dev.ckeditor.com/ticket/10339): Fixed: Error thrown when inserted data was totally stripped out after filtering and processing.
|
||||
* [#10298](http://dev.ckeditor.com/ticket/10298): Fixed: Data processor breaks attributes containing protected parts.
|
||||
* [#10367](http://dev.ckeditor.com/ticket/10367): Fixed: [`editable.insertText()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editable-method-insertText) loses characters when `RegExp` replace controls are being inserted.
|
||||
* [#10165](http://dev.ckeditor.com/ticket/10165): [IE] Access denied error when `document.domain` has been altered.
|
||||
* [#9761](http://dev.ckeditor.com/ticket/9761): Update the *Backspace* key state in [`keystrokeHandler.blockedKeystrokes`](http://docs.ckeditor.com/#!/api/CKEDITOR.keystrokeHandler-property-blockedKeystrokes) when calling [`editor.setReadOnly()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setReadOnly).
|
||||
* [#6504](http://dev.ckeditor.com/ticket/6504): Fixed: Race condition while loading several [`config.customConfig`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-customConfig) files.
|
||||
* [#10146](http://dev.ckeditor.com/ticket/10146): [Firefox] Empty lines are being removed while [`config.enterMode`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-enterMode) is [`CKEDITOR.ENTER_BR`](http://docs.ckeditor.com/#!/api/CKEDITOR-property-ENTER_BR).
|
||||
* [#10360](http://dev.ckeditor.com/ticket/10360): Fixed: ARIA `role="application"` should not be used for dialog windows.
|
||||
* [#10361](http://dev.ckeditor.com/ticket/10361): Fixed: ARIA `role="application"` should not be used for floating panels.
|
||||
* [#10510](http://dev.ckeditor.com/ticket/10510): Introduced unique voice labels to differentiate between different editor instances.
|
||||
* [#9945](http://dev.ckeditor.com/ticket/9945): [iOS] Scrolling not possible on iPad.
|
||||
* [#10389](http://dev.ckeditor.com/ticket/10389): Fixed: Invalid HTML in the "Text and Table" template.
|
||||
* [WebSpellChecker](http://ckeditor.com/addon/wsc) plugin user interface was changed to match CKEditor 4 style.
|
||||
|
||||
## CKEditor 4.1.1
|
||||
|
||||
New Features:
|
||||
|
||||
* Added new translation: Albanian.
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10172](http://dev.ckeditor.com/ticket/10172): Pressing *Delete* or *Backspace* in an empty table cell moves the cursor to the next/previous cell.
|
||||
* [#10219](http://dev.ckeditor.com/ticket/10219): Error thrown when destroying an editor instance in parallel with a `mouseup` event.
|
||||
* [#10265](http://dev.ckeditor.com/ticket/10265): Wrong loop type in the [File Browser](http://ckeditor.com/addon/filebrowser) plugin.
|
||||
* [#10249](http://dev.ckeditor.com/ticket/10249): Wrong undo/redo states at start.
|
||||
* [#10268](http://dev.ckeditor.com/ticket/10268): [Show Blocks](http://ckeditor.com/addon/showblocks) does not recover after switching to Source view.
|
||||
* [#9995](http://dev.ckeditor.com/ticket/9995): HTML code in the `<textarea>` should not be modified by the [`htmlDataProcessor`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlDataProcessor).
|
||||
* [#10320](http://dev.ckeditor.com/ticket/10320): [Justify](http://ckeditor.com/addon/justify) plugin should add elements to Advanced Content Filter based on current [Enter mode](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-enterMode).
|
||||
* [#10260](http://dev.ckeditor.com/ticket/10260): Fixed: Advanced Content Filter blocks [`tabSpaces`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-tabSpaces). Unified `data-cke-*` attributes filtering.
|
||||
* [#10315](http://dev.ckeditor.com/ticket/10315): [WebKit] [Undo manager](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.undo.UndoManager) should not record snapshots after a filling character was added/removed.
|
||||
* [#10291](http://dev.ckeditor.com/ticket/10291): [WebKit] Space after a filling character should be secured.
|
||||
* [#10330](http://dev.ckeditor.com/ticket/10330): [WebKit] The filling character is not removed on `keydown` in specific cases.
|
||||
* [#10285](http://dev.ckeditor.com/ticket/10285): Fixed: Styled text pasted from MS Word causes an infinite loop.
|
||||
* [#10131](http://dev.ckeditor.com/ticket/10131): Fixed: [`undoManager.update()`](http://docs.ckeditor.com/#!/api/CKEDITOR.plugins.undo.UndoManager-method-update) does not refresh the command state.
|
||||
* [#10337](http://dev.ckeditor.com/ticket/10337): Fixed: Unable to remove `<s>` using [Remove Format](http://ckeditor.com/addon/removeformat).
|
||||
|
||||
## CKEditor 4.1
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10192](http://dev.ckeditor.com/ticket/10192): Closing lists with the *Enter* key does not work with [Advanced Content Filter](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter) in several cases.
|
||||
* [#10191](http://dev.ckeditor.com/ticket/10191): Fixed allowed content rules unification, so the [`filter.allowedContent`](http://docs.ckeditor.com/#!/api/CKEDITOR.filter-property-allowedContent) property always contains rules in the same format.
|
||||
* [#10224](http://dev.ckeditor.com/ticket/10224): Advanced Content Filter does not remove non-empty `<a>` elements anymore.
|
||||
* Minor issues in plugin integration with Advanced Content Filter:
|
||||
* [#10166](http://dev.ckeditor.com/ticket/10166): Added transformation from the `align` attribute to `float` style to preserve backward compatibility after the introduction of Advanced Content Filter.
|
||||
* [#10195](http://dev.ckeditor.com/ticket/10195): [Image](http://ckeditor.com/addon/image) plugin no longer registers rules for links to Advanced Content Filter.
|
||||
* [#10213](http://dev.ckeditor.com/ticket/10213): [Justify](http://ckeditor.com/addon/justify) plugin is now correctly registering rules to Advanced Content Filter when [`config.justifyClasses`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-justifyClasses) is defined.
|
||||
|
||||
## CKEditor 4.1 RC
|
||||
|
||||
New Features:
|
||||
|
||||
* [#9829](http://dev.ckeditor.com/ticket/9829): Advanced Content Filter - data and features activation based on editor configuration.
|
||||
|
||||
Brand new data filtering system that works in 2 modes:
|
||||
|
||||
* Based on loaded features (toolbar items, plugins) - the data will be filtered according to what the editor in its
|
||||
current configuration can handle.
|
||||
* Based on [`config.allowedContent`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-allowedContent) rules - the data
|
||||
will be filtered and the editor features (toolbar items, commands, keystrokes) will be enabled if they are allowed.
|
||||
|
||||
See the `datafiltering.html` sample, [guides](http://docs.ckeditor.com/#!/guide/dev_advanced_content_filter) and [`CKEDITOR.filter` API documentation](http://docs.ckeditor.com/#!/api/CKEDITOR.filter).
|
||||
* [#9387](http://dev.ckeditor.com/ticket/9387): Reintroduced [Shared Spaces](http://ckeditor.com/addon/sharedspace) - the ability to display toolbar and bottom editor space in selected locations and to share them by different editor instances.
|
||||
* [#9907](http://dev.ckeditor.com/ticket/9907): Added the [`contentPreview`](http://docs.ckeditor.com/#!/api/CKEDITOR-event-contentPreview) event for preview data manipulation.
|
||||
* [#9713](http://dev.ckeditor.com/ticket/9713): Introduced the [Source Dialog](http://ckeditor.com/addon/sourcedialog) plugin that brings raw HTML editing for inline editor instances.
|
||||
* Included in [#9829](http://dev.ckeditor.com/ticket/9829): Introduced new events, [`toHtml`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-toHtml) and [`toDataFormat`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-toDataFormat), allowing for better integration with data processing.
|
||||
* [#9981](http://dev.ckeditor.com/ticket/9981): Added ability to filter [`htmlParser.fragment`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.fragment), [`htmlParser.element`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.element) etc. by many [`htmlParser.filter`](http://docs.ckeditor.com/#!/api/CKEDITOR.htmlParser.filter)s before writing structure to an HTML string.
|
||||
* Included in [#10103](http://dev.ckeditor.com/ticket/10103):
|
||||
* Introduced the [`editor.status`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-status) property to make it easier to check the current status of the editor.
|
||||
* Default [`command`](http://docs.ckeditor.com/#!/api/CKEDITOR.command) state is now [`CKEDITOR.TRISTATE_DISABLE`](http://docs.ckeditor.com/#!/api/CKEDITOR-property-TRISTATE_DISABLED). It will be activated on [`editor.instanceReady`](http://docs.ckeditor.com/#!/api/CKEDITOR-event-instanceReady) or immediately after being added if the editor is already initialized.
|
||||
* [#9796](http://dev.ckeditor.com/ticket/9796): Introduced `<s>` as a default tag for strikethrough, which replaces obsolete `<strike>` in HTML5.
|
||||
|
||||
## CKEditor 4.0.3
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#10196](http://dev.ckeditor.com/ticket/10196): Fixed context menus not opening with keyboard shortcuts when [Autogrow](http://ckeditor.com/addon/autogrow) is enabled.
|
||||
* [#10212](http://dev.ckeditor.com/ticket/10212): [IE7-10] Undo command throws errors after multiple switches between Source and WYSIWYG view.
|
||||
* [#10219](http://dev.ckeditor.com/ticket/10219): [Inline editor] Error thrown after calling [`editor.destroy()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-destroy).
|
||||
|
||||
## CKEditor 4.0.2
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#9779](http://dev.ckeditor.com/ticket/9779): Fixed overriding [`CKEDITOR.getUrl()`](http://docs.ckeditor.com/#!/api/CKEDITOR-method-getUrl) with `CKEDITOR_GETURL`.
|
||||
* [#9772](http://dev.ckeditor.com/ticket/9772): Custom buttons in the dialog window footer have different look and size ([Moono](http://ckeditor.com/addon/moono), [Kama](http://ckeditor.com/addon/kama) skins).
|
||||
* [#9029](http://dev.ckeditor.com/ticket/9029): Custom styles added with the [`stylesSet.add()`](http://docs.ckeditor.com/#!/api/CKEDITOR.stylesSet-method-add) are displayed in the wrong order.
|
||||
* [#9887](http://dev.ckeditor.com/ticket/9887): Disable [Magic Line](http://ckeditor.com/addon/magicline) when [`editor.readOnly`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-property-readOnly) is set.
|
||||
* [#9882](http://dev.ckeditor.com/ticket/9882): Fixed empty document title on [`editor.getData()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-getData) if set via the Document Properties dialog window.
|
||||
* [#9773](http://dev.ckeditor.com/ticket/9773): Fixed rendering problems with selection fields in the Kama skin.
|
||||
* [#9851](http://dev.ckeditor.com/ticket/9851): The [`selectionChange`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-event-selectionChange) event is not fired when mouse selection ended outside editable.
|
||||
* [#9903](http://dev.ckeditor.com/ticket/9903): [Inline editor] Bad positioning of floating space with page horizontal scroll.
|
||||
* [#9872](http://dev.ckeditor.com/ticket/9872): [`editor.checkDirty()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty) returns `true` when called onload. Removed the obsolete `editor.mayBeDirty` flag.
|
||||
* [#9893](http://dev.ckeditor.com/ticket/9893): [IE] Fixed broken toolbar when editing mixed direction content in Quirks mode.
|
||||
* [#9845](http://dev.ckeditor.com/ticket/9845): Fixed TAB navigation in the [Link](http://ckeditor.com/addon/link) dialog window when the Anchor option is used and no anchors are available.
|
||||
* [#9883](http://dev.ckeditor.com/ticket/9883): Maximizing was making the entire page editable with [divarea](http://ckeditor.com/addon/divarea)-based editors.
|
||||
* [#9940](http://dev.ckeditor.com/ticket/9940): [Firefox] Navigating back to a page with the editor was making the entire page editable.
|
||||
* [#9966](http://dev.ckeditor.com/ticket/9966): Fixed: Unable to type square brackets with French keyboard layout. Changed [Magic Line](http://ckeditor.com/addon/magicline) keystrokes.
|
||||
* [#9507](http://dev.ckeditor.com/ticket/9507): [Firefox] Selection is moved before editable position when the editor is focused for the first time.
|
||||
* [#9947](http://dev.ckeditor.com/ticket/9947): [WebKit] Editor overflows parent container in some edge cases.
|
||||
* [#10105](http://dev.ckeditor.com/ticket/10105): Fixed: Broken [sourcearea](http://ckeditor.com/addon/sourcearea) view when an RTL language is set.
|
||||
* [#10123](http://dev.ckeditor.com/ticket/10123): [WebKit] Fixed: Several dialog windows have broken layout since the latest WebKit release.
|
||||
* [#10152](http://dev.ckeditor.com/ticket/10152): Fixed: Invalid ARIA property used on menu items.
|
||||
|
||||
## CKEditor 4.0.1.1
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* Security update: Added protection against XSS attack and possible path disclosure in the PHP sample.
|
||||
|
||||
## CKEditor 4.0.1
|
||||
|
||||
Fixed Issues:
|
||||
|
||||
* [#9655](http://dev.ckeditor.com/ticket/9655): Support for IE Quirks Mode in the new [Moono skin](http://ckeditor.com/addon/moono).
|
||||
* Accessibility issues (mainly in inline editor): [#9364](http://dev.ckeditor.com/ticket/9364), [#9368](http://dev.ckeditor.com/ticket/9368), [#9369](http://dev.ckeditor.com/ticket/9369), [#9370](http://dev.ckeditor.com/ticket/9370), [#9541](http://dev.ckeditor.com/ticket/9541), [#9543](http://dev.ckeditor.com/ticket/9543), [#9841](http://dev.ckeditor.com/ticket/9841), [#9844](http://dev.ckeditor.com/ticket/9844).
|
||||
* [Magic Line](http://ckeditor.com/addon/magicline) plugin:
|
||||
* [#9481](http://dev.ckeditor.com/ticket/9481): Added accessibility support for Magic Line.
|
||||
* [#9509](http://dev.ckeditor.com/ticket/9509): Added Magic Line support for forms.
|
||||
* [#9573](http://dev.ckeditor.com/ticket/9573): Magic Line does not disappear on `mouseout` in a specific case.
|
||||
* [#9754](http://dev.ckeditor.com/ticket/9754): [WebKit] Cutting & pasting simple unformatted text generates an inline wrapper in WebKit browsers.
|
||||
* [#9456](http://dev.ckeditor.com/ticket/9456): [Chrome] Properly paste bullet list style from MS Word.
|
||||
* [#9699](http://dev.ckeditor.com/ticket/9699), [#9758](http://dev.ckeditor.com/ticket/9758): Improved selection locking when selecting by dragging.
|
||||
* Context menu:
|
||||
* [#9712](http://dev.ckeditor.com/ticket/9712): Opening the context menu destroys editor focus.
|
||||
* [#9366](http://dev.ckeditor.com/ticket/9366): Context menu should be displayed over the floating toolbar.
|
||||
* [#9706](http://dev.ckeditor.com/ticket/9706): Context menu generates a JavaScript error in inline mode when the editor is attached to a header element.
|
||||
* [#9800](http://dev.ckeditor.com/ticket/9800): Hide float panel when resizing the window.
|
||||
* [#9721](http://dev.ckeditor.com/ticket/9721): Padding in content of div-based editor puts the editing area under the bottom UI space.
|
||||
* [#9528](http://dev.ckeditor.com/ticket/9528): Host page `box-sizing` style should not influence the editor UI elements.
|
||||
* [#9503](http://dev.ckeditor.com/ticket/9503): [Form Elements](http://ckeditor.com/addon/forms) plugin adds context menu listeners only on supported input types. Added support for `tel`, `email`, `search` and `url` input types.
|
||||
* [#9769](http://dev.ckeditor.com/ticket/9769): Improved floating toolbar positioning in a narrow window.
|
||||
* [#9875](http://dev.ckeditor.com/ticket/9875): Table dialog window does not populate width correctly.
|
||||
* [#8675](http://dev.ckeditor.com/ticket/8675): Deleting cells in a nested table removes the outer table cell.
|
||||
* [#9815](http://dev.ckeditor.com/ticket/9815): Cannot edit dialog window fields in an editor initialized in the jQuery UI modal dialog.
|
||||
* [#8888](http://dev.ckeditor.com/ticket/8888): CKEditor dialog windows do not show completely in a small window.
|
||||
* [#9360](http://dev.ckeditor.com/ticket/9360): [Inline editor] Blocks shown for a `<div>` element stay permanently even after the user exits editing the `<div>`.
|
||||
* [#9531](http://dev.ckeditor.com/ticket/9531): [Firefox & Inline editor] Toolbar is lost when closing the Format drop-down list by clicking its button.
|
||||
* [#9553](http://dev.ckeditor.com/ticket/9553): Table width incorrectly set when the `border-width` style is specified.
|
||||
* [#9594](http://dev.ckeditor.com/ticket/9594): Cannot tab past CKEditor when it is in read-only mode.
|
||||
* [#9658](http://dev.ckeditor.com/ticket/9658): [IE9] Justify not working on selected images.
|
||||
* [#9686](http://dev.ckeditor.com/ticket/9686): Added missing contents styles for `<pre>` elements.
|
||||
* [#9709](http://dev.ckeditor.com/ticket/9709): [Paste from Word](http://ckeditor.com/addon/pastefromword) should not depend on configuration from other styles.
|
||||
* [#9726](http://dev.ckeditor.com/ticket/9726): Removed [Color Dialog](http://ckeditor.com/addon/colordialog) plugin dependency from [Table Tools](http://ckeditor.com/addon/tabletools).
|
||||
* [#9765](http://dev.ckeditor.com/ticket/9765): Toolbar Collapse command documented incorrectly in the [Accessibility Instructions](http://ckeditor.com/addon/a11yhelp) dialog window.
|
||||
* [#9771](http://dev.ckeditor.com/ticket/9771): [WebKit & Opera] Fixed scrolling issues when pasting.
|
||||
* [#9787](http://dev.ckeditor.com/ticket/9787): [IE9] `onChange` is not fired for checkboxes in dialogs.
|
||||
* [#9842](http://dev.ckeditor.com/ticket/9842): [Firefox 17] When opening a toolbar menu for the first time and pressing the *Down Arrow* key, focus goes to the next toolbar button instead of the menu options.
|
||||
* [#9847](http://dev.ckeditor.com/ticket/9847): [Elements Path](http://ckeditor.com/addon/elementspath) should not be initialized in the inline editor.
|
||||
* [#9853](http://dev.ckeditor.com/ticket/9853): [`editor.addRemoveFormatFilter()`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-addRemoveFormatFilter) is exposed before it really works.
|
||||
* [#8893](http://dev.ckeditor.com/ticket/8893): Value of the [`pasteFromWordCleanupFile`](http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-pasteFromWordCleanupFile) configuration option is now taken from the instance configuration.
|
||||
* [#9693](http://dev.ckeditor.com/ticket/9693): Removed "Live Preview" checkbox from UI color picker.
|
||||
|
||||
|
||||
## CKEditor 4.0
|
||||
|
||||
The first stable release of the new CKEditor 4 code line.
|
||||
|
||||
The CKEditor JavaScript API has been kept compatible with CKEditor 4, whenever
|
||||
possible. The list of relevant changes can be found in the [API Changes page of
|
||||
the CKEditor 4 documentation][1].
|
||||
|
||||
[1]: http://docs.ckeditor.com/#!/guide/dev_api_changes "API Changes"
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,39 @@
|
|||
CKEditor 4
|
||||
==========
|
||||
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
http://ckeditor.com - See LICENSE.md for license information.
|
||||
|
||||
CKEditor is a text editor to be used inside web pages. It's not a replacement
|
||||
for desktop text editors like Word or OpenOffice, but a component to be used as
|
||||
part of web applications and websites.
|
||||
|
||||
## Documentation
|
||||
|
||||
The full editor documentation is available online at the following address:
|
||||
http://docs.ckeditor.com
|
||||
|
||||
## Installation
|
||||
|
||||
Installing CKEditor is an easy task. Just follow these simple steps:
|
||||
|
||||
1. **Download** the latest version from the CKEditor website:
|
||||
http://ckeditor.com. You should have already completed this step, but be
|
||||
sure you have the very latest version.
|
||||
2. **Extract** (decompress) the downloaded file into the root of your website.
|
||||
|
||||
**Note:** CKEditor is by default installed in the `ckeditor` folder. You can
|
||||
place the files in whichever you want though.
|
||||
|
||||
## Checking Your Installation
|
||||
|
||||
The editor comes with a few sample pages that can be used to verify that
|
||||
installation proceeded properly. Take a look at the `samples` directory.
|
||||
|
||||
To test your installation, just call the following page at your website:
|
||||
|
||||
http://<your site>/<CKEditor installation path>/samples/index.html
|
||||
|
||||
For example:
|
||||
|
||||
http://www.example.com/ckeditor/samples/index.html
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
(function(a){CKEDITOR.config.jqueryOverrideVal="undefined"==typeof CKEDITOR.config.jqueryOverrideVal?!0:CKEDITOR.config.jqueryOverrideVal;"undefined"!=typeof a&&(a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor is not initialized yet, use ckeditor() with a callback.";return a},ckeditor:function(g,d){if(!CKEDITOR.env.isCompatible)throw Error("The environment is incompatible.");if(!a.isFunction(g))var k=d,d=g,g=k;var i=[],d=d||{};this.each(function(){var b=
|
||||
a(this),c=b.data("ckeditorInstance"),f=b.data("_ckeditorInstanceLock"),h=this,j=new a.Deferred;i.push(j.promise());if(c&&!f)g&&g.apply(c,[this]),j.resolve();else if(f)c.once("instanceReady",function(){setTimeout(function(){c.element?(c.element.$==h&&g&&g.apply(c,[h]),j.resolve()):setTimeout(arguments.callee,100)},0)},null,null,9999);else{if(d.autoUpdateElement||"undefined"==typeof d.autoUpdateElement&&CKEDITOR.config.autoUpdateElement)d.autoUpdateElementJquery=!0;d.autoUpdateElement=!1;b.data("_ckeditorInstanceLock",
|
||||
!0);c=a(this).is("textarea")?CKEDITOR.replace(h,d):CKEDITOR.inline(h,d);b.data("ckeditorInstance",c);c.on("instanceReady",function(d){var e=d.editor;setTimeout(function(){if(e.element){d.removeListener();e.on("dataReady",function(){b.trigger("dataReady.ckeditor",[e])});e.on("setData",function(a){b.trigger("setData.ckeditor",[e,a.data])});e.on("getData",function(a){b.trigger("getData.ckeditor",[e,a.data])},999);e.on("destroy",function(){b.trigger("destroy.ckeditor",[e])});e.on("save",function(){a(h.form).submit();
|
||||
return!1},null,null,20);if(e.config.autoUpdateElementJquery&&b.is("textarea")&&a(h.form).length){var c=function(){b.ckeditor(function(){e.updateElement()})};a(h.form).submit(c);a(h.form).bind("form-pre-serialize",c);b.bind("destroy.ckeditor",function(){a(h.form).unbind("submit",c);a(h.form).unbind("form-pre-serialize",c)})}e.on("destroy",function(){b.removeData("ckeditorInstance")});b.removeData("_ckeditorInstanceLock");b.trigger("instanceReady.ckeditor",[e]);g&&g.apply(e,[h]);j.resolve()}else setTimeout(arguments.callee,
|
||||
100)},0)},null,null,9999)}});var f=new a.Deferred;this.promise=f.promise();a.when.apply(this,i).then(function(){f.resolve()});this.editor=this.eq(0).data("ckeditorInstance");return this}}),CKEDITOR.config.jqueryOverrideVal&&(a.fn.val=CKEDITOR.tools.override(a.fn.val,function(g){return function(d){if(arguments.length){var k=this,i=[],f=this.each(function(){var b=a(this),c=b.data("ckeditorInstance");if(b.is("textarea")&&c){var f=new a.Deferred;c.setData(d,function(){f.resolve()});i.push(f.promise());
|
||||
return!0}return g.call(b,d)});if(i.length){var b=new a.Deferred;a.when.apply(this,i).done(function(){b.resolveWith(k)});return b.promise()}return f}var f=a(this).eq(0),c=f.data("ckeditorInstance");return f.is("textarea")&&c?c.getData():g.call(f)}})))})(window.jQuery);
|
|
@ -0,0 +1,175 @@
|
|||
/**
|
||||
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* This file was added automatically by CKEditor builder.
|
||||
* You may re-use it at any time to build CKEditor again.
|
||||
*
|
||||
* If you would like to build CKEditor online again
|
||||
* (for example to upgrade), visit one the following links:
|
||||
*
|
||||
* (1) http://ckeditor.com/builder
|
||||
* Visit online builder to build CKEditor from scratch.
|
||||
*
|
||||
* (2) http://ckeditor.com/builder/e6b8a045f8f984a69463975ca3e6524a
|
||||
* Visit online builder to build CKEditor, starting with the same setup as before.
|
||||
*
|
||||
* (3) http://ckeditor.com/builder/download/e6b8a045f8f984a69463975ca3e6524a
|
||||
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
|
||||
*
|
||||
* NOTE:
|
||||
* This file is not used by CKEditor, you may remove it.
|
||||
* Changing this file will not change your CKEditor configuration.
|
||||
*/
|
||||
|
||||
var CKBUILDER_CONFIG = {
|
||||
skin: 'moono',
|
||||
preset: 'full',
|
||||
ignore: [
|
||||
'.bender',
|
||||
'.DS_Store',
|
||||
'.gitignore',
|
||||
'.gitattributes',
|
||||
'.idea',
|
||||
'.mailmap',
|
||||
'bender.js',
|
||||
'bender-err.log',
|
||||
'bender-out.log',
|
||||
'dev',
|
||||
'node_modules',
|
||||
'package.json',
|
||||
'README.md',
|
||||
'tests'
|
||||
],
|
||||
plugins : {
|
||||
'a11yhelp' : 1,
|
||||
'about' : 1,
|
||||
'basicstyles' : 1,
|
||||
'bidi' : 1,
|
||||
'blockquote' : 1,
|
||||
'clipboard' : 1,
|
||||
'colorbutton' : 1,
|
||||
'colordialog' : 1,
|
||||
'contextmenu' : 1,
|
||||
'dialogadvtab' : 1,
|
||||
'div' : 1,
|
||||
'elementspath' : 1,
|
||||
'enterkey' : 1,
|
||||
'entities' : 1,
|
||||
'filebrowser' : 1,
|
||||
'find' : 1,
|
||||
'flash' : 1,
|
||||
'floatingspace' : 1,
|
||||
'font' : 1,
|
||||
'format' : 1,
|
||||
'forms' : 1,
|
||||
'horizontalrule' : 1,
|
||||
'htmlwriter' : 1,
|
||||
'iframe' : 1,
|
||||
'image' : 1,
|
||||
'indentblock' : 1,
|
||||
'indentlist' : 1,
|
||||
'justify' : 1,
|
||||
'language' : 1,
|
||||
'link' : 1,
|
||||
'list' : 1,
|
||||
'liststyle' : 1,
|
||||
'magicline' : 1,
|
||||
'maximize' : 1,
|
||||
'newpage' : 1,
|
||||
'pagebreak' : 1,
|
||||
'pastefromword' : 1,
|
||||
'pastetext' : 1,
|
||||
'preview' : 1,
|
||||
'print' : 1,
|
||||
'removeformat' : 1,
|
||||
'resize' : 1,
|
||||
'save' : 1,
|
||||
'scayt' : 1,
|
||||
'selectall' : 1,
|
||||
'showblocks' : 1,
|
||||
'showborders' : 1,
|
||||
'smiley' : 1,
|
||||
'sourcearea' : 1,
|
||||
'specialchar' : 1,
|
||||
'stylescombo' : 1,
|
||||
'tab' : 1,
|
||||
'table' : 1,
|
||||
'tabletools' : 1,
|
||||
'templates' : 1,
|
||||
'toolbar' : 1,
|
||||
'undo' : 1,
|
||||
'wsc' : 1,
|
||||
'wysiwygarea' : 1
|
||||
},
|
||||
languages : {
|
||||
'af' : 1,
|
||||
'ar' : 1,
|
||||
'bg' : 1,
|
||||
'bn' : 1,
|
||||
'bs' : 1,
|
||||
'ca' : 1,
|
||||
'cs' : 1,
|
||||
'cy' : 1,
|
||||
'da' : 1,
|
||||
'de' : 1,
|
||||
'el' : 1,
|
||||
'en' : 1,
|
||||
'en-au' : 1,
|
||||
'en-ca' : 1,
|
||||
'en-gb' : 1,
|
||||
'eo' : 1,
|
||||
'es' : 1,
|
||||
'et' : 1,
|
||||
'eu' : 1,
|
||||
'fa' : 1,
|
||||
'fi' : 1,
|
||||
'fo' : 1,
|
||||
'fr' : 1,
|
||||
'fr-ca' : 1,
|
||||
'gl' : 1,
|
||||
'gu' : 1,
|
||||
'he' : 1,
|
||||
'hi' : 1,
|
||||
'hr' : 1,
|
||||
'hu' : 1,
|
||||
'id' : 1,
|
||||
'is' : 1,
|
||||
'it' : 1,
|
||||
'ja' : 1,
|
||||
'ka' : 1,
|
||||
'km' : 1,
|
||||
'ko' : 1,
|
||||
'ku' : 1,
|
||||
'lt' : 1,
|
||||
'lv' : 1,
|
||||
'mk' : 1,
|
||||
'mn' : 1,
|
||||
'ms' : 1,
|
||||
'nb' : 1,
|
||||
'nl' : 1,
|
||||
'no' : 1,
|
||||
'pl' : 1,
|
||||
'pt' : 1,
|
||||
'pt-br' : 1,
|
||||
'ro' : 1,
|
||||
'ru' : 1,
|
||||
'si' : 1,
|
||||
'sk' : 1,
|
||||
'sl' : 1,
|
||||
'sq' : 1,
|
||||
'sr' : 1,
|
||||
'sr-latn' : 1,
|
||||
'sv' : 1,
|
||||
'th' : 1,
|
||||
'tr' : 1,
|
||||
'tt' : 1,
|
||||
'ug' : 1,
|
||||
'uk' : 1,
|
||||
'vi' : 1,
|
||||
'zh' : 1,
|
||||
'zh-cn' : 1
|
||||
}
|
||||
};
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.editorConfig = function( config ) {
|
||||
// Define changes to default configuration here. For example:
|
||||
// config.language = 'fr';
|
||||
// config.uiColor = '#AADC6E';
|
||||
};
|
|
@ -0,0 +1,134 @@
|
|||
/*
|
||||
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
body
|
||||
{
|
||||
/* Font */
|
||||
font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
|
||||
font-size: 12px;
|
||||
|
||||
/* Text color */
|
||||
color: #333;
|
||||
|
||||
/* Remove the background color to make it transparent */
|
||||
background-color: #fff;
|
||||
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
.cke_editable
|
||||
{
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
blockquote
|
||||
{
|
||||
font-style: italic;
|
||||
font-family: Georgia, Times, "Times New Roman", serif;
|
||||
padding: 2px 0;
|
||||
border-style: solid;
|
||||
border-color: #ccc;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
.cke_contents_ltr blockquote
|
||||
{
|
||||
padding-left: 20px;
|
||||
padding-right: 8px;
|
||||
border-left-width: 5px;
|
||||
}
|
||||
|
||||
.cke_contents_rtl blockquote
|
||||
{
|
||||
padding-left: 8px;
|
||||
padding-right: 20px;
|
||||
border-right-width: 5px;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #0782C1;
|
||||
}
|
||||
|
||||
ol,ul,dl
|
||||
{
|
||||
/* IE7: reset rtl list margin. (#7334) */
|
||||
*margin-right: 0px;
|
||||
/* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
|
||||
padding: 0 40px;
|
||||
}
|
||||
|
||||
h1,h2,h3,h4,h5,h6
|
||||
{
|
||||
font-weight: normal;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
hr
|
||||
{
|
||||
border: 0px;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
img.right
|
||||
{
|
||||
border: 1px solid #ccc;
|
||||
float: right;
|
||||
margin-left: 15px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
img.left
|
||||
{
|
||||
border: 1px solid #ccc;
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
pre
|
||||
{
|
||||
white-space: pre-wrap; /* CSS 2.1 */
|
||||
word-wrap: break-word; /* IE7 */
|
||||
-moz-tab-size: 4;
|
||||
-o-tab-size: 4;
|
||||
-webkit-tab-size: 4;
|
||||
tab-size: 4;
|
||||
}
|
||||
|
||||
.marker
|
||||
{
|
||||
background-color: Yellow;
|
||||
}
|
||||
|
||||
span[lang]
|
||||
{
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
figure
|
||||
{
|
||||
text-align: center;
|
||||
border: solid 1px #ccc;
|
||||
border-radius: 2px;
|
||||
background: rgba(0,0,0,0.05);
|
||||
padding: 10px;
|
||||
margin: 10px 20px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
figure > figcaption
|
||||
{
|
||||
text-align: center;
|
||||
display: block; /* For IE8 */
|
||||
}
|
||||
|
||||
a > img {
|
||||
padding: 1px;
|
||||
margin: 1px;
|
||||
border: none;
|
||||
outline: 1px solid #0782C1;
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue