<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* server/privileges/initials_row.twig */
class __TwigTemplate_a720d85417a64ef363560f4bf9e54705d47d9efdbc6eb297caf2d73ae185c319 extends \Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo "<table id=\"initials_table\" cellspacing=\"5\">
    <tr>
        ";
        // line 3
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["array_initials"] ?? null));
        foreach ($context['_seq'] as $context["tmp_initial"] => $context["initial_was_found"]) {
            if ( !($context["tmp_initial"] === null)) {
                // line 4
                echo "            ";
                if ($context["initial_was_found"]) {
                    // line 5
                    echo "                <td>
                    <a class=\"ajax";
                    // line 7
                    echo ((((isset($context["initial"]) || array_key_exists("initial", $context)) && (($context["initial"] ?? null) === $context["tmp_initial"]))) ? (" active") : (""));
                    // line 8
                    echo "\" href=\"";
                    echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["initial" => $context["tmp_initial"]]);
                    echo "\">";
                    // line 9
                    echo $context["tmp_initial"];
                    // line 10
                    echo "</a>
                </td>
            ";
                } else {
                    // line 13
                    echo "                <td>";
                    echo $context["tmp_initial"];
                    echo "</td>
            ";
                }
                // line 15
                echo "        ";
            }
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['tmp_initial'], $context['initial_was_found'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 16
        echo "        <td>
            <a href=\"";
        // line 17
        echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["showall" => 1]);
        echo "\" class=\"nowrap\">
                ";
        // line 18
        echo _gettext("Show all");
        // line 19
        echo "            </a>
        </td>
    </tr>
</table>
";
    }

    public function getTemplateName()
    {
        return "server/privileges/initials_row.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  87 => 19,  85 => 18,  81 => 17,  78 => 16,  71 => 15,  65 => 13,  60 => 10,  58 => 9,  54 => 8,  52 => 7,  49 => 5,  46 => 4,  41 => 3,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "server/privileges/initials_row.twig", "/home/files/phpmyadmin/release/phpMyAdmin-5.1+snapshot/templates/server/privileges/initials_row.twig");
    }
}
