parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 $context["admin_messages"] = twig_array_merge($this->getAttribute(($context["admin"] ?? null), "messages", array()), $this->getAttribute(($context["admin"] ?? null), "getTempMessages", array(), "method")); // line 2 $context["form_message"] = $this->getAttribute(($context["form"] ?? null), "message", array()); // line 3 echo "
env, ($context["admin_messages"] ?? null)) || ($context["form_message"] ?? null))) ? (" default-box-shadow") : ("")); echo "\">
"; // line 5 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["admin_messages"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 6 echo "
env, $this->getAttribute($context["message"], "scope", array())); echo " alert\">"; echo $this->getAttribute($context["message"], "message", array()); echo "
"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 8 if (($context["form_message"] ?? null)) { // line 9 echo "
"; echo ($context["form_message"] ?? null); echo "
"; } // line 11 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["plugin_messages"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 12 echo "
env, $this->getAttribute($context["message"], "scope", array())); echo " alert\">"; echo $this->getAttribute($context["message"], "message", array()); echo "
"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 14 echo "
"; } public function getTemplateName() { return "partials/messages.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 63 => 14, 53 => 12, 49 => 11, 44 => 9, 42 => 8, 32 => 6, 28 => 5, 23 => 3, 21 => 2, 19 => 1,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Twig_Source("{% set admin_messages = admin.messages|merge(admin.getTempMessages()) %} {% set form_message = form.message %}
{%- for message in admin_messages -%}
{{ message.message|raw }}
{%- endfor -%} {%- if form_message -%}
{{ form_message|raw }}
{%- endif -%} {%- for message in plugin_messages -%}
{{ message.message|raw }}
{%- endfor -%}
", "partials/messages.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/messages.html.twig"); } }