source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 echo "
"; // line 2 echo PhpMyAdmin\Url::getHiddenInputs(); echo "
"; // line 15 if (($context["menus_work"] ?? null)) { // line 16 echo " "; } // line 18 echo " "; // line 19 $context["action_colspan"] = 2; // line 20 if ((($context["user_group_count"] ?? null) > 0)) { $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); } // line 21 if (($context["has_account_locking"] ?? null)) { $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1); } // line 22 echo " "; // line 27 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["hosts"] ?? null)); $context['loop'] = [ '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["host"]) { // line 28 echo " "; // line 62 if (($context["menus_work"] ?? null)) { // line 63 echo " "; } // line 65 echo " "; // line 66 if (($context["is_grantuser"] ?? null)) { // line 67 echo " "; } // line 79 echo " "; if ((($context["menus_work"] ?? null) && (($context["user_group_count"] ?? null) > 0))) { // line 80 echo " "; } // line 88 echo " "; // line 98 if (($context["has_account_locking"] ?? null)) { // line 99 echo " "; } // line 111 echo " "; ++$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']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['host'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 113 echo "
"; echo _gettext("User name"); // line 8 echo " "; echo _gettext("Host name"); // line 9 echo " "; echo _gettext("Password"); // line 10 echo " "; echo _gettext("Global privileges"); // line 13 echo " "; echo PhpMyAdmin\Html\Generator::showHint("Note: MySQL privilege names are expressed in English."); echo " "; echo _gettext("User group"); echo ""; echo _gettext("Grant"); echo "env, ($context["action_colspan"] ?? null), "html", null, true); echo "\">"; echo _gettext("Action"); echo "
env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 30), "html", null, true); echo "\" value=\""; // line 31 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["host"], "user", [], "any", false, false, false, 31) . "") . twig_get_attribute($this->env, $this->source, $context["host"], "host", [], "any", false, false, false, 31)), "html", null, true); echo "\" name=\"selected_usr[]\"> "; // line 50 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["host"], "host", [], "any", false, false, false, 50), "html", null, true); echo " "; // line 52 if (twig_get_attribute($this->env, $this->source, $context["host"], "has_password", [], "any", false, false, false, 52)) { // line 53 echo " "; echo _gettext("Yes"); // line 54 echo " "; } else { // line 55 echo " "; echo _gettext("No"); echo " "; } // line 57 echo " "; echo (( !twig_get_attribute($this->env, $this->source, $context["host"], "has_select_priv", [], "any", false, false, false, 57)) ? (PhpMyAdmin\Html\Generator::showHint(_gettext("The selected user was not found in the privilege table."))) : ("")); echo " "; // line 60 echo twig_join_filter(twig_get_attribute($this->env, $this->source, $context["host"], "privileges", [], "any", false, false, false, 60), ", "); echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["host"], "group", [], "any", false, false, false, 63), "html", null, true); echo ""; echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["host"], "has_grant", [], "any", false, false, false, 65)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo " twig_get_attribute($this->env, $this->source, // line 69 $context["host"], "user", [], "any", false, false, false, 69), "hostname" => twig_get_attribute($this->env, $this->source, // line 70 $context["host"], "host", [], "any", false, false, false, 70), "dbname" => "", "tablename" => "", "routinename" => ""]); // line 74 echo "\"> "; // line 75 echo PhpMyAdmin\Html\Generator::getIcon("b_usredit", _gettext("Edit privileges")); echo " "; // line 81 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["host"], "user", [], "any", false, false, false, 81))) { // line 82 echo " "; } // line 86 echo " twig_get_attribute($this->env, $this->source, // line 90 $context["host"], "user", [], "any", false, false, false, 90), "hostname" => twig_get_attribute($this->env, $this->source, // line 91 $context["host"], "host", [], "any", false, false, false, 91), "initial" => // line 92 ($context["initial"] ?? null), "export" => true]); // line 94 echo "\"> "; // line 95 echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export")); echo "
env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html", null, true); echo "\" alt=\""; echo _gettext("With selected:"); echo "\"> "; echo _gettext("With selected:"); // line 123 echo " env, ($context["initial"] ?? null), "html", null, true); echo "\">
"; // line 135 if (($context["is_createuser"] ?? null)) { // line 136 echo "
"; echo _pgettext("Create new user", "New"); // line 137 echo "
"; } // line 145 echo "
"; // line 147 echo PhpMyAdmin\Html\Generator::getIcon("b_usrdrop", _gettext("Remove selected user accounts")); echo "

"; echo _gettext("Revoke all active privileges from the users and delete them afterwards."); // line 149 echo "

"; echo _gettext("Edit user group"); // line 168 echo "
"; echo _gettext("Loading…"); // line 173 echo "
"; } public function getTemplateName() { return "server/privileges/users_overview.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 453 => 178, 449 => 177, 442 => 173, 435 => 169, 431 => 168, 419 => 159, 411 => 154, 404 => 149, 398 => 147, 394 => 145, 386 => 140, 382 => 139, 378 => 137, 374 => 136, 372 => 135, 363 => 129, 357 => 126, 354 => 125, 349 => 123, 345 => 122, 341 => 121, 334 => 120, 326 => 113, 311 => 111, 306 => 108, 300 => 106, 295 => 105, 289 => 103, 284 => 102, 282 => 101, 272 => 100, 269 => 99, 267 => 98, 261 => 95, 258 => 94, 256 => 92, 255 => 91, 254 => 90, 253 => 89, 250 => 88, 246 => 86, 240 => 83, 235 => 82, 233 => 81, 230 => 80, 227 => 79, 220 => 75, 217 => 74, 215 => 70, 214 => 69, 213 => 68, 210 => 67, 208 => 66, 203 => 65, 197 => 63, 195 => 62, 190 => 60, 183 => 57, 177 => 55, 174 => 54, 171 => 53, 169 => 52, 164 => 50, 160 => 48, 154 => 45, 151 => 44, 149 => 40, 148 => 39, 146 => 38, 140 => 36, 138 => 35, 134 => 34, 128 => 31, 125 => 30, 121 => 28, 104 => 27, 93 => 22, 89 => 21, 85 => 20, 83 => 19, 79 => 18, 73 => 16, 71 => 15, 65 => 13, 60 => 10, 56 => 9, 52 => 8, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "server/privileges/users_overview.twig", "/volume1/Web/phpmyadmin/templates/server/privileges/users_overview.twig"); } }