internal static void RenderNotFound(CmsContext context) { context.RenderNotfound("No such file", tpl => { tpl.AddVariable("site", new PageSite(context.CurrentSite)); tpl.AddVariable("page", new PageVariable()); PageUtility.RegistEventHandlers(tpl); }); }
internal static void RenderNotFound(CmsContext context) { context.RenderNotfound("File not found!",tpl=>{ tpl.AddVariable("site", context.CurrentSite); tpl.AddVariable("page",new PageVariable()); PageUtility.RegistEventHandlers(tpl); }); }