env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 169) || twig_get_attribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 169))) ? (" noclick") : (""));
echo "\" data-filter-row=\"";
echo twig_escape_filter($this->env, twig_upper_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 169)), "html", null, true);
echo "\">
";
// line 170
if (($context["is_drop_allowed"] ?? null)) {
// line 171
echo "
env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 173), "html", null, true);
echo "\" value=\"";
// line 174
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 174), "html", null, true);
echo "\"";
// line 175
echo (((twig_get_attribute($this->env, $this->source, $context["database"], "is_system_schema", [], "any", false, false, false, 175) || twig_get_attribute($this->env, $this->source, $context["database"], "is_pmadb", [], "any", false, false, false, 175))) ? (" disabled") : (""));
echo ">
|
";
}
// line 178
echo "
env, twig_get_attribute($this->env, $this->source, $context["database"], "url", [], "any", false, false, false, 180), "html", null, true);
echo "\" title=\"";
// line 181
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Jump to database '%s'"), twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 181)), "html", null, true);
echo "\">
";
// line 182
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 182), "html", null, true);
echo "
|
env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 187), "description", [], "any", false, false, false, 187), "html", null, true);
echo "\">
";
// line 188
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "collation", [], "any", false, false, false, 188), "name", [], "any", false, false, false, 188), "html", null, true);
echo "
|
";
// line 192
if (($context["has_statistics"] ?? null)) {
// line 193
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["database"], "statistics", [], "any", false, false, false, 193));
foreach ($context['_seq'] as $context["_key"] => $context["statistic"]) {
// line 194
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["statistic"], "format", [], "any", false, false, false, 194) === "byte")) {
// line 195
echo " ";
$context["value"] = PhpMyAdmin\Util::formatByteDown(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 195), 3, 1);
// line 196
echo "
env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 197), "html", null, true);
echo "\">
";
// line 198
echo twig_escape_filter($this->env, (($__internal_compile_0 = ($context["value"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[0] ?? null) : null), "html", null, true);
echo "
|
";
// line 201
echo twig_escape_filter($this->env, (($__internal_compile_1 = ($context["value"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[1] ?? null) : null), "html", null, true);
echo " |
";
} else {
// line 203
echo "
env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 204), "html", null, true);
echo "\">
";
// line 205
echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["statistic"], "raw", [], "any", false, false, false, 205), 0), "html", null, true);
echo "
|
";
}
// line 209
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['statistic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 210
echo " ";
}
// line 211
echo "
";
// line 212
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 212), "primary", [], "any", false, false, false, 212), "status", [], "any", false, false, false, 212)) {
// line 213
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 213), "primary", [], "any", false, false, false, 213), "is_replicated", [], "any", false, false, false, 213)) {
// line 214
echo "
";
// line 215
echo PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated"));
echo "
|
";
} else {
// line 218
echo "
";
// line 219
echo PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated"));
echo "
|
";
}
// line 222
echo " ";
}
// line 223
echo "
";
// line 224
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 224), "replica", [], "any", false, false, false, 224), "status", [], "any", false, false, false, 224)) {
// line 225
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["database"], "replication", [], "any", false, false, false, 225), "replica", [], "any", false, false, false, 225), "is_replicated", [], "any", false, false, false, 225)) {
// line 226
echo "
";
// line 227
echo PhpMyAdmin\Html\Generator::getIcon("s_success", _gettext("Replicated"));
echo "
|
";
} else {
// line 230
echo "
";
// line 231
echo PhpMyAdmin\Html\Generator::getIcon("s_cancel", _gettext("Not replicated"));
echo "
|
";
}
// line 234
echo " ";
}
// line 235
echo "
env, twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 238), "html", null, true);
echo "\" href=\"";
echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["db" => twig_get_attribute($this->env, $this->source, // line 239
$context["database"], "name", [], "any", false, false, false, 239), "checkprivsdb" => twig_get_attribute($this->env, $this->source, // line 240
$context["database"], "name", [], "any", false, false, false, 240)]);
// line 241
echo "\" title=\"";
// line 242
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Check privileges for database \"%s\"."), twig_get_attribute($this->env, $this->source, $context["database"], "name", [], "any", false, false, false, 242)), "html", null, true);
echo "\">
";
// line 243
echo PhpMyAdmin\Html\Generator::getIcon("s_rights", _gettext("Check privileges"));
echo "
|
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['database'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 248
echo "