mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Merge branch '1.9.x' into dev
This commit is contained in:
@@ -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>
|
@@ -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()) {
|
||||
|
@@ -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.
|
||||
|
@@ -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>
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user