HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/RMourik/bassol.nl/CMS/CMSInstall/Controls/LayoutPanels/Version.ascx.cs
using System;
using CMS.Helpers;
using CMS.Base;
using CMS.UIControls;

public partial class CMSInstall_Controls_LayoutPanels_Version : CMSUserControl
{
    /// <summary>
    /// Indicates if 'Contact support' label should be displayed. Applicable for installation only.
    /// </summary>
    public bool DisplaySupportLabel
    {
        get;
        set;
    }


    protected void Page_Load(object sender, EventArgs e)
    {
        lblSupport.Visible = DisplaySupportLabel;
        if (DisplaySupportLabel)
        {
            lblSupport.Text = ResHelper.GetFileString("install.Support");
        }
        lblVersion.Text = ResHelper.GetFileString("install.Version") + "&nbsp;" +
                          CMSVersion.GetFriendlySystemVersion(true);

    }
}