Exemple #1
0
 protected override void Init()
 {
     base.Init();
     if (_layoutCategoryProvider == null)
         _layoutCategoryProvider = new LayoutCategoryProvider();
 }
Exemple #2
0
        protected override void Init()
        {
            base.Init();
            if (_layoutProvider == null)
                _layoutProvider = new LayoutProvider();
            if (_layoutCategoryProvider == null)
                _layoutCategoryProvider = new LayoutCategoryProvider();
            if (_layoutWebPartZoneProvider == null)
                _layoutWebPartZoneProvider = new LayoutWebPartZoneProvider();

            if (IsEdit)
            {
                Title = "Edit Layout | " + CoreSettings.CurrentSite.Name;
                ltlTitle.Text = "Edit Layout";
            }
            else
            {
                Title = "New Page Layout | " + CoreSettings.CurrentSite.Name;
                ltlTitle.Text = "New  Layout";
            }
            CancelUrl = "/administrator/pagelayout/layouts.aspx?categoryid=" + drlCategory.SelectedValue;
        }