source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "server/status/base.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 $context["active"] = "variables"; // line 1 $this->parent = $this->loadTemplate("server/status/base.twig", "server/status/variables/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo " "; // line 5 if (($context["is_data_loaded"] ?? null)) { // line 6 echo "
"; // line 45 echo _gettext("Related links:"); // line 46 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["links"] ?? null)); foreach ($context['_seq'] as $context["_key"] => $context["link"]) { // line 47 echo " env, twig_get_attribute($this->env, $this->source, $context["link"], "name", [], "any", false, false, false, 47), "html", null, true); echo "\"> "; // line 48 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["link"], "links", [], "any", false, false, false, 48)); foreach ($context['_seq'] as $context["link_name"] => $context["link_url"]) { // line 49 echo " "; if (($context["link_name"] == "doc")) { // line 50 echo " "; echo PhpMyAdmin\Util::showMySQLDocu($context["link_url"]); echo " "; } else { // line 52 echo " env, twig_get_attribute($this->env, $this->source, $context["link_url"], "url", [], "any", false, false, false, 52), "html", null, true); echo "\" data-post=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["link_url"], "params", [], "any", false, false, false, 52), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, $context["link_name"], "html", null, true); echo " "; } // line 54 echo " | "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['link_name'], $context['link_url'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 56 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['link'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 58 echo "
| "; // line 70 echo _gettext("Variable"); echo " | "; // line 71 echo _gettext("Value"); echo " | "; // line 72 echo _gettext("Description"); echo " |
|---|---|---|
| "; // line 79 echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["variable"], "name", [], "any", false, false, false, 79), ["_" => " "]), "html", null, true); echo " "; // line 80 echo twig_get_attribute($this->env, $this->source, $context["variable"], "doc", [], "any", false, false, false, 80); echo " | "; // line 85 if (twig_get_attribute($this->env, $this->source, $context["variable"], "has_alert", [], "any", false, false, false, 85)) { // line 86 echo " env, $this->source, $context["variable"], "is_alert", [], "any", false, false, false, 86)) ? ("attention") : ("allfine")); echo "\"> "; } // line 88 echo " "; // line 89 if ((is_string($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = twig_get_attribute($this->env, $this->source, $context["variable"], "name", [], "any", false, false, false, 89)) && is_string($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = "%") && ('' === $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 === substr($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4, -strlen($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144))))) { // line 90 echo " "; echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["variable"], "value", [], "any", false, false, false, 90), 0, 2), "html", null, true); echo " % "; } elseif (twig_in_filter("Uptime", twig_get_attribute($this->env, $this->source, // line 91 $context["variable"], "name", [], "any", false, false, false, 91))) { // line 92 echo " "; echo twig_escape_filter($this->env, PhpMyAdmin\Util::timespanFormat(twig_get_attribute($this->env, $this->source, $context["variable"], "value", [], "any", false, false, false, 92)), "html", null, true); echo " "; } elseif ((twig_get_attribute($this->env, $this->source, // line 93 $context["variable"], "is_numeric", [], "any", false, false, false, 93) && (twig_get_attribute($this->env, $this->source, $context["variable"], "value", [], "any", false, false, false, 93) >= 1000))) { // line 94 echo " env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["variable"], "value", [], "any", false, false, false, 94), 0), "html", null, true); echo "\"> "; // line 95 echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["variable"], "value", [], "any", false, false, false, 95), 3, 1), "html", null, true); echo " "; } elseif (twig_get_attribute($this->env, $this->source, // line 97 $context["variable"], "is_numeric", [], "any", false, false, false, 97)) { // line 98 echo " "; echo twig_escape_filter($this->env, PhpMyAdmin\Util::formatNumber(twig_get_attribute($this->env, $this->source, $context["variable"], "value", [], "any", false, false, false, 98), 3, 1), "html", null, true); echo " "; } else { // line 100 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["variable"], "value", [], "any", false, false, false, 100), "html", null, true); echo " "; } // line 102 echo " "; // line 103 if (twig_get_attribute($this->env, $this->source, $context["variable"], "has_alert", [], "any", false, false, false, 103)) { // line 104 echo " "; } // line 106 echo " "; // line 108 if (twig_get_attribute($this->env, $this->source, $context["variable"], "has_alert", [], "any", false, false, false, 108)) { // line 109 echo " env, $this->source, $context["variable"], "is_alert", [], "any", false, false, false, 109)) ? ("attention") : ("allfine")); echo "\"> "; } // line 111 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["variable"], "value", [], "any", false, false, false, 111), "html", null, true); echo " "; // line 112 if (twig_get_attribute($this->env, $this->source, $context["variable"], "has_alert", [], "any", false, false, false, 112)) { // line 113 echo " "; } // line 115 echo " | "; // line 119 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["variable"], "description", [], "any", false, false, false, 119), "html", null, true); echo " "; // line 120 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["variable"], "description_doc", [], "any", false, false, false, 120)); foreach ($context['_seq'] as $context["_key"] => $context["doc"]) { // line 121 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["doc"], "name", [], "any", false, false, false, 121) == "doc")) { // line 122 echo " "; echo PhpMyAdmin\Util::showMySQLDocu(twig_get_attribute($this->env, $this->source, $context["doc"], "url", [], "any", false, false, false, 122)); echo " "; } else { // line 124 echo " env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["doc"], "url", [], "any", false, false, false, 124), "url", [], "any", false, false, false, 124), "html", null, true); echo "\" data-post=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["doc"], "url", [], "any", false, false, false, 124), "params", [], "any", false, false, false, 124), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["doc"], "name", [], "any", false, false, false, 124), "html", null, true); echo " "; } // line 126 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['doc'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 127 echo " |