HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/matomo.vdk/tmp/templates_c/79/797a2026de668f1b5dfa50c36ce338aa.php
<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* _iframeBuster.twig */
class __TwigTemplate_0b591aacec7f4101be9ef0cdc7f87d95 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        if ((array_key_exists("enableFrames", $context) && ((isset($context["enableFrames"]) || array_key_exists("enableFrames", $context) ? $context["enableFrames"] : (function () { throw new RuntimeError('Variable "enableFrames" does not exist.', 1, $this->source); })()) == false))) {
            // line 2
            yield "    <script type=\"text/javascript\">
        if (self !== top) {
            var theBody = document.getElementsByTagName('body')[0];
            theBody.style.display = 'none';

            top.location = self.location;
        }
    </script>
";
        }
        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "_iframeBuster.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  40 => 2,  38 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("{% if (enableFrames is defined and enableFrames == false) %}
    <script type=\"text/javascript\">
        if (self !== top) {
            var theBody = document.getElementsByTagName('body')[0];
            theBody.style.display = 'none';

            top.location = self.location;
        }
    </script>
{% endif %}
", "_iframeBuster.twig", "D:\\web\\matomo.vdk\\plugins\\Morpheus\\templates\\_iframeBuster.twig");
    }
}