using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using SteamWare; namespace ScheMe { public partial class JQMob : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { // 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; } } /// /// restituisce stato active se pagina corrente... /// /// /// public string liClass(object nomeElem) { string answ = ""; if (Request.Url.ToString().Contains(nomeElem.ToString())) answ = "ui-btn-active"; return answ; } } }