using System; using System.Data; using System.Collections; using CMS.FormControls; using CMS.SettingsProvider; using CMS.GlobalHelper; using CMS.SiteProvider; using CMS.UIControls; public partial class CMSModules_Objects_FormControls_Cloning_CMS_ResourceSettings : CloneSettingsControl { #region "Properties" /// /// Gets properties hashtable. /// public override Hashtable CustomParameters { get { return GetProperties(); } } /// /// Excluded child types /// public override string ExcludedChildTypes { get { return SiteObjectType.PERMISSION; } } #endregion #region "Methods" protected void Page_Load(object sender, EventArgs e) { lblClonePermissions.ToolTip = GetString("clonning.settings.resource.permissions.tooltip"); } /// /// Returns properties hashtable. /// private Hashtable GetProperties() { Hashtable result = new Hashtable(); result[SiteObjectType.RESOURCE + ".permissions"] = chkClonePermissions.Checked; return result; } #endregion }