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 24 $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 25 echo " "; // line 59 if (($context["menus_work"] ?? null)) { // line 60 echo " "; } // line 62 echo " "; // line 63 if (($context["is_grantuser"] ?? null)) { // line 64 echo " "; } // line 76 echo " "; if ((($context["menus_work"] ?? null) && (($context["user_group_count"] ?? null) > 0))) { // line 77 echo " "; } // line 85 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 97 echo "
"; // line 8 echo _gettext("User name"); echo " "; // line 9 echo _gettext("Host name"); echo " "; // line 10 echo _gettext("Password"); echo " "; // line 12 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 " 0)) ? ("3") : ("2")); echo "\">"; echo _gettext("Action"); echo "
env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 27), "html", null, true); echo "\" value=\""; // line 28 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["host"], "user", [], "any", false, false, false, 28) . "") . twig_get_attribute($this->env, $this->source, $context["host"], "host", [], "any", false, false, false, 28)), "html", null, true); echo "\" name=\"selected_usr[]\"> "; // line 47 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["host"], "host", [], "any", false, false, false, 47), "html", null, true); echo " "; // line 49 if (twig_get_attribute($this->env, $this->source, $context["host"], "has_password", [], "any", false, false, false, 49)) { // line 50 echo " "; echo _gettext("Yes"); // line 51 echo " "; } else { // line 52 echo " "; echo _gettext("No"); echo " "; } // line 54 echo " "; echo (( !twig_get_attribute($this->env, $this->source, $context["host"], "has_select_priv", [], "any", false, false, false, 54)) ? (\PhpMyAdmin\Html\Generator::showHint(_gettext("The selected user was not found in the privilege table."))) : ("")); echo " "; // line 57 echo twig_join_filter(twig_get_attribute($this->env, $this->source, $context["host"], "privileges", [], "any", false, false, false, 57), ", "); echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["host"], "group", [], "any", false, false, false, 60), "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, 62)) ? (_gettext("Yes")) : (_gettext("No"))), "html", null, true); echo " twig_get_attribute($this->env, $this->source, // line 66 $context["host"], "user", [], "any", false, false, false, 66), "hostname" => twig_get_attribute($this->env, $this->source, // line 67 $context["host"], "host", [], "any", false, false, false, 67), "dbname" => "", "tablename" => "", "routinename" => ""]); // line 71 echo "\"> "; // line 72 echo \PhpMyAdmin\Html\Generator::getIcon("b_usredit", _gettext("Edit privileges")); echo " "; // line 78 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["host"], "user", [], "any", false, false, false, 78))) { // line 79 echo " twig_get_attribute($this->env, $this->source, $context["host"], "user", [], "any", false, false, false, 79)]); echo "\"> "; // line 80 echo \PhpMyAdmin\Html\Generator::getIcon("b_usrlist", _gettext("Edit user group")); echo " "; } // line 83 echo " twig_get_attribute($this->env, $this->source, // line 87 $context["host"], "user", [], "any", false, false, false, 87), "hostname" => twig_get_attribute($this->env, $this->source, // line 88 $context["host"], "host", [], "any", false, false, false, 88), "initial" => // line 89 ($context["initial"] ?? null), "export" => true]); // line 91 echo "\"> "; // line 92 echo \PhpMyAdmin\Html\Generator::getIcon("b_tblexport", _gettext("Export")); echo "
env, ($context["theme_image_path"] ?? null), "html", null, true); echo "arrow_"; echo twig_escape_filter($this->env, ($context["text_dir"] ?? null), "html", null, true); echo ".png\" alt=\""; echo _gettext("With selected:"); echo "\"> "; // line 107 echo _gettext("With selected:"); echo " env, ($context["initial"] ?? null), "html", null, true); echo "\">
"; // line 119 if (($context["is_createuser"] ?? null)) { // line 120 echo "
"; // line 121 echo _pgettext( "Create new user", "New"); echo "
"; } // line 129 echo "
"; // line 131 echo \PhpMyAdmin\Html\Generator::getIcon("b_usrdrop", _gettext("Remove selected user accounts")); echo "

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

"; } public function getTemplateName() { return "server/privileges/users_overview.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 366 => 143, 359 => 138, 357 => 137, 350 => 133, 345 => 131, 341 => 129, 333 => 124, 329 => 123, 324 => 121, 321 => 120, 319 => 119, 310 => 113, 304 => 110, 300 => 109, 295 => 107, 291 => 106, 287 => 105, 279 => 104, 271 => 97, 252 => 92, 249 => 91, 247 => 89, 246 => 88, 245 => 87, 244 => 86, 241 => 85, 237 => 83, 231 => 80, 226 => 79, 224 => 78, 221 => 77, 218 => 76, 211 => 72, 208 => 71, 206 => 67, 205 => 66, 204 => 65, 201 => 64, 199 => 63, 194 => 62, 188 => 60, 186 => 59, 181 => 57, 174 => 54, 168 => 52, 165 => 51, 162 => 50, 160 => 49, 155 => 47, 151 => 45, 145 => 42, 142 => 41, 140 => 37, 139 => 36, 137 => 35, 131 => 33, 129 => 32, 125 => 31, 119 => 28, 116 => 27, 112 => 25, 95 => 24, 85 => 19, 80 => 18, 74 => 16, 72 => 15, 66 => 13, 64 => 12, 59 => 10, 55 => 9, 51 => 8, 42 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "server/privileges/users_overview.twig", "/var/www/localhost/htdocs/phpmyadmin/templates/server/privileges/users_overview.twig"); } }