using System; using System.Collections; using CMS.FormControls; using CMS.SettingsProvider; using CMS.Forums; using CMS.UIControls; public partial class CMSModules_Forums_FormControls_Cloning_Forums_ForumSettings : CloneSettingsControl { #region "Properties" /// /// Gets properties hashtable. /// public override Hashtable CustomParameters { get { return GetProperties(); } } /// /// Excluded child types. /// public override string ExcludedChildTypes { get { return ForumsObjectType.FORUMPOST; } } #endregion #region "Methods" protected void Page_Load(object sender, EventArgs e) { lblCloneForumPosts.ToolTip = GetString("clonning.settings.forum.cloneposts.tooltip"); } /// /// Returns properties hashtable. /// private Hashtable GetProperties() { Hashtable result = new Hashtable(); result[ForumsObjectType.FORUM + ".posts"] = chkCloneForumPosts.Checked; return result; } #endregion }