protected void BindData() { try { dsNopCommerceNews.Url = string.Format("http://www.nopCommerce.com/NewsRSS.aspx?Version={0}&Localhost={1}&HideAdvertisements={2}&StoreURL={3}", SiteHelper.GetCurrentVersion(), HttpContext.Current.Request.Url.IsLoopback, SettingManager.GetSettingValueBoolean("Common.HideAdvertisementsOnAdminArea"), SettingManager.StoreURL); lvNopCommerceNews.DataBind(); } catch { //ShowError("No internet connection. nopCommerce news could not be loaded", exc.Message); this.Visible = false; } }
protected void BindData() { string headerText = string.Format("nopCommerce {0}", SiteHelper.GetCurrentVersion()); lblHeader.Text = headerText; }
public string serverVersion() { return(SiteHelper.GetCurrentVersion()); }