Merge branch '7.1.0' of https://github.com/umbraco/Umbraco-CMS into 7.1.0
This commit is contained in:
@@ -666,9 +666,11 @@ To manage your website, simply open the umbraco back office and start adding con
|
||||
<key alias="paSimpleHelp">If you just want to setup simple protection using a single login and password</key>
|
||||
</area>
|
||||
<area alias="publish">
|
||||
<key alias="contentPublishedFailedAwaitingRelease"><![CDATA[
|
||||
<key alias="contentPublishedFailedAwaitingRelease">
|
||||
<![CDATA[
|
||||
%0% could not be published because the item is scheduled for release.
|
||||
]]></key>
|
||||
]]>
|
||||
</key>
|
||||
<key alias="contentPublishedFailedInvalid"><![CDATA[
|
||||
%0% could not be published because these properties: %1% did not pass validation rules.
|
||||
]]></key>
|
||||
|
||||
@@ -241,6 +241,7 @@ namespace Umbraco.Web.Trees
|
||||
menu.Items.Add<ActionSort>(ui.Text("actions", ActionSort.Instance.Alias), true).ConvertLegacyMenuItem(item, "content", "content");
|
||||
|
||||
menu.Items.Add<ActionRollback>(ui.Text("actions", ActionRollback.Instance.Alias)).ConvertLegacyMenuItem(item, "content", "content");
|
||||
menu.Items.Add<ActionAudit>(ui.Text("actions", ActionAudit.Instance.Alias)).ConvertLegacyMenuItem(item, "content", "content");
|
||||
menu.Items.Add<ActionPublish>(ui.Text("actions", ActionPublish.Instance.Alias), true).ConvertLegacyMenuItem(item, "content", "content");
|
||||
menu.Items.Add<ActionToPublish>(ui.Text("actions", ActionToPublish.Instance.Alias)).ConvertLegacyMenuItem(item, "content", "content");
|
||||
menu.Items.Add<ActionAssignDomain>(ui.Text("actions", ActionAssignDomain.Instance.Alias)).ConvertLegacyMenuItem(item, "content", "content");
|
||||
|
||||
@@ -1854,7 +1854,9 @@
|
||||
<Content Include="umbraco.presentation\umbraco\controls\ProgressBar.ascx">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Content>
|
||||
<Content Include="umbraco.presentation\umbraco\controls\GenericProperties\GenericProperty.ascx" />
|
||||
<Content Include="umbraco.presentation\umbraco\controls\GenericProperties\GenericProperty.ascx">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Content>
|
||||
<Content Include="umbraco.presentation\umbraco\controls\Images\ImageViewerUpdater.asmx" />
|
||||
<Content Include="umbraco.presentation\umbraco\controls\Images\UploadMediaImage.ascx">
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -100,7 +100,6 @@ namespace umbraco.controls.GenericProperties
|
||||
{
|
||||
tbName.Text = "";
|
||||
tbAlias.Text = "";
|
||||
lblAlias.Text = "";
|
||||
tbValidation.Text = "";
|
||||
tbDescription.Text = "";
|
||||
ddlTab.SelectedIndex = 0;
|
||||
@@ -141,7 +140,6 @@ namespace umbraco.controls.GenericProperties
|
||||
//form.Attributes.Add("style", "display: none;");
|
||||
tbName.Text = PropertyType.GetRawName();
|
||||
tbAlias.Text = PropertyType.Alias;
|
||||
lblAlias.Text = PropertyType.Alias;
|
||||
FullHeader.Text = PropertyType.GetRawName() + " (" + PropertyType.Alias + "), Type: " + PropertyType.DataTypeDefinition.Text;;
|
||||
Header.Text = PropertyType.GetRawName();
|
||||
|
||||
@@ -154,7 +152,6 @@ namespace umbraco.controls.GenericProperties
|
||||
DeleteButton.Visible = AllowPropertyEdit;
|
||||
DeleteButton2.Visible = AllowPropertyEdit;
|
||||
tbAlias.Visible = AllowPropertyEdit;
|
||||
lblAlias.Visible = AllowPropertyEdit == false;
|
||||
PropertyPanel5.Visible = AllowPropertyEdit;
|
||||
PropertyPanel6.Visible = AllowPropertyEdit;
|
||||
PropertyPanel3.Visible = AllowPropertyEdit;
|
||||
|
||||
@@ -74,15 +74,6 @@ namespace umbraco.controls.GenericProperties {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox tbAlias;
|
||||
|
||||
/// <summary>
|
||||
/// tbAlias control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblAlias;
|
||||
|
||||
/// <summary>
|
||||
/// PropertyPanel2 control.
|
||||
|
||||
@@ -38,14 +38,9 @@ namespace umbraco.presentation.umbraco.dialogs
|
||||
if (action == "new")
|
||||
action = "create";
|
||||
ArrayList actions = BusinessLogic.Actions.Action.GetAll();
|
||||
foreach (interfaces.IAction a in actions)
|
||||
foreach (interfaces.IAction a in actions)
|
||||
{
|
||||
if (string.Compare(a.Alias, action, true) == 0) {
|
||||
if(a.Icon.StartsWith("."))
|
||||
return "<div class=\"menuSpr " + a.Icon.Trim('.') + "\"><span>" + ui.Text(action) + "</span></div>";
|
||||
else
|
||||
return "<img alt=\"" + ui.Text(a.Alias) + "\" src=\"../images/" + a.Icon + " width=\"16\" height=\"16\"/> " + ui.Text(action);
|
||||
}
|
||||
return ui.Text(action);
|
||||
}
|
||||
return action;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user