diff --git a/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx b/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx index 1842c24d3..0e2fe34f4 100644 --- a/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx +++ b/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx @@ -47,5 +47,13 @@ + + + + + + + \ No newline at end of file diff --git a/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx.cs b/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx.cs index 167c728cb..45e94d201 100644 --- a/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx.cs +++ b/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx.cs @@ -58,6 +58,7 @@ public void BindItem(MailAccount item) txtSubject.Text = item.ResponderSubject; txtMessage.Text = item.ResponderMessage; txtForward.Text = item.ForwardingAddresses != null ? String.Join("; ", item.ForwardingAddresses) : ""; + chkDeleteOnForward.Checked = item.DeleteOnForward; } public void SaveItem(MailAccount item) @@ -67,6 +68,7 @@ public void SaveItem(MailAccount item) item.ResponderSubject = txtSubject.Text; item.ResponderMessage = txtMessage.Text; item.ForwardingAddresses = Utils.ParseDelimitedString(txtForward.Text, ';', ' ', ','); + item.DeleteOnForward = chkDeleteOnForward.Checked; } } } diff --git a/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx.designer.cs b/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx.designer.cs index 9f9a8bd6b..d0f05a988 100644 --- a/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx.designer.cs +++ b/SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/ProviderControls/MailEnable_EditAccount.ascx.designer.cs @@ -1,50 +1,19 @@ -// Copyright (c) 2016, SolidCP -// SolidCP is distributed under the Creative Commons Share-alike license -// -// SolidCP is a fork of WebsitePanel: -// Copyright (c) 2015, Outercurve Foundation. -// All rights reserved. -// -// Redistribution and use in source and binary forms, with or without modification, -// are permitted provided that the following conditions are met: -// -// - Redistributions of source code must retain the above copyright notice, this -// list of conditions and the following disclaimer. -// -// - Redistributions in binary form must reproduce the above copyright notice, -// this list of conditions and the following disclaimer in the documentation -// and/or other materials provided with the distribution. -// -// - Neither the name of the Outercurve Foundation nor the names of its -// contributors may be used to endorse or promote products derived from this -// software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:2.0.50727.3074 // // Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// the code is regenerated. // //------------------------------------------------------------------------------ -namespace SolidCP.Portal.ProviderControls { - - - public partial class MailEnable_EditAccount { - +namespace SolidCP.Portal.ProviderControls +{ + + + public partial class MailEnable_EditAccount + { + /// /// lblReplyTo control. /// @@ -53,7 +22,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblReplyTo; - + /// /// txtReplyTo control. /// @@ -62,7 +31,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtReplyTo; - + /// /// secAutoresponder control. /// @@ -71,7 +40,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::SolidCP.Portal.CollapsiblePanel secAutoresponder; - + /// /// AutoresponderPanel control. /// @@ -80,7 +49,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel AutoresponderPanel; - + /// /// lblResponderEnabled control. /// @@ -89,7 +58,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblResponderEnabled; - + /// /// chkResponderEnabled control. /// @@ -98,7 +67,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkResponderEnabled; - + /// /// lblSubject control. /// @@ -107,7 +76,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblSubject; - + /// /// txtSubject control. /// @@ -116,7 +85,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtSubject; - + /// /// lblMessage control. /// @@ -125,7 +94,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblMessage; - + /// /// txtMessage control. /// @@ -134,7 +103,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtMessage; - + /// /// secForwarding control. /// @@ -143,7 +112,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::SolidCP.Portal.CollapsiblePanel secForwarding; - + /// /// ForwardingPanel control. /// @@ -152,7 +121,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel ForwardingPanel; - + /// /// lblForwardTo control. /// @@ -161,7 +130,7 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblForwardTo; - + /// /// txtForward control. /// @@ -170,5 +139,14 @@ public partial class MailEnable_EditAccount { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtForward; + + /// + /// chkDeleteOnForward control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.CheckBox chkDeleteOnForward; } }