mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
- Updating ExtensionManager and ThemeService to read zones from the manifest.
- Adding a few essential parts for layers, widgets. --HG-- branch : dev
This commit is contained in:
@@ -72,7 +72,8 @@ namespace Orchard.Themes.Services {
|
||||
HomePage = descriptor.WebSite ?? String.Empty,
|
||||
ThemeName = descriptor.Name,
|
||||
Version = descriptor.Version ?? String.Empty,
|
||||
Tags = descriptor.Tags ?? String.Empty
|
||||
Tags = descriptor.Tags ?? String.Empty,
|
||||
Zones = descriptor.Zones ?? String.Empty,
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -90,7 +91,8 @@ namespace Orchard.Themes.Services {
|
||||
HomePage = descriptor.WebSite ?? String.Empty,
|
||||
ThemeName = descriptor.Name,
|
||||
Version = descriptor.Version ?? String.Empty,
|
||||
Tags = descriptor.Tags ?? String.Empty
|
||||
Tags = descriptor.Tags ?? String.Empty,
|
||||
Zones = descriptor.Zones ?? String.Empty,
|
||||
};
|
||||
if (!theme.Tags.Contains("hidden")) {
|
||||
themes.Add(theme);
|
||||
|
Reference in New Issue
Block a user