mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-24 21:43:37 +08:00
- Adding a Navigation module to start working on nav.
- Removing unused SetupService from the Setup module. --HG-- branch : dev
This commit is contained in:
1
src/Orchard.Web/Core/Navigation/Module.txt
Normal file
1
src/Orchard.Web/Core/Navigation/Module.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
name: Navigation
|
@@ -180,6 +180,7 @@
|
|||||||
<Content Include="Common\Views\EditorTemplates\Parts\Common.Body.ascx" />
|
<Content Include="Common\Views\EditorTemplates\Parts\Common.Body.ascx" />
|
||||||
<Content Include="Common\Views\EditorTemplates\Parts\Common.Owner.ascx" />
|
<Content Include="Common\Views\EditorTemplates\Parts\Common.Owner.ascx" />
|
||||||
<Content Include="Feeds\Module.txt" />
|
<Content Include="Feeds\Module.txt" />
|
||||||
|
<Content Include="Navigation\Module.txt" />
|
||||||
<Content Include="Scheduling\Module.txt" />
|
<Content Include="Scheduling\Module.txt" />
|
||||||
<Content Include="Settings\Views\EditorTemplates\Items\Settings.Site.ascx" />
|
<Content Include="Settings\Views\EditorTemplates\Items\Settings.Site.ascx" />
|
||||||
<Content Include="Themes\Scripts\jquery-1.4.1.js" />
|
<Content Include="Themes\Scripts\jquery-1.4.1.js" />
|
||||||
@@ -201,6 +202,8 @@
|
|||||||
<Content Include="Themes\Views\Web.config" />
|
<Content Include="Themes\Views\Web.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Folder Include="Navigation\Controllers\" />
|
||||||
|
<Folder Include="Navigation\Models\" />
|
||||||
<Folder Include="Scheduling\Controllers\" />
|
<Folder Include="Scheduling\Controllers\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
@@ -66,8 +66,6 @@
|
|||||||
<Compile Include="Controllers\SetupController.cs" />
|
<Compile Include="Controllers\SetupController.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="Routes.cs" />
|
<Compile Include="Routes.cs" />
|
||||||
<Compile Include="Services\ISetupService.cs" />
|
|
||||||
<Compile Include="Services\SetupService.cs" />
|
|
||||||
<Compile Include="ViewModels\SetupViewModel.cs" />
|
<Compile Include="ViewModels\SetupViewModel.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@@ -1,4 +0,0 @@
|
|||||||
namespace Orchard.Setup.Services {
|
|
||||||
public interface ISetupService : IDependency {
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,16 +0,0 @@
|
|||||||
using Orchard.Localization;
|
|
||||||
using Orchard.Logging;
|
|
||||||
|
|
||||||
namespace Orchard.Setup.Services {
|
|
||||||
public class SetupService : ISetupService {
|
|
||||||
public SetupService(IOrchardServices services) {
|
|
||||||
Services = services;
|
|
||||||
Logger = NullLogger.Instance;
|
|
||||||
T = NullLocalizer.Instance;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IOrchardServices Services { get; set; }
|
|
||||||
public ILogger Logger { get; set; }
|
|
||||||
private Localizer T { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user