add site
This commit is contained in:
37
Site/SystemSettings/SystemParams.aspx.cs
Normal file
37
Site/SystemSettings/SystemParams.aspx.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using IronIntel.Contractor.Site.SystemSettings;
|
||||
|
||||
public partial class SystemParams : CustomerProviderBasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!CheckLoginSession())
|
||||
{
|
||||
RedirectToLoginPage();
|
||||
}
|
||||
else
|
||||
{
|
||||
string methodName = Request.Form["MethodName"];
|
||||
if (!string.IsNullOrEmpty(methodName))
|
||||
{
|
||||
ProcessRequest(methodName);
|
||||
}
|
||||
else if (!IsPostBack)
|
||||
{
|
||||
this.Title = PageTitle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected override bool AllowCurrentLoginSessionEnter()
|
||||
{
|
||||
if (!IsDev)
|
||||
return false;
|
||||
return base.AllowCurrentLoginSessionEnter();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user