--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-06-03 09:33:27 -07:00
66 changed files with 31110 additions and 33 deletions

View File

@@ -28,7 +28,7 @@ namespace Orchard.Blogs.Controllers {
T = NullLocalizer.Instance;
}
private Localizer T { get; set; }
public Localizer T { get; set; }
protected virtual ISite CurrentSite { get; [UsedImplicitly] private set; }
public IOrchardServices Services { get; set; }

View File

@@ -25,7 +25,7 @@ namespace Orchard.Blogs.Controllers {
}
public IOrchardServices Services { get; set; }
private Localizer T { get; set; }
public Localizer T { get; set; }
public ActionResult Create() {
if (!Services.Authorizer.Authorize(Permissions.EditBlogPost, T("Not allowed to create blog post")))

View File

@@ -29,7 +29,7 @@ namespace Orchard.Blogs.Controllers {
T = NullLocalizer.Instance;
}
private Localizer T { get; set; }
public Localizer T { get; set; }
//TODO: (erikpo) Should think about moving the slug parameters and get calls and null checks up into a model binder or action filter
public ActionResult Item(string blogSlug, string postSlug) {

View File

@@ -36,7 +36,7 @@ namespace Orchard.Blogs.Drivers {
T = NullLocalizer.Instance;
}
private Localizer T { get; set; }
public Localizer T { get; set; }
protected override ContentType GetContentType() {
return ContentType;

View File

@@ -27,7 +27,7 @@ namespace Orchard.Blogs.Drivers {
T = NullLocalizer.Instance;
}
private Localizer T { get; set; }
public Localizer T { get; set; }
protected override ContentType GetContentType() {
return ContentType;