mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00

- Hide the themes that have the hidden tag set in their Theme.txt when looking at the available themes in the themes admin. --HG-- branch : dev
22 lines
717 B
C#
22 lines
717 B
C#
using Orchard.Core.Themes.Records;
|
|
using Orchard.ContentManagement;
|
|
using Orchard.Themes;
|
|
|
|
namespace Orchard.Core.Themes.Models {
|
|
public class Theme : ContentPart<ThemeRecord>, ITheme {
|
|
public static readonly ContentType ContentType = new ContentType { Name = "theme", DisplayName = "Themes" };
|
|
|
|
#region Implementation of ITheme
|
|
|
|
public string ThemeName { get; set; }
|
|
public string DisplayName { get; set; }
|
|
public string Description { get; set; }
|
|
public string Version { get; set; }
|
|
public string Author { get; set; }
|
|
public string HomePage { get; set; }
|
|
public string Tags { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|