parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
// line 3
ob_start();
echo _pgettext( "for default", "None");
$context["translation"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
// line 4
$context["default_options"] = array("NONE" => // line 5
($context["translation"] ?? null), "USER_DEFINED" => _gettext("As defined:"), "NULL" => "NULL", "CURRENT_TIMESTAMP" => "CURRENT_TIMESTAMP");
// line 10
echo "
";
// line 12
$context["default_value"] = "";
// line 13
if ($this->getAttribute(($context["column_meta"] ?? null), "DefaultValue", array(), "array", true, true)) {
// line 14
echo " ";
$context["default_value"] = $this->getAttribute(($context["column_meta"] ?? null), "DefaultValue", array(), "array");
}
// line 16
if ((($context["type_upper"] ?? null) == "BIT")) {
// line 17
echo " ";
$context["default_value"] = PhpMyAdmin\Util::convertBitDefaultValue($this->getAttribute(($context["column_meta"] ?? null), "DefaultValue", array(), "array"));
} elseif ((( // line 18
($context["type_upper"] ?? null) == "BINARY") || (($context["type_upper"] ?? null) == "VARBINARY"))) {
// line 19
echo " ";
$context["default_value"] = bin2hex($this->getAttribute(($context["column_meta"] ?? null), "DefaultValue", array(), "array"));
}
// line 21
echo "
";
// line 35
if ((($context["char_editing"] ?? null) == "textarea")) {
// line 36
echo "
";
} else {
// line 41
echo " env, ($context["column_number"] ?? null), "html", null, true);
echo "]\"
size=\"12\"
value=\"";
// line 44
echo twig_escape_filter($this->env, ($context["default_value"] ?? null), "html", null, true);
echo "\"
class=\"textfield default_value\" />
";
}
}
public function getTemplateName()
{
return "columns_definitions/column_default.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 113 => 44, 108 => 42, 105 => 41, 100 => 39, 93 => 36, 91 => 35, 88 => 34, 79 => 31, 76 => 30, 73 => 29, 71 => 28, 70 => 27, 66 => 26, 62 => 25, 55 => 23, 51 => 22, 48 => 21, 44 => 19, 42 => 18, 39 => 17, 37 => 16, 33 => 14, 31 => 13, 29 => 12, 26 => 10, 24 => 5, 23 => 4, 19 => 3,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("", "columns_definitions/column_default.twig", "/var/www/html/phpMyAdmin/templates/columns_definitions/column_default.twig");
}
}