![]() 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/fb/ |
<?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/Helper/action_button_helper.html.twig */ class __TwigTemplate_93fee5c94376647a14ed3c52a9fe9fee 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 = [ ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 1 if (array_key_exists("customButtons", $context)) { // line 2 yield " "; yield $this->extensions['Mautic\CoreBundle\Twig\Extension\ButtonExtension']->addButtons((isset($context["customButtons"]) || array_key_exists("customButtons", $context) ? $context["customButtons"] : (function () { throw new RuntimeError('Variable "customButtons" does not exist.', 2, $this->source); })())); yield " "; } // line 5 $context["nameGetter"] = ((array_key_exists("nameGetter", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["nameGetter"]) || array_key_exists("nameGetter", $context) ? $context["nameGetter"] : (function () { throw new RuntimeError('Variable "nameGetter" does not exist.', 5, $this->source); })()), "getName")) : ("getName")); // line 7 $context["pull"] = ((array_key_exists("pull", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["pull"]) || array_key_exists("pull", $context) ? $context["pull"] : (function () { throw new RuntimeError('Variable "pull" does not exist.', 7, $this->source); })()), "left")) : ("left")); // line 9 $context["query"] = ((array_key_exists("query", $context)) ? ((isset($context["query"]) || array_key_exists("query", $context) ? $context["query"] : (function () { throw new RuntimeError('Variable "query" does not exist.', 9, $this->source); })())) : ([])); // line 10 if (array_key_exists("tmpl", $context)) { // line 11 yield " "; $context["query"] = Twig\Extension\CoreExtension::merge((isset($context["query"]) || array_key_exists("query", $context) ? $context["query"] : (function () { throw new RuntimeError('Variable "query" does not exist.', 11, $this->source); })()), ["tmpl" => (isset($context["tmpl"]) || array_key_exists("tmpl", $context) ? $context["tmpl"] : (function () { throw new RuntimeError('Variable "tmpl" does not exist.', 11, $this->source); })())]); } // line 14 $context["editMode"] = ((array_key_exists("editMode", $context)) ? ((isset($context["editMode"]) || array_key_exists("editMode", $context) ? $context["editMode"] : (function () { throw new RuntimeError('Variable "editMode" does not exist.', 14, $this->source); })())) : ("ajax")); // line 15 $context["editAttr"] = ((array_key_exists("editAttr", $context)) ? ((isset($context["editAttr"]) || array_key_exists("editAttr", $context) ? $context["editAttr"] : (function () { throw new RuntimeError('Variable "editAttr" does not exist.', 15, $this->source); })())) : ([])); // line 16 $context["templateButtons"] = ((array_key_exists("templateButtons", $context)) ? ((isset($context["templateButtons"]) || array_key_exists("templateButtons", $context) ? $context["templateButtons"] : (function () { throw new RuntimeError('Variable "templateButtons" does not exist.', 16, $this->source); })())) : ([])); // line 18 $context["langVar"] = ((array_key_exists("langVar", $context)) ? ((isset($context["langVar"]) || array_key_exists("langVar", $context) ? $context["langVar"] : (function () { throw new RuntimeError('Variable "langVar" does not exist.', 18, $this->source); })())) : (((array_key_exists("routeBase", $context)) ? ((isset($context["routeBase"]) || array_key_exists("routeBase", $context) ? $context["routeBase"] : (function () { throw new RuntimeError('Variable "routeBase" does not exist.', 18, $this->source); })())) : ("")))); // line 19 $context["translationBase"] = ((array_key_exists("translationBase", $context)) ? ((isset($context["translationBase"]) || array_key_exists("translationBase", $context) ? $context["translationBase"] : (function () { throw new RuntimeError('Variable "translationBase" does not exist.', 19, $this->source); })())) : (("mautic." . (isset($context["langVar"]) || array_key_exists("langVar", $context) ? $context["langVar"] : (function () { throw new RuntimeError('Variable "langVar" does not exist.', 19, $this->source); })())))); // line 21 if ((array_key_exists("route", $context) && !array_key_exists("actionRoute", $context))) { // line 22 yield " "; $context["actionRoute"] = (isset($context["route"]) || array_key_exists("route", $context) ? $context["route"] : (function () { throw new RuntimeError('Variable "route" does not exist.', 22, $this->source); })()); } elseif ( ! // line 23 array_key_exists("actionRoute", $context)) { // line 24 yield " "; $context["actionRoute"] = ""; // line 25 yield " "; if (array_key_exists("routeBase", $context)) { // line 26 yield " "; $context["actionRoute"] = (("mautic_" . Twig\Extension\CoreExtension::replace((isset($context["routeBase"]) || array_key_exists("routeBase", $context) ? $context["routeBase"] : (function () { throw new RuntimeError('Variable "routeBase" does not exist.', 26, $this->source); })()), ["mautic_" => ""])) . "_action"); // line 27 yield " "; } } // line 29 $context["indexRoute"] = ((array_key_exists("routeBase", $context)) ? ((("mautic_" . Twig\Extension\CoreExtension::replace((isset($context["routeBase"]) || array_key_exists("routeBase", $context) ? $context["routeBase"] : (function () { throw new RuntimeError('Variable "routeBase" does not exist.', 29, $this->source); })()), ["mautic_" => ""])) . "_index")) : ((isset($context["actionRoute"]) || array_key_exists("actionRoute", $context) ? $context["actionRoute"] : (function () { throw new RuntimeError('Variable "actionRoute" does not exist.', 29, $this->source); })()))); // line 30 $context["routeVars"] = ((array_key_exists("routeVars", $context)) ? ((isset($context["routeVars"]) || array_key_exists("routeVars", $context) ? $context["routeVars"] : (function () { throw new RuntimeError('Variable "routeVars" does not exist.', 30, $this->source); })())) : ([])); // line 32 $context["extraHtml"] = ((array_key_exists("extraHtml", $context)) ? ((isset($context["extraHtml"]) || array_key_exists("extraHtml", $context) ? $context["extraHtml"] : (function () { throw new RuntimeError('Variable "extraHtml" does not exist.', 32, $this->source); })())) : ("")); // line 34 $context["wrapOpeningTag"] = ((array_key_exists("wrapOpeningTag", $context)) ? ((isset($context["wrapOpeningTag"]) || array_key_exists("wrapOpeningTag", $context) ? $context["wrapOpeningTag"] : (function () { throw new RuntimeError('Variable "wrapOpeningTag" does not exist.', 34, $this->source); })())) : ("")); // line 35 $context["wrapClosingTag"] = ((array_key_exists("wrapClosingTag", $context)) ? ((isset($context["wrapClosingTag"]) || array_key_exists("wrapClosingTag", $context) ? $context["wrapClosingTag"] : (function () { throw new RuntimeError('Variable "wrapClosingTag" does not exist.', 35, $this->source); })())) : ("")); // line 36 yield $this->extensions['Mautic\CoreBundle\Twig\Extension\ButtonExtension']->setWrappingTags((isset($context["wrapOpeningTag"]) || array_key_exists("wrapOpeningTag", $context) ? $context["wrapOpeningTag"] : (function () { throw new RuntimeError('Variable "wrapOpeningTag" does not exist.', 36, $this->source); })()), (isset($context["wrapClosingTag"]) || array_key_exists("wrapClosingTag", $context) ? $context["wrapClosingTag"] : (function () { throw new RuntimeError('Variable "wrapClosingTag" does not exist.', 36, $this->source); })())); yield " "; // line 38 $context["menuLink"] = ((array_key_exists("menuLink", $context)) ? (((" data-menu-link=\"" . (isset($context["menuLink"]) || array_key_exists("menuLink", $context) ? $context["menuLink"] : (function () { throw new RuntimeError('Variable "menuLink" does not exist.', 38, $this->source); })())) . "\"")) : ("")); // line 39 yield $this->extensions['Mautic\CoreBundle\Twig\Extension\ButtonExtension']->setMenuLink((isset($context["menuLink"]) || array_key_exists("menuLink", $context) ? $context["menuLink"] : (function () { throw new RuntimeError('Variable "menuLink" does not exist.', 39, $this->source); })())); yield " "; // line 41 if (array_key_exists("groupType", $context)) { // line 42 yield " "; yield $this->extensions['Mautic\CoreBundle\Twig\Extension\ButtonExtension']->setGroupType((isset($context["groupType"]) || array_key_exists("groupType", $context) ? $context["groupType"] : (function () { throw new RuntimeError('Variable "groupType" does not exist.', 42, $this->source); })())); yield " "; } // line 44 $context["buttonCount"] = $this->extensions['Mautic\CoreBundle\Twig\Extension\ButtonExtension']->getButtonCount(); // line 46 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Mautic\CoreBundle\Twig\Extension\StorageExtension']->save($context, "action_button_helper"), "html", null, true); yield " "; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@MauticCore/Helper/action_button_helper.html.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 122 => 46, 120 => 44, 114 => 42, 112 => 41, 108 => 39, 106 => 38, 102 => 36, 100 => 35, 98 => 34, 96 => 32, 94 => 30, 92 => 29, 88 => 27, 85 => 26, 82 => 25, 79 => 24, 77 => 23, 74 => 22, 72 => 21, 70 => 19, 68 => 18, 66 => 16, 64 => 15, 62 => 14, 58 => 11, 56 => 10, 54 => 9, 52 => 7, 50 => 5, 44 => 2, 42 => 1,); } public function getSourceContext(): Source { return new Source("", "@MauticCore/Helper/action_button_helper.html.twig", "/home/corals/mautic.corals.io/app/bundles/CoreBundle/Resources/views/Helper/action_button_helper.html.twig"); } }