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
yield " ";
$context["tr_class"] = (($context["tr_class"] ?? null) . " disabled-field");
}
// line 4
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["tr_class"] ?? null), "html", null, true);
yield "\"";
}
yield ">
";
// line 8
if ( !Twig\Extension\CoreExtension::testEmpty(($context["doc"] ?? null))) {
// line 9
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["doc"] ?? null), "html", null, true);
yield "\" target=\"documentation\">";
yield PhpMyAdmin\Html\Generator::getImage("b_help", _gettext("Documentation"));
yield "
";
}
// line 13
yield "
";
// line 14
if (($context["option_is_disabled"] ?? null)) {
// line 15
yield "
";
yield _gettext("Disabled");
// line 17
yield "
";
}
// line 19
yield "
";
// line 20
if ( !Twig\Extension\CoreExtension::testEmpty(($context["description"] ?? null))) {
// line 21
yield " ";
yield ($context["description"] ?? null);
yield "
";
}
// line 23
yield " |
";
// line 26
if ((($context["type"] ?? null) == "text")) {
// line 27
yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
yield "\" class=\"w-75";
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
yield "\">
";
} elseif (( // line 28
($context["type"] ?? null) == "password")) {
// line 29
yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
yield "\" class=\"w-75";
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? (" custom field-error") : (" custom"))) : (""));
yield "\" spellcheck=\"false\">
";
} elseif ((( // line 30
($context["type"] ?? null) == "short_text") && !is_iterable(($context["value"] ?? null)))) {
// line 31
yield " ";
// line 32
yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
yield "\" class=\"";
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
yield "\">
";
} elseif (( // line 33
($context["type"] ?? null) == "number_text")) {
// line 34
yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["value"] ?? null), "html", null, true);
yield "\" class=\"";
yield (( !($context["value_is_default"] ?? null)) ? (((($context["has_errors"] ?? null)) ? ("custom field-error") : ("custom"))) : (""));
yield "\">
";
} elseif (( // line 35
($context["type"] ?? null) == "checkbox")) {
// line 36
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\"";
yield ((($context["value"] ?? null)) ? (" checked") : (""));
yield ">
";
} elseif (( // line 39
($context["type"] ?? null) == "select")) {
// line 40
yield "
";
} elseif (( // line 46
($context["type"] ?? null) == "list")) {
// line 47
yield "
";
}
// line 51
yield "
";
// line 52
if ((($context["is_setup"] ?? null) && ($context["comment"] ?? null))) {
// line 53
yield "
";
}
// line 55
yield "
";
// line 56
if (($context["set_value"] ?? null)) {
// line 57
yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["set_value"] ?? null), "html", null, true);
yield "\" title=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)), "html", null, true);
yield "\">";
// line 58
yield PhpMyAdmin\Html\Generator::getImage("b_edit", Twig\Extension\CoreExtension::sprintf(_gettext("Set value: %s"), ($context["set_value"] ?? null)));
// line 59
yield "
";
}
// line 61
yield "
";
// line 62
if (($context["show_restore_default"] ?? null)) {
// line 63
yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "\" title=\"";
yield _gettext("Restore default value");
yield "\">";
// line 64
yield PhpMyAdmin\Html\Generator::getImage("s_reload", _gettext("Restore default value"));
// line 65
yield "
";
}
// line 67
yield "
";
// line 69
yield " ";
if (($context["has_errors"] ?? null)) {
// line 70
yield "
";
// line 71
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["errors"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 72
yield " - ";
yield $context["error"];
yield "
";
}
$_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
yield "
";
}
// line 76
yield " |
";
// line 78
if ((($context["is_setup"] ?? null) && !(null === ($context["allows_customization"] ?? null)))) {
// line 79
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["path"] ?? null), "html", null, true);
yield "-userprefs-allow\"";
yield ((($context["allows_customization"] ?? null)) ? (" checked") : (""));
yield " aria-label=\"";
yield _gettext("Allow users to customize this value");
yield "\">
|
";
} elseif ( // line 82
($context["is_setup"] ?? null)) {
// line 83
yield " |
";
}
// line 85
yield "
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "config/form_display/input.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 363 => 85, 359 => 83, 357 => 82, 348 => 80, 343 => 79, 341 => 78, 337 => 76, 333 => 74, 324 => 72, 320 => 71, 317 => 70, 314 => 69, 311 => 67, 307 => 65, 305 => 64, 299 => 63, 297 => 62, 294 => 61, 290 => 59, 288 => 58, 280 => 57, 278 => 56, 275 => 55, 267 => 53, 265 => 52, 262 => 51, 258 => 49, 224 => 48, 216 => 47, 214 => 46, 211 => 45, 197 => 43, 190 => 42, 186 => 41, 177 => 40, 175 => 39, 166 => 37, 161 => 36, 159 => 35, 148 => 34, 146 => 33, 135 => 32, 133 => 31, 131 => 30, 120 => 29, 118 => 28, 107 => 27, 105 => 26, 100 => 23, 94 => 21, 92 => 20, 89 => 19, 85 => 17, 79 => 15, 77 => 14, 74 => 13, 66 => 10, 63 => 9, 61 => 8, 54 => 6, 44 => 4, 40 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "config/form_display/input.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/config/form_display/input.twig");
}
}