<?php

/* privileges/global_priv_table.twig */
class __TwigTemplate_1a1eba638ccedc27438f5c48e4507c094d1966983e117f8d22115d93131ccd58 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["priv_table"] ?? null));
        foreach ($context['_seq'] as $context["key"] => $context["table"]) {
            // line 2
            echo "    <fieldset>
        <legend>
            <input type=\"checkbox\" class=\"sub_checkall_box\" id=\"checkall_";
            // line 4
            echo twig_escape_filter($this->env, $this->getAttribute(($context["priv_table_names"] ?? null), $context["key"], array(), "array"), "html", null, true);
            echo "_priv\"
                title=\"";
            // line 5
            echo _gettext("Check all");
            echo "\" />
            <label for=\"checkall_";
            // line 6
            echo twig_escape_filter($this->env, $this->getAttribute(($context["priv_table_names"] ?? null), $context["key"], array(), "array"), "html", null, true);
            echo "_priv\">";
            echo twig_escape_filter($this->env, $this->getAttribute(($context["priv_table_names"] ?? null), $context["key"], array(), "array"), "html", null, true);
            echo "</label>
        </legend>
        ";
            // line 8
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["table"]);
            foreach ($context['_seq'] as $context["_key"] => $context["priv"]) {
                // line 9
                echo "            ";
                $context["checked"] = ((($this->getAttribute(($context["row"] ?? null), ($this->getAttribute($context["priv"], 0, array(), "array") . "_priv"), array(), "array", true, true) && ($this->getAttribute(($context["row"] ?? null), ($this->getAttribute($context["priv"], 0, array(), "array") . "_priv"), array(), "array") == "Y"))) ? (" checked=\"checked\"") : (""));
                // line 10
                echo "            ";
                $context["formatted_priv"] = call_user_func_array($this->env->getFunction('ServerPrivileges_formatPrivilege')->getCallable(), array($context["priv"], true));
                // line 11
                echo "            ";
                $this->loadTemplate("privileges/global_priv_tbl_item.twig", "privileges/global_priv_table.twig", 11)->display(array("checked" =>                 // line 12
($context["checked"] ?? null), "formatted_priv" =>                 // line 13
($context["formatted_priv"] ?? null), "priv" =>                 // line 14
$context["priv"]));
                // line 16
                echo "        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['priv'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 17
            echo "    </fieldset>
";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['key'], $context['table'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  64 => 17,  58 => 16,  56 => 14,  55 => 13,  54 => 12,  52 => 11,  49 => 10,  46 => 9,  42 => 8,  35 => 6,  31 => 5,  27 => 4,  23 => 2,  19 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("", "privileges/global_priv_table.twig", "/home/files/phpmyadmin/release/phpMyAdmin-5.0+snapshot/templates/privileges/global_priv_table.twig");
    }
}
