Exemplo n.º 1
0
        /// <summary>
        /// Loads the settings for this module instance.
        /// </summary>
        public override void LoadSettings()
        {
            FillDropDowns();

            if (!IsPostBack)
            {
                SetInitialValues();
            }

            SetPhotoGalleryOptionsVisibility(ModuleBase.AllowSimpleGalleryIntegrationForPortal(PortalId) || ModuleBase.AllowUltraMediaGalleryIntegrationForPortal(PortalId));
            SetCommentOptionsVisibility(ModuleBase.IsCommentsEnabledForPortal(PortalId));
            SetRatingsOptionsVisibility(ModuleBase.AreRatingsEnabledForPortal(PortalId));
        }