Removes un-needed ShowUmbracoTags files from legacy files.
This commit is contained in:
@@ -1,59 +0,0 @@
|
||||
<%@ Page Language="c#" MasterPageFile="../../masterpages/umbracoPage.Master" Title="ShowUmbracoTags"
|
||||
Codebehind="ShowUmbracoTags.aspx.cs" AutoEventWireup="True"
|
||||
Inherits="umbraco.cms.presentation.settings.modal.ShowUmbracoTags" %>
|
||||
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
<style type="text/css">
|
||||
code{display: block; background: #999; color: #fff; padding: 5px; margin-bottom: 10px;white-space:normal;text-wrap:normal;}
|
||||
small{color: #000 !Important; margin-bottom: 10px; display: block;}
|
||||
</style>
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
|
||||
<cc1:Pane ID="Pane7" Style="padding-right: 10px; padding-left: 10px; padding-bottom: 10px;
|
||||
padding-top: 10px; text-align: left" runat="server">
|
||||
<table id="Table1" width="100%">
|
||||
<tr><th width="120">Insert field</th><td>
|
||||
<code>
|
||||
<umbraco:Item field="bodyText" runat="server"/>
|
||||
</code>
|
||||
<small>
|
||||
Fetches a value from the current page.
|
||||
</small>
|
||||
</td></tr>
|
||||
<tr><th width="120">Insert macro</th><td>
|
||||
<code>
|
||||
<umbraco:Macro macroAlias="MacroAlias" Alias="MacroAlias" runat="server"/>
|
||||
</code>
|
||||
<small>Inserts a macro into the template</small>
|
||||
</td></tr>
|
||||
<tr><th width="120">Load child template</th><td>
|
||||
<code>
|
||||
<asp:ContentPlaceHolder runat="server" id="<%= alias %>ContentPlaceHolder" />
|
||||
</code>
|
||||
<small>
|
||||
This is the default placeholder for content stored in a child template using this exact template as it's master template.
|
||||
</small>
|
||||
</td></tr>
|
||||
<tr><th width="120">Disable Request Validation</th><td>
|
||||
<code>
|
||||
<umbraco:DisableRequestValidation runat="server"/>
|
||||
</code>
|
||||
<small>Disable ASP.NET request validation. It's the same as adding a enableEventValidation="false" to a page directive (but this is not possible in Umbraco as all pages use the same ASPX page for all pages)</small>
|
||||
</td></tr>
|
||||
<tr><th width="120">MetaBlogApi / Content Channels</th><td>
|
||||
<code>
|
||||
<link rel="EditURI" type="application/rsd+xml" href="http://<%=Request.ServerVariables["SERVER_NAME"] %><%= umbraco.IO.IOHelper.ResolveUrl(umbraco.IO.SystemDirectories.Umbraco)%>/channels/rsd.aspx" />
|
||||
<br /><br />
|
||||
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://<%=Request.ServerVariables["SERVER_NAME"] %><%= umbraco.IO.IOHelper.ResolveUrl(umbraco.IO.SystemDirectories.Umbraco)%>/channels/wlwmanifest.aspx" />
|
||||
</code>
|
||||
<small>
|
||||
Insert the above two elements to the head element to gain optimal support for
|
||||
using the MetaBlog Apis with 3rd party clients and to enable autodiscovery for Windows
|
||||
Live Writer.
|
||||
</small>
|
||||
</td></tr>
|
||||
</table>
|
||||
</cc1:Pane>
|
||||
</asp:Content>
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
@@ -11,37 +11,26 @@ using System.Web.UI.HtmlControls;
|
||||
|
||||
namespace umbraco.cms.presentation.settings.modal
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for ShowUmbracoTags.
|
||||
/// </summary>
|
||||
public partial class ShowUmbracoTags : umbraco.BasePages.UmbracoEnsuredPage
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for ShowUmbracoTags.
|
||||
/// </summary>
|
||||
public partial class ShowUmbracoTags : umbraco.BasePages.UmbracoEnsuredPage
|
||||
{
|
||||
|
||||
public static string alias = "";
|
||||
protected void Page_Load(object sender, System.EventArgs e)
|
||||
{
|
||||
protected void Page_Load(object sender, System.EventArgs e)
|
||||
{
|
||||
alias = Request.QueryString["alias"].Replace(" ", "").Trim();
|
||||
// Put user code to initialize the page here
|
||||
}
|
||||
// Put user code to initialize the page here
|
||||
}
|
||||
|
||||
#region Web Form Designer generated code
|
||||
override protected void OnInit(EventArgs e)
|
||||
{
|
||||
//
|
||||
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
|
||||
//
|
||||
InitializeComponent();
|
||||
base.OnInit(e);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
/// <summary>
|
||||
/// Pane7 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::umbraco.uicontrols.Pane Pane7;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace umbraco.cms.presentation.settings.modal {
|
||||
|
||||
|
||||
public partial class ShowUmbracoTags {
|
||||
|
||||
/// <summary>
|
||||
/// Pane7 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::umbraco.uicontrols.Pane Pane7;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user