Beispiel #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        CurrentMaster.Title.TitleText      = GetString("Site_Edit.Title");
        CurrentMaster.Title.TitleImage     = GetImageUrl("Objects/CMS_Site/object.png");
        CurrentMaster.Tabs.UseClientScript = true;
        CurrentMaster.Title.HelpName       = "helpTopic";
        CurrentMaster.Title.HelpTopicName  = "general_tab6";


        siteId = QueryHelper.GetInteger("siteid", 0);
        SiteInfo si = SiteInfoProvider.GetSiteInfo(siteId);

        if (si != null)
        {
            currentWebSite = si.DisplayName;
        }

        if (!RequestHelper.IsPostBack())
        {
            InitalizeMenu();
        }

        CurrentMaster.SetRTL();

        InitializeBreadCrumbs();
    }
Beispiel #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        selected = DataHelper.GetNotEmpty(QueryHelper.GetString("tab", String.Empty).ToLowerCSafe(), ValidationTabCode.ToString(UIContext.ValidationTab).ToLowerCSafe());

        CurrentMaster.Tabs.OnTabCreated += tabElem_OnTabCreated;
        CurrentMaster.Tabs.ModuleName    = "CMS.Content";
        CurrentMaster.Tabs.ElementName   = "Validation";
        CurrentMaster.Tabs.UrlTarget     = "validationedit";
        CurrentMaster.SetRTL();
    }
Beispiel #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        selected = GetValidationTab();

        CurrentMaster.Tabs.OnTabCreated += tabElem_OnTabCreated;
        CurrentMaster.Tabs.ModuleName    = "CMS.Content";
        CurrentMaster.Tabs.ElementName   = "Validation";
        CurrentMaster.Tabs.UrlTarget     = "validationedit";
        CurrentMaster.SetRTL();
    }
Beispiel #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        CurrentMaster.Tabs.OnTabCreated += tabElem_OnTabCreated;
        CurrentMaster.Tabs.ModuleName    = "CMS.Content";
        CurrentMaster.Tabs.ElementName   = "Analytics";
        CurrentMaster.Tabs.UrlTarget     = "edit";

        // Initializes breadcrumbs
        string[,] pageTitleTabs = new string[1, 3];
        pageTitleTabs[0, 0]     = GetString("content.ui.analytics");
        pageTitleTabs[0, 1]     = string.Empty;
        pageTitleTabs[0, 2]     = string.Empty;

        CurrentMaster.Title.Breadcrumbs = pageTitleTabs;
        CurrentMaster.SetRTL();

        CurrentMaster.Title.HelpName = "helpTopic";

        // Must be set be to help icon created
        CurrentMaster.Title.HelpTopicName = "Analytics";

        CMSContext.ViewMode = ViewModeEnum.Analytics;
    }
Beispiel #5
0
    protected void Page_Load(object sender, EventArgs e)
    {
        selected = DataHelper.GetNotEmpty(QueryHelper.GetString("tab", String.Empty).ToLower(), AnalyticsTabCode.ToString(UIContext.AnalyticsTab).ToLower());

        CurrentMaster.Tabs.OnTabCreated += tabElem_OnTabCreated;
        CurrentMaster.Tabs.ModuleName    = "CMS.Content";
        CurrentMaster.Tabs.ElementName   = "Analytics";
        CurrentMaster.Tabs.UrlTarget     = "edit";

        // initializes breadcrumbs
        string[,] pageTitleTabs = new string[1, 3];
        pageTitleTabs[0, 0]     = GetString("content.ui.analytics");
        pageTitleTabs[0, 1]     = "";
        pageTitleTabs[0, 2]     = "";

        CurrentMaster.Title.Breadcrumbs = pageTitleTabs;
        CurrentMaster.SetRTL();

        CurrentMaster.Title.HelpName = "helpTopic";
        // Must be set be to help icon created
        CurrentMaster.Title.HelpTopicName = "Analytics";

        CMSContext.ViewMode = ViewModeEnum.Analytics;
    }