Files
Umbraco-CMS/umbraco/presentation/config/splashes/noNodes.aspx.cs
Shandem f6d0d043b5 DO NOT DOWNLOAD. DOWNLOAT LATEST STABLE FROM RELEASE TAB
Created 4.1.0 branch

[TFS Changeset #55082]
2009-06-19 07:39:16 +00:00

31 lines
1.1 KiB
C#

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace umbraco.presentation.config.splashes
{
/// <summary>
/// noNodes page is used in case Umbraco doesn't contain any content nodes.
/// noNodes displays a standard error message to inform how to fix the problem.
/// </summary>
public partial class noNodes : System.Web.UI.Page
{
/// <summary>
/// Handles the Load event of the Page control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
protected void Page_Load(object sender, EventArgs e)
{
bt_launch.Attributes.Add("onclick", "document.location.href='../.." + GlobalSettings.Path + "';");
}
}
}