Merge branch '1.9.x' into dev

This commit is contained in:
Sebastien Ros
2015-06-22 10:11:56 -07:00
5 changed files with 7 additions and 7 deletions

View File

@@ -17,6 +17,6 @@
<div>
@Html.CheckBoxFor(m => m.ShowAuditTrailCommentInput)
@Html.LabelFor(m => m.ShowAuditTrailCommentInput, T("Show comment input").Text, new { @class = "forcheckbox" })
<span class="hint">@T("Renders a text field to allow the user to enter a comment about the changes she made.")</span>
<span class="hint">@T("Renders a text field to allow the user to enter a comment about the changes they made.")</span>
</div>
</fieldset>

View File

@@ -65,7 +65,7 @@
@functions{
private string BuildSelectedCultureList(string id, string name, IEnumerable<string> siteCultures, string culture) {
private IHtmlString BuildSelectedCultureList(string id, string name, IEnumerable<string> siteCultures, string culture) {
TagBuilder selectTag = new TagBuilder("select");
selectTag.Attributes["id"] = id;
selectTag.Attributes["name"] = name;
@@ -77,11 +77,11 @@
if (siteCulture == culture) {
optionTag.Attributes["selected"] = "selected";
}
optionTag.SetInnerText(siteCulture);
optionTag.SetInnerText(Html.Encode(siteCulture));
selectTag.InnerHtml += optionTag.ToString();
}
return selectTag.ToString();
return Html.Raw(selectTag);
}
}
@using (Script.Foot()) {

View File

@@ -4,7 +4,7 @@ Author: The Orchard Team
Website: http://orchardproject.net/
Version: 1.9.0
OrchardVersion: 1.9
Description: Adds output caching functiona
Description: Adds output caching functionality
Features:
Orchard.OutputCache:
Description: Adds output caching functionality.

View File

@@ -23,7 +23,7 @@
<fieldset>
<label>@T("Default Cache Grace Time")</label>
@Html.TextBoxFor(m => m.DefaultCacheGraceTime, new { @class = "text small" })
<span class="hint">@T("Number of seconds past duration that stale items can be served from cache while regenaration is in progress. Enter 0 to disable grace time by default.")</span>
<span class="hint">@T("Number of seconds past duration that stale items can be served from cache while regeneration is in progress. Enter 0 to disable grace time by default.")</span>
</fieldset>
<fieldset>

View File

@@ -32,7 +32,7 @@ namespace Orchard.Users.Activities {
}
public override LocalizedString Description {
get { return T("Signs in a user based on the specified credentials, or if the current content item us a user, that user is signed in."); }
get { return T("Signs in a user based on the specified credentials, or if the current content item is a user, that user is signed in."); }
}
public override string Form {