From dcd6477030c78bb2821128fc7b40e8bf9e1adba7 Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Sat, 6 Apr 2013 01:54:41 +0600 Subject: [PATCH] Removes un-needed ShowUmbracoTags files from legacy files. --- .../settings/modals/ShowUmbracoTags.aspx | 59 ------------------- .../settings/modals/ShowUmbracoTags.aspx.cs | 49 ++++++--------- .../modals/ShowUmbracoTags.aspx.designer.cs | 25 -------- 3 files changed, 19 insertions(+), 114 deletions(-) delete mode 100644 src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx delete mode 100644 src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx.designer.cs diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx deleted file mode 100644 index ffa0426ec6..0000000000 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx +++ /dev/null @@ -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" %> - - - - - - - - - - - - - -
Insert field - - <umbraco:Item field="bodyText" runat="server"/> - - - Fetches a value from the current page. - -
Insert macro - - <umbraco:Macro macroAlias="MacroAlias" Alias="MacroAlias" runat="server"/> - - Inserts a macro into the template -
Load child template - - <asp:ContentPlaceHolder runat="server" id="<%= alias %>ContentPlaceHolder" /> - - - This is the default placeholder for content stored in a child template using this exact template as it's master template. - -
Disable Request Validation - - <umbraco:DisableRequestValidation runat="server"/> - - 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) -
MetaBlogApi / Content Channels - - <link rel="EditURI" type="application/rsd+xml" href="http://<%=Request.ServerVariables["SERVER_NAME"] %><%= umbraco.IO.IOHelper.ResolveUrl(umbraco.IO.SystemDirectories.Umbraco)%>/channels/rsd.aspx" /> -

- <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://<%=Request.ServerVariables["SERVER_NAME"] %><%= umbraco.IO.IOHelper.ResolveUrl(umbraco.IO.SystemDirectories.Umbraco)%>/channels/wlwmanifest.aspx" /> -
- - 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. - -
-
-
diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx.cs index 00b7545232..fb594ac657 100644 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx.cs +++ b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx.cs @@ -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 description for ShowUmbracoTags. - /// - public partial class ShowUmbracoTags : umbraco.BasePages.UmbracoEnsuredPage - { + /// + /// Summary description for ShowUmbracoTags. + /// + 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); - } - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - - } - #endregion - } + /// + /// Pane7 control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::umbraco.uicontrols.Pane Pane7; + } } diff --git a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx.designer.cs b/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx.designer.cs deleted file mode 100644 index d6a7fec73a..0000000000 --- a/src/Umbraco.Web/umbraco.presentation/umbraco/settings/modals/ShowUmbracoTags.aspx.designer.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 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. -// -//------------------------------------------------------------------------------ - -namespace umbraco.cms.presentation.settings.modal { - - - public partial class ShowUmbracoTags { - - /// - /// Pane7 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane Pane7; - } -}