123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?php
- use Twig\Environment;
- use Twig\Error\LoaderError;
- use Twig\Error\RuntimeError;
- use Twig\Markup;
- use Twig\Sandbox\SecurityError;
- use Twig\Sandbox\SecurityNotAllowedTagError;
- use Twig\Sandbox\SecurityNotAllowedFilterError;
- use Twig\Sandbox\SecurityNotAllowedFunctionError;
- use Twig\Source;
- use Twig\Template;
- /* list/unordered.twig */
- class __TwigTemplate_3d2c9a52e1d502cea3652e5ba2a5b7139e1742ea491f971660dcf4ab63dd499c extends \Twig\Template
- {
- public function __construct(Environment $env)
- {
- parent::__construct($env);
- $this->parent = false;
- $this->blocks = [
- ];
- }
- protected function doDisplay(array $context, array $blocks = [])
- {
- // line 1
- echo "<ul";
- if ( !twig_test_empty(($context["id"] ?? null))) {
- echo " id=\"";
- echo twig_escape_filter($this->env, ($context["id"] ?? null), "html", null, true);
- echo "\"";
- }
- // line 2
- if ( !twig_test_empty(($context["class"] ?? null))) {
- echo " class=\"";
- echo twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true);
- echo "\"";
- }
- echo ">
- ";
- // line 4
- if ( !twig_test_empty(($context["items"] ?? null))) {
- // line 5
- echo " ";
- $context['_parent'] = $context;
- $context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
- foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
- // line 6
- echo " ";
- if ( !twig_test_iterable($context["item"])) {
- // line 7
- echo " ";
- $context["item"] = ["content" => $context["item"]];
- // line 8
- echo " ";
- }
- // line 9
- echo " ";
- $this->loadTemplate("list/item.twig", "list/unordered.twig", 9)->display(twig_to_array($context["item"]));
- // line 10
- echo " ";
- }
- $_parent = $context['_parent'];
- unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
- $context = array_intersect_key($context, $_parent) + $_parent;
- // line 11
- echo " ";
- } elseif ( !twig_test_empty(($context["content"] ?? null))) {
- // line 12
- echo " ";
- echo ($context["content"] ?? null);
- echo "
- ";
- }
- // line 14
- echo "</ul>
- ";
- }
- public function getTemplateName()
- {
- return "list/unordered.twig";
- }
- public function isTraitable()
- {
- return false;
- }
- public function getDebugInfo()
- {
- return array ( 80 => 14, 74 => 12, 71 => 11, 65 => 10, 62 => 9, 59 => 8, 56 => 7, 53 => 6, 48 => 5, 46 => 4, 37 => 2, 30 => 1,);
- }
- /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
- public function getSource()
- {
- @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
- return $this->getSourceContext()->getCode();
- }
- public function getSourceContext()
- {
- return new Source("", "list/unordered.twig", "/www/pma/templates/list/unordered.twig");
- }
- }
|