Files
2021-03-26 17:17:28 +01:00

39 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
namespace GPW.WebMasterPages
{
public partial class JQMob : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
#if false
// verifica auth utente...
if (Page.User.Identity.IsAuthenticated || user_std.UtSn.isAuth || (memLayer.ML.confReadBool("AutoAuth") && Request.Url.LocalPath.Split('/').Last() != "Unauth"))
{
mod_footer.Visible = true;
}
else
{
mod_footer.Visible = false;
}
#endif
}
/// <summary>
/// restituisce stato active se pagina corrente...
/// </summary>
/// <param name="nomeElem"></param>
/// <returns></returns>
public string liClass(object nomeElem)
{
string answ = "";
if (Request.Url.ToString().Contains(nomeElem.ToString())) answ = "ui-btn-active";
return answ;
}
}
}