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/CMSModules/Content/CMSDesk/Properties/Versions.aspx.cs
using System;

using CMS.UIControls;

[Security(Resource = "CMS.Content", UIElements = "Properties.Versions")]
public partial class CMSModules_Content_CMSDesk_Properties_Versions : CMSPropertiesPage
{
    #region "Page events"

    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);

        versionsElem.Node = Node;

        EnableSplitMode = true;
    }


    protected void Page_Load(object sender, EventArgs e)
    {
        // Set current tab
        SetPropertyTab(TAB_VERSIONS);

        if (Node == null)
        {
            // Hide all if no node is specified
            versionsElem.Visible = false;
        }

        versionsElem.Enabled = !DocumentManager.ProcessingAction;

        DocumentManager.LocalDocumentPanel = pnlDocInfo;
    }

    #endregion
}