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 } /// /// 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; } public bool showSettings { get; set; } public bool showLeftPnl{ get; set; } public string hideSettings { get { string answ = ""; if (!showSettings) answ = "hidden"; return answ; } } public string hideLeftPnl { get { string answ = ""; if (!showLeftPnl) answ = "hidden"; return answ; } } } }