source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
if (($context["option_is_disabled"] ?? null)) {
// line 2
echo " ";
$context["tr_class"] = (($context["tr_class"] ?? null) . " disabled-field");
}
// line 4
echo "
env, ($context["tr_class"] ?? null), "html", null, true);
echo "\"";
}
echo ">
";
// line 8
if ( !twig_test_empty(($context["doc"] ?? null))) {
// line 9
echo "
env, ($context["doc"] ?? null), "html", null, true);
echo "\" target=\"documentation\">";
echo PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation"));
echo "
";
}
// line 13
echo "
";
// line 14
if (($context["option_is_disabled"] ?? null)) {
// line 15
echo "
";
echo _gettext("Disabled");
// line 17
echo "
";
}
// line 19
echo "
";
// line 20
if ( !twig_test_empty(($context["description"] ?? null))) {
// line 21
echo " ";
echo ($context["description"] ?? null);
echo "
";
}
// line 23
echo " |
";
// line 26
if ((($context["type"] ?? null) == "text")) {
// line 27
echo " env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "\" class=\"w-75";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
echo "\">
";
} elseif (( // line 28
($context["type"] ?? null) == "password")) {
// line 29
echo " env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "\" class=\"w-75";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
echo "\" spellcheck=\"false\">
";
} elseif ((( // line 30
($context["type"] ?? null) == "short_text") && !twig_test_iterable(($context["value"] ?? null)))) {
// line 31
echo " ";
// line 32
echo " env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "\" class=\"";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
echo "\">
";
} elseif (( // line 33
($context["type"] ?? null) == "number_text")) {
// line 34
echo " env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? null), "html", null, true);
echo "\" class=\"";
echo (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
echo "\">
";
} elseif (( // line 35
($context["type"] ?? null) == "checkbox")) {
// line 36
echo "
env, ($context["path"] ?? null), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ($context["path"] ?? null), "html", null, true);
echo "\"";
echo ((($context["value"] ?? null)) ? (" checked") : (""));
echo ">
";
} elseif (( // line 39
($context["type"] ?? null) == "select")) {
// line 40
echo "
";
} elseif (( // line 46
($context["type"] ?? null) == "list")) {
// line 47
echo "
";
}
// line 51
echo "
";
// line 52
if ((($context["is_setup"] ?? null) && ($context["comment"] ?? null))) {
// line 53
echo "
";
}
// line 55
echo "
";
// line 56
if (($context["set_value"] ?? null)) {
// line 57
echo " env, ($context["path"] ?? null), "html", null, true);
echo "=";
echo twig_escape_filter($this->env, ($context["set_value"] ?? null), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)), "html", null, true);
echo "\">";
// line 58
echo PhpMyAdmin\Html\Generator::getImage("b_edit", twig_sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)));
// line 59
echo "
";
}
// line 61
echo "
";
// line 62
if (($context["show_restore_default"] ?? null)) {
// line 63
echo " env, ($context["path"] ?? null), "html", null, true);
echo "\" title=\"";
echo _gettext("Restore default value");
echo "\">";
// line 64
echo PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Restore default value"));
// line 65
echo "
";
}
// line 67
echo "
";
// line 69
echo " ";
if (($context["has_errors"] ?? null)) {
// line 70
echo "
";
// line 71
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["errors"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 72
echo " - ";
echo $context["error"];
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 74
echo "
";
}
// line 76
echo " |
";
// line 78
if ((($context["is_setup"] ?? null) && !(null === ($context["allows_customization"] ?? null)))) {
// line 79
echo "
env, ($context["path"] ?? null), "html", null, true);
echo "-userprefs-allow\"";
echo ((($context["allows_customization"] ?? null)) ? (" checked") : (""));
echo " aria-label=\"";
echo _gettext("Allow users to customize this value");
echo "\">
|
";
} elseif ( // line 82
($context["is_setup"] ?? null)) {
// line 83
echo " |
";
}
// line 85
echo "
";
}
public function getTemplateName()
{
return "config/form_display/input.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 362 => 85, 358 => 83, 356 => 82, 347 => 80, 342 => 79, 340 => 78, 336 => 76, 332 => 74, 323 => 72, 319 => 71, 316 => 70, 313 => 69, 310 => 67, 306 => 65, 304 => 64, 298 => 63, 296 => 62, 293 => 61, 289 => 59, 287 => 58, 279 => 57, 277 => 56, 274 => 55, 266 => 53, 264 => 52, 261 => 51, 257 => 49, 223 => 48, 215 => 47, 213 => 46, 210 => 45, 196 => 43, 189 => 42, 185 => 41, 176 => 40, 174 => 39, 165 => 37, 160 => 36, 158 => 35, 147 => 34, 145 => 33, 134 => 32, 132 => 31, 130 => 30, 119 => 29, 117 => 28, 106 => 27, 104 => 26, 99 => 23, 93 => 21, 91 => 20, 88 => 19, 84 => 17, 78 => 15, 76 => 14, 73 => 13, 65 => 10, 62 => 9, 60 => 8, 53 => 6, 43 => 4, 39 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/input.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/input.twig");
}
}