protected function doDisplay(array $context, array $blocks = array()) { $tags = array("set" => 36, "block" => 38); $filters = array("clean_id" => 36, "without" => 37); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('set', 'block'), array('clean_id', 'without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 36 $context["heading_id"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()) . \Drupal\Component\Utility\Html::getId("-menu"); // line 37 echo "<nav role=\"navigation\" aria-labelledby=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "removeClass", array(0 => "clearfix"), "method"), "role", "aria-labelledby"), "html", null, true)); echo ">\n "; // line 38 $this->displayBlock('content', $context, $blocks); // line 41 echo "</nav>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 12 if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()) || $this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array())) { // line 13 echo " <nav class=\"pager\" role=\"navigation\" aria-labelledby=\"pagination-heading\">\n <h4 class=\"pager__heading visually-hidden\">"; // line 14 echo $this->env->getExtension('drupal_core')->renderVar(t("Pagination")); echo "</h4>\n <ul class=\"pager__items js-pager__items\">\n "; // line 16 if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array())) { // line 17 echo " <li class=\"pager__item pager__item--previous\">\n <a href=\""; // line 18 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()), "href", array()), "html", null, true); echo "\" title=\""; echo $this->env->getExtension('drupal_core')->renderVar(t("Go to previous page")); echo "\" rel=\"prev\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()), "attributes", array()), "href", "title", "rel"), "html", null, true); echo ">\n <span class=\"visually-hidden\">"; // line 19 echo $this->env->getExtension('drupal_core')->renderVar(t("Previous page")); echo "</span>\n <span aria-hidden=\"true\">"; // line 20 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array(), "any", false, true), "text", array()), t("‹‹")) : t("‹‹"), "html", null, true); echo "</span>\n </a>\n </li>\n "; } // line 24 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "current", array())) { // line 25 echo " <li class=\"pager__item is-active\">\n "; // line 26 echo t("Page @items.current", array("@items.current" => $this->getAttribute(isset($context["items"]) ? $context["items"] : null, "current", array()))); // line 29 echo " </li>\n "; } // line 31 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array())) { // line 32 echo " <li class=\"pager__item pager__item--next\">\n <a href=\""; // line 33 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array()), "href", array()), "html", null, true); echo "\" title=\""; echo $this->env->getExtension('drupal_core')->renderVar(t("Go to next page")); echo "\" rel=\"next\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array()), "attributes", array()), "href", "title", "rel"), "html", null, true); echo ">\n <span class=\"visually-hidden\">"; // line 34 echo $this->env->getExtension('drupal_core')->renderVar(t("Next page")); echo "</span>\n <span aria-hidden=\"true\">"; // line 35 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array(), "any", false, true), "text", array()), t("››")) : t("››"), "html", null, true); echo "</span>\n </a>\n </li>\n "; } // line 39 echo " </ul>\n </nav>\n"; } }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array(); $filters = array("without" => 20); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array(), array('without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 18 echo "<div class=\"layout-node-form clearfix\">\n <div class=\"layout-region layout-region-node-main\">\n "; // line 20 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["form"]) ? $context["form"] : null, "advanced", "actions"), "html", null, true)); echo "\n </div>\n <div class=\"layout-region layout-region-node-secondary\">\n "; // line 23 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "advanced", array()), "html", null, true)); echo "\n </div>\n <div class=\"layout-region layout-region-node-footer\">\n "; // line 26 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "actions", array()), "html", null, true)); echo "\n </div>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("set" => 38, "if" => 48, "block" => 58, "trans" => 63); $filters = array("clean_class" => 42, "clean_id" => 45, "without" => 46); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block', 'trans'), array('clean_class', 'clean_id', 'without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 38 $context["classes"] = array(0 => "block", 1 => "block-menu", 2 => "navigation", 3 => "menu--" . \Drupal\Component\Utility\Html::getClass(isset($context["derivative_plugin_id"]) ? $context["derivative_plugin_id"] : null)); // line 45 $context["heading_id"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()) . \Drupal\Component\Utility\Html::getId("-menu"); // line 46 echo "<nav role=\"navigation\" aria-labelledby=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "role", "aria-labelledby"), "html", null, true)); echo ">\n "; // line 48 echo " "; if (!$this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label_display", array())) { // line 49 echo " "; $context["title_attributes"] = $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "visually-hidden"), "method"); // line 50 echo " "; } // line 51 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true)); echo "\n <h2"; // line 52 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "setAttribute", array(0 => "id", 1 => isset($context["heading_id"]) ? $context["heading_id"] : null), "method"), "html", null, true)); echo ">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label", array()), "html", null, true)); echo "</h2>\n "; // line 53 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true)); echo "\n\n "; // line 56 echo " "; $context["show_anchor"] = "show-" . \Drupal\Component\Utility\Html::getId($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array())); // line 57 echo " "; $context["hide_anchor"] = "hide-" . \Drupal\Component\Utility\Html::getId($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array())); // line 58 echo " "; $this->displayBlock('content', $context, $blocks); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_8f66aed125528e805dcf06daca22a4a19d4ce70fa69a1363cee92140b03e5dd9 = $this->env->getExtension("native_profiler"); $__internal_8f66aed125528e805dcf06daca22a4a19d4ce70fa69a1363cee92140b03e5dd9->enter($__internal_8f66aed125528e805dcf06daca22a4a19d4ce70fa69a1363cee92140b03e5dd9_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/views/views-view-summary-unformatted.html.twig")); $tags = array("for" => 21, "if" => 23); $filters = array("without" => 26); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('for', 'if'), array('without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 21 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["rows"]) ? $context["rows"] : null); foreach ($context['_seq'] as $context["_key"] => $context["row"]) { // line 22 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar($this->getAttribute(isset($context["options"]) ? $context["options"] : null, "inline", array()) ? "<span" : "<div")); echo " class=\"views-summary views-summary-unformatted\">\n "; // line 23 if ($this->getAttribute($context["row"], "separator", array())) { // line 24 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["row"], "separator", array()), "html", null, true)); } // line 26 echo " <a href=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["row"], "url", array()), "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute($context["row"], "attributes", array()), "addClass", array(0 => $this->getAttribute($context["row"], "active", array()) ? "is-active" : ""), "method"), "href"), "html", null, true)); echo ">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["row"], "link", array()), "html", null, true)); echo "</a>\n "; // line 27 if ($this->getAttribute(isset($context["options"]) ? $context["options"] : null, "count", array())) { // line 28 echo " ("; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["row"], "count", array()), "html", null, true)); echo ")\n "; } // line 30 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar($this->getAttribute(isset($context["options"]) ? $context["options"] : null, "inline", array()) ? "</span>" : "</div>")); echo "\n"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_8f66aed125528e805dcf06daca22a4a19d4ce70fa69a1363cee92140b03e5dd9->leave($__internal_8f66aed125528e805dcf06daca22a4a19d4ce70fa69a1363cee92140b03e5dd9_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af = $this->env->getExtension("native_profiler"); $__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af->enter($__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/block/block--system-menu-block.html.twig")); $tags = array("set" => 35, "if" => 45, "block" => 53); $filters = array("clean_class" => 39, "clean_id" => 42, "without" => 43); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block'), array('clean_class', 'clean_id', 'without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 35 $context["classes"] = array(0 => "block", 1 => "block-menu", 2 => "navigation", 3 => "menu--" . \Drupal\Component\Utility\Html::getClass(isset($context["derivative_plugin_id"]) ? $context["derivative_plugin_id"] : null)); // line 42 $context["heading_id"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()) . \Drupal\Component\Utility\Html::getId("-menu"); // line 43 echo "<nav role=\"navigation\" aria-labelledby=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "role", "aria-labelledby"), "html", null, true)); echo ">\n "; // line 45 echo " "; if (!$this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label_display", array())) { // line 46 echo " "; $context["title_attributes"] = $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "visually-hidden"), "method"); // line 47 echo " "; } // line 48 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true)); echo "\n <h2"; // line 49 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "setAttribute", array(0 => "id", 1 => isset($context["heading_id"]) ? $context["heading_id"] : null), "method"), "html", null, true)); echo ">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label", array()), "html", null, true)); echo "</h2>\n "; // line 50 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true)); echo "\n\n "; // line 53 echo " "; $this->displayBlock('content', $context, $blocks); // line 56 echo "</nav>\n"; $__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af->leave($__internal_d5fdbc60c80f6b72247ec473e59d80d9ff42128768881ee08f6810a8c73d62af_prof); }
protected function doDisplay(array $context, array $blocks = array()) { // line 16 echo "<div class=\"layout-block-list clearfix\">\n <div class=\"layout-region block-list-primary\">\n "; // line 18 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["form"]) ? $context["form"] : null, "place_blocks"), "html", null, true); echo "\n </div>\n <div class=\"layout-region block-list-secondary\">\n "; // line 21 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "place_blocks", array()), "html", null, true); echo "\n </div>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("set" => 34, "if" => 37, "block" => 45); $filters = array("clean_id" => 34, "without" => 35); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'block'), array('clean_id', 'without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 34 $context["heading_id"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "id", array()) . \Drupal\Component\Utility\Html::getId("-menu"); // line 35 echo "<nav role=\"navigation\" aria-labelledby=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["heading_id"]) ? $context["heading_id"] : null, "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["attributes"]) ? $context["attributes"] : null, "role", "aria-labelledby"), "html", null, true)); echo ">\n "; // line 37 echo " "; if (!$this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label_display", array())) { // line 38 echo " "; $context["title_attributes"] = $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "visually-hidden"), "method"); // line 39 echo " "; } // line 40 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true)); echo "\n <h2"; // line 41 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_attributes"]) ? $context["title_attributes"] : null, "html", null, true)); echo ">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["configuration"]) ? $context["configuration"] : null, "label", array()), "html", null, true)); echo "</h2>\n "; // line 42 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true)); echo "\n\n "; // line 45 echo " "; $this->displayBlock('content', $context, $blocks); // line 48 echo "</nav>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 18 echo "<div class=\"layout-node-form clearfix\">\n <div class=\"layout-region layout-region-node-main\">\n "; // line 20 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["form"]) ? $context["form"] : null, "advanced", "actions"), "html", null, true); echo "\n </div>\n <div class=\"layout-region layout-region-node-secondary\">\n "; // line 23 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "advanced", array()), "html", null, true); echo "\n </div>\n <div class=\"layout-region layout-region-node-footer\">\n "; // line 26 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "actions", array()), "html", null, true); echo "\n </div>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array(); $filters = array("without" => 16, "date" => 21, "t" => 26); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array(), array('without', 'date', 't'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 16 echo "<div class=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "class", array()), "html", null, true)); echo " project-update__version\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["attributes"]) ? $context["attributes"] : null, "class"), "html", null, true)); echo ">\n <div class=\"clearfix\">\n <div class=\"project-update__version-title layout-column layout-column--quarter\">"; // line 18 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true)); echo "</div>\n <div class=\"project-update__version-details layout-column layout-column--quarter\">\n <a href=\""; // line 20 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["version"]) ? $context["version"] : null, "release_link", array()), "html", null, true)); echo "\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["version"]) ? $context["version"] : null, "version", array()), "html", null, true)); echo "</a>\n <span class=\"project-update__version-date\">("; // line 21 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_date_format_filter($this->env, $this->getAttribute(isset($context["version"]) ? $context["version"] : null, "date", array()), "Y-M-d"), "html", null, true)); echo ")</span>\n </div>\n <div class=\"layout-column layout-column--half\">\n <ul class=\"project-update__version-links\">\n <li class=\"project-update__download-link\">\n <a href=\""; // line 26 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["version"]) ? $context["version"] : null, "download_link", array()), "html", null, true)); echo "\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Download"))); echo "</a>\n </li>\n <li class=\"project-update__release-notes-link\">\n <a href=\""; // line 29 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["version"]) ? $context["version"] : null, "release_link", array()), "html", null, true)); echo "\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Release notes"))); echo "</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 36 $context["classes"] = array(0 => "block", 1 => "block-menu", 2 => "navigation", 3 => ("menu--" . \Drupal\Component\Utility\Html::getClass( // line 40 (isset($context["derivative_plugin_id"]) ? $context["derivative_plugin_id"] : null)))); // line 43 $context["heading_id"] = ($this->getAttribute((isset($context["attributes"]) ? $context["attributes"] : null), "id", array()) . \Drupal\Component\Utility\Html::getId("-menu")); // line 44 echo "<nav role=\"navigation\" aria-labelledby=\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["heading_id"]) ? $context["heading_id"] : null), "html", null, true); echo "\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute((isset($context["attributes"]) ? $context["attributes"] : null), "addClass", array(0 => (isset($context["classes"]) ? $context["classes"] : null)), "method"), "role", "aria-labelledby"), "html", null, true); echo "> "; // line 46 echo " "; if ( !$this->getAttribute((isset($context["configuration"]) ? $context["configuration"] : null), "label_display", array())) { // line 47 echo " "; $context["title_attributes"] = $this->getAttribute((isset($context["title_attributes"]) ? $context["title_attributes"] : null), "addClass", array(0 => "visually-hidden"), "method"); // line 48 echo " "; } // line 49 echo " "; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["title_prefix"]) ? $context["title_prefix"] : null), "html", null, true); echo " <h2"; // line 50 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["title_attributes"]) ? $context["title_attributes"] : null), "setAttribute", array(0 => "id", 1 => (isset($context["heading_id"]) ? $context["heading_id"] : null)), "method"), "html", null, true); echo ">"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["configuration"]) ? $context["configuration"] : null), "label", array()), "html", null, true); echo "</h2> "; // line 51 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, (isset($context["title_suffix"]) ? $context["title_suffix"] : null), "html", null, true); echo " "; // line 54 echo " "; $this->displayBlock('content', $context, $blocks); // line 57 echo "</nav> "; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("if" => 17); $filters = array("without" => 25); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('if'), array('without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 15 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "override", array()), "html", null, true)); echo "\n<div class=\"scroll\" data-drupal-views-scroll>\n "; // line 17 if (isset($context["grouping"]) ? $context["grouping"] : null) { // line 18 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["form"]) ? $context["form"] : null, "filter_groups", array()), "operator", array()), "html", null, true)); echo "\n "; } else { // line 20 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["form"]) ? $context["form"] : null, "filter_groups", array()), "groups", array()), 0, array()), "html", null, true)); echo "\n "; } // line 22 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["ungroupable_table"]) ? $context["ungroupable_table"] : null, "html", null, true)); echo "\n "; // line 23 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["table"]) ? $context["table"] : null, "html", null, true)); echo "\n</div>\n"; // line 25 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["form"]) ? $context["form"] : null, "override", "filter_groups", "remove_groups", "filters"), "html", null, true)); echo "\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $__internal_155f6f120297842c5af7fe795118243b8f0cd539d2e55c05ca4637d763a065bb = $this->env->getExtension("native_profiler"); $__internal_155f6f120297842c5af7fe795118243b8f0cd539d2e55c05ca4637d763a065bb->enter($__internal_155f6f120297842c5af7fe795118243b8f0cd539d2e55c05ca4637d763a065bb_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/content-edit/image-widget.html.twig")); $tags = array("if" => 15); $filters = array("without" => 22); $functions = array("attach_library" => 13); try { $this->env->getExtension('sandbox')->checkSecurity(array('if'), array('without'), array('attach_library')); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 13 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->env->getExtension('drupal_core')->attachLibrary("classy/image-widget"), "html", null, true)); echo "\n<div"; // line 14 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["attributes"]) ? $context["attributes"] : null, "html", null, true)); echo ">\n "; // line 15 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "preview", array())) { // line 16 echo " <div class=\"image-preview\">\n "; // line 17 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : null, "preview", array()), "html", null, true)); echo "\n </div>\n "; } // line 20 echo " <div class=\"image-widget-data\">\n "; // line 22 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["data"]) ? $context["data"] : null, "preview"), "html", null, true)); echo "\n </div>\n</div>\n"; $__internal_155f6f120297842c5af7fe795118243b8f0cd539d2e55c05ca4637d763a065bb->leave($__internal_155f6f120297842c5af7fe795118243b8f0cd539d2e55c05ca4637d763a065bb_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("if" => 15); $filters = array("without" => 22); $functions = array("attach_library" => 13); try { $this->env->getExtension('sandbox')->checkSecurity(array('if'), array('without'), array('attach_library')); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 13 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->env->getExtension('drupal_core')->attachLibrary("classy/image-widget"), "html", null, true)); echo "\n<div"; // line 14 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["attributes"]) ? $context["attributes"] : null, "html", null, true)); echo ">\n "; // line 15 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "preview", array())) { // line 16 echo " <div class=\"image-preview\">\n "; // line 17 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : null, "preview", array()), "html", null, true)); echo "\n </div>\n "; } // line 20 echo " <div class=\"image-widget-data\">\n "; // line 22 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["data"]) ? $context["data"] : null, "preview"), "html", null, true)); echo "\n </div>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 13 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->env->getExtension('drupal_core')->attachLibrary("classy/image-widget"), "html", null, true); echo "\n<div"; // line 14 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["attributes"]) ? $context["attributes"] : null, "html", null, true); echo ">\n "; // line 15 if ($this->getAttribute(isset($context["data"]) ? $context["data"] : null, "preview", array())) { // line 16 echo " <div class=\"image-preview\">\n "; // line 17 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["data"]) ? $context["data"] : null, "preview", array()), "html", null, true); echo "\n </div>\n "; } // line 20 echo " <div class=\"image-widget-data\">\n "; // line 22 echo " "; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["data"]) ? $context["data"] : null, "preview"), "html", null, true); echo "\n </div>\n</div>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array(); $filters = array("without" => 21, "t" => 22); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array(), array('without', 't'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 16 echo "<div class=\"color-form clearfix\">\n "; // line 17 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "scheme", array()), "html", null, true)); echo "\n <div class=\"clearfix color-palette js-color-palette\">\n "; // line 19 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "palette", array()), "html", null, true)); echo "\n </div>\n "; // line 21 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["form"]) ? $context["form"] : null, "scheme", "palette"), "html", null, true)); echo "\n <h2>"; // line 22 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Preview"))); echo "</h2>\n "; // line 23 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["html_preview"]) ? $context["html_preview"] : null, "html", null, true)); echo "\n</div>\n"; }
public function block_messages($context, array $blocks = array()) { // line 26 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["message_list"]) ? $context["message_list"] : null)); foreach ($context['_seq'] as $context["type"] => $context["messages"]) { // line 27 echo " "; // line 28 $context["classes"] = array(0 => "messages", 1 => ("messages--" . // line 30 $context["type"])); // line 33 echo " <div role=\"contentinfo\" aria-label=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["status_headings"]) ? $context["status_headings"] : null), $context["type"], array(), "array"), "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute((isset($context["attributes"]) ? $context["attributes"] : null), "addClass", array(0 => (isset($context["classes"]) ? $context["classes"] : null)), "method"), "role", "aria-label"), "html", null, true)); echo "> "; // line 34 if (($context["type"] == "error")) { // line 35 echo " <div role=\"alert\"> "; } // line 37 echo " "; if ($this->getAttribute((isset($context["status_headings"]) ? $context["status_headings"] : null), $context["type"], array(), "array")) { // line 38 echo " <h2 class=\"visually-hidden\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["status_headings"]) ? $context["status_headings"] : null), $context["type"], array(), "array"), "html", null, true)); echo "</h2> "; } // line 40 echo " "; if ((twig_length_filter($this->env, $context["messages"]) > 1)) { // line 41 echo " <ul class=\"messages__list\"> "; // line 42 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["messages"]); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 43 echo " <li class=\"messages__item\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $context["message"], "html", null, true)); echo "</li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 45 echo " </ul> "; } else { // line 47 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_first($this->env, $context["messages"]), "html", null, true)); echo " "; } // line 49 echo " "; if (($context["type"] == "error")) { // line 50 echo " </div> "; } // line 52 echo " </div> "; // line 54 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["attributes"]) ? $context["attributes"] : null), "removeClass", array(0 => (isset($context["classes"]) ? $context["classes"] : null)), "method"), "html", null, true)); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("if" => 32, "for" => 59, "set" => 62); $filters = array("t" => 34, "without" => 39, "default" => 41); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('if', 'for', 'set'), array('t', 'without', 'default'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 32 if (isset($context["items"]) ? $context["items"] : null) { // line 33 echo " <nav class=\"pager\" role=\"navigation\" aria-labelledby=\"pagination-heading\">\n <h4 id=\"pagination-heading\" class=\"visually-hidden\">"; // line 34 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Pagination"))); echo "</h4>\n <ul class=\"pager__items js-pager__items\">\n "; // line 37 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array())) { // line 38 echo " <li class=\"pager__item pager__item--first\">\n <a href=\""; // line 39 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array()), "href", array()), "html", null, true)); echo "\" title=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Go to first page"))); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array()), "attributes", array()), "href", "title"), "html", null, true)); echo ">\n <span class=\"visually-hidden\">"; // line 40 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("First page"))); echo "</span>\n <span aria-hidden=\"true\">"; // line 41 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array(), "any", false, true), "text", array()), t("« First")) : t("« First"), "html", null, true)); echo "</span>\n </a>\n </li>\n "; } // line 45 echo " "; // line 46 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array())) { // line 47 echo " <li class=\"pager__item pager__item--previous\">\n <a href=\""; // line 48 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()), "href", array()), "html", null, true)); echo "\" title=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Go to previous page"))); echo "\" rel=\"prev\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()), "attributes", array()), "href", "title", "rel"), "html", null, true)); echo ">\n <span class=\"visually-hidden\">"; // line 49 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Previous page"))); echo "</span>\n <span aria-hidden=\"true\">"; // line 50 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array(), "any", false, true), "text", array()), t("‹ Previous")) : t("‹ Previous"), "html", null, true)); echo "</span>\n </a>\n </li>\n "; } // line 54 echo " "; // line 55 echo " "; if ($this->getAttribute(isset($context["ellipses"]) ? $context["ellipses"] : null, "previous", array())) { // line 56 echo " <li class=\"pager__item pager__item--ellipsis\" role=\"presentation\">…</li>\n "; } // line 58 echo " "; // line 59 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "pages", array())); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 60 echo " <li class=\"pager__item"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar((isset($context["current"]) ? $context["current"] : null) == $context["key"] ? " is-active" : "")); echo "\">\n "; // line 61 if ((isset($context["current"]) ? $context["current"] : null) == $context["key"]) { // line 62 echo " "; $context["title"] = t("Current page"); // line 63 echo " "; } else { // line 64 echo " "; $context["title"] = t("Go to page @key", array("@key" => $context["key"])); // line 65 echo " "; } // line 66 echo " <a href=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["item"], "href", array()), "html", null, true)); echo "\" title=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($context["item"], "attributes", array()), "href", "title"), "html", null, true)); echo ">\n <span class=\"visually-hidden\">\n "; // line 68 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar((isset($context["current"]) ? $context["current"] : null) == $context["key"] ? t("Current page") : t("Page"))); echo "\n </span>"; // line 70 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $context["key"], "html", null, true)); // line 71 echo "</a>\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 74 echo " "; // line 75 echo " "; if ($this->getAttribute(isset($context["ellipses"]) ? $context["ellipses"] : null, "next", array())) { // line 76 echo " <li class=\"pager__item pager__item--ellipsis\" role=\"presentation\">…</li>\n "; } // line 78 echo " "; // line 79 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array())) { // line 80 echo " <li class=\"pager__item pager__item--next\">\n <a href=\""; // line 81 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array()), "href", array()), "html", null, true)); echo "\" title=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Go to next page"))); echo "\" rel=\"next\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array()), "attributes", array()), "href", "title", "rel"), "html", null, true)); echo ">\n <span class=\"visually-hidden\">"; // line 82 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Next page"))); echo "</span>\n <span aria-hidden=\"true\">"; // line 83 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array(), "any", false, true), "text", array()), t("Next ›")) : t("Next ›"), "html", null, true)); echo "</span>\n </a>\n </li>\n "; } // line 87 echo " "; // line 88 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array())) { // line 89 echo " <li class=\"pager__item pager__item--last\">\n <a href=\""; // line 90 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array()), "href", array()), "html", null, true)); echo "\" title=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Go to last page"))); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array()), "attributes", array()), "href", "title"), "html", null, true)); echo ">\n <span class=\"visually-hidden\">"; // line 91 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Last page"))); echo "</span>\n <span aria-hidden=\"true\">"; // line 92 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array(), "any", false, true), "text", array()), t("Last »")) : t("Last »"), "html", null, true)); echo "</span>\n </a>\n </li>\n "; } // line 96 echo " </ul>\n </nav>\n"; } }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("set" => 72, "if" => 86, "trans" => 88); $filters = array("clean_class" => 75, "without" => 115); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if', 'trans'), array('clean_class', 'without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 72 $context["classes"] = array(0 => "node", 1 => "node--id-" . $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "id", array()), 2 => "node--type-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["node"]) ? $context["node"] : null, "bundle", array())), 3 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPromoted", array(), "method") ? "node--promoted" : "", 4 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isSticky", array(), "method") ? "node--sticky" : "", 5 => !$this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPublished", array(), "method") ? "node--unpublished" : "", 6 => isset($context["view_mode"]) ? $context["view_mode"] : null ? "node--view-mode-" . \Drupal\Component\Utility\Html::getClass(isset($context["view_mode"]) ? $context["view_mode"] : null) : ""); // line 82 echo "<article"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true)); echo ">\n <div class=\"node__container\">\n\n <header"; // line 85 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["header_attributes"]) ? $context["header_attributes"] : null, "addClass", array(0 => "node__header"), "method"), "html", null, true)); echo ">\n "; // line 86 if (!$this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPublished", array(), "method")) { // line 87 echo " <span class=\"node__status node--unpublished marker marker--warning\" aria-label=\"Status message\" role=\"contentinfo\">\n <span class=\"visually-hidden\">"; // line 88 echo t("This node is", array()); echo "</span>"; echo t("Unpublished", array()); // line 89 echo " </span>\n "; } // line 91 echo "\n "; // line 92 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true)); echo "\n "; // line 93 if (isset($context["label"]) ? $context["label"] : null) { // line 94 echo " "; if (isset($context["page"]) ? $context["page"] : null) { // line 95 echo " <h1"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "node__title"), "method"), "html", null, true)); echo ">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true)); echo "</h1>\n "; } else { // line 97 echo " <h2"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "node__title"), "method"), "html", null, true)); echo "><a href=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["url"]) ? $context["url"] : null, "html", null, true)); echo "\" class=\"node__title-link\" rel=\"bookmark\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true)); echo "</a></h2>\n "; } // line 99 echo " "; } // line 100 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true)); echo "\n\n "; // line 102 if (isset($context["display_submitted"]) ? $context["display_submitted"] : null) { // line 103 echo " <div"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["meta_attributes"]) ? $context["meta_attributes"] : null, "html", null, true)); echo ">\n "; // line 104 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["author_picture"]) ? $context["author_picture"] : null, "html", null, true)); echo "\n <div"; // line 105 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["submitted_attributes"]) ? $context["submitted_attributes"] : null, "html", null, true)); echo ">\n <span class=\"node__author\">"; // line 106 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["author_name"]) ? $context["author_name"] : null, "html", null, true)); echo "</span>\n <span class=\"node__pubdate\">"; // line 107 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["date"]) ? $context["date"] : null, "html", null, true)); echo "</span>\n </div>\n "; // line 109 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["metadata"]) ? $context["metadata"] : null, "html", null, true)); echo "\n </div>\n "; } // line 112 echo " </header>\n\n <div"; // line 114 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "node__content"), "method"), "html", null, true)); echo ">\n "; // line 115 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["content"]) ? $context["content"] : null, "comment"), "html", null, true)); echo "\n </div>\n </div>\n\n "; // line 119 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "comment", array()), "html", null, true)); echo "\n\n</article>\n"; }
public function block_messages($context, array $blocks = array()) { $__internal_947528e0c16fbc9666ac643da7b0d75eabfe19b381a849ee9b033e8072def974 = $this->env->getExtension("native_profiler"); $__internal_947528e0c16fbc9666ac643da7b0d75eabfe19b381a849ee9b033e8072def974->enter($__internal_947528e0c16fbc9666ac643da7b0d75eabfe19b381a849ee9b033e8072def974_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "messages")); // line 26 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["message_list"]) ? $context["message_list"] : null); foreach ($context['_seq'] as $context["type"] => $context["messages"]) { // line 27 echo " "; // line 28 $context["classes"] = array(0 => "messages", 1 => "messages--" . $context["type"]); // line 33 echo " <div role=\"contentinfo\" aria-label=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["status_headings"]) ? $context["status_headings"] : null, $context["type"], array(), "array"), "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "role", "aria-label"), "html", null, true)); echo ">\n "; // line 34 if ($context["type"] == "error") { // line 35 echo " <div role=\"alert\">\n "; } // line 37 echo " "; if ($this->getAttribute(isset($context["status_headings"]) ? $context["status_headings"] : null, $context["type"], array(), "array")) { // line 38 echo " <h2 class=\"visually-hidden\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["status_headings"]) ? $context["status_headings"] : null, $context["type"], array(), "array"), "html", null, true)); echo "</h2>\n "; } // line 40 echo " "; if (twig_length_filter($this->env, $context["messages"]) > 1) { // line 41 echo " <ul class=\"messages__list\">\n "; // line 42 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["messages"]); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 43 echo " <li class=\"messages__item\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $context["message"], "html", null, true)); echo "</li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 45 echo " </ul>\n "; } else { // line 47 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_first($this->env, $context["messages"]), "html", null, true)); echo "\n "; } // line 49 echo " "; if ($context["type"] == "error") { // line 50 echo " </div>\n "; } // line 52 echo " </div>\n "; // line 54 echo " "; $context["attributes"] = $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "removeClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"); } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_947528e0c16fbc9666ac643da7b0d75eabfe19b381a849ee9b033e8072def974->leave($__internal_947528e0c16fbc9666ac643da7b0d75eabfe19b381a849ee9b033e8072def974_prof); }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("set" => 65, "if" => 75); $filters = array("clean_class" => 67, "without" => 114); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if'), array('clean_class', 'without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 65 $context["classes"] = array(0 => "node", 1 => "node--type-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["node"]) ? $context["node"] : null, "bundle", array())), 2 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPromoted", array(), "method") ? "node--promoted" : "", 3 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isSticky", array(), "method") ? "node--sticky" : "", 4 => !$this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPublished", array(), "method") ? "node--unpublished" : "", 5 => isset($context["view_mode"]) ? $context["view_mode"] : null ? "node--view-mode-" . \Drupal\Component\Utility\Html::getClass(isset($context["view_mode"]) ? $context["view_mode"] : null) : "", 6 => "clearfix"); // line 75 if ((isset($context["view_mode"]) ? $context["view_mode"] : null) == "full") { // line 76 echo " <article"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true)); echo ">\n <div"; // line 77 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "node__content", 1 => "clearfix"), "method"), "html", null, true)); echo ">\n "; // line 78 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "field_image", array()), "html", null, true)); echo "\n <div id=\"body-container\">\n "; // line 80 if (!twig_test_empty($this->getAttribute($this->getAttribute(isset($context["content"]) ? $context["content"] : null, "body", array()), "#items", array(), "array"))) { // line 81 echo " <div class=\"body"; if (twig_test_empty($this->getAttribute($this->getAttribute(isset($context["content"]) ? $context["content"] : null, "field_downloads", array()), "#items", array(), "array"))) { echo "full-width"; } echo "\">\n <div class=\"body-inner\">\n <h2 class=\"title\">"; // line 83 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["body_label"]) ? $context["body_label"] : null, "html", null, true)); echo "</h2>\n "; // line 84 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "body", array()), "html", null, true)); echo "\n </div>\n </div>\n "; } // line 88 echo " "; if (!twig_test_empty($this->getAttribute($this->getAttribute(isset($context["content"]) ? $context["content"] : null, "field_downloads", array()), "#items", array(), "array"))) { // line 89 echo " <div class=\"downloads\">\n <div class=\"downloads-inner\">\n <h2 class=\"title\">"; // line 91 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["downloads_label"]) ? $context["downloads_label"] : null, "html", null, true)); echo "</h2>\n "; // line 92 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "field_downloads", array()), "html", null, true)); echo "\n </div>\n </div>\n "; } // line 96 echo " </div>\n </div>\n "; // line 98 if ($this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array())) { // line 99 echo " <div class=\"node__links\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array()), "html", null, true)); echo "</div>\n "; } // line 101 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "comment", array()), "html", null, true)); echo "\n </article>\n"; } else { // line 104 echo " <article"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true)); echo ">\n "; // line 105 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "field_thumb", array()), "html", null, true)); echo "\n <div"; // line 106 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "node__content", 1 => "clearfix"), "method"), "html", null, true)); echo ">\n "; // line 107 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true)); echo "\n "; // line 108 if (!(isset($context["page"]) ? $context["page"] : null)) { // line 109 echo " <h2"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "node__title"), "method"), "html", null, true)); echo ">\n <a href=\""; // line 110 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["url"]) ? $context["url"] : null, "html", null, true)); echo "\" rel=\"bookmark\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true)); echo "</a>\n </h2>\n "; } // line 113 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true)); echo "\n "; // line 114 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["content"]) ? $context["content"] : null, "comment", "links", "field_thumb"), "html", null, true)); echo "\n <a href=\""; // line 115 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["url"]) ? $context["url"] : null, "html", null, true)); echo "\" class=\"button\">visit page »</a>\n </div>\n </article>\n"; } }
protected function doDisplay(array $context, array $blocks = array()) { // line 32 if (isset($context["items"]) ? $context["items"] : null) { // line 33 echo " <nav class=\"pager\" role=\"navigation\" aria-labelledby=\"pagination-heading\">\n <h4 id=\"pagination-heading\" class=\"visually-hidden\">"; // line 34 echo $this->env->getExtension('drupal_core')->renderVar(t("Pagination")); echo "</h4>\n <ul class=\"pager__items js-pager__items\">\n "; // line 37 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array())) { // line 38 echo " <li class=\"pager__item pager__item--first\">\n <a href=\""; // line 39 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array()), "href", array()), "html", null, true); echo "\" title=\""; echo $this->env->getExtension('drupal_core')->renderVar(t("Go to first page")); echo "\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array()), "attributes", array()), "href", "title"), "html", null, true); echo ">\n <span class=\"visually-hidden\">"; // line 40 echo $this->env->getExtension('drupal_core')->renderVar(t("First page")); echo "</span>\n <span aria-hidden=\"true\">"; // line 41 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "first", array(), "any", false, true), "text", array()), t("« first")) : t("« first"), "html", null, true); echo "</span>\n </a>\n </li>\n "; } // line 45 echo " "; // line 46 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array())) { // line 47 echo " <li class=\"pager__item pager__item--previous\">\n <a href=\""; // line 48 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()), "href", array()), "html", null, true); echo "\" title=\""; echo $this->env->getExtension('drupal_core')->renderVar(t("Go to previous page")); echo "\" rel=\"prev\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()), "attributes", array()), "href", "title", "rel"), "html", null, true); echo ">\n <span class=\"visually-hidden\">"; // line 49 echo $this->env->getExtension('drupal_core')->renderVar(t("Previous page")); echo "</span>\n <span aria-hidden=\"true\">"; // line 50 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array(), "any", false, true), "text", array()), t("‹ previous")) : t("‹ previous"), "html", null, true); echo "</span>\n </a>\n </li>\n "; } // line 54 echo " "; // line 55 echo " "; if ($this->getAttribute(isset($context["ellipses"]) ? $context["ellipses"] : null, "previous", array())) { // line 56 echo " <li class=\"pager__item pager__item--ellipsis\" role=\"presentation\">…</li>\n "; } // line 58 echo " "; // line 59 echo " "; $context['_parent'] = (array) $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "pages", array())); foreach ($context['_seq'] as $context["key"] => $context["item"]) { // line 60 echo " <li class=\"pager__item"; echo $this->env->getExtension('drupal_core')->renderVar((isset($context["current"]) ? $context["current"] : null) == $context["key"] ? " is-active" : ""); echo "\">\n "; // line 61 if ((isset($context["current"]) ? $context["current"] : null) == $context["key"]) { // line 62 echo " "; $context["title"] = t("Current page"); // line 63 echo " "; } else { // line 64 echo " "; $context["title"] = t("Go to page @key", array("@key" => $context["key"])); // line 65 echo " "; } // line 66 echo " <a href=\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["item"], "href", array()), "html", null, true); echo "\" title=\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true); echo "\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($context["item"], "attributes", array()), "href", "title"), "html", null, true); echo ">\n <span class=\"visually-hidden\">\n "; // line 68 echo $this->env->getExtension('drupal_core')->renderVar((isset($context["current"]) ? $context["current"] : null) == $context["key"] ? t("Current page") : t("Page")); echo "\n </span>"; // line 70 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $context["key"], "html", null, true); // line 71 echo "</a>\n </li>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 74 echo " "; // line 75 echo " "; if ($this->getAttribute(isset($context["ellipses"]) ? $context["ellipses"] : null, "next", array())) { // line 76 echo " <li class=\"pager__item pager__item--ellipsis\" role=\"presentation\">…</li>\n "; } // line 78 echo " "; // line 79 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array())) { // line 80 echo " <li class=\"pager__item pager__item--next\">\n <a href=\""; // line 81 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array()), "href", array()), "html", null, true); echo "\" title=\""; echo $this->env->getExtension('drupal_core')->renderVar(t("Go to next page")); echo "\" rel=\"next\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array()), "attributes", array()), "href", "title", "rel"), "html", null, true); echo ">\n <span class=\"visually-hidden\">"; // line 82 echo $this->env->getExtension('drupal_core')->renderVar(t("Next page")); echo "</span>\n <span aria-hidden=\"true\">"; // line 83 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array(), "any", false, true), "text", array()), t("next ›")) : t("next ›"), "html", null, true); echo "</span>\n </a>\n </li>\n "; } // line 87 echo " "; // line 88 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array())) { // line 89 echo " <li class=\"pager__item pager__item--last\">\n <a href=\""; // line 90 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array()), "href", array()), "html", null, true); echo "\" title=\""; echo $this->env->getExtension('drupal_core')->renderVar(t("Go to last page")); echo "\""; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array()), "attributes", array()), "href", "title"), "html", null, true); echo ">\n <span class=\"visually-hidden\">"; // line 91 echo $this->env->getExtension('drupal_core')->renderVar(t("Last page")); echo "</span>\n <span aria-hidden=\"true\">"; // line 92 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "last", array(), "any", false, true), "text", array()), t("last »")) : t("last »"), "html", null, true); echo "</span>\n </a>\n </li>\n "; } // line 96 echo " </ul>\n </nav>\n"; } }
protected function doDisplay(array $context, array $blocks = array()) { // line 65 $context["classes"] = array(0 => "node", 1 => "node--type-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["node"]) ? $context["node"] : null, "bundle", array())), 2 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPromoted", array(), "method") ? "node--promoted" : "", 3 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isSticky", array(), "method") ? "node--sticky" : "", 4 => !$this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPublished", array(), "method") ? "node--unpublished" : "", 5 => isset($context["view_mode"]) ? $context["view_mode"] : null ? "node--view-mode-" . \Drupal\Component\Utility\Html::getClass(isset($context["view_mode"]) ? $context["view_mode"] : null) : "", 6 => "clearfix"); // line 75 echo "<article"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true); echo ">\n <header>\n "; // line 77 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true); echo "\n "; // line 78 if (!(isset($context["page"]) ? $context["page"] : null)) { // line 79 echo " <h2"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "node__title"), "method"), "html", null, true); echo ">\n <a href=\""; // line 80 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["url"]) ? $context["url"] : null, "html", null, true); echo "\" rel=\"bookmark\">"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true); echo "</a>\n </h2>\n "; } // line 83 echo " "; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true); echo "\n "; // line 84 if (isset($context["display_submitted"]) ? $context["display_submitted"] : null) { // line 85 echo " <div class=\"node__meta\">\n "; // line 86 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["author_picture"]) ? $context["author_picture"] : null, "html", null, true); echo "\n <span"; // line 87 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["author_attributes"]) ? $context["author_attributes"] : null, "html", null, true); echo ">\n "; // line 88 echo t("Submitted by @author_name on @date", array("@author_name" => isset($context["author_name"]) ? $context["author_name"] : null, "@date" => isset($context["date"]) ? $context["date"] : null)); // line 89 echo " </span>\n "; // line 90 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["metadata"]) ? $context["metadata"] : null, "html", null, true); echo "\n </div>\n "; } // line 93 echo " </header>\n <div"; // line 94 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "node__content", 1 => "clearfix"), "method"), "html", null, true); echo ">\n "; // line 95 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["content"]) ? $context["content"] : null, "comment", "links"), "html", null, true); echo "\n </div>\n "; // line 97 if ($this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array())) { // line 98 echo " <div class=\"node__links\">"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array()), "html", null, true); echo "</div>\n "; } // line 100 echo " "; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "comment", array()), "html", null, true); echo "\n</article>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("set" => 65, "if" => 75); $filters = array("clean_class" => 67, "raw" => 78, "without" => 79); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if'), array('clean_class', 'raw', 'without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 65 $context["classes"] = array(0 => "node", 1 => "node--type-" . \Drupal\Component\Utility\Html::getClass($this->getAttribute(isset($context["node"]) ? $context["node"] : null, "bundle", array())), 2 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPromoted", array(), "method") ? "node--promoted" : "", 3 => $this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isSticky", array(), "method") ? "node--sticky" : "", 4 => !$this->getAttribute(isset($context["node"]) ? $context["node"] : null, "isPublished", array(), "method") ? "node--unpublished" : "", 5 => isset($context["view_mode"]) ? $context["view_mode"] : null ? "node--view-mode-" . \Drupal\Component\Utility\Html::getClass(isset($context["view_mode"]) ? $context["view_mode"] : null) : "", 6 => "clearfix"); // line 75 if ((isset($context["view_mode"]) ? $context["view_mode"] : null) == "full") { // line 76 echo " <article"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true)); echo ">\n <div"; // line 77 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "node__content", 1 => "clearfix"), "method"), "html", null, true)); echo ">\n <div class=\"time-ago\">"; // line 78 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(isset($context["time_ago"]) ? $context["time_ago"] : null)); echo "</div>\n "; // line 79 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["content"]) ? $context["content"] : null, "comment", "links"), "html", null, true)); echo "\n </div>\n "; // line 81 if ($this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array())) { // line 82 echo " <div class=\"node__links\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array()), "html", null, true)); echo "</div>\n "; } // line 84 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "comment", array()), "html", null, true)); echo "\n </article>\n"; } else { // line 87 echo " <article"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true)); echo ">\n <header>\n "; // line 89 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true)); echo "\n "; // line 90 if (!(isset($context["page"]) ? $context["page"] : null)) { // line 91 echo " <h2"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["title_attributes"]) ? $context["title_attributes"] : null, "addClass", array(0 => "node__title"), "method"), "html", null, true)); echo ">\n <a href=\""; // line 92 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["url"]) ? $context["url"] : null, "html", null, true)); echo "\" rel=\"bookmark\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["label"]) ? $context["label"] : null, "html", null, true)); echo "</a>\n </h2>\n "; } // line 95 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true)); echo "\n </header>\n <div"; // line 97 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "node__content", 1 => "clearfix"), "method"), "html", null, true)); echo ">\n <div class=\"time-ago\">"; // line 98 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(isset($context["time_ago"]) ? $context["time_ago"] : null)); echo "</div>\n "; // line 99 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["content"]) ? $context["content"] : null, "comment", "links"), "html", null, true)); echo "\n </div>\n "; // line 101 if ($this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array())) { // line 102 echo " <div class=\"node__links\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array()), "html", null, true)); echo "</div>\n "; } // line 104 echo " </article>\n"; } }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("for" => 26, "if" => 28); $filters = array("without" => 27, "length" => 34, "first" => 41); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity( array('for', 'if'), array('without', 'length', 'first'), array() ); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 26 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["message_list"]) ? $context["message_list"] : null)); foreach ($context['_seq'] as $context["type"] => $context["messages"]) { // line 27 echo " <div role=\"contentinfo\" aria-label=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["status_headings"]) ? $context["status_headings"] : null), $context["type"], array(), "array"), "html", null, true)); echo "\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without((isset($context["attributes"]) ? $context["attributes"] : null), "role", "aria-label"), "html", null, true)); echo "> "; // line 28 if (($context["type"] == "error")) { // line 29 echo " <div role=\"alert\"> "; } // line 31 echo " "; if ($this->getAttribute((isset($context["status_headings"]) ? $context["status_headings"] : null), $context["type"], array(), "array")) { // line 32 echo " <h2 class=\"visually-hidden\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute((isset($context["status_headings"]) ? $context["status_headings"] : null), $context["type"], array(), "array"), "html", null, true)); echo "</h2> "; } // line 34 echo " "; if ((twig_length_filter($this->env, $context["messages"]) > 1)) { // line 35 echo " <ul> "; // line 36 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["messages"]); foreach ($context['_seq'] as $context["_key"] => $context["message"]) { // line 37 echo " <li>"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $context["message"], "html", null, true)); echo "</li> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 39 echo " </ul> "; } else { // line 41 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_first($this->env, $context["messages"]), "html", null, true)); echo " "; } // line 43 echo " "; if (($context["type"] == "error")) { // line 44 echo " </div> "; } // line 46 echo " </div> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("if" => 30, "set" => 40); $filters = array("without" => 40); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('if', 'set'), array('without'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 20 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "form_description", array()), "html", null, true)); echo "\n"; // line 21 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "expose_button", array()), "html", null, true)); echo "\n"; // line 22 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "group_button", array()), "html", null, true)); echo "\n"; // line 23 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "required", array()), "html", null, true)); echo "\n"; // line 24 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "label", array()), "html", null, true)); echo "\n"; // line 25 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "description", array()), "html", null, true)); echo "\n\n"; // line 27 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "operator", array()), "html", null, true)); echo "\n"; // line 28 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "value", array()), "html", null, true)); echo "\n\n"; // line 30 if ($this->getAttribute(isset($context["form"]) ? $context["form"] : null, "use_operator", array())) { // line 31 echo " <div class=\"views-left-40\">\n "; // line 32 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "use_operator", array()), "html", null, true)); echo "\n </div>\n"; } // line 35 echo "\n"; // line 40 $context["remaining_form"] = twig_without(isset($context["form"]) ? $context["form"] : null, "form_description", "expose_button", "group_button", "required", "label", "description", "operator", "value", "use_operator", "more"); // line 53 echo "\n"; // line 57 if ($this->getAttribute($this->getAttribute(isset($context["form"]) ? $context["form"] : null, "operator", array()), "#type", array(), "array")) { // line 58 echo " <div class=\"views-right-60\">\n "; // line 59 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["remaining_form"]) ? $context["remaining_form"] : null, "html", null, true)); echo "\n </div>\n"; } else { // line 62 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["remaining_form"]) ? $context["remaining_form"] : null, "html", null, true)); echo "\n"; } // line 64 echo "\n"; // line 65 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "more", array()), "html", null, true)); echo "\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("if" => 67, "set" => 71); $filters = array("without" => 80); $functions = array("attach_library" => 68); try { $this->env->getExtension('sandbox')->checkSecurity(array('if', 'set'), array('without'), array('attach_library')); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 67 if (isset($context["threaded"]) ? $context["threaded"] : null) { // line 68 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->env->getExtension('drupal_core')->attachLibrary("classy/drupal.comment.threaded"), "html", null, true)); echo "\n"; } // line 71 $context["classes"] = array(0 => "comment", 1 => "js-comment", 2 => (isset($context["status"]) ? $context["status"] : null) != "published" ? "comment--" . (isset($context["status"]) ? $context["status"] : null) : "", 3 => $this->getAttribute($this->getAttribute(isset($context["comment"]) ? $context["comment"] : null, "owner", array()), "anonymous", array()) ? "by-anonymous" : "", 4 => (isset($context["author_id"]) ? $context["author_id"] : null) && (isset($context["author_id"]) ? $context["author_id"] : null) == $this->getAttribute(isset($context["commented_entity"]) ? $context["commented_entity"] : null, "getOwnerId", array(), "method") ? "by-" . $this->getAttribute(isset($context["commented_entity"]) ? $context["commented_entity"] : null, "getEntityTypeId", array(), "method") . "-author" : "", 5 => "clearfix"); // line 80 echo "<article role=\"article\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "role"), "html", null, true)); echo ">\n "; // line 86 echo " <span class=\"hidden\" data-comment-timestamp=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["new_indicator_timestamp"]) ? $context["new_indicator_timestamp"] : null, "html", null, true)); echo "\"></span>\n\n <footer class=\"comment__meta\">\n "; // line 89 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["user_picture"]) ? $context["user_picture"] : null, "html", null, true)); echo "\n <p class=\"comment__author\">"; // line 90 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["author"]) ? $context["author"] : null, "html", null, true)); echo "</p>\n <p class=\"comment__time\">"; // line 91 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["created"]) ? $context["created"] : null, "html", null, true)); echo "</p>\n <p class=\"comment__permalink\">"; // line 92 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["permalink"]) ? $context["permalink"] : null, "html", null, true)); echo "</p>\n "; // line 98 echo " "; if (isset($context["parent"]) ? $context["parent"] : null) { // line 99 echo " <p class=\"visually-hidden\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["parent"]) ? $context["parent"] : null, "html", null, true)); echo "</p>\n "; } // line 101 echo " </footer>\n\n <div"; // line 103 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content_attributes"]) ? $context["content_attributes"] : null, "addClass", array(0 => "comment__content"), "method"), "html", null, true)); echo ">\n "; // line 104 if (isset($context["title"]) ? $context["title"] : null) { // line 105 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_prefix"]) ? $context["title_prefix"] : null, "html", null, true)); echo "\n <h3"; // line 106 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_attributes"]) ? $context["title_attributes"] : null, "html", null, true)); echo ">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true)); echo "</h3>\n "; // line 107 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title_suffix"]) ? $context["title_suffix"] : null, "html", null, true)); echo "\n "; } // line 109 echo " "; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["content"]) ? $context["content"] : null, "links"), "html", null, true)); echo "\n "; // line 110 if ($this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array())) { // line 111 echo " <nav>"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["content"]) ? $context["content"] : null, "links", array()), "html", null, true)); echo "</nav>\n "; } // line 113 echo " </div>\n</article>\n"; }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("if" => 12, "trans" => 26); $filters = array("t" => 14, "without" => 18, "default" => 20); $functions = array(); try { $this->env->getExtension('sandbox')->checkSecurity(array('if', 'trans'), array('t', 'without', 'default'), array()); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 12 if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()) || $this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array())) { // line 13 echo " <nav class=\"pager\" role=\"navigation\" aria-labelledby=\"pagination-heading\">\n <h4 class=\"pager__heading visually-hidden\">"; // line 14 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Pagination"))); echo "</h4>\n <ul class=\"pager__items js-pager__items\">\n "; // line 16 if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array())) { // line 17 echo " <li class=\"pager__item pager__item--previous\">\n <a href=\""; // line 18 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()), "href", array()), "html", null, true)); echo "\" title=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Go to previous page"))); echo "\" rel=\"prev\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array()), "attributes", array()), "href", "title", "rel"), "html", null, true)); echo ">\n <span class=\"visually-hidden\">"; // line 19 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Previous page"))); echo "</span>\n <span aria-hidden=\"true\">"; // line 20 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "previous", array(), "any", false, true), "text", array()), t("‹‹")) : t("‹‹"), "html", null, true)); echo "</span>\n </a>\n </li>\n "; } // line 24 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "current", array())) { // line 25 echo " <li class=\"pager__item is-active\">\n "; // line 26 echo t("Page @items.current", array("@items.current" => $this->getAttribute(isset($context["items"]) ? $context["items"] : null, "current", array()))); // line 29 echo " </li>\n "; } // line 31 echo " "; if ($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array())) { // line 32 echo " <li class=\"pager__item pager__item--next\">\n <a href=\""; // line 33 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array()), "href", array()), "html", null, true)); echo "\" title=\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Go to next page"))); echo "\" rel=\"next\""; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array()), "attributes", array()), "href", "title", "rel"), "html", null, true)); echo ">\n <span class=\"visually-hidden\">"; // line 34 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Next page"))); echo "</span>\n <span aria-hidden=\"true\">"; // line 35 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array(), "any", false, true), "text", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "next", array(), "any", false, true), "text", array()), t("››")) : t("››"), "html", null, true)); echo "</span>\n </a>\n </li>\n "; } // line 39 echo " </ul>\n </nav>\n"; } }
protected function doDisplay(array $context, array $blocks = array()) { $tags = array("for" => 33, "set" => 34, "if" => 44, "trans" => 46); $filters = array("t" => 27, "safe_join" => 57, "without" => 73); $functions = array("cycle" => 34); try { $this->env->getExtension('sandbox')->checkSecurity(array('for', 'set', 'if', 'trans'), array('t', 'safe_join', 'without'), array('cycle')); } catch (Twig_Sandbox_SecurityError $e) { $e->setTemplateFile($this->getTemplateName()); if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) { $e->setTemplateLine($tags[$e->getTagName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) { $e->setTemplateLine($filters[$e->getFilterName()]); } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) { $e->setTemplateLine($functions[$e->getFunctionName()]); } throw $e; } // line 22 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "filters", array()), "html", null, true)); echo "\n\n<table class=\"responsive-enabled\" data-striping=\"1\">\n <thead>\n <tr>\n <th>"; // line 27 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Uninstall"))); echo "</th>\n <th>"; // line 28 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Name"))); echo "</th>\n <th>"; // line 29 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Description"))); echo "</th>\n </tr>\n </thead>\n <tbody>\n "; // line 33 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["modules"]) ? $context["modules"] : null); $context['_iterated'] = false; $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["module"]) { // line 34 echo " "; $context["zebra"] = twig_cycle(array(0 => "odd", 1 => "even"), $this->getAttribute($context["loop"], "index0", array())); // line 35 echo "<tr"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "addClass", array(0 => isset($context["zebra"]) ? $context["zebra"] : null), "method"), "html", null, true)); echo ">\n <td align=\"center\">"; // line 37 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["module"], "checkbox", array()), "html", null, true)); // line 38 echo "</td>\n <td>\n <label for=\""; // line 40 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["module"], "checkbox_id", array()), "html", null, true)); echo "\" class=\"module-name table-filter-text-source\">"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["module"], "name", array()), "html", null, true)); echo "</label>\n </td>\n <td class=\"description\">\n <span class=\"text module-description\">"; // line 43 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["module"], "description", array()), "html", null, true)); echo "</span>\n "; // line 44 if ($this->getAttribute($context["module"], "reasons_count", array()) > 0) { // line 45 echo " <div class=\"admin-requirements\">"; // line 46 echo \Drupal::translation()->formatPlural(abs($this->getAttribute($context["module"], "reasons_count", array())), "The following reason prevents @module.module_name from being uninstalled:", "The following reasons prevent @module.module_name from being uninstalled:", array("@module.module_name" => $this->getAttribute($context["module"], "module_name", array()), "@module.module_name" => $this->getAttribute($context["module"], "module_name", array()))); // line 51 echo " <div class=\"item-list\">\n <ul>"; // line 53 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["module"], "validation_reasons", array())); foreach ($context['_seq'] as $context["_key"] => $context["reason"]) { // line 54 echo "<li>"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $context["reason"], "html", null, true)); echo "</li>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reason'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 56 if ($this->getAttribute($context["module"], "required_by", array())) { // line 57 echo "<li>"; echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("Required by: @module-list", array("@module-list" => $this->env->getExtension('drupal_core')->safeJoin($this->env, $this->getAttribute($context["module"], "required_by", array()), ", "))))); echo "</li>"; } // line 59 echo "</ul>\n </div>\n </div>\n "; } // line 63 echo " </td>\n </tr>\n "; $context['_iterated'] = true; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } if (!$context['_iterated']) { // line 66 echo " <tr class=\"odd\">\n <td colspan=\"3\" class=\"empty message\">"; // line 67 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->renderVar(t("No modules are available to uninstall."))); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 70 echo " </tbody>\n</table>\n\n"; // line 73 echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["form"]) ? $context["form"] : null, "filters", "modules", "uninstall"), "html", null, true)); echo "\n"; }
protected function doDisplay(array $context, array $blocks = array()) { // line 24 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["form"]) ? $context["form"] : null, "filters", array()), "html", null, true); echo "\n\n<table class=\"responsive-enabled\" data-striping=\"1\">\n <thead>\n <tr>\n <th>"; // line 29 echo $this->env->getExtension('drupal_core')->renderVar(t("Uninstall")); echo "</th>\n <th>"; // line 30 echo $this->env->getExtension('drupal_core')->renderVar(t("Name")); echo "</th>\n <th>"; // line 31 echo $this->env->getExtension('drupal_core')->renderVar(t("Description")); echo "</th>\n </tr>\n </thead>\n <tbody>\n "; // line 35 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(isset($context["modules"]) ? $context["modules"] : null); $context['_iterated'] = false; $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true); if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["module"]) { // line 36 echo " "; $context["zebra"] = twig_cycle(array(0 => "odd", 1 => "even"), $this->getAttribute($context["loop"], "index0", array())); // line 37 echo "<tr"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($this->getAttribute($context["module"], "attributes", array()), "addClass", array(0 => isset($context["zebra"]) ? $context["zebra"] : null), "method"), "html", null, true); echo ">\n <td align=\"center\">"; // line 39 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["module"], "checkbox", array()), "html", null, true); // line 40 echo "</td>\n <td>\n <label for=\""; // line 42 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["module"], "checkbox_id", array()), "html", null, true); echo "\" class=\"module-name table-filter-text-source\">"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["module"], "name", array()), "html", null, true); echo "</label>\n </td>\n <td class=\"description\">\n <span class=\"text module-description\">"; // line 45 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute($context["module"], "description", array()), "html", null, true); echo "</span>\n "; // line 46 if ($this->getAttribute($context["module"], "reasons_count", array()) > 0) { // line 47 echo " <div class=\"admin-requirements\">"; // line 48 echo \Drupal::translation()->formatPlural(abs($this->getAttribute($context["module"], "reasons_count", array())), "The following reason prevents @module.module_name from being uninstalled:", "The following reasons prevent @module.module_name from being uninstalled:", array("@module.module_name" => $this->getAttribute($context["module"], "module_name", array()), "@module.module_name" => $this->getAttribute($context["module"], "module_name", array()))); // line 53 echo " <div class=\"item-list\">\n <ul>"; // line 55 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["module"], "validation_reasons", array())); foreach ($context['_seq'] as $context["_key"] => $context["reason"]) { // line 56 echo "<li>"; echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, $context["reason"], "html", null, true); echo "</li>"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['reason'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 58 if ($this->getAttribute($context["module"], "required_by", array())) { // line 59 echo "<li>"; echo $this->env->getExtension('drupal_core')->renderVar(t("Required by: @module-list", array("@module-list" => $this->env->getExtension('drupal_core')->safeJoin($this->env, $this->getAttribute($context["module"], "required_by", array()), ", ")))); echo "</li>"; } // line 61 echo "</ul>\n </div>\n </div>\n "; } // line 65 echo " </td>\n </tr>\n "; $context['_iterated'] = true; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } if (!$context['_iterated']) { // line 68 echo " <tr class=\"odd\">\n <td colspan=\"3\" class=\"empty message\">"; // line 69 echo $this->env->getExtension('drupal_core')->renderVar(t("No modules are available to uninstall.")); echo "</td>\n </tr>\n "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['module'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 72 echo " </tbody>\n</table>\n\n"; // line 75 echo $this->env->getExtension('drupal_core')->escapeFilter($this->env, twig_without(isset($context["form"]) ? $context["form"] : null, "filters", "modules", "uninstall"), "html", null, true); echo "\n"; }