示例#1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!MainContext.IsPostBack)
        {
            SetupDisplayBox();
        }

        if (KeyUtilities.IsMultistoreLicense())
        {
            uxStoreViewLabel.Visible = true;
            uxStoreList.Visible      = true;
        }

        uxWarningPanel.Style["display"] = "none";
        VulnerableFiles vulnerable = new VulnerableFiles();

        if (vulnerable.Existed)
        {
            uxSecurityWarningLink.Visible = true;
            uxSecurityWarningLink.Attributes.Add("onclick", String.Format("$('#{0}').toggle('slow'); return false;", uxWarningPanel.ClientID));

            RecoveryPageValid();
            uxMessageLabel.Text = message;//document.getElementById('{0}').className='mgl30p';
        }

        uxTabContainerReport.ActiveTabIndex = 0;
        uxTabularView.StoreID = StoreID;
        uxGraphicView.StoreID = StoreID;
        RefreshGrid();
    }
示例#2
0
    protected void RecoveryPageValid()
    {
        VulnerableFiles vulnerable = new VulnerableFiles();

        foreach (string path in vulnerable.ExistedPaths)
        {
            message += path + "<br/>";
        }
    }