File: /var/www/html/wp-content/cache/matomo/templates_c/07/0756c88102fdf114a2f08c5be909155a.php
<?php
use Matomo\Dependencies\Twig\Environment;
use Matomo\Dependencies\Twig\Error\LoaderError;
use Matomo\Dependencies\Twig\Error\RuntimeError;
use Matomo\Dependencies\Twig\Extension\CoreExtension;
use Matomo\Dependencies\Twig\Extension\SandboxExtension;
use Matomo\Dependencies\Twig\Markup;
use Matomo\Dependencies\Twig\Sandbox\SecurityError;
use Matomo\Dependencies\Twig\Sandbox\SecurityNotAllowedTagError;
use Matomo\Dependencies\Twig\Sandbox\SecurityNotAllowedFilterError;
use Matomo\Dependencies\Twig\Sandbox\SecurityNotAllowedFunctionError;
use Matomo\Dependencies\Twig\Source;
use Matomo\Dependencies\Twig\Template;
/* _iframeBuster.twig */
class __TwigTemplate_59cc7ddda48f46e1dbff432aa279fc25 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", "/var/www/html/wp-content/plugins/matomo/app/plugins/Morpheus/templates/_iframeBuster.twig");
}
}