source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "
env, ($context["form_id"] ?? null), "html", null, true); echo "\" method=\"post\"> "; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(); echo " env, ($context["username"] ?? null), "html", null, true); echo "\"> env, ($context["hostname"] ?? null), "html", null, true); echo "\">
env, ($context["sub_menu_label"] ?? null), "html", null, true); echo "\"> "; // line 8 echo twig_escape_filter($this->env, ($context["legend"] ?? null), "html", null, true); echo " "; // line 17 if ((($context["type"] ?? null) == "database")) { // line 18 echo " "; } elseif (( // line 19 ($context["type"] ?? null) == "table")) { // line 20 echo " "; } // line 22 echo " "; // line 27 if ((twig_length_filter($this->env, ($context["privileges"] ?? null)) == 0)) { // line 28 echo " "; $context["colspan"] = (((($context["type"] ?? null) == "database")) ? (7) : ((((($context["type"] ?? null) == "table")) ? (6) : (5)))); // line 29 echo " "; } else { // line 33 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["privileges"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["privilege"]) { // line 34 echo " "; // line 39 if ((($context["type"] ?? null) == "database")) { // line 40 echo " "; } elseif (( // line 41 ($context["type"] ?? null) == "table")) { // line 42 echo " "; } // line 44 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['privilege'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 49 echo " "; } // line 50 echo "
"; // line 14 echo twig_escape_filter($this->env, ($context["type_label"] ?? null), "html", null, true); echo " "; // line 15 echo _gettext("Privileges"); echo " "; // line 16 echo _gettext("Grant"); echo ""; echo _gettext("Table-specific privileges"); echo ""; echo _gettext("Column-specific privileges"); echo ""; echo _gettext("Action"); echo "
env, ($context["colspan"] ?? null), "html", null, true); echo "\">
"; echo _gettext("None"); echo "
"; // line 35 echo twig_escape_filter($this->env, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = $context["privilege"]) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["name"] ?? null) : null), "html", null, true); echo " "; // line 36 echo (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = $context["privilege"]) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["privileges"] ?? null) : null); echo " "; // line 37 echo twig_escape_filter($this->env, (((($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = $context["privilege"]) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["grant"] ?? null) : null)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo ""; echo twig_escape_filter($this->env, (((($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = $context["privilege"]) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["table_privs"] ?? null) : null)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo ""; echo twig_escape_filter($this->env, (((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = $context["privilege"]) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["column_privs"] ?? null) : null)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo ""; // line 45 echo (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = $context["privilege"]) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["edit_link"] ?? null) : null); echo " "; // line 46 echo (($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = $context["privilege"]) && is_array($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e) || $__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e instanceof ArrayAccess ? ($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e["revoke_link"] ?? null) : null); echo "
"; // line 53 if ((($context["type"] ?? null) == "database")) { // line 54 echo " "; // line 56 if ( !twig_test_empty(($context["databases"] ?? null))) { // line 57 echo " "; } // line 66 echo " "; // line 67 echo PhpMyAdmin\Util::showHint(_gettext("Wildcards % and _ should be escaped with a \\ to use them literally.")); echo " "; } elseif (( // line 68 ($context["type"] ?? null) == "table")) { // line 69 echo " env, ($context["database"] ?? null), "html", null, true); echo "\"> "; // line 73 if ( !twig_test_empty(($context["tables"] ?? null))) { // line 74 echo " "; } // line 82 echo " "; } else { // line 84 echo " env, ($context["database"] ?? null), "html", null, true); echo "\"> "; // line 88 if ( !twig_test_empty(($context["routines"] ?? null))) { // line 89 echo " "; } // line 97 echo " "; } // line 99 echo "
"; } public function getTemplateName() { return "server/privileges/privileges_summary.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 310 => 102, 305 => 99, 301 => 97, 297 => 94, 286 => 92, 282 => 91, 278 => 90, 275 => 89, 273 => 88, 270 => 86, 264 => 84, 260 => 82, 256 => 79, 245 => 77, 241 => 76, 237 => 75, 234 => 74, 232 => 73, 229 => 71, 223 => 69, 221 => 68, 217 => 67, 214 => 66, 210 => 63, 201 => 60, 196 => 59, 192 => 58, 189 => 57, 187 => 56, 183 => 54, 181 => 53, 176 => 50, 173 => 49, 164 => 46, 160 => 45, 157 => 44, 151 => 42, 149 => 41, 144 => 40, 142 => 39, 137 => 37, 133 => 36, 129 => 35, 126 => 34, 121 => 33, 113 => 30, 110 => 29, 107 => 28, 105 => 27, 96 => 22, 90 => 20, 88 => 19, 83 => 18, 81 => 17, 77 => 16, 73 => 15, 69 => 14, 60 => 8, 56 => 7, 50 => 4, 46 => 3, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "server/privileges/privileges_summary.twig", "/usr/local/www/phpMyAdmin/templates/server/privileges/privileges_summary.twig"); } }