public List <IPageSettingLink> GetSettingLink(int sectionId) { List <IPageSettingLink> links = new List <IPageSettingLink>(); PageSettingLink lnk = new PageSettingLink(); lnk.Name = lang("editSetting"); lnk.Url = to(new SectionSettingController().EditCount, sectionId); links.Add(lnk); return(links); }
private IList getAutoBinderSettingLinks(ContentSection section) { IList setttingLinks = new ArrayList(); PageSettingLink slink = new PageSettingLink(); slink.Name = lang("editSetting"); slink.Url = to(new SectionSettingController().EditBinder, section.Id); setttingLinks.Add(slink); PageSettingLink lnktmp = new PageSettingLink(); lnktmp.Name = alang("editTemplate"); lnktmp.Url = to(new TemplateCustomController().EditBinder, section.Id); setttingLinks.Add(lnktmp); return(setttingLinks); }
public List <IPageSettingLink> GetSettingLink(int sectionId) { List <IPageSettingLink> links = new List <IPageSettingLink>(); PageSettingLink lnk = new PageSettingLink(); lnk.Name = lang("editSetting"); lnk.Url = to(new SectionSettingController().Edit, sectionId); links.Add(lnk); PageSettingLink lnktmp = new PageSettingLink(); lnktmp.Name = alang("editTemplate"); lnktmp.Url = to(new TemplateCustomController().Edit, sectionId); links.Add(lnktmp); return(links); }