![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/var/tmp/twig/f0/ |
<?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; use Twig\TemplateWrapper; /* @MauticCore/Default/base.html.twig */ class __TwigTemplate_7c66fe91ff69a77c404fd2ec0d176594 extends Template { private Source $source; /** * @var array<string, Template> */ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ '_content' => [$this, 'block__content'], ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 1 yield "<!DOCTYPE html> <html> "; // line 3 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Default/head.html.twig", ["headerTitle" => (( $this->unwrap()->hasBlock("headerTitle", $context, $blocks)) ? ( $this->unwrap()->renderBlock("headerTitle", $context, $blocks)) : ((( // line 4 array_key_exists("headerTitle", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["headerTitle"]) || array_key_exists("headerTitle", $context) ? $context["headerTitle"] : (function () { throw new RuntimeError('Variable "headerTitle" does not exist.', 4, $this->source); })()), "")) : ("")))), "pageTitle" => (( $this->unwrap()->hasBlock("pageTitle", $context, $blocks)) ? ( $this->unwrap()->renderBlock("pageTitle", $context, $blocks)) : ("Mautic"))]); // line 7 yield " <body class=\"header-fixed\"> <section id=\"app-wrapper\"> "; // line 10 yield $this->extensions['Mautic\CoreBundle\Twig\Extension\AssetExtension']->outputScripts("bodyOpen"); yield " "; // line 12 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Notification/flashes.html.twig"); yield " <aside class=\"app-sidebar sidebar-left\"> "; // line 15 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/LeftPanel/index.html.twig"); yield " </aside> <aside class=\"app-sidebar sidebar-right\"> "; // line 19 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/RightPanel/index.html.twig"); yield " </aside> <header id=\"app-header\" class=\"navbar\"> "; // line 23 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Default/navbar.html.twig"); yield " </header> <!-- start: app-footer(need to put on top of #app-content)--> <footer id=\"app-footer\"> <div class=\"container-fluid\"> <div class=\"row\"> <div class=\"col-xs-6 text-muted\">"; // line 30 echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("mautic.core.copyright", ["%date%" => $this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y")], "messages"); yield "</div> <div class=\"col-xs-6 text-muted text-right small\">v"; // line 31 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Mautic\CoreBundle\Twig\Extension\VersionExtension']->getVersion(), "html", null, true); yield "</div> </div> </div> </footer> <!--/ end: app-footer --> <section id=\"app-content\"> "; // line 38 yield from $this->unwrap()->yieldBlock('_content', $context, $blocks); // line 41 yield " </section> <script> Mautic.onPageLoad('body'); "; // line 45 if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "environment", [], "any", false, false, false, 45) === "dev")) { // line 46 yield " mQuery( document ).ajaxComplete(function(event, XMLHttpRequest, ajaxOption){ if(XMLHttpRequest.responseJSON && typeof XMLHttpRequest.responseJSON.ignore_wdt == 'undefined' && XMLHttpRequest.getResponseHeader('x-debug-token')) { if (mQuery('[class*=\"sf-tool\"]').length) { mQuery('[class*=\"sf-tool\"]').remove(); } mQuery.get(mauticBaseUrl + '_wdt/'+XMLHttpRequest.getResponseHeader('x-debug-token'),function(data){ mQuery('body').append('<div class=\"sf-toolbar-reload\">'+data+'</div>'); }); } }); "; } // line 58 yield " </script> "; // line 59 yield $this->extensions['Mautic\CoreBundle\Twig\Extension\AssetExtension']->outputScripts("bodyClose"); yield " "; // line 60 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/modal.html.twig", ["id" => "MauticSharedModal", "footerButtons" => true]); // line 63 yield " </section> </body> </html> "; yield from []; } // line 38 /** * @return iterable<null|scalar|\Stringable> */ public function block__content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 39 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Default/output.html.twig"); yield " "; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@MauticCore/Default/base.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 153 => 39, 146 => 38, 137 => 63, 135 => 60, 131 => 59, 128 => 58, 114 => 46, 112 => 45, 106 => 41, 104 => 38, 94 => 31, 90 => 30, 80 => 23, 73 => 19, 66 => 15, 60 => 12, 55 => 10, 50 => 7, 48 => 4, 47 => 3, 43 => 1,); } public function getSourceContext(): Source { return new Source("", "@MauticCore/Default/base.html.twig", "/home/corals/mautic.corals.io/app/bundles/CoreBundle/Resources/views/Default/base.html.twig"); } }