forked from fossabot/stilettoWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sitemap2.aspx.cs
32 lines (29 loc) · 1.13 KB
/
sitemap2.aspx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// --------------------------------------------------------------------------------
// Copyright AspDotNetStorefront.com. All Rights Reserved.
// http://www.aspdotnetstorefront.com
// For details on this license please visit the product homepage at the URL above.
// THE ABOVE NOTICE MUST REMAIN INTACT.
// --------------------------------------------------------------------------------
using System;
using AspDotNetStorefrontCore;
using System.Linq;
namespace AspDotNetStorefront
{
/// <summary>
/// Summary description for sitemap2.
/// </summary>
public partial class sitemap2 : SkinBase
{
protected void Page_Load(object sender, System.EventArgs e)
{
if(AppLogic.AppConfigBool("GoNonSecureAgain"))
{
SkinBase.GoNonSecureAgain();
}
SectionTitle = AppLogic.GetString("sitemap.aspx.1",SkinID,ThisCustomer.LocaleSetting);
//SiteMap1.LoadXml(new SiteMapComponentArt(base.EntityHelpers,SkinID,ThisCustomer).Contents);
Boolean showCustomerService = AppLogic.IsAdminSite || AppLogic.AppConfigBool("SiteMap.ShowCustomerService");
SiteMap1.LoadXml(new SiteMap(showCustomerService).Contents);
}
}
}