diff --git a/src/Orchard.Web/Core/Reports/Views/Admin/Index.cshtml b/src/Orchard.Web/Core/Reports/Views/Admin/Index.cshtml
index 90249bf4d..714d94c49 100644
--- a/src/Orchard.Web/Core/Reports/Views/Admin/Index.cshtml
+++ b/src/Orchard.Web/Core/Reports/Views/Admin/Index.cshtml
@@ -2,23 +2,23 @@
@using Orchard.Core.Reports.ViewModels;
@Html.TitleForPage(T("Manage Reports").ToString())
@using(Html.BeginFormAntiForgeryPost()) {
- @Html.ValidationSummary()
-
-
-
-
-
-
-
-
-
-
- @T("Name")
- @T("Title")
- @T("Date")
-
-
-
+ @Html.ValidationSummary()
+
+
+
+
+
+
+
+
+
+
+ @T("Name")
+ @T("Title")
+ @T("Date")
+
+
+
@foreach (var report in Model.Reports) {
diff --git a/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml b/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml
index 483135db2..4e34d34f1 100644
--- a/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml
+++ b/src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml
@@ -17,21 +17,21 @@
@using(Script.Foot()){
}
\ No newline at end of file
diff --git a/src/Orchard.Web/Core/Shapes/Views/Document.cshtml b/src/Orchard.Web/Core/Shapes/Views/Document.cshtml
index 9b7bf9617..2323d0ed0 100644
--- a/src/Orchard.Web/Core/Shapes/Views/Document.cshtml
+++ b/src/Orchard.Web/Core/Shapes/Views/Document.cshtml
@@ -1,7 +1,7 @@
@using Orchard.Mvc.Html;
@using Orchard.UI.Resources;
@{
- RegisterLink(new LinkEntry {Type = "image/x-icon", Rel = "shortcut icon", Href = Url.Content("~/modules/orchard.themes/Content/orchard.ico")});
+ RegisterLink(new LinkEntry {Type = "image/x-icon", Rel = "shortcut icon", Href = Url.Content("~/modules/orchard.themes/Content/orchard.ico")});
//todo: (heskew) get conditions (as in conditional comments) hooked up for script tags too
Script.Include("html5.js").AtLocation(ResourceLocation.Head);
diff --git a/src/Orchard.Web/Core/Shapes/Views/Menu.cshtml b/src/Orchard.Web/Core/Shapes/Views/Menu.cshtml
index b483973cd..d711f4b34 100644
--- a/src/Orchard.Web/Core/Shapes/Views/Menu.cshtml
+++ b/src/Orchard.Web/Core/Shapes/Views/Menu.cshtml
@@ -1,6 +1,6 @@
@{
// Model is Model.Menu from the layout (Layout.Menu)
- var tag = Tag(Model, "ul");
+ var tag = Tag(Model, "ul");
}
@tag.StartElement
diff --git a/src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.BlogArchives.cshtml b/src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.BlogArchives.cshtml
index baea01a1e..81ed5d01d 100644
--- a/src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.BlogArchives.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.BlogArchives.cshtml
@@ -2,7 +2,7 @@
@Html.LabelFor(m => m.ForBlog, T("For Blog"))
- @Html.TextBoxFor(m => m.ForBlog)
+ @Html.TextBoxFor(m => m.ForBlog)
@T("Show the archives for which blog? Note: specify the blog's slug.")
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.RecentBlogPosts.cshtml b/src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.RecentBlogPosts.cshtml
index f705bf2b3..b0e4bb09a 100644
--- a/src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.RecentBlogPosts.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Parts/Blogs.RecentBlogPosts.cshtml
@@ -2,7 +2,7 @@
@Html.LabelFor(m => m.ForBlog, T("For Blog"))
- @Html.TextBoxFor(m => m.ForBlog)
+ @Html.TextBoxFor(m => m.ForBlog)
@Html.LabelFor(m => m.Count, T("Count"))
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.cshtml
index 60f2840d9..2f88cc693 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Details.cshtml
@@ -19,7 +19,7 @@
}
@using(Html.BeginFormAntiForgeryPost()) {
- @Html.ValidationSummary()
+ @Html.ValidationSummary()
@T("Actions:")
@@ -42,25 +42,25 @@
@T("Apply")
-
-
-
-
-
-
-
-
-
-
-
- ↓
- @T("Status")
- @T("Author")
- @T("Comment")
- @T("Date")
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ ↓
+ @T("Status")
+ @T("Author")
+ @T("Comment")
+ @T("Date")
+
+
+
@{var commentIndex = 0;}
@foreach (var commentEntry in Model.Comments) {
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Edit.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Edit.cshtml
index a0f5fb09c..c58a37736 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Edit.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Edit.cshtml
@@ -22,7 +22,7 @@
@T("Body")
-
+
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml
index d7df77e17..5fbfbfa3e 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml
@@ -9,7 +9,7 @@
}
@Html.TitleForPage(T("Manage Comments").ToString())
@using(Html.BeginFormAntiForgeryPost()) {
- @Html.ValidationSummary()
+ @Html.ValidationSummary()
@T("Actions:")
@@ -32,25 +32,25 @@
@T("Apply")
-
-
-
-
-
-
-
-
-
-
-
- ↓
- @T("Status")
- @T("Author")
- @T("Comment")
- @T("Commented On")
- @T("Actions")
-
-
+
+
+
+
+
+
+
+
+
+
+
+ ↓
+ @T("Status")
+ @T("Author")
+ @T("Comment")
+ @T("Commented On")
+ @T("Actions")
+
+
@{var commentIndex = 0;}
@foreach (var commentEntry in Model.Comments) {
var commentClass = "";
diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.cshtml
index 450b49d57..cc8aa38d8 100644
--- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.cshtml
@@ -4,11 +4,11 @@
@using Orchard.Utility.Extensions;
@{
- var contextExists = TempData["CreateCommentContext.Name"] != null;
- var name = Convert.ToString(TempData["CreateCommentContext.Name"]);
- var commentText = Convert.ToString(TempData["CreateCommentContext.CommentText"]);
- var email = Convert.ToString(TempData["CreateCommentContext.Email"]);
- var siteName = Convert.ToString(TempData["CreateCommentContext.SiteName"]);
+ var contextExists = TempData["CreateCommentContext.Name"] != null;
+ var name = Convert.ToString(TempData["CreateCommentContext.Name"]);
+ var commentText = Convert.ToString(TempData["CreateCommentContext.CommentText"]);
+ var email = Convert.ToString(TempData["CreateCommentContext.Email"]);
+ var siteName = Convert.ToString(TempData["CreateCommentContext.SiteName"]);
}
@if (Model.ContentPart.Comments.Count > 0) {
diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/Edit.cshtml b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/Edit.cshtml
index 22520e69c..61cab93af 100644
--- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/Edit.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/Edit.cshtml
@@ -1,7 +1,7 @@
@model Orchard.ContentTypes.ViewModels.EditTypeViewModel
@{
Style.Require("ContentTypesAdmin");
- Script.Require("jQuery");
+ Script.Require("jQuery");
Script.Include("admin.js");
}
@Html.TitleForPage(T("Edit Content Type").ToString())
diff --git a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/EditPart.cshtml b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/EditPart.cshtml
index 2e637be41..f515c84a5 100644
--- a/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/EditPart.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/EditPart.cshtml
@@ -1,7 +1,7 @@
@model Orchard.ContentTypes.ViewModels.EditPartViewModel
@{
Style.Require("ContentTypesAdmin");
- Script.Require("jQuery");
+ Script.Require("jQuery");
Script.Include("admin.js");
}
@Html.TitleForPage(T("Edit Part").ToString())
diff --git a/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml b/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml
index 00ae966bd..f300bfd5f 100644
--- a/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml
@@ -7,11 +7,11 @@
@Html.ValidationSummary()
@for (int index = 0; index != (Model.History ?? new string[0]).Length; ++index) {
-
- @Model.History[index]
- @Html.HiddenFor(m => m.History[index])
-
- }
+
+ @Model.History[index]
+ @Html.HiddenFor(m => m.History[index])
+
+ }
@Html.LabelFor(m => m.CommandLine, T("Command Line"))
@Html.TextBoxFor(m => m.CommandLine, new { style = "width:100%;" })
diff --git a/src/Orchard.Web/Modules/Orchard.Experimental/Views/DumpShapeTable.cshtml b/src/Orchard.Web/Modules/Orchard.Experimental/Views/DumpShapeTable.cshtml
index 7aa4c1efc..c353a1237 100644
--- a/src/Orchard.Web/Modules/Orchard.Experimental/Views/DumpShapeTable.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Experimental/Views/DumpShapeTable.cshtml
@@ -2,13 +2,13 @@
@using Orchard.DisplayManagement.Descriptors;
@Display(Model.Metadata.ChildContent)
@{
- var workContext = ViewContext.GetWorkContext();
- var shapeTable = workContext.Resolve().GetShapeTable(workContext.CurrentTheme.Id);
+ var workContext = ViewContext.GetWorkContext();
+ var shapeTable = workContext.Resolve().GetShapeTable(workContext.CurrentTheme.Id);
}
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Experimental/Views/ShapeTable/ShapeTable.cshtml b/src/Orchard.Web/Modules/Orchard.Experimental/Views/ShapeTable/ShapeTable.cshtml
index b02fcb6c5..938e0dfca 100644
--- a/src/Orchard.Web/Modules/Orchard.Experimental/Views/ShapeTable/ShapeTable.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Experimental/Views/ShapeTable/ShapeTable.cshtml
@@ -1,12 +1,12 @@
- @model Orchard.DisplayManagement.Descriptors.ShapeTable;
-
+ @model Orchard.DisplayManagement.Descriptors.ShapeTable;
+
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Experimental/Views/ThinBorder.cshtml b/src/Orchard.Web/Modules/Orchard.Experimental/Views/ThinBorder.cshtml
index bc3c1efe7..a252fc93b 100644
--- a/src/Orchard.Web/Modules/Orchard.Experimental/Views/ThinBorder.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Experimental/Views/ThinBorder.cshtml
@@ -1,9 +1,9 @@
@using Orchard;
@using Orchard.DisplayManagement.Descriptors;
@{
- var workContext = ViewContext.GetWorkContext();
- var shapeTable = workContext.Resolve().GetShapeTable(workContext.CurrentTheme.Id);
- var descriptor = shapeTable.Descriptors[Model.Metadata.Type];
+ var workContext = ViewContext.GetWorkContext();
+ var shapeTable = workContext.Resolve().GetShapeTable(workContext.CurrentTheme.Id);
+ var descriptor = shapeTable.Descriptors[Model.Metadata.Type];
}
diff --git a/src/Orchard.Web/Modules/Orchard.Indexing/DefaultIndexingUpdater.cs b/src/Orchard.Web/Modules/Orchard.Indexing/DefaultIndexingUpdater.cs
index 77c1d6f65..cf4ceb089 100644
--- a/src/Orchard.Web/Modules/Orchard.Indexing/DefaultIndexingUpdater.cs
+++ b/src/Orchard.Web/Modules/Orchard.Indexing/DefaultIndexingUpdater.cs
@@ -15,7 +15,7 @@ namespace Orchard.Indexing {
public DefaultIndexingUpdater (IIndexingTaskManager indexingTaskManager, IContentManager contentManager){
_indexingTaskManager = indexingTaskManager;
_contentManager = contentManager;
- }
+ }
public void Install(Environment.Extensions.Models.Feature feature) {
}
diff --git a/src/Orchard.Web/Modules/Orchard.Indexing/Settings/EditorEvents.cs b/src/Orchard.Web/Modules/Orchard.Indexing/Settings/EditorEvents.cs
index 41d9dff15..4dd655675 100644
--- a/src/Orchard.Web/Modules/Orchard.Indexing/Settings/EditorEvents.cs
+++ b/src/Orchard.Web/Modules/Orchard.Indexing/Settings/EditorEvents.cs
@@ -14,7 +14,7 @@ namespace Orchard.Indexing.Settings {
public EditorEvents(IIndexingTaskManager indexingTaskManager, IContentManager contentManager){
_indexingTaskManager = indexingTaskManager;
_contentManager = contentManager;
- }
+ }
private string _contentTypeName;
private bool _tasksCreated = false;
diff --git a/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml
index c781367e0..31196fe7a 100644
--- a/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Indexing/Views/Admin/Index.cshtml
@@ -32,5 +32,4 @@
@T("Rebuild")
@Html.AntiForgeryTokenOrchard()
-}
-
+}
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Add.cshtml b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Add.cshtml
index 30e4f1711..9d25bf195 100644
--- a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Add.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Add.cshtml
@@ -16,10 +16,10 @@
@T("Database Setup")
-
+
@Html.RadioButtonFor(svm => svm.DataProvider, "", new { id = "tenantDatabaseOption" })
- @T("Allow the tenant to set up the database")
-
+
@T("Allow the tenant to set up the database")
+
@Html.RadioButtonFor(svm => svm.DataProvider, "SqlCe", new { id = "builtinDatabaseOption" })
@T("Use built-in data storage (SQL Server Compact)")
@@ -40,7 +40,7 @@
-
+
@T("Save")
}
diff --git a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/DisplayTemplates/ActionsForDisabled.cshtml b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/DisplayTemplates/ActionsForDisabled.cshtml
index 4b37b0682..8b8d91eeb 100644
--- a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/DisplayTemplates/ActionsForDisabled.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/DisplayTemplates/ActionsForDisabled.cshtml
@@ -2,6 +2,6 @@
@using Orchard.MultiTenancy.Extensions;
@using(Html.BeginFormAntiForgeryPost(Url.Action("enable", new {area = "Orchard.MultiTenancy"}), FormMethod.Post, new {@class = "inline link"})) {
- @Html.HiddenFor(ss => ss.Name)
- @T("Resume")
+ @Html.HiddenFor(ss => ss.Name)
+ @T("Resume")
}
diff --git a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/DisplayTemplates/ActionsForRunning.cshtml b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/DisplayTemplates/ActionsForRunning.cshtml
index 2e328bcd1..4ca7ef259 100644
--- a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/DisplayTemplates/ActionsForRunning.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/DisplayTemplates/ActionsForRunning.cshtml
@@ -2,6 +2,6 @@
@using Orchard.MultiTenancy.Extensions;
@using(Html.BeginFormAntiForgeryPost(Url.Action("disable", new {area = "Orchard.MultiTenancy"}), FormMethod.Post, new {@class = "inline link"})) {
- @Html.HiddenFor(ss => ss.Name)
- @T("Suspend")
+ @Html.HiddenFor(ss => ss.Name)
+ @T("Suspend")
}
diff --git a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Edit.cshtml b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Edit.cshtml
index d1e96d65a..b0767a9d7 100644
--- a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Edit.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Edit.cshtml
@@ -17,12 +17,12 @@
@T("Database Setup")
@if (Model.State.CurrentState != TenantState.State.Uninitialized) {
- @T("Warning: If you don't know what you're doing you *will* (likely) send this tenant into a downward spiral of irrecoverable disrepair. Have a nice day.")
+ @T("Warning: If you don't know what you're doing you *will* (likely) send this tenant into a downward spiral of irrecoverable disrepair. Have a nice day.")
} else {
-
- @Html.RadioButtonFor(svm => svm.DataProvider, "", new { id = "tenantDatabaseOption" })
- @T("Allow the tenant to set up the database")
-
+
+ @Html.RadioButtonFor(svm => svm.DataProvider, "", new { id = "tenantDatabaseOption" })
+ @T("Allow the tenant to set up the database")
+
}
@Html.RadioButtonFor(svm => svm.DataProvider, "SqlCe", new { id = "builtinDatabaseOption" })
@@ -42,7 +42,7 @@
-
+
@T("Save")
}
diff --git a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Index.cshtml
index f54d4bedd..b950c81ad 100644
--- a/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Index.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.MultiTenancy/Views/Admin/Index.cshtml
@@ -16,8 +16,8 @@
@if (!string.Equals(tenant.Name, "default", StringComparison.OrdinalIgnoreCase)) { //todo: (heskew) base this off the view model so logic on what can be removed and have its state changed stays in the controller
- var t = tenant;
- @Html.DisplayFor(m => t, string.Format("ActionsFor{0}", tenant.State.CurrentState), "") @T(" | ")
+ var t = tenant;
+ @Html.DisplayFor(m => t, string.Format("ActionsFor{0}", tenant.State.CurrentState), "") @T(" | ")
}
@Html.ActionLink(T("Edit").ToString(), "Edit", new {name = tenant.Name, area = "Orchard.MultiTenancy"})
diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Controllers/GalleryController.cs b/src/Orchard.Web/Modules/Orchard.Packaging/Controllers/GalleryController.cs
index 9ba5f7a50..6400b0575 100644
--- a/src/Orchard.Web/Modules/Orchard.Packaging/Controllers/GalleryController.cs
+++ b/src/Orchard.Web/Modules/Orchard.Packaging/Controllers/GalleryController.cs
@@ -10,7 +10,6 @@ using Orchard.Packaging.ViewModels;
using Orchard.Themes;
using Orchard.UI.Admin;
using Orchard.UI.Notify;
-using System.Xml.XPath;
namespace Orchard.Packaging.Controllers {
[OrchardFeature("Gallery")]
@@ -34,7 +33,7 @@ namespace Orchard.Packaging.Controllers {
T = NullLocalizer.Instance;
}
- Localizer T { get; set; }
+ public Localizer T { get; set; }
public ActionResult Sources() {
return View(new PackagingSourcesViewModel {
diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/AddSource.cshtml b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/AddSource.cshtml
index 46d6b9f16..f04324d8c 100644
--- a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/AddSource.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/AddSource.cshtml
@@ -6,9 +6,9 @@
@Html.ValidationSummary()
@T("Feed Url")
-
+
-
+
@T("Add Feed")
}
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml
index 5392cb647..a518a5eed 100644
--- a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml
@@ -17,7 +17,6 @@
@T("Apply")
}
-
@if (Model.Extensions.Count() > 0) {
diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Sources.cshtml b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Sources.cshtml
index 555d3be70..55c1f7c6d 100644
--- a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Sources.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Sources.cshtml
@@ -6,20 +6,20 @@
@Html.ActionLink(T("Add Feed").Text, "AddSource", new { }, new { @class = "button primaryAction" })
-
-
-
-
-
-
-
-
-
- @T("Title")
- @T("Url")
-
-
-
+
+
+
+
+
+
+
+
+
+ @T("Title")
+ @T("Url")
+
+
+
@foreach ( var item in Model.Sources ) {
@item.FeedTitle
diff --git a/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Create.cshtml b/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Create.cshtml
index 96c97c40e..3b05c6b86 100644
--- a/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Create.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Create.cshtml
@@ -4,9 +4,9 @@
@using (Html.BeginFormAntiForgeryPost()) {
Html.ValidationSummary();
- @T("Information")
- @T("Role Name:")
-
+ @T("Information")
+ @T("Role Name:")
+
@T("Permissions")
diff --git a/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Edit.cshtml b/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Edit.cshtml
index 9d4fe1d78..79cfe6119 100644
--- a/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Edit.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Edit.cshtml
@@ -4,61 +4,61 @@
@using(Html.BeginFormAntiForgeryPost()) {
Html.ValidationSummary();
- @T("Information")
- @T("Role Name:")
+ @T("Information")
+ @T("Role Name:")
@if (Model.Name == "Administrator") { // the one special case
-
-
+
+
}
else {
-
+
}
-
-
+
+
@T("Permissions")
- @foreach (var category in Model.RoleCategoryPermissions.Keys) {
+ @foreach (var category in Model.RoleCategoryPermissions.Keys) {
@category
-
+
+ }
@T("Save")
@if (Model.Name != "Administrator") {
@T("Remove")
}
-
+
}
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml
index 1bcbe8588..b89d93b0c 100644
--- a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml
@@ -6,7 +6,7 @@
@using (Html.BeginFormAntiForgeryPost()) {
@Html.ValidationSummary()
- @Html.HiddenFor(m=>m.Id)
+ @Html.HiddenFor(m=>m.Id)
@Html.LabelFor(m => m.TagName, T("Tag Name"))
@Html.TextBoxFor(m=>m.TagName, new { @class = "text" })
@@ -21,16 +21,16 @@
}
else {
-
-
-
-
-
-
- @T("Content Type")
- @T("Name")
-
-
+
+
+
+
+
+
+ @T("Content Type")
+ @T("Name")
+
+
@foreach (IContent content in View.ContentItems) {
@content.ContentItem.ContentType.CamelFriendly()
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.cshtml
index deb569a1c..e22a4a6b6 100644
--- a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.cshtml
@@ -12,7 +12,7 @@
@Display.EditorTemplate(TemplateName: "Parts/CreateTag", Model: View.CreateTag != null ? View.CreateTag : new TagsAdminCreateViewModel())
@using(Html.BeginFormAntiForgeryPost()) {
-
+
@T("Actions:")
@Html.SelectOption(Model.BulkAction, TagAdminIndexBulkAction.None, T("Choose action...").ToString())
@@ -28,12 +28,12 @@
- ↓@*todo: (heskew) something more appropriate for "this applies to the bulk actions*@
- @T("Name")
-
+ ↓@*todo: (heskew) something more appropriate for "this applies to the bulk actions*@
+ @T("Name")
+
- @{var tagIndex = 0;}
- @foreach (var tagEntry in Model.Tags) {
+ @{var tagIndex = 0;}
+ @foreach (var tagEntry in Model.Tags) {
@@ -48,7 +48,7 @@
tagIndex = tagIndex + 1;
- }
+ }
}
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Views/Home/Search.cshtml b/src/Orchard.Web/Modules/Orchard.Tags/Views/Home/Search.cshtml
index cc4c6ee26..5f12fa237 100644
--- a/src/Orchard.Web/Modules/Orchard.Tags/Views/Home/Search.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Tags/Views/Home/Search.cshtml
@@ -1,10 +1,10 @@
@model Orchard.Tags.ViewModels.TagsSearchViewModel
@{
- Html.AddTitleParts(T("Tags").ToString());
- Html.AddTitleParts(T("Contents tagged with {0}", Model.TagName).ToString());
- Model.List.Classes.Add("tagged-posts");
- Model.List.Classes.Add("content-items");
+ Html.AddTitleParts(T("Tags").ToString());
+ Html.AddTitleParts(T("Contents tagged with {0}", Model.TagName).ToString());
+ Model.List.Classes.Add("tagged-posts");
+ Model.List.Classes.Add("content-items");
}
@T("Contents tagged with {0} ", Model.TagName)
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Views/Parts/Tags.ShowTags.cshtml b/src/Orchard.Web/Modules/Orchard.Tags/Views/Parts/Tags.ShowTags.cshtml
index 58e5dfab6..1f0892ff1 100644
--- a/src/Orchard.Web/Modules/Orchard.Tags/Views/Parts/Tags.ShowTags.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Tags/Views/Parts/Tags.ShowTags.cshtml
@@ -1,11 +1,11 @@
@{
- var tagsHtml = new List();
- foreach(var t in Model.Tags) {
- if (tagsHtml.Any()) {
- tagsHtml.Add(new HtmlString(", "));
- }
- tagsHtml.Add(Html.ActionLink((string)t.TagName, "Search", "Home", new { area = "Orchard.Tags", tagName = (string)t.TagName }, new { }));
- }
+ var tagsHtml = new List();
+ foreach(var t in Model.Tags) {
+ if (tagsHtml.Any()) {
+ tagsHtml.Add(new HtmlString(", "));
+ }
+ tagsHtml.Add(Html.ActionLink((string)t.TagName, "Search", "Home", new { area = "Orchard.Tags", tagName = (string)t.TagName }, new { }));
+ }
}
@if (tagsHtml.Any()) {
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Styles/orchard-themes-admin.css b/src/Orchard.Web/Modules/Orchard.Themes/Styles/orchard-themes-admin.css
index ef12b4820..2e4199200 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Styles/orchard-themes-admin.css
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Styles/orchard-themes-admin.css
@@ -14,19 +14,19 @@
overflow:hidden;
}
.templates img, .themePreviewImage {
- border:1px solid #e8e8e8;
+ border:1px solid #e8e8e8;
height:200px;
margin:.27em 0 .93em 0;
display:block;
}
.previewImage {
- border:1px solid #525e50;
- height:50%;
- width:50%;
+ border:1px solid #525e50;
+ height:50%;
+ width:50%;
}
.themes #main h2 {
margin:1em 0 0 0;
}
.themePreviewImage {
- height:300px;
+ height:300px;
}
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.cshtml
index 73fc7c115..d7588f591 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.cshtml
@@ -2,63 +2,63 @@
@{ Style.Require("ThemesAdmin"); }
@Html.TitleForPage(T("Manage Themes").ToString())
@if (Model.CurrentTheme == null) {
-
- @T("There is no current theme in the application. The built-in theme will be used.")
- @Html.ActionLink(T("Install a new Theme").ToString(), "Install")
-
+
+ @T("There is no current theme in the application. The built-in theme will be used.")
+ @Html.ActionLink(T("Install a new Theme").ToString(), "Install")
+
} else {
- @T("Current Theme") - @Model.CurrentTheme.Name
+ @T("Current Theme") - @Model.CurrentTheme.Name
- @Html.Image(Href(Html.ThemePath(Model.CurrentTheme, "/Theme.png")), Html.Encode(Model.CurrentTheme.Name), new { @class = "themePreviewImage" })
- @T("By") @Model.CurrentTheme.Author
+ @Html.Image(Href(Html.ThemePath(Model.CurrentTheme, "/Theme.png")), Html.Encode(Model.CurrentTheme.Name), new { @class = "themePreviewImage" })
+ @T("By") @Model.CurrentTheme.Author
-
- @T("Version:") @Model.CurrentTheme.Version
- @Model.CurrentTheme.Description
- @Model.CurrentTheme.WebSite
-
+
+ @T("Version:") @Model.CurrentTheme.Version
+ @Model.CurrentTheme.Description
+ @Model.CurrentTheme.WebSite
+
- @Html.ActionLink(T("Install a new Theme").ToString(), "Install", null, new { @class = "button primaryAction" })
+ @Html.ActionLink(T("Install a new Theme").ToString(), "Install", null, new { @class = "button primaryAction" })
}
@T("Available Themes")
- @foreach (var theme in Model.Themes) {
- if (Model.CurrentTheme == null || theme.Id != Model.CurrentTheme.Id) {
-
-
-
@theme.Name
- @Html.Image(Href(theme.ThemePath("/Theme.png")), Html.Encode(theme.Name), null)
- @using (Html.BeginFormAntiForgeryPost(Url.Action(theme.Enabled ? "Disable" : "Enable"), FormMethod.Post, new { @class = "inline" })) {
- @Html.Hidden("themeName", theme.Id)
-
@T(theme.Enabled ? "Disable" : "Enable")
- }
- @using (Html.BeginFormAntiForgeryPost(Url.Action("Activate"), FormMethod.Post, new { @class = "inline" })) {
- @Html.Hidden("themeName", theme.Id)
-
@T("Set Current")
- }
- @using (Html.BeginFormAntiForgeryPost(Url.Action("Preview"), FormMethod.Post, new { @class = "inline" })) {
- @Html.Hidden("themeName", theme.Id)
-
@T("Preview")
- }
-
@T("By") @theme.Descriptor.Author
-
- @T("Version:") @theme.Descriptor.Version
- @theme.Descriptor.Description
- @theme.Descriptor.WebSite
-
+ @foreach (var theme in Model.Themes) {
+ if (Model.CurrentTheme == null || theme.Id != Model.CurrentTheme.Id) {
+
+
+
@theme.Name
+ @Html.Image(Href(theme.ThemePath("/Theme.png")), Html.Encode(theme.Name), null)
+ @using (Html.BeginFormAntiForgeryPost(Url.Action(theme.Enabled ? "Disable" : "Enable"), FormMethod.Post, new { @class = "inline" })) {
+ @Html.Hidden("themeName", theme.Id)
+
@T(theme.Enabled ? "Disable" : "Enable")
+ }
+ @using (Html.BeginFormAntiForgeryPost(Url.Action("Activate"), FormMethod.Post, new { @class = "inline" })) {
+ @Html.Hidden("themeName", theme.Id)
+
@T("Set Current")
+ }
+ @using (Html.BeginFormAntiForgeryPost(Url.Action("Preview"), FormMethod.Post, new { @class = "inline" })) {
+ @Html.Hidden("themeName", theme.Id)
+
@T("Preview")
+ }
+
@T("By") @theme.Descriptor.Author
+
+ @T("Version:") @theme.Descriptor.Version
+ @theme.Descriptor.Description
+ @theme.Descriptor.WebSite
+
@if(theme.NeedsUpdate){
- using (Html.BeginFormAntiForgeryPost(Url.Action("Update"), FormMethod.Post, new { @class = "inline link" })) {
+ using (Html.BeginFormAntiForgeryPost(Url.Action("Update"), FormMethod.Post, new { @class = "inline link" })) {
@Html.Hidden("themeName", theme.Id)
@T("Update")
}
}
- @using (Html.BeginFormAntiForgeryPost(Url.Action("Uninstall"), FormMethod.Post, new { @class = "inline link" })) {
- @Html.Hidden("themeName", theme.Id)
-
@T("Uninstall")
- }
-
-
- }
- }
+ @using (Html.BeginFormAntiForgeryPost(Url.Action("Uninstall"), FormMethod.Post, new { @class = "inline link" })) {
+ @Html.Hidden("themeName", theme.Id)
+
@T("Uninstall")
+ }
+
+
+ }
+ }
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Install.cshtml b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Install.cshtml
index 038ea80e9..d83b0a2ce 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Install.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Install.cshtml
@@ -5,6 +5,6 @@
@T("File Path to the zip file:")
@T("Install")
- @Html.AntiForgeryTokenOrchard()
-
+ @Html.AntiForgeryTokenOrchard()
+
}
diff --git a/src/Orchard.Web/Modules/Orchard.Themes/Views/ThemePreview.cshtml b/src/Orchard.Web/Modules/Orchard.Themes/Views/ThemePreview.cshtml
index e925a15a3..5c984921e 100644
--- a/src/Orchard.Web/Modules/Orchard.Themes/Views/ThemePreview.cshtml
+++ b/src/Orchard.Web/Modules/Orchard.Themes/Views/ThemePreview.cshtml
@@ -1,5 +1,5 @@
@{
- var themes = (IEnumerable)Model.Themes;
+ var themes = (IEnumerable)Model.Themes;
}
- @using(Html.BeginFormAntiForgeryPost(Url.Action("Preview", new{Controller="Admin", Area="Orchard.Themes"}), FormMethod.Post, new { @class = "inline" })) {
-
- @T("You are previewing: ")
- @Html.DropDownList("ThemeName", themes, new {onChange = "this.form.submit();"})
- @Html.Hidden("ReturnUrl", Context.Request.RawUrl)
- @T("Preview")
- @T("Apply this theme")
- @T("Cancel")
-
- }
+ @using(Html.BeginFormAntiForgeryPost(Url.Action("Preview", new{Controller="Admin", Area="Orchard.Themes"}), FormMethod.Post, new { @class = "inline" })) {
+
+ @T("You are previewing: ")
+ @Html.DropDownList("ThemeName", themes, new {onChange = "this.form.submit();"})
+ @Html.Hidden("ReturnUrl", Context.Request.RawUrl)
+ @T("Preview")
+ @T("Apply this theme")
+ @T("Cancel")
+
+ }
diff --git a/src/Orchard.Web/Modules/Orchard.Users/Controllers/AccountController.cs b/src/Orchard.Web/Modules/Orchard.Users/Controllers/AccountController.cs
index e3c9ad8ca..bfab4c451 100644
--- a/src/Orchard.Web/Modules/Orchard.Users/Controllers/AccountController.cs
+++ b/src/Orchard.Web/Modules/Orchard.Users/Controllers/AccountController.cs
@@ -211,7 +211,7 @@ namespace Orchard.Users.Controllers {
protected override void OnActionExecuting(ActionExecutingContext filterContext) {
if (filterContext.HttpContext.User.Identity is WindowsIdentity) {
- throw new InvalidOperationException("Windows authentication is not supported.");
+ throw new InvalidOperationException(T("Windows authentication is not supported.").ToString());
}
}
diff --git a/src/Orchard.Web/Modules/Orchard.Users/Services/MembershipService.cs b/src/Orchard.Web/Modules/Orchard.Users/Services/MembershipService.cs
index 264f5ce7d..124751cf7 100644
--- a/src/Orchard.Web/Modules/Orchard.Users/Services/MembershipService.cs
+++ b/src/Orchard.Web/Modules/Orchard.Users/Services/MembershipService.cs
@@ -6,6 +6,7 @@ using System.Text;
using System.Web.Security;
using System.Xml.Linq;
using JetBrains.Annotations;
+using Orchard.Localization;
using Orchard.Logging;
using Orchard.ContentManagement;
using Orchard.Security;
@@ -27,9 +28,11 @@ namespace Orchard.Users.Services {
_messageManager = messageManager;
_userEventHandlers = userEventHandlers;
Logger = NullLogger.Instance;
+ T = NullLocalizer.Instance;
}
public ILogger Logger { get; set; }
+ public Localizer T { get; set; }
public MembershipSettings GetSettings() {
var settings = new MembershipSettings();
@@ -179,7 +182,7 @@ namespace Orchard.Users.Services {
SetPasswordEncrypted(partRecord, password);
break;
default:
- throw new ApplicationException("Unexpected password format value");
+ throw new ApplicationException(T("Unexpected password format value").ToString());
}
}
diff --git a/src/Orchard.Web/Modules/Orchard.Widgets/Styles/orchard-widgets-admin.css b/src/Orchard.Web/Modules/Orchard.Widgets/Styles/orchard-widgets-admin.css
index 14438b614..c26226f70 100644
--- a/src/Orchard.Web/Modules/Orchard.Widgets/Styles/orchard-widgets-admin.css
+++ b/src/Orchard.Web/Modules/Orchard.Widgets/Styles/orchard-widgets-admin.css
@@ -47,18 +47,18 @@ h4.widgets-layer-header {
}
.widgets-layerZones .widgets-zone {
- background:#f5f5f5;
- border: 1px solid #f1f1f1;
- padding: 1em 2em 1em 2em;
- margin: 0 0 .6em 0;
+ background:#f5f5f5;
+ border: 1px solid #f1f1f1;
+ padding: 1em 2em 1em 2em;
+ margin: 0 0 .6em 0;
}
.widgets-layerZones .widgets-zoneWidget {
margin: .6em;
padding: 1em 2em 1em 3em;
- background:#ffffff;
- border: 1px solid #f1f1f1;
- vertical-align: middle;
+ background:#ffffff;
+ border: 1px solid #f1f1f1;
+ vertical-align: middle;
}
.widgets-availableLayers fieldset
@@ -79,8 +79,8 @@ h4.widgets-layer-header {
}
.widgets-layers ul {
- background: #f5f5f5;
- border: 1px solid #f1f1f1;
+ background: #f5f5f5;
+ border: 1px solid #f1f1f1;
}
.widgets-layers ul li
@@ -90,17 +90,17 @@ h4.widgets-layer-header {
}
.widgets-layers .widgets-currentLayer {
- background: #c3d9ff;
+ background: #c3d9ff;
}
.widgets-layers .widgets-currentLayer a {
- color: #333;
- font-weight: 600;
+ color: #333;
+ font-weight: 600;
}
.widgets-layerZones ul li ul {
- margin: 0;
- padding: 0;
+ margin: 0;
+ padding: 0;
}
.new-layer {
diff --git a/src/Orchard.Web/Modules/Orchard.jQuery/Styles/ui.timepickr.css b/src/Orchard.Web/Modules/Orchard.jQuery/Styles/ui.timepickr.css
index dfc7edfb7..cf010f8b2 100644
--- a/src/Orchard.Web/Modules/Orchard.jQuery/Styles/ui.timepickr.css
+++ b/src/Orchard.Web/Modules/Orchard.jQuery/Styles/ui.timepickr.css
@@ -1,14 +1,14 @@
.ui-timepickr {
- display:none;
+ display:none;
position:absolute;
- padding:2px 2px 2px 0;
+ padding:2px 2px 2px 0;
}
.ui-timepickr-row {
padding:0;
- float:right;
- clear:both;
- overflow:hidden;
+ float:right;
+ clear:both;
+ overflow:hidden;
margin:2px 0;
display:none;
position:relative;
diff --git a/src/Orchard.Web/Modules/TinyMce/Views/Body-Html.Editor.cshtml b/src/Orchard.Web/Modules/TinyMce/Views/Body-Html.Editor.cshtml
index 0664d8e94..c4522e7e0 100644
--- a/src/Orchard.Web/Modules/TinyMce/Views/Body-Html.Editor.cshtml
+++ b/src/Orchard.Web/Modules/TinyMce/Views/Body-Html.Editor.cshtml
@@ -1,5 +1,5 @@
@{
- Script.Require("TinyMce");
+ Script.Require("TinyMce");
}
@using(Script.Foot()) {
diff --git a/src/Orchard.Web/Themes/TheAdmin/Styles/ie6.css b/src/Orchard.Web/Themes/TheAdmin/Styles/ie6.css
index b2c2d30b9..9df334948 100644
--- a/src/Orchard.Web/Themes/TheAdmin/Styles/ie6.css
+++ b/src/Orchard.Web/Themes/TheAdmin/Styles/ie6.css
@@ -1,18 +1,18 @@
body{
- background:#fcfcfc;
+ background:#fcfcfc;
}
#branding
{
- height:50px;
- margin:0 0 0 20px;
- background:transparent url(images/orchardLogo.gif) no-repeat scroll 0 0;
+ height:50px;
+ margin:0 0 0 20px;
+ background:transparent url(images/orchardLogo.gif) no-repeat scroll 0 0;
}
#branding h1 {
- padding:8px 0 0 38px;
+ padding:8px 0 0 38px;
}
#content {
- overflow:auto;
- padding:1.4em;
+ overflow:auto;
+ padding:1.4em;
}
/* Navigation
@@ -20,26 +20,26 @@
#navigation ul li {
border:0;
- margin:0 0 0 4px;
+ margin:0 0 0 4px;
}
#navigation li h3 a
{
- color:#333;
- padding:6px 4px 8px 0px;
+ color:#333;
+ padding:6px 4px 8px 0px;
}
/* Forms
----------------------------------------------------------*/
legend {
- color:#333;
+ color:#333;
}
#AdminPassword, .text-box
{
- border:1px solid #DDDEDF;
- padding:4px;
- width:98%;
+ border:1px solid #DDDEDF;
+ padding:4px;
+ width:98%;
}
.manage
diff --git a/src/Orchard.Web/Themes/TheAdmin/Styles/site.css b/src/Orchard.Web/Themes/TheAdmin/Styles/site.css
index 5b1ba68a1..c6ee3b82c 100644
--- a/src/Orchard.Web/Themes/TheAdmin/Styles/site.css
+++ b/src/Orchard.Web/Themes/TheAdmin/Styles/site.css
@@ -29,15 +29,15 @@ small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, button, submit {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-weight: inherit;
+ font-style: inherit;
+ font-size: 100%;
+ font-family: inherit;
+ vertical-align: baseline;
}
/* Remember focus styles! */
@@ -64,11 +64,11 @@ header, footer, aside, nav, article { display: block; }
.group:after
{
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
+ content: ".";
+ display: block;
+ height: 0;
+ clear: both;
+ visibility: hidden;
}
@@ -78,31 +78,31 @@ header, footer, aside, nav, article { display: block; }
/* Default font settings.
The font-size 81.3% sets the base font to 13px
-Pixels EMs Percent Points
+Pixels EMs Percent Points
1px 0.077em 7.7% 1pt
2px 0.154em 15.4% 2pt
3px 0.231em 23.1% 3pt
4px 0.308em 30.8% 3pt
5px 0.385em 38.5% 4pt
-6px 0.462em 46.2% 5pt
-7px 0.538em 53.8% 5pt
-8px 0.615em 61.5% 6pt
-9px 0.692em 69.2% 7pt
-10px 0.769em 76.9% 8pt
-11px 0.846em 84.6% 8pt
-12px 0.923em 92.3% 9pt
-13px 1em 100% 10pt
-14px 1.077em 107.7% 11pt
-15px 1.154em 115.4% 11pt
-16px 1.231em 123.1% 12pt
-17px 1.308em 130.8% 13pt
-18px 1.385em 138.5% 14pt
-19px 1.462em 146.2% 14pt
-20px 1.538em 153.8% 15pt
-21px 1.615em 161.5% 16pt
-22px 1.692em 169.2% 17pt
-23px 1.769em 176.9% 17pt
-24px 1.846em 184.6% 18pt
+6px 0.462em 46.2% 5pt
+7px 0.538em 53.8% 5pt
+8px 0.615em 61.5% 6pt
+9px 0.692em 69.2% 7pt
+10px 0.769em 76.9% 8pt
+11px 0.846em 84.6% 8pt
+12px 0.923em 92.3% 9pt
+13px 1em 100% 10pt
+14px 1.077em 107.7% 11pt
+15px 1.154em 115.4% 11pt
+16px 1.231em 123.1% 12pt
+17px 1.308em 130.8% 13pt
+18px 1.385em 138.5% 14pt
+19px 1.462em 146.2% 14pt
+20px 1.538em 153.8% 15pt
+21px 1.615em 161.5% 16pt
+22px 1.692em 169.2% 17pt
+23px 1.769em 176.9% 17pt
+24px 1.846em 184.6% 18pt
*/
html {
@@ -225,8 +225,8 @@ form.link button:hover {
/* Header - Branding and Login
***************************************************************/
#header {
- background:#2d2f25 url(images/backgroundHeader.gif) no-repeat bottom right;
- height:50px;
+ background:#2d2f25 url(images/backgroundHeader.gif) no-repeat bottom right;
+ height:50px;
}
#header #app {
float:left;
@@ -234,29 +234,29 @@ form.link button:hover {
padding:.4em 0;
}
#header #app a {
- background:url(images/orchardLogo.gif) no-repeat;
- display:block;
- height:60px;
- margin:-11px 0 0 14px;
- text-indent:-9999px;
- width:40px;
+ background:url(images/orchardLogo.gif) no-repeat;
+ display:block;
+ height:60px;
+ margin:-11px 0 0 14px;
+ text-indent:-9999px;
+ width:40px;
}
#site {
font-size:1.385em; /*18px*/
}
#site a, #site a:visited, #site a:active {
- color:#fff;
- float:left;
- line-height:2.6em;
- position:relative;
+ color:#fff;
+ float:left;
+ line-height:2.6em;
+ position:relative;
}
#login {
- color:#fff;
- display:block;
- float:right;
- margin:14px 20px 0 0;
- white-space:nowrap;
+ color:#fff;
+ display:block;
+ float:right;
+ margin:14px 20px 0 0;
+ white-space:nowrap;
}
#login a, #login a:link, #login a:visited {
@@ -276,7 +276,7 @@ form.link button:hover {
width:0;
}
#menu .menu-admin li {
- margin:5px 0 17px 4px;
+ margin:5px 0 17px 4px;
}
#menu .menu-admin ul li {
border:0;
@@ -286,19 +286,19 @@ form.link button:hover {
padding:0 0 0 8px;
}
#menu .menu-admin li h3 a, #menu .menu-admin li h3 span {
- line-height:1.2em;
+ line-height:1.2em;
}
#menu .menu-admin ul a, #menu .menu-admin ul a:link, #menu .menu-admin ul a:visited {
- color:#2d2f25;
- display:block;
- line-height:1.2em;
- padding:.4em 0 .4em 12px;
- text-decoration:none;
+ color:#2d2f25;
+ display:block;
+ line-height:1.2em;
+ padding:.4em 0 .4em 12px;
+ text-decoration:none;
}
#menu .menu-admin ul a:hover, #menu .menu-admin ul a:active, #menu .menu-admin ul a:focus {
- background:#f5f5f5;
- color: #000;
- text-decoration:underline;
+ background:#f5f5f5;
+ color: #000;
+ text-decoration:underline;
}
#menu .menu-admin li.section-dashboard h3 {
padding:.4em 0 0 .4em;
@@ -393,7 +393,7 @@ form.link button:hover {
/* Confirmations, Messages and the like
***************************************************************/
.message, .validation-summary-errors {
- margin:10px 0 4px 0;
+ margin:10px 0 4px 0;
padding:4px;
}
messages div.message {
@@ -401,7 +401,7 @@ messages div.message {
}
span.message {
display:block;
- margin:4px 0 4px 4px;
+ margin:4px 0 4px 4px;
}
.messages a {
font-weight:bold;
@@ -409,30 +409,30 @@ span.message {
/* todo: (heskew) what else (other inputs) needs this? */
.critical.message, .validation-summary-errors,
.input-validation-error.text-box, .input-validation-error.text {
- border:1px solid #990808;
+ border:1px solid #990808;
}
.critical.message, .validation-summary-errors {
- background:#e68585; /* red */
- color:#fff;
+ background:#e68585; /* red */
+ color:#fff;
}
.message-Information {
background:#e6f1c9; /* green */
- border:1px solid #cfe493;
- color:#062232;
+ border:1px solid #cfe493;
+ color:#062232;
}
.message-Warning {
- background:#fdf5bc; /* yellow */
- border:1px solid #ffea9b;
+ background:#fdf5bc; /* yellow */
+ border:1px solid #ffea9b;
}
.message-Error {
- background:#e68585; /* green */
- border:1px solid #990808;
- color:#fff;
+ background:#e68585; /* green */
+ border:1px solid #990808;
+ color:#fff;
}.debug.message {
background:#eee;
- border:1px dashed #D2D6C6;
- color:#7a7a7a;
- margin:20px 0 14px 0;
+ border:1px dashed #D2D6C6;
+ color:#7a7a7a;
+ margin:20px 0 14px 0;
}
.debug.message:before {
content:"DEBUG » ";
@@ -470,7 +470,7 @@ label.bulk-order {
text-transform:lowercase;
}
label span {
- font-weight:normal;
+ font-weight:normal;
}
label input {
vertical-align:text-top;
@@ -496,7 +496,7 @@ select {
padding:1px;
}
select:focus, textarea:focus, input.text:focus, input.text-box:focus {
- border-color:#666d51;
+ border-color:#666d51;
}
input.check-box {
margin-left:0;
@@ -546,12 +546,12 @@ form.link button {
button.primaryAction, .button.primaryAction, .button.primaryAction:link, .button.primaryAction:visited {
background:#4687ad;
border:1px solid #405f71;
- color:#fff;
+ color:#fff;
/*CSS3 properties*/
- filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#4687AD', endColorstr='#366581');
- background: -webkit-gradient(linear, left top, left bottom, from(#4687AD), to(#366581));
- background:-moz-linear-gradient(top , #4687AD, #366581);
+ filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#4687AD', endColorstr='#366581');
+ background: -webkit-gradient(linear, left top, left bottom, from(#4687AD), to(#366581));
+ background:-moz-linear-gradient(top , #4687AD, #366581);
}
button.remove, .remove.button, .remove.button:link, .remove.button:visited {
background-color:#DECCCA;
@@ -574,48 +574,48 @@ button.remove:focus::-moz-focus-inner, .remove.button:focus::-moz-focus-inner {
}
input[type="submit"], input[type="reset"], input[type="button"], button, submit, .button, .button:link, .button:visited
{
- color:#333;
- background:#F5F5F5;
- border:1px solid #999;
- cursor:pointer;
- padding: 0 12px 2px 12px;
- text-align:center;
-
- /*CSS3 properties*/
- filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#f5f5f5', endColorstr='#cbcbcb');
- background: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#cbcbcb));
- background: -moz-linear-gradient(top, #f5f5f5, #cbcbcb);
- box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
- -webkit-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
- -moz-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
- border-radius: 3px;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
+ color:#333;
+ background:#F5F5F5;
+ border:1px solid #999;
+ cursor:pointer;
+ padding: 0 12px 2px 12px;
+ text-align:center;
+
+ /*CSS3 properties*/
+ filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#f5f5f5', endColorstr='#cbcbcb');
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#cbcbcb));
+ background: -moz-linear-gradient(top, #f5f5f5, #cbcbcb);
+ box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
+ -webkit-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
+ -moz-box-shadow: inset 0px 0px 1px rgba(255, 255, 255, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
+ border-radius: 3px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
}
input[type="submit"]:hover,input[type="reset"]:hover, input[type="button"]:hover, button:hover, .button:hover, .button.primaryAction:hover {
- text-decoration:none;
- background: #ffac40;
- color:#fff;
- border:1px solid #bb8b2d;
-
- /*CSS3 properties*/
- filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#ffac40', endColorstr='#f9760d');
- background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffac40), to(#f9760d));
- background: -moz-linear-gradient(top, #ffac40, #f9760d);
+ text-decoration:none;
+ background: #ffac40;
+ color:#fff;
+ border:1px solid #bb8b2d;
+
+ /*CSS3 properties*/
+ filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#ffac40', endColorstr='#f9760d');
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffac40), to(#f9760d));
+ background: -moz-linear-gradient(top, #ffac40, #f9760d);
}
input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active, button:active, .buton:active, .button.primaryAction:active {
- text-decoration:none;
- background: #62a9e2;
- color:#fff;
- border:1px solid #bb772d;
+ text-decoration:none;
+ background: #62a9e2;
+ color:#fff;
+ border:1px solid #bb772d;
- /*CSS3 properties*/
- filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#fece3b', endColorstr='#fe6001');
- background: -webkit-gradient(linear, 0 0, 0 100%, from(#fece3b), to(#fe6001));
- background: -moz-linear-gradient(top, #fece3b, #fe6001);
- box-shadow: inset 0px 0px 1px rgba(254, 225, 109, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
- -moz-box-shadow: inset 0px 0px 1px rgba(254, 225, 109, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
- -webkit-box-shadow: inset 1px 1px 1px rgba(254, 225, 109, 0.6), 1px 1px 1px rgba(102, 102, 102, 0.1);
+ /*CSS3 properties*/
+ filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#fece3b', endColorstr='#fe6001');
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(#fece3b), to(#fe6001));
+ background: -moz-linear-gradient(top, #fece3b, #fe6001);
+ box-shadow: inset 0px 0px 1px rgba(254, 225, 109, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
+ -moz-box-shadow: inset 0px 0px 1px rgba(254, 225, 109, 1.0), 1px 1px 1px rgba(102, 102, 102, 0.3);
+ -webkit-box-shadow: inset 1px 1px 1px rgba(254, 225, 109, 0.6), 1px 1px 1px rgba(102, 102, 102, 0.1);
}
input[type="submit"]:focus::-moz-focus-inner, button:focus::-moz-focus-inner, .button:focus::-moz-focus-inner {
border: 1px dotted transparent;
@@ -683,36 +683,36 @@ input[type="submit"]:focus::-moz-focus-inner, button:focus::-moz-focus-inner, .b
----------------------------------------------------------*/
table.items {
margin:0 0 1.4em 0;
- background:#fff;
- border:1px solid #eaeaea;
- border-bottom:none;
- border-collapse:separate;
- border-spacing:0;
- width:100%;
+ background:#fff;
+ border:1px solid #eaeaea;
+ border-bottom:none;
+ border-collapse:separate;
+ border-spacing:0;
+ width:100%;
}
table.items caption {
- padding:8px 0;
- text-indent:0;
+ padding:8px 0;
+ text-indent:0;
}
table.items col {
- border-spacing:0;
- display:table-column;
+ border-spacing:0;
+ display:table-column;
}
table.items colgroup
{
- border-spacing:0;
- display:table-column-group;
+ border-spacing:0;
+ display:table-column-group;
}
table.items tbody {
- border-spacing:0;
- vertical-align:middle;
+ border-spacing:0;
+ vertical-align:middle;
}
table.items thead, table.items th {
- background:#f5f5f5;
- font-weight:700;
- overflow:hidden;
- text-align:left;
- white-space:nowrap;
+ background:#f5f5f5;
+ font-weight:700;
+ overflow:hidden;
+ text-align:left;
+ white-space:nowrap;
}
/* todo: (heskew) hook back up */
table.items tr.hover {
@@ -721,11 +721,11 @@ table.items tr.hover {
table.items tr.critical {background:#e68585; border:inherit;}
table.items tr.warning {background:#fdf5bc; border:inherit;}
table.items th, table.items td {
- border-bottom:1px solid #eaeaea;
- border-spacing:0px;
- display:table-cell;
- padding:8px 12px;
- vertical-align:middle;
+ border-bottom:1px solid #eaeaea;
+ border-spacing:0px;
+ display:table-cell;
+ padding:8px 12px;
+ vertical-align:middle;
}
/* Content item lists
@@ -829,7 +829,7 @@ table.items th, table.items td {
border-style:dashed;
margin-left:0;
margin-right:2em;
- width:350px;
+ width:350px;
}
.permalink input.text:focus {
background:#FFF;
@@ -858,12 +858,12 @@ table.items th, table.items td {
padding:6px;
/*CSS3 properties*/
- filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#f7f7f7', endColorstr='#f5f5f5');
- background: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f7f7), to(#f5f5f5));
- background: -moz-linear-gradient(top, #f7f7f7, #f5f5f5);
- border-radius: 3px;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
+ filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, startColorstr='#f7f7f7', endColorstr='#f5f5f5');
+ background: -webkit-gradient(linear, 0 0, 0 100%, from(#f7f7f7), to(#f5f5f5));
+ background: -moz-linear-gradient(top, #f7f7f7, #f5f5f5);
+ border-radius: 3px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
}
.edit-item-sidebar fieldset {
@@ -911,7 +911,7 @@ fieldset.publish-later-datetime input {
}
/* todo: needed? */
.clearBoth {
- clear:both;
+ clear:both;
}
.placeholderd {
color:#ccc;
diff --git a/src/Orchard.Web/Themes/TheAdmin/Views/Layout.cshtml b/src/Orchard.Web/Themes/TheAdmin/Views/Layout.cshtml
index d4afca4ed..cab73e6c7 100644
--- a/src/Orchard.Web/Themes/TheAdmin/Views/Layout.cshtml
+++ b/src/Orchard.Web/Themes/TheAdmin/Views/Layout.cshtml
@@ -7,7 +7,7 @@
@{
Style.Include("site.css");
- Script.Require("jQuery");
+ Script.Require("jQuery");
Script.Require("ShapesBase");
Script.Include("admin.js");
RegisterLink(new LinkEntry { Condition = "lte IE 8", Rel = "stylesheet", Type = "text/css", Href = Url.Content("../Styles/ie.css") }.AddAttribute("media", "screen, projection"));
diff --git a/src/Orchard.Web/Themes/TheAdmin/Views/Menu.cshtml b/src/Orchard.Web/Themes/TheAdmin/Views/Menu.cshtml
index 715be0e3b..12ddff3ab 100644
--- a/src/Orchard.Web/Themes/TheAdmin/Views/Menu.cshtml
+++ b/src/Orchard.Web/Themes/TheAdmin/Views/Menu.cshtml
@@ -1,7 +1,7 @@
@using System.Web.Routing;
@using Orchard.Utility.Extensions;
@{
- Script.Require("jQuery");
+ Script.Require("jQuery");
Script.Include("admin.js");
IEnumerable firstLevelMenuItems = Model;
@@ -9,7 +9,7 @@
var tag = Tag(Model, "ul");
}
@tag.StartElement
- @foreach(var firstLevelMenuItem in Model) {
+ @foreach(var firstLevelMenuItem in Model) {
IEnumerable secondLevelMenuItems = firstLevelMenuItem;
string sectionHeaderText = firstLevelMenuItem.Text;
@@ -33,7 +33,7 @@
@sectionHeaderMarkup
if (secondLevelMenuItems.Count() > 1) {