Files
Umbraco-CMS/umbraco/presentation/config/splashes/noNodes.aspx.cs
pgregorynz c9c7369987 DO NOT DOWNLOAD. DOWNLOAD LATEST STABLE FROM RELEASE TAB
Fixes Launch Umbraco button on the noNodes.aspx splash

[TFS Changeset #64398]
2010-03-03 08:06:27 +00:00

35 lines
1.3 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;
using umbraco.IO;
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)
{
ClientLoader.DataBind();
bt_launch.Attributes.Add("onclick", "document.location.href='" + ResolveUrl(SystemDirectories.Umbraco) + "/';");
vid1.Src = SystemDirectories.Install + "/images/packagesVid1.png";
vid2.Src = SystemDirectories.Install + "/images/packagesVid2.png";
}
}
}