![]() 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/4b/ |
<?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; /* @MauticLead/List/list.html.twig */ class __TwigTemplate_bf96de844f28e8d3a6d456dcd6213a92 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->blocks = [ 'mauticContent' => [$this, 'block_mauticContent'], 'headerTitle' => [$this, 'block_headerTitle'], 'actions' => [$this, 'block_actions'], 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context): bool|string|Template|TemplateWrapper { // line 11 return $this->loadTemplate((((isset($context["isIndex"]) || array_key_exists("isIndex", $context) ? $context["isIndex"] : (function () { throw new RuntimeError('Variable "isIndex" does not exist.', 11, $this->source); })())) ? ("@MauticCore/Default/content.html.twig") : ("@MauticCore/Default/raw_output.html.twig")), "@MauticLead/List/list.html.twig", 11); } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 9 $context["isIndex"] = ((("index" == (isset($context["tmpl"]) || array_key_exists("tmpl", $context) ? $context["tmpl"] : (function () { throw new RuntimeError('Variable "tmpl" does not exist.', 9, $this->source); })()))) ? (true) : (false)); // line 10 $context["tmpl"] = "list"; // line 11 yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks)); } // line 13 /** * @return iterable<null|scalar|\Stringable> */ public function block_mauticContent(array $context, array $blocks = []): iterable { $macros = $this->macros; yield "leadlist"; yield from []; } // line 15 /** * @return iterable<null|scalar|\Stringable> */ public function block_headerTitle(array $context, array $blocks = []): iterable { $macros = $this->macros; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mautic.lead.list.header.index"), "html", null, true); yield from []; } // line 17 /** * @return iterable<null|scalar|\Stringable> */ public function block_actions(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 18 yield " "; yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/page_actions.html.twig", ["templateButtons" => ["new" => CoreExtension::getAttribute($this->env, $this->source, // line 19 (isset($context["permissions"]) || array_key_exists("permissions", $context) ? $context["permissions"] : (function () { throw new RuntimeError('Variable "permissions" does not exist.', 19, $this->source); })()), Twig\Extension\CoreExtension::constant("Mautic\\LeadBundle\\Security\\Permissions\\LeadPermissions::LISTS_CREATE"), [], "array", false, false, false, 19)], "routeBase" => "segment", "langVar" => "lead.list", "tooltip" => "mautic.lead.lead.segment.add.help"]); // line 23 yield " "; yield from []; } // line 26 /** * @return iterable<null|scalar|\Stringable> */ public function block_content(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 27 yield " "; $context["listCommand"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("mautic.lead.lead.searchcommand.list"); // line 28 yield " "; // line 29 if ((isset($context["isIndex"]) || array_key_exists("isIndex", $context) ? $context["isIndex"] : (function () { throw new RuntimeError('Variable "isIndex" does not exist.', 29, $this->source); })())) { // line 30 yield " <div class=\"panel panel-default bdr-t-wdh-0\"> "; // line 31 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticCore/Helper/list_toolbar.html.twig", ["searchValue" => // line 32 (isset($context["searchValue"]) || array_key_exists("searchValue", $context) ? $context["searchValue"] : (function () { throw new RuntimeError('Variable "searchValue" does not exist.', 32, $this->source); })()), "searchHelp" => "mautic.lead.list.help.searchcommands", "action" => // line 34 (isset($context["currentRoute"]) || array_key_exists("currentRoute", $context) ? $context["currentRoute"] : (function () { throw new RuntimeError('Variable "currentRoute" does not exist.', 34, $this->source); })()), "filters" => (( // line 35 array_key_exists("filters", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["filters"]) || array_key_exists("filters", $context) ? $context["filters"] : (function () { throw new RuntimeError('Variable "filters" does not exist.', 35, $this->source); })()), [])) : ([]))]); // line 36 yield " <div class=\"page-list\"> "; } // line 39 yield " "; // line 40 yield Twig\Extension\CoreExtension::include($this->env, $context, "@MauticLead/List/_list.html.twig"); yield " "; // line 42 if ((isset($context["isIndex"]) || array_key_exists("isIndex", $context) ? $context["isIndex"] : (function () { throw new RuntimeError('Variable "isIndex" does not exist.', 42, $this->source); })())) { // line 43 yield " </div> </div> "; } yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@MauticLead/List/list.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 135 => 43, 133 => 42, 128 => 40, 125 => 39, 120 => 36, 118 => 35, 117 => 34, 116 => 32, 115 => 31, 112 => 30, 110 => 29, 107 => 28, 104 => 27, 97 => 26, 91 => 23, 89 => 19, 87 => 18, 80 => 17, 69 => 15, 58 => 13, 54 => 11, 52 => 10, 50 => 9, 43 => 11,); } public function getSourceContext(): Source { return new Source("", "@MauticLead/List/list.html.twig", "/home/corals/mautic.corals.io/app/bundles/LeadBundle/Resources/views/List/list.html.twig"); } }