コード例 #1
0
        public virtual List<IPageSettingLink> GetSettingLink( long 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;
        }
コード例 #2
0
        public virtual List<IPageSettingLink> GetSettingLink( long 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;
        }
コード例 #3
0
        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;
        }