30 lines
608 B
C#
30 lines
608 B
C#
using SteamWare;
|
|
using System;
|
|
|
|
namespace PUB.PBO
|
|
{
|
|
public partial class MyHome : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
bool userAuth = devicesAuthProxy.stObj.userHasRight("PBO");
|
|
divButtons.Visible = userAuth;
|
|
divAuthError.Visible = !userAuth;
|
|
if (!Page.IsPostBack)
|
|
{
|
|
searchVal = "";
|
|
}
|
|
}
|
|
public string searchVal
|
|
{
|
|
get
|
|
{
|
|
return memLayer.ML.StringSessionObj("siteSearchVal");
|
|
}
|
|
set
|
|
{
|
|
memLayer.ML.setSessionVal("siteSearchVal", value);
|
|
}
|
|
}
|
|
}
|
|
} |