public virtual void Index() { ContentApp app = ctx.app.obj as ContentApp; ContentSetting setting = app.GetSettingsObj(); ctx.Page.Title = ctx.app.Name; ctx.Page.Description = setting.MetaDescription; if (strUtil.HasText(setting.MetaKeywords)) { this.Page.Keywords = setting.MetaKeywords; } else { this.Page.Keywords = ctx.app.Name; } set("app.Style", app.Style); set("app.SkinStyle", app.SkinStyle); set("lnkSendPost", to(new Submit.PostController().Index)); List <ContentSection> sections = SectionService.GetByApp(ctx.app.Id); bindRows(app, sections); }
public void IndexPage() { WebUtils.pageTitle(this, ctx.app.Name); ContentApp app = ctx.app.obj as ContentApp; set("app.Style", app.Style); set("app.SkinStyle", app.SkinStyle); List <ContentSection> sections = SectionService.GetByApp(ctx.app.Id); bindRows(app, sections); }