Merge pull request #2964 from OpenEugene/release/v4.0.0
Show all themes on page add/edit
This commit is contained in:
		| @ -246,7 +246,7 @@ | ||||
|             if (UserSecurity.IsAuthorized(PageState.User, RoleNames.Admin) || (_parent != null && UserSecurity.IsAuthorized(PageState.User, PermissionNames.Edit, _parent.PermissionList))) | ||||
|             { | ||||
|                 _themetype = PageState.Site.DefaultThemeType; | ||||
|                 _themes = ThemeService.GetThemeControls(PageState.Site.Themes, _themetype); | ||||
|                 _themes = ThemeService.GetThemeControls(PageState.Site.Themes); | ||||
|                 _containers = ThemeService.GetContainerControls(PageState.Site.Themes, _themetype); | ||||
|                 _containertype = PageState.Site.DefaultContainerType; | ||||
|                 _children = PageState.Pages.Where(item => item.ParentId == null).ToList(); | ||||
|  | ||||
| @ -359,7 +359,7 @@ | ||||
|                 { | ||||
|                     _themetype = PageState.Site.DefaultThemeType; | ||||
|                 } | ||||
|                 _themes = ThemeService.GetThemeControls(PageState.Site.Themes, _themetype); | ||||
|                 _themes = ThemeService.GetThemeControls(PageState.Site.Themes); | ||||
|                 _containers = ThemeService.GetContainerControls(PageState.Site.Themes, _themetype); | ||||
|                 _containertype = _page.DefaultContainerType; | ||||
|                 if (string.IsNullOrEmpty(_containertype)) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker