<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* server/privileges/privileges_table.twig */
class __TwigTemplate_3a0edde484b73a7e415635bdfbdaf458 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $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 = []): iterable
{
$macros = $this->macros;
// line 1
if ( !Twig\Extension\CoreExtension::testEmpty(($context["columns"] ?? null))) {
// line 2
yield "
<input type=\"hidden\" name=\"grant_count\" value=\"";
// line 3
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["row"] ?? null)), "html", null, true);
yield "\">
<input type=\"hidden\" name=\"column_count\" value=\"";
// line 4
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), ($context["columns"] ?? null)), "html", null, true);
yield "\">
<fieldset class=\"pma-fieldset\" id=\"fieldset_user_priv\">
<legend data-submenu-label=\"";
yield _gettext("Table");
// line 6
yield "\">
";
yield _gettext("Table-specific privileges");
// line 8
yield " </legend>
<p>
<small><em>";
yield _gettext("Note: MySQL privilege names are expressed in English.");
// line 10
yield "</em></small>
</p>
<div class=\"item\" id=\"div_item_select\">
<label for=\"select_select_priv\">
<code><dfn title=\"";
yield _gettext("Allows reading data.");
// line 15
yield "\">SELECT</dfn></code>
</label>
<select class=\"resize-vertical\" id=\"select_select_priv\" name=\"Select_priv[]\" size=\"8\" multiple>
";
// line 19
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["columns"] ?? null));
foreach ($context['_seq'] as $context["curr_col"] => $context["curr_col_privs"]) {
// line 20
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["curr_col"], "html", null, true);
yield "\"";
yield (((((($_v0 = ($context["row"] ?? null)) && is_array($_v0) || $_v0 instanceof ArrayAccess ? ($_v0["Select_priv"] ?? null) : null) == "Y") || (($_v1 = $context["curr_col_privs"]) && is_array($_v1) || $_v1 instanceof ArrayAccess ? ($_v1["Select"] ?? null) : null))) ? (" selected") : (""));
yield ">
";
// line 21
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["curr_col"], "html", null, true);
yield "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['curr_col'], $context['curr_col_privs'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
yield " </select>
<div>
<button class=\"btn btn-link p-0\" id=\"select_priv_all\" type=\"button\" data-select-target=\"#select_select_priv\">
";
yield _gettext("Select all");
// line 29
yield " </button>
</div>
<em>";
yield _gettext("Or");
// line 32
yield "</em>
<label for=\"checkbox_Select_priv_none\">
<input type=\"checkbox\" name=\"Select_priv_none\" id=\"checkbox_Select_priv_none\" title=\"";
yield _pgettext("None privileges", "None");
// line 35
yield "\">
";
yield _pgettext("None privileges", "None");
// line 37
yield " </label>
</div>
<div class=\"item\" id=\"div_item_insert\">
<label for=\"select_insert_priv\">
<code><dfn title=\"";
yield _gettext("Allows inserting and replacing data.");
// line 42
yield "\">INSERT</dfn></code>
</label>
<select class=\"resize-vertical\" id=\"select_insert_priv\" name=\"Insert_priv[]\" size=\"8\" multiple>
";
// line 46
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["columns"] ?? null));
foreach ($context['_seq'] as $context["curr_col"] => $context["curr_col_privs"]) {
// line 47
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["curr_col"], "html", null, true);
yield "\"";
yield (((((($_v2 = ($context["row"] ?? null)) && is_array($_v2) || $_v2 instanceof ArrayAccess ? ($_v2["Insert_priv"] ?? null) : null) == "Y") || (($_v3 = $context["curr_col_privs"]) && is_array($_v3) || $_v3 instanceof ArrayAccess ? ($_v3["Insert"] ?? null) : null))) ? (" selected") : (""));
yield ">
";
// line 48
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["curr_col"], "html", null, true);
yield "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['curr_col'], $context['curr_col_privs'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 51
yield " </select>
<div>
<button class=\"btn btn-link p-0\" id=\"insert_priv_all\" type=\"button\" data-select-target=\"#select_insert_priv\">
";
yield _gettext("Select all");
// line 56
yield " </button>
</div>
<em>";
yield _gettext("Or");
// line 59
yield "</em>
<label for=\"checkbox_Insert_priv_none\">
<input type=\"checkbox\" name=\"Insert_priv_none\" id=\"checkbox_Insert_priv_none\" title=\"";
yield _pgettext("None privileges", "None");
// line 62
yield "\">
";
yield _pgettext("None privileges", "None");
// line 64
yield " </label>
</div>
<div class=\"item\" id=\"div_item_update\">
<label for=\"select_update_priv\">
<code><dfn title=\"";
yield _gettext("Allows changing data.");
// line 69
yield "\">UPDATE</dfn></code>
</label>
<select class=\"resize-vertical\" id=\"select_update_priv\" name=\"Update_priv[]\" size=\"8\" multiple>
";
// line 73
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["columns"] ?? null));
foreach ($context['_seq'] as $context["curr_col"] => $context["curr_col_privs"]) {
// line 74
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["curr_col"], "html", null, true);
yield "\"";
yield (((((($_v4 = ($context["row"] ?? null)) && is_array($_v4) || $_v4 instanceof ArrayAccess ? ($_v4["Update_priv"] ?? null) : null) == "Y") || (($_v5 = $context["curr_col_privs"]) && is_array($_v5) || $_v5 instanceof ArrayAccess ? ($_v5["Update"] ?? null) : null))) ? (" selected") : (""));
yield ">
";
// line 75
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["curr_col"], "html", null, true);
yield "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['curr_col'], $context['curr_col_privs'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 78
yield " </select>
<div>
<button class=\"btn btn-link p-0\" id=\"update_priv_all\" type=\"button\" data-select-target=\"#select_update_priv\">
";
yield _gettext("Select all");
// line 83
yield " </button>
</div>
<em>";
yield _gettext("Or");
// line 86
yield "</em>
<label for=\"checkbox_Update_priv_none\">
<input type=\"checkbox\" name=\"Update_priv_none\" id=\"checkbox_Update_priv_none\" title=\"";
yield _pgettext("None privileges", "None");
// line 89
yield "\">
";
yield _pgettext("None privileges", "None");
// line 91
yield " </label>
</div>
<div class=\"item\" id=\"div_item_references\">
<label for=\"select_references_priv\">
<code><dfn title=\"";
yield _gettext("Has no effect in this MySQL version.");
// line 96
yield "\">REFERENCES</dfn></code>
</label>
<select class=\"resize-vertical\" id=\"select_references_priv\" name=\"References_priv[]\" size=\"8\" multiple>
";
// line 100
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["columns"] ?? null));
foreach ($context['_seq'] as $context["curr_col"] => $context["curr_col_privs"]) {
// line 101
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["curr_col"], "html", null, true);
yield "\"";
yield (((((($_v6 = ($context["row"] ?? null)) && is_array($_v6) || $_v6 instanceof ArrayAccess ? ($_v6["References_priv"] ?? null) : null) == "Y") || (($_v7 = $context["curr_col_privs"]) && is_array($_v7) || $_v7 instanceof ArrayAccess ? ($_v7["References"] ?? null) : null))) ? (" selected") : (""));
yield ">
";
// line 102
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["curr_col"], "html", null, true);
yield "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['curr_col'], $context['curr_col_privs'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 105
yield " </select>
<div>
<button class=\"btn btn-link p-0\" id=\"references_priv_all\" type=\"button\" data-select-target=\"#select_references_priv\">
";
yield _gettext("Select all");
// line 110
yield " </button>
</div>
<em>";
yield _gettext("Or");
// line 113
yield "</em>
<label for=\"checkbox_References_priv_none\">
<input type=\"checkbox\" name=\"References_priv_none\" id=\"checkbox_References_priv_none\" title=\"";
yield _pgettext("None privileges", "None");
// line 116
yield "\">
";
yield _pgettext("None privileges", "None");
// line 118
yield " </label>
</div>
<div class=\"item\">
<div class=\"item\">
<input type=\"checkbox\" name=\"Delete_priv\" id=\"checkbox_Delete_priv\" value=\"Y\" title=\"";
yield _gettext("Allows deleting data.");
// line 124
yield "\"";
yield ((((($_v8 = ($context["row"] ?? null)) && is_array($_v8) || $_v8 instanceof ArrayAccess ? ($_v8["Delete_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Delete_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows deleting data.");
// line 127
yield "\">
DELETE
</dfn>
</code>
</label>
</div>
<div class=\"item\">
<input type=\"checkbox\" name=\"Create_priv\" id=\"checkbox_Create_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating new tables.");
// line 136
yield "\"";
yield ((((($_v9 = ($context["row"] ?? null)) && is_array($_v9) || $_v9 instanceof ArrayAccess ? ($_v9["Create_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Create_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating new tables.");
// line 139
yield "\">
CREATE
</dfn>
</code>
</label>
</div>
<div class=\"item\">
<input type=\"checkbox\" name=\"Drop_priv\" id=\"checkbox_Drop_priv\" value=\"Y\" title=\"";
yield _gettext("Allows dropping tables.");
// line 148
yield "\"";
yield ((((($_v10 = ($context["row"] ?? null)) && is_array($_v10) || $_v10 instanceof ArrayAccess ? ($_v10["Drop_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Drop_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows dropping tables.");
// line 151
yield "\">
DROP
</dfn>
</code>
</label>
</div>
<div class=\"item\">
<input type=\"checkbox\" name=\"Grant_priv\" id=\"checkbox_Grant_priv\" value=\"Y\" title=\"";
yield _gettext("Allows user to give to other users or remove from other users the privileges that user possess yourself.");
// line 160
yield "\"";
// line 161
yield ((((($_v11 = ($context["row"] ?? null)) && is_array($_v11) || $_v11 instanceof ArrayAccess ? ($_v11["Grant_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Grant_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows user to give to other users or remove from other users the privileges that user possess yourself.");
// line 164
yield "\">
GRANT
</dfn>
</code>
</label>
</div>
<div class=\"item\">
<input type=\"checkbox\" name=\"Index_priv\" id=\"checkbox_Index_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating and dropping indexes.");
// line 173
yield "\"";
yield ((((($_v12 = ($context["row"] ?? null)) && is_array($_v12) || $_v12 instanceof ArrayAccess ? ($_v12["Index_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Index_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating and dropping indexes.");
// line 176
yield "\">
INDEX
</dfn>
</code>
</label>
</div>
<div class=\"item\">
<input type=\"checkbox\" name=\"Alter_priv\" id=\"checkbox_Alter_priv\" value=\"Y\" title=\"";
yield _gettext("Allows altering the structure of existing tables.");
// line 185
yield "\"";
yield ((((($_v13 = ($context["row"] ?? null)) && is_array($_v13) || $_v13 instanceof ArrayAccess ? ($_v13["Alter_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Alter_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows altering the structure of existing tables.");
// line 188
yield "\">
ALTER
</dfn>
</code>
</label>
</div>
<div class=\"item\">
<input type=\"checkbox\" name=\"Create_view_priv\" id=\"checkbox_Create_view_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating new views.");
// line 197
yield "\"";
yield ((((($_v14 = ($context["row"] ?? null)) && is_array($_v14) || $_v14 instanceof ArrayAccess ? ($_v14["Create View_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Create_view_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating new views.");
// line 200
yield "\">
CREATE VIEW
</dfn>
</code>
</label>
</div>
<div class=\"item\">
<input type=\"checkbox\" name=\"Show_view_priv\" id=\"checkbox_Show_view_priv\" value=\"Y\" title=\"";
yield _gettext("Allows performing SHOW CREATE VIEW queries.");
// line 209
yield "\"";
yield ((((($_v15 = ($context["row"] ?? null)) && is_array($_v15) || $_v15 instanceof ArrayAccess ? ($_v15["Show view_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Show_view_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows performing SHOW CREATE VIEW queries.");
// line 212
yield "\">
SHOW VIEW
</dfn>
</code>
</label>
</div>
<div class=\"item\">
<input type=\"checkbox\" name=\"Trigger_priv\" id=\"checkbox_Trigger_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating and dropping triggers.");
// line 221
yield "\"";
yield ((((($_v16 = ($context["row"] ?? null)) && is_array($_v16) || $_v16 instanceof ArrayAccess ? ($_v16["Trigger_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Trigger_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating and dropping triggers.");
// line 224
yield "\">
TRIGGER
</dfn>
</code>
</label>
</div>
";
// line 231
if (CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "Delete versioning rows_priv", [], "array", true, true, false, 231)) {
// line 232
yield " <div class=\"item\">
<input type=\"checkbox\" name=\"Delete_history_priv\" id=\"checkbox_Delete_history_priv\" value=\"Y\" title=\"";
yield _gettext("Allows deleting historical rows.");
// line 234
yield "\"";
// line 235
yield ((((($_v17 = ($context["row"] ?? null)) && is_array($_v17) || $_v17 instanceof ArrayAccess ? ($_v17["Delete versioning rows_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Delete_history_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows deleting historical rows.");
// line 238
yield "\">
DELETE HISTORY
</dfn>
</code>
</label>
</div>
";
}
// line 245
yield " </div>
<div class=\"clearfloat\"></div>
</fieldset>
";
} else {
// line 250
yield "
";
// line 251
$context["grant_count"] = 0;
// line 252
yield "<fieldset class=\"pma-fieldset\" id=\"fieldset_user_global_rights\">
<legend data-submenu-label=\"";
// line 254
if (($context["is_global"] ?? null)) {
yield _gettext("Global");
} elseif ( // line 256
($context["is_database"] ?? null)) {
yield _gettext("Database");
} else {
yield _gettext("Table");
}
// line 260
yield "\">
";
// line 261
if (($context["is_global"] ?? null)) {
// line 262
yield " ";
yield _gettext("Global privileges");
// line 263
yield " ";
} elseif (($context["is_database"] ?? null)) {
// line 264
yield " ";
yield _gettext("Database-specific privileges");
// line 265
yield " ";
} else {
// line 266
yield " ";
yield _gettext("Table-specific privileges");
// line 267
yield " ";
}
// line 268
yield " <input type=\"checkbox\" id=\"addUsersForm_checkall\" class=\"checkall_box\" title=\"";
yield _gettext("Check all");
yield "\">
<label for=\"addUsersForm_checkall\">";
yield _gettext("Check all");
// line 269
yield "</label>
</legend>
<p>
<small><em>";
yield _gettext("Note: MySQL privilege names are expressed in English.");
// line 272
yield "</em></small>
</p>
<fieldset class=\"pma-fieldset\">
<legend>
<input type=\"checkbox\" class=\"sub_checkall_box\" id=\"checkall_Data_priv\" title=\"";
yield _gettext("Check all");
// line 277
yield "\">
<label for=\"checkall_Data_priv\">";
yield _gettext("Data");
// line 278
yield "</label>
</legend>
<div class=\"item\">
";
// line 282
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 283
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Select_priv\" id=\"checkbox_Select_priv\" value=\"Y\" title=\"";
yield _gettext("Allows reading data.");
// line 284
yield "\"";
yield ((((($_v18 = ($context["row"] ?? null)) && is_array($_v18) || $_v18 instanceof ArrayAccess ? ($_v18["Select_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Select_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows reading data.");
// line 287
yield "\">
SELECT
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 295
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 296
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Insert_priv\" id=\"checkbox_Insert_priv\" value=\"Y\" title=\"";
yield _gettext("Allows inserting and replacing data.");
// line 297
yield "\"";
yield ((((($_v19 = ($context["row"] ?? null)) && is_array($_v19) || $_v19 instanceof ArrayAccess ? ($_v19["Insert_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Insert_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows inserting and replacing data.");
// line 300
yield "\">
INSERT
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 308
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 309
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Update_priv\" id=\"checkbox_Update_priv\" value=\"Y\" title=\"";
yield _gettext("Allows changing data.");
// line 310
yield "\"";
yield ((((($_v20 = ($context["row"] ?? null)) && is_array($_v20) || $_v20 instanceof ArrayAccess ? ($_v20["Update_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Update_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows changing data.");
// line 313
yield "\">
UPDATE
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 321
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 322
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Delete_priv\" id=\"checkbox_Delete_priv\" value=\"Y\" title=\"";
yield _gettext("Allows deleting data.");
// line 323
yield "\"";
yield ((((($_v21 = ($context["row"] ?? null)) && is_array($_v21) || $_v21 instanceof ArrayAccess ? ($_v21["Delete_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Delete_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows deleting data.");
// line 326
yield "\">
DELETE
</dfn>
</code>
</label>
</div>
";
// line 333
if (($context["is_global"] ?? null)) {
// line 334
yield " <div class=\"item\">
";
// line 335
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 336
yield " <input type=\"checkbox\" class=\"checkall\" name=\"File_priv\" id=\"checkbox_File_priv\" value=\"Y\" title=\"";
yield _gettext("Allows importing data from and exporting data into files.");
// line 337
yield "\"";
yield ((((($_v22 = ($context["row"] ?? null)) && is_array($_v22) || $_v22 instanceof ArrayAccess ? ($_v22["File_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_File_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows importing data from and exporting data into files.");
// line 340
yield "\">
FILE
</dfn>
</code>
</label>
</div>
";
}
// line 347
yield " </fieldset>
<fieldset class=\"pma-fieldset\">
<legend>
<input type=\"checkbox\" class=\"sub_checkall_box\" id=\"checkall_Structure_priv\" title=\"";
yield _gettext("Check all");
// line 351
yield "\">
<label for=\"checkall_Structure_priv\">";
yield _gettext("Structure");
// line 352
yield "</label>
</legend>
<div class=\"item\">
";
// line 356
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 357
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Create_priv\" id=\"checkbox_Create_priv\" value=\"Y\" title=\"";
// line 358
if (($context["is_database"] ?? null)) {
yield _gettext("Allows creating new databases and tables.");
} else {
yield _gettext("Allows creating new tables.");
}
// line 362
yield "\"";
yield ((((($_v23 = ($context["row"] ?? null)) && is_array($_v23) || $_v23 instanceof ArrayAccess ? ($_v23["Create_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Create_priv\">
<code>
<dfn title=\"";
// line 366
if (($context["is_database"] ?? null)) {
yield _gettext("Allows creating new databases and tables.");
} else {
yield _gettext("Allows creating new tables.");
}
// line 370
yield "\">
CREATE
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 378
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 379
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Alter_priv\" id=\"checkbox_Alter_priv\" value=\"Y\" title=\"";
yield _gettext("Allows altering the structure of existing tables.");
// line 380
yield "\"";
yield ((((($_v24 = ($context["row"] ?? null)) && is_array($_v24) || $_v24 instanceof ArrayAccess ? ($_v24["Alter_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Alter_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows altering the structure of existing tables.");
// line 383
yield "\">
ALTER
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 391
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 392
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Index_priv\" id=\"checkbox_Index_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating and dropping indexes.");
// line 393
yield "\"";
yield ((((($_v25 = ($context["row"] ?? null)) && is_array($_v25) || $_v25 instanceof ArrayAccess ? ($_v25["Index_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Index_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating and dropping indexes.");
// line 396
yield "\">
INDEX
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 404
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 405
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Drop_priv\" id=\"checkbox_Drop_priv\" value=\"Y\" title=\"";
// line 406
if (($context["is_database"] ?? null)) {
yield _gettext("Allows dropping databases and tables.");
} else {
yield _gettext("Allows dropping tables.");
}
// line 410
yield "\"";
yield ((((($_v26 = ($context["row"] ?? null)) && is_array($_v26) || $_v26 instanceof ArrayAccess ? ($_v26["Drop_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Drop_priv\">
<code>
<dfn title=\"";
// line 414
if (($context["is_database"] ?? null)) {
yield _gettext("Allows dropping databases and tables.");
} else {
yield _gettext("Allows dropping tables.");
}
// line 418
yield "\">
DROP
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 426
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 427
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Create_tmp_table_priv\" id=\"checkbox_Create_tmp_table_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating temporary tables.");
// line 428
yield "\"";
yield ((((($_v27 = ($context["row"] ?? null)) && is_array($_v27) || $_v27 instanceof ArrayAccess ? ($_v27["Create_tmp_table_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Create_tmp_table_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating temporary tables.");
// line 431
yield "\">
CREATE TEMPORARY TABLES
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 439
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 440
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Show_view_priv\" id=\"checkbox_Show_view_priv\" value=\"Y\" title=\"";
yield _gettext("Allows performing SHOW CREATE VIEW queries.");
// line 441
yield "\"";
yield ((((($_v28 = ($context["row"] ?? null)) && is_array($_v28) || $_v28 instanceof ArrayAccess ? ($_v28["Show_view_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Show_view_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows performing SHOW CREATE VIEW queries.");
// line 444
yield "\">
SHOW VIEW
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 452
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 453
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Create_routine_priv\" id=\"checkbox_Create_routine_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating stored routines.");
// line 454
yield "\"";
yield ((((($_v29 = ($context["row"] ?? null)) && is_array($_v29) || $_v29 instanceof ArrayAccess ? ($_v29["Create_routine_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Create_routine_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating stored routines.");
// line 457
yield "\">
CREATE ROUTINE
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 465
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 466
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Alter_routine_priv\" id=\"checkbox_Alter_routine_priv\" value=\"Y\" title=\"";
yield _gettext("Allows altering and dropping stored routines.");
// line 467
yield "\"";
yield ((((($_v30 = ($context["row"] ?? null)) && is_array($_v30) || $_v30 instanceof ArrayAccess ? ($_v30["Alter_routine_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Alter_routine_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows altering and dropping stored routines.");
// line 470
yield "\">
ALTER ROUTINE
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 478
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 479
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Execute_priv\" id=\"checkbox_Execute_priv\" value=\"Y\" title=\"";
yield _gettext("Allows executing stored routines.");
// line 480
yield "\"";
yield ((((($_v31 = ($context["row"] ?? null)) && is_array($_v31) || $_v31 instanceof ArrayAccess ? ($_v31["Execute_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Execute_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows executing stored routines.");
// line 483
yield "\">
EXECUTE
</dfn>
</code>
</label>
</div>
";
// line 490
if (CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "Create_view_priv", [], "array", true, true, false, 490)) {
// line 491
yield " <div class=\"item\">
";
// line 492
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 493
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Create_view_priv\" id=\"checkbox_Create_view_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating new views.");
// line 494
yield "\"";
yield ((((($_v32 = ($context["row"] ?? null)) && is_array($_v32) || $_v32 instanceof ArrayAccess ? ($_v32["Create_view_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Create_view_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating new views.");
// line 497
yield "\">
CREATE VIEW
</dfn>
</code>
</label>
</div>
";
}
// line 504
yield "
";
// line 505
if (CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "Create View_priv", [], "array", true, true, false, 505)) {
// line 506
yield " <div class=\"item\">
";
// line 507
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 508
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Create View_priv\" id=\"checkbox_Create View_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating new views.");
// line 509
yield "\"";
yield ((((($_v33 = ($context["row"] ?? null)) && is_array($_v33) || $_v33 instanceof ArrayAccess ? ($_v33["Create View_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Create View_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating new views.");
// line 512
yield "\">
CREATE VIEW
</dfn>
</code>
</label>
</div>
";
}
// line 519
yield "
";
// line 520
if (CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "Event_priv", [], "array", true, true, false, 520)) {
// line 521
yield " <div class=\"item\">
";
// line 522
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 523
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Event_priv\" id=\"checkbox_Event_priv\" value=\"Y\" title=\"";
yield _gettext("Allows to set up events for the event scheduler.");
// line 524
yield "\"";
yield ((((($_v34 = ($context["row"] ?? null)) && is_array($_v34) || $_v34 instanceof ArrayAccess ? ($_v34["Event_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Event_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows to set up events for the event scheduler.");
// line 527
yield "\">
EVENT
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 535
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 536
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Trigger_priv\" id=\"checkbox_Trigger_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating and dropping triggers.");
// line 537
yield "\"";
yield ((((($_v35 = ($context["row"] ?? null)) && is_array($_v35) || $_v35 instanceof ArrayAccess ? ($_v35["Trigger_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Trigger_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating and dropping triggers.");
// line 540
yield "\">
TRIGGER
</dfn>
</code>
</label>
</div>
";
}
// line 547
yield " </fieldset>
<fieldset class=\"pma-fieldset\">
<legend>
<input type=\"checkbox\" class=\"sub_checkall_box\" id=\"checkall_Administration_priv\" title=\"";
yield _gettext("Check all");
// line 551
yield "\">
<label for=\"checkall_Administration_priv\">";
yield _gettext("Administration");
// line 552
yield "</label>
</legend>
";
// line 555
if (($context["is_global"] ?? null)) {
// line 556
yield " <div class=\"item\">
";
// line 557
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 558
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Grant_priv\" id=\"checkbox_Grant_priv\" value=\"Y\" title=\"";
yield _gettext("Allows adding users and privileges without reloading the privilege tables.");
// line 559
yield "\"";
yield ((((($_v36 = ($context["row"] ?? null)) && is_array($_v36) || $_v36 instanceof ArrayAccess ? ($_v36["Grant_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Grant_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows adding users and privileges without reloading the privilege tables.");
// line 562
yield "\">
GRANT
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 570
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 571
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Super_priv\" id=\"checkbox_Super_priv\" value=\"Y\" title=\"";
yield _gettext("Allows connecting, even if maximum number of connections is reached; required for most administrative operations like setting global variables or killing threads of other users.");
// line 572
yield "\"";
// line 573
yield ((((($_v37 = ($context["row"] ?? null)) && is_array($_v37) || $_v37 instanceof ArrayAccess ? ($_v37["Super_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Super_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows connecting, even if maximum number of connections is reached; required for most administrative operations like setting global variables or killing threads of other users.");
// line 576
yield "\">
SUPER
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 584
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 585
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Process_priv\" id=\"checkbox_Process_priv\" value=\"Y\" title=\"";
yield _gettext("Allows viewing processes of all users.");
// line 586
yield "\"";
yield ((((($_v38 = ($context["row"] ?? null)) && is_array($_v38) || $_v38 instanceof ArrayAccess ? ($_v38["Process_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Process_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows viewing processes of all users.");
// line 589
yield "\">
PROCESS
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 597
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 598
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Reload_priv\" id=\"checkbox_Reload_priv\" value=\"Y\" title=\"";
yield _gettext("Allows reloading server settings and flushing the server's caches.");
// line 599
yield "\"";
yield ((((($_v39 = ($context["row"] ?? null)) && is_array($_v39) || $_v39 instanceof ArrayAccess ? ($_v39["Reload_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Reload_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows reloading server settings and flushing the server's caches.");
// line 602
yield "\">
RELOAD
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 610
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 611
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Shutdown_priv\" id=\"checkbox_Shutdown_priv\" value=\"Y\" title=\"";
yield _gettext("Allows shutting down the server.");
// line 612
yield "\"";
yield ((((($_v40 = ($context["row"] ?? null)) && is_array($_v40) || $_v40 instanceof ArrayAccess ? ($_v40["Shutdown_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Shutdown_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows shutting down the server.");
// line 615
yield "\">
SHUTDOWN
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 623
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 624
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Show_db_priv\" id=\"checkbox_Show_db_priv\" value=\"Y\" title=\"";
yield _gettext("Gives access to the complete list of databases.");
// line 625
yield "\"";
yield ((((($_v41 = ($context["row"] ?? null)) && is_array($_v41) || $_v41 instanceof ArrayAccess ? ($_v41["Show_db_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Show_db_priv\">
<code>
<dfn title=\"";
yield _gettext("Gives access to the complete list of databases.");
// line 628
yield "\">
SHOW DATABASES
</dfn>
</code>
</label>
</div>
";
} else {
// line 635
yield " <div class=\"item\">
";
// line 636
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 637
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Grant_priv\" id=\"checkbox_Grant_priv\" value=\"Y\" title=\"";
yield _gettext("Allows user to give to other users or remove from other users the privileges that user possess yourself.");
// line 638
yield "\"";
// line 639
yield ((((($_v42 = ($context["row"] ?? null)) && is_array($_v42) || $_v42 instanceof ArrayAccess ? ($_v42["Grant_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Grant_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows user to give to other users or remove from other users the privileges that user possess yourself.");
// line 642
yield "\">
GRANT
</dfn>
</code>
</label>
</div>
";
}
// line 649
yield "
<div class=\"item\">
";
// line 651
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 652
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Lock_tables_priv\" id=\"checkbox_Lock_tables_priv\" value=\"Y\" title=\"";
yield _gettext("Allows locking tables for the current thread.");
// line 653
yield "\"";
yield ((((($_v43 = ($context["row"] ?? null)) && is_array($_v43) || $_v43 instanceof ArrayAccess ? ($_v43["Lock_tables_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Lock_tables_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows locking tables for the current thread.");
// line 656
yield "\">
LOCK TABLES
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 664
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 665
yield " <input type=\"checkbox\" class=\"checkall\" name=\"References_priv\" id=\"checkbox_References_priv\" value=\"Y\" title=\"";
yield _gettext("Has no effect in this MySQL version.");
// line 666
yield "\"";
yield ((((($_v44 = ($context["row"] ?? null)) && is_array($_v44) || $_v44 instanceof ArrayAccess ? ($_v44["References_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_References_priv\">
<code>
";
// line 670
yield " <dfn title=\"";
yield ((($context["supports_references_privilege"] ?? null)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Allows creating foreign key relations."), "html", null, true)) : (((($context["is_mariadb"] ?? null)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Not used on MariaDB."), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(_gettext("Not used for this MySQL version."), "html", null, true)))));
yield "\">
REFERENCES
</dfn>
</code>
</label>
</div>
";
// line 677
if (($context["is_global"] ?? null)) {
// line 678
yield " <div class=\"item\">
";
// line 679
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 680
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Repl_client_priv\" id=\"checkbox_Repl_client_priv\" value=\"Y\" title=\"";
yield _gettext("Allows the user to ask where the replicas / primaries are.");
// line 681
yield "\"";
yield ((((($_v45 = ($context["row"] ?? null)) && is_array($_v45) || $_v45 instanceof ArrayAccess ? ($_v45["Repl_client_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Repl_client_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows the user to ask where the replicas / primaries are.");
// line 684
yield "\">
REPLICATION CLIENT
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 692
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 693
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Repl_slave_priv\" id=\"checkbox_Repl_slave_priv\" value=\"Y\" title=\"";
yield _gettext("Needed for the replication replicas.");
// line 694
yield "\"";
yield ((((($_v46 = ($context["row"] ?? null)) && is_array($_v46) || $_v46 instanceof ArrayAccess ? ($_v46["Repl_slave_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Repl_slave_priv\">
<code>
<dfn title=\"";
yield _gettext("Needed for the replication replicas.");
// line 697
yield "\">
REPLICATION SLAVE
</dfn>
</code>
</label>
</div>
<div class=\"item\">
";
// line 705
$context["grant_count"] = (($context["grant_count"] ?? null) + 1);
// line 706
yield " <input type=\"checkbox\" class=\"checkall\" name=\"Create_user_priv\" id=\"checkbox_Create_user_priv\" value=\"Y\" title=\"";
yield _gettext("Allows creating, dropping and renaming user accounts.");
// line 707
yield "\"";
yield ((((($_v47 = ($context["row"] ?? null)) && is_array($_v47) || $_v47 instanceof ArrayAccess ? ($_v47["Create_user_priv"] ?? null) : null) == "Y")) ? (" checked") : (""));
yield ">
<label for=\"checkbox_Create_user_priv\">
<code>
<dfn title=\"";
yield _gettext("Allows creating, dropping and renaming user accounts.");
// line 710
yield "\">
CREATE USER
</dfn>
</code>
</label>
</div>
";
}
// line 717
yield " </fieldset>
";
// line 719
if (($context["is_global"] ?? null)) {
// line 720
yield " <fieldset class=\"pma-fieldset\">
<legend>";
yield _gettext("Resource limits");
// line 721
yield "</legend>
<p>
<small><em>";
yield _gettext("Note: Setting these options to 0 (zero) removes the limit.");
// line 723
yield "</em></small>
</p>
<div class=\"item\">
<label for=\"text_max_questions\">
<code>
<dfn title=\"";
yield _gettext("Limits the number of queries the user may send to the server per hour.");
// line 729
yield "\">
MAX QUERIES PER HOUR
</dfn>
</code>
</label>
<input type=\"number\" name=\"max_questions\" id=\"text_max_questions\" value=\"";
// line 735
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_questions", [], "any", true, true, false, 735) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_questions", [], "any", false, false, false, 735)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_questions", [], "any", false, false, false, 735), "html", null, true)) : ("0"));
yield "\" title=\"";
yield _gettext("Limits the number of queries the user may send to the server per hour.");
// line 736
yield "\">
</div>
<div class=\"item\">
<label for=\"text_max_updates\">
<code>
<dfn title=\"";
yield _gettext("Limits the number of commands that change any table or database the user may execute per hour.");
// line 742
yield "\">
MAX UPDATES PER HOUR
</dfn>
</code>
</label>
<input type=\"number\" name=\"max_updates\" id=\"text_max_updates\" value=\"";
// line 748
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_updates", [], "any", true, true, false, 748) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_updates", [], "any", false, false, false, 748)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_updates", [], "any", false, false, false, 748), "html", null, true)) : ("0"));
yield "\" title=\"";
yield _gettext("Limits the number of commands that change any table or database the user may execute per hour.");
// line 749
yield "\">
</div>
<div class=\"item\">
<label for=\"text_max_connections\">
<code>
<dfn title=\"";
yield _gettext("Limits the number of new connections the user may open per hour.");
// line 755
yield "\">
MAX CONNECTIONS PER HOUR
</dfn>
</code>
</label>
<input type=\"number\" name=\"max_connections\" id=\"text_max_connections\" value=\"";
// line 761
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_connections", [], "any", true, true, false, 761) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_connections", [], "any", false, false, false, 761)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_connections", [], "any", false, false, false, 761), "html", null, true)) : ("0"));
yield "\" title=\"";
yield _gettext("Limits the number of new connections the user may open per hour.");
// line 762
yield "\">
</div>
<div class=\"item\">
<label for=\"text_max_user_connections\">
<code>
<dfn title=\"";
yield _gettext("Limits the number of simultaneous connections the user may have.");
// line 768
yield "\">
MAX USER_CONNECTIONS
</dfn>
</code>
</label>
<input type=\"number\" name=\"max_user_connections\" id=\"text_max_user_connections\" value=\"";
// line 774
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_user_connections", [], "any", true, true, false, 774) && !(null === CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_user_connections", [], "any", false, false, false, 774)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "max_user_connections", [], "any", false, false, false, 774), "html", null, true)) : ("0"));
yield "\" title=\"";
yield _gettext("Limits the number of simultaneous connections the user may have.");
// line 775
yield "\">
</div>
</fieldset>
<fieldset class=\"pma-fieldset\">
<legend>SSL</legend>
<div id=\"require_ssl_div\">
<div class=\"item\">
<input type=\"radio\" name=\"ssl_type\" id=\"ssl_type_NONE\" title=\"";
yield _gettext("Does not require SSL-encrypted connections.");
// line 784
yield "\" value=\"NONE\"";
// line 785
yield ((((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_type", [], "any", false, false, false, 785) == "NONE") || (CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_type", [], "any", false, false, false, 785) == ""))) ? (" checked") : (""));
yield ">
<label for=\"ssl_type_NONE\">
<code>REQUIRE NONE</code>
</label>
</div>
<div class=\"item\">
<input type=\"radio\" name=\"ssl_type\" id=\"ssl_type_ANY\" title=\"";
yield _gettext("Requires SSL-encrypted connections.");
// line 793
yield "\" value=\"ANY\"";
// line 794
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_type", [], "any", false, false, false, 794) == "ANY")) ? (" checked") : (""));
yield ">
<label for=\"ssl_type_ANY\">
<code>REQUIRE SSL</code>
</label>
</div>
<div class=\"item\">
<input type=\"radio\" name=\"ssl_type\" id=\"ssl_type_X509\" title=\"";
yield _gettext("Requires a valid X509 certificate.");
// line 802
yield "\" value=\"X509\"";
// line 803
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_type", [], "any", false, false, false, 803) == "X509")) ? (" checked") : (""));
yield ">
<label for=\"ssl_type_X509\">
<code>REQUIRE X509</code>
</label>
</div>
<div class=\"item\">
<input type=\"radio\" name=\"ssl_type\" id=\"ssl_type_SPECIFIED\" value=\"SPECIFIED\"";
// line 811
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_type", [], "any", false, false, false, 811) == "SPECIFIED")) ? (" checked") : (""));
yield ">
<label for=\"ssl_type_SPECIFIED\">
<code>SPECIFIED</code>
</label>
</div>
<div id=\"specified_div\" style=\"padding-left:20px;\">
<div class=\"item\">
<label for=\"text_ssl_cipher\">
<code>REQUIRE CIPHER</code>
</label>
<input type=\"text\" name=\"ssl_cipher\" id=\"text_ssl_cipher\" value=\"";
// line 822
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_cipher", [], "any", false, false, false, 822), "html", null, true);
yield "\" size=\"80\" title=\"";
yield _gettext("Requires that a specific cipher method be used for a connection.");
// line 823
yield "\"";
// line 824
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_type", [], "any", false, false, false, 824) != "SPECIFIED")) ? (" disabled") : (""));
yield ">
</div>
<div class=\"item\">
<label for=\"text_x509_issuer\">
<code>REQUIRE ISSUER</code>
</label>
<input type=\"text\" name=\"x509_issuer\" id=\"text_x509_issuer\" value=\"";
// line 831
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "x509_issuer", [], "any", false, false, false, 831), "html", null, true);
yield "\" size=\"80\" title=\"";
yield _gettext("Requires that a valid X509 certificate issued by this CA be presented.");
// line 832
yield "\"";
// line 833
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_type", [], "any", false, false, false, 833) != "SPECIFIED")) ? (" disabled") : (""));
yield ">
</div>
<div class=\"item\">
<label for=\"text_x509_subject\">
<code>REQUIRE SUBJECT</code>
</label>
<input type=\"text\" name=\"x509_subject\" id=\"text_x509_subject\" value=\"";
// line 840
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "x509_subject", [], "any", false, false, false, 840), "html", null, true);
yield "\" size=\"80\" title=\"";
yield _gettext("Requires that a valid X509 certificate with this subject be presented.");
// line 841
yield "\"";
// line 842
yield (((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "ssl_type", [], "any", false, false, false, 842) != "SPECIFIED")) ? (" disabled") : (""));
yield ">
</div>
</div>
</div>
</fieldset>
";
}
// line 848
yield "
<div class=\"clearfloat\"></div>
</fieldset>
<input type=\"hidden\" name=\"grant_count\" value=\"";
// line 851
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($context["grant_count"] ?? null) - ((CoreExtension::getAttribute($this->env, $this->source, ($context["row"] ?? null), "Grant_priv", [], "array", true, true, false, 851)) ? (1) : (0))), "html", null, true);
yield "\">
";
}
// line 854
yield "
";
// line 855
if (($context["has_submit"] ?? null)) {
// line 856
yield " <fieldset id=\"fieldset_user_privtable_footer\" class=\"pma-fieldset tblFooters\">
<input type=\"hidden\" name=\"update_privs\" value=\"1\">
<input class=\"btn btn-primary\" type=\"submit\" value=\"";
yield _gettext("Go");
// line 858
yield "\">
</fieldset>
";
}
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "server/privileges/privileges_table.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 1574 => 858, 1569 => 856, 1567 => 855, 1564 => 854, 1558 => 851, 1553 => 848, 1544 => 842, 1542 => 841, 1538 => 840, 1528 => 833, 1526 => 832, 1522 => 831, 1512 => 824, 1510 => 823, 1506 => 822, 1492 => 811, 1482 => 803, 1480 => 802, 1469 => 794, 1467 => 793, 1456 => 785, 1454 => 784, 1443 => 775, 1439 => 774, 1432 => 768, 1423 => 762, 1419 => 761, 1412 => 755, 1403 => 749, 1399 => 748, 1392 => 742, 1383 => 736, 1379 => 735, 1372 => 729, 1363 => 723, 1358 => 721, 1354 => 720, 1352 => 719, 1348 => 717, 1339 => 710, 1331 => 707, 1328 => 706, 1326 => 705, 1316 => 697, 1308 => 694, 1305 => 693, 1303 => 692, 1293 => 684, 1285 => 681, 1282 => 680, 1280 => 679, 1277 => 678, 1275 => 677, 1264 => 670, 1257 => 666, 1254 => 665, 1252 => 664, 1242 => 656, 1234 => 653, 1231 => 652, 1229 => 651, 1225 => 649, 1216 => 642, 1209 => 639, 1207 => 638, 1204 => 637, 1202 => 636, 1199 => 635, 1190 => 628, 1182 => 625, 1179 => 624, 1177 => 623, 1167 => 615, 1159 => 612, 1156 => 611, 1154 => 610, 1144 => 602, 1136 => 599, 1133 => 598, 1131 => 597, 1121 => 589, 1113 => 586, 1110 => 585, 1108 => 584, 1098 => 576, 1091 => 573, 1089 => 572, 1086 => 571, 1084 => 570, 1074 => 562, 1066 => 559, 1063 => 558, 1061 => 557, 1058 => 556, 1056 => 555, 1051 => 552, 1047 => 551, 1040 => 547, 1031 => 540, 1023 => 537, 1020 => 536, 1018 => 535, 1008 => 527, 1000 => 524, 997 => 523, 995 => 522, 992 => 521, 990 => 520, 987 => 519, 978 => 512, 970 => 509, 967 => 508, 965 => 507, 962 => 506, 960 => 505, 957 => 504, 948 => 497, 940 => 494, 937 => 493, 935 => 492, 932 => 491, 930 => 490, 921 => 483, 913 => 480, 910 => 479, 908 => 478, 898 => 470, 890 => 467, 887 => 466, 885 => 465, 875 => 457, 867 => 454, 864 => 453, 862 => 452, 852 => 444, 844 => 441, 841 => 440, 839 => 439, 829 => 431, 821 => 428, 818 => 427, 816 => 426, 806 => 418, 800 => 414, 793 => 410, 787 => 406, 785 => 405, 783 => 404, 773 => 396, 765 => 393, 762 => 392, 760 => 391, 750 => 383, 742 => 380, 739 => 379, 737 => 378, 727 => 370, 721 => 366, 714 => 362, 708 => 358, 706 => 357, 704 => 356, 698 => 352, 694 => 351, 687 => 347, 678 => 340, 670 => 337, 667 => 336, 665 => 335, 662 => 334, 660 => 333, 651 => 326, 643 => 323, 640 => 322, 638 => 321, 628 => 313, 620 => 310, 617 => 309, 615 => 308, 605 => 300, 597 => 297, 594 => 296, 592 => 295, 582 => 287, 574 => 284, 571 => 283, 569 => 282, 563 => 278, 559 => 277, 551 => 272, 545 => 269, 539 => 268, 536 => 267, 533 => 266, 530 => 265, 527 => 264, 524 => 263, 521 => 262, 519 => 261, 516 => 260, 510 => 256, 507 => 254, 504 => 252, 502 => 251, 499 => 250, 492 => 245, 483 => 238, 476 => 235, 474 => 234, 470 => 232, 468 => 231, 459 => 224, 451 => 221, 440 => 212, 432 => 209, 421 => 200, 413 => 197, 402 => 188, 394 => 185, 383 => 176, 375 => 173, 364 => 164, 357 => 161, 355 => 160, 344 => 151, 336 => 148, 325 => 139, 317 => 136, 306 => 127, 298 => 124, 290 => 118, 286 => 116, 281 => 113, 275 => 110, 268 => 105, 259 => 102, 252 => 101, 248 => 100, 242 => 96, 234 => 91, 230 => 89, 225 => 86, 219 => 83, 212 => 78, 203 => 75, 196 => 74, 192 => 73, 186 => 69, 178 => 64, 174 => 62, 169 => 59, 163 => 56, 156 => 51, 147 => 48, 140 => 47, 136 => 46, 130 => 42, 122 => 37, 118 => 35, 113 => 32, 107 => 29, 100 => 24, 91 => 21, 84 => 20, 80 => 19, 74 => 15, 66 => 10, 61 => 8, 57 => 6, 51 => 4, 47 => 3, 44 => 2, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("", "server/privileges/privileges_table.twig", "/usr/share/phpmyadmin/templates/server/privileges/privileges_table.twig");
}
}