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 { /// /// 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. /// public partial class noNodes : System.Web.UI.Page { /// /// Handles the Load event of the Page control. /// /// The source of the event. /// The instance containing the event data. 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"; } } }