Ejemplo n.º 1
0
        private void ConfigureControlsFirstTime()
        {
            AdminPageTitle = Resources.GalleryServerPro.Admin_User_Settings_Page_Header;

            if (AppSetting.Instance.License.IsInReducedFunctionalityMode)
            {
                ClientMessage = new ClientMessageOptions
                {
                    Title   = Resources.GalleryServerPro.Admin_Site_Settings_ProductKey_NotEntered_Label,
                    Message = Resources.GalleryServerPro.Admin_Need_Product_Key_Msg2,
                    Style   = MessageStyle.Info
                };

                OkButtonBottom.Enabled = false;
                OkButtonTop.Enabled    = false;
            }

            this.wwDataBinder.DataBind();

            hdnUserRoles.Value     = DefaultRolesForSelfRegisteredUserCollection.ToJson();
            hdnUsersToNotify.Value = UsersToNotifyForNewAccounts.ToJson();

            ConfigureOrphanUserAlbums();

            ConfigureUserAlbumParentComboBox();
        }
Ejemplo n.º 2
0
        private void ConfigureControlsFirstTime()
        {
            AdminPageTitle = Resources.GalleryServer.Admin_User_Settings_Page_Header;

            this.wwDataBinder.DataBind();

            hdnUserRoles.Value     = DefaultRolesForUserCollection.ToJson();
            hdnUsersToNotify.Value = UsersToNotifyForNewAccounts.ToJson();

            ConfigureOrphanUserAlbums();

            ConfigureUserAlbumParentComboBox();
        }