Initial commit
This commit is contained in:
@ -0,0 +1,120 @@
|
||||
<?php
|
||||
|
||||
use Twig\Environment;
|
||||
use Twig\Error\LoaderError;
|
||||
use Twig\Error\RuntimeError;
|
||||
use Twig\Extension\SandboxExtension;
|
||||
use Twig\Markup;
|
||||
use Twig\Sandbox\SecurityError;
|
||||
use Twig\Sandbox\SecurityNotAllowedTagError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
||||
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
||||
use Twig\Source;
|
||||
use Twig\Template;
|
||||
|
||||
/* columns_definitions/column_attribute.twig */
|
||||
class __TwigTemplate_390c76dde7bfd8071ea584399cfa91a72301c488e7388f28e4fd1561d0e50f6a extends \Twig\Template
|
||||
{
|
||||
private $source;
|
||||
private $macros = [];
|
||||
|
||||
public function __construct(Environment $env)
|
||||
{
|
||||
parent::__construct($env);
|
||||
|
||||
$this->source = $this->getSourceContext();
|
||||
|
||||
$this->parent = false;
|
||||
|
||||
$this->blocks = [
|
||||
];
|
||||
}
|
||||
|
||||
protected function doDisplay(array $context, array $blocks = [])
|
||||
{
|
||||
$macros = $this->macros;
|
||||
// line 1
|
||||
if ((array_key_exists("submit_attribute", $context) && (($context["submit_attribute"] ?? null) != false))) {
|
||||
// line 2
|
||||
echo " ";
|
||||
$context["attribute"] = ($context["submit_attribute"] ?? null);
|
||||
// line 3
|
||||
echo " ";
|
||||
} elseif ((twig_get_attribute($this->env, $this->source, // line 4
|
||||
($context["column_meta"] ?? null), "Extra", [], "array", true, true, false, 4) && (twig_in_filter("on update current_timestamp", (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = // line 5
|
||||
($context["column_meta"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["Extra"] ?? null) : null)) || twig_in_filter("on update current_timestamp()", twig_lower_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["column_meta"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["Extra"] ?? null) : null)))))) {
|
||||
// line 6
|
||||
echo " ";
|
||||
$context["attribute"] = "on update CURRENT_TIMESTAMP";
|
||||
} elseif (twig_get_attribute($this->env, $this->source, // line 7
|
||||
($context["extracted_columnspec"] ?? null), "attribute", [], "array", true, true, false, 7)) {
|
||||
// line 8
|
||||
echo " ";
|
||||
$context["attribute"] = (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b = ($context["extracted_columnspec"] ?? null)) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["attribute"] ?? null) : null);
|
||||
} else {
|
||||
// line 10
|
||||
echo " ";
|
||||
$context["attribute"] = "";
|
||||
}
|
||||
// line 12
|
||||
$context["attribute"] = twig_upper_filter($this->env, ($context["attribute"] ?? null));
|
||||
// line 13
|
||||
echo "<select name=\"field_attribute[";
|
||||
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
|
||||
echo "]\"
|
||||
id=\"field_";
|
||||
// line 14
|
||||
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
|
||||
echo "_";
|
||||
echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 15
|
||||
$context["cnt_attribute_types"] = (twig_length_filter($this->env, ($context["attribute_types"] ?? null)) - 1);
|
||||
// line 16
|
||||
echo " ";
|
||||
$context['_parent'] = $context;
|
||||
$context['_seq'] = twig_ensure_traversable(range(0, ($context["cnt_attribute_types"] ?? null)));
|
||||
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
|
||||
// line 17
|
||||
echo " <option value=\"";
|
||||
echo twig_escape_filter($this->env, (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 = ($context["attribute_types"] ?? null)) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002[$context["i"]] ?? null) : null), "html", null, true);
|
||||
echo "\"";
|
||||
// line 18
|
||||
echo (((($context["attribute"] ?? null) == twig_upper_filter($this->env, (($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = ($context["attribute_types"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4[$context["i"]] ?? null) : null)))) ? (" selected=\"selected\"") : (""));
|
||||
echo ">
|
||||
";
|
||||
// line 19
|
||||
echo twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["attribute_types"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666[$context["i"]] ?? null) : null), "html", null, true);
|
||||
echo "
|
||||
</option>
|
||||
";
|
||||
}
|
||||
$_parent = $context['_parent'];
|
||||
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
|
||||
$context = array_intersect_key($context, $_parent) + $_parent;
|
||||
// line 22
|
||||
echo "</select>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "columns_definitions/column_attribute.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 97 => 22, 88 => 19, 84 => 18, 80 => 17, 75 => 16, 73 => 15, 67 => 14, 62 => 13, 60 => 12, 56 => 10, 52 => 8, 50 => 7, 47 => 6, 45 => 5, 44 => 4, 42 => 3, 39 => 2, 37 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "columns_definitions/column_attribute.twig", "/var/www/web360/htdocs/leitgedanken_php8/pma/templates/columns_definitions/column_attribute.twig");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user