source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 2
if ((($context["foreigners"] ?? null) && call_user_func_array($this->env->getFunction('search_column_in_foreigners')->getCallable(), [($context["foreigners"] ?? null), ($context["column_name"] ?? null)]))) {
// line 3
echo " ";
if (twig_test_iterable((($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["foreign_data"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["disp_row"] ?? null) : null))) {
// line 4
echo "
";
} elseif (((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 = // line 14
($context["foreign_data"] ?? null)) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["foreign_link"] ?? null) : null) == true)) {
// line 15
echo " env, ($context["column_id"] ?? null), "html", null, true);
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "\"
name=\"criteriaValues[";
// line 17
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
id=\"field_";
// line 18
echo twig_escape_filter($this->env, ($context["column_name_hash"] ?? null), "html", null, true);
echo "[";
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
class=\"textfield\"
";
// line 20
if (twig_get_attribute($this->env, $this->source, ($context["criteria_values"] ?? null), ($context["column_index"] ?? null), [], "array", true, true, false, 20)) {
// line 21
echo " value=\"";
echo twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 = ($context["criteria_values"] ?? null)) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666[($context["column_index"] ?? null)] ?? null) : null), "html", null, true);
echo "\"
";
}
// line 22
echo ">
($context["db"] ?? null), "table" => ($context["table"] ?? null)], "");
// line 25
echo "&field=";
echo twig_escape_filter($this->env, twig_urlencode_filter(($context["column_name"] ?? null)), "html", null, true);
echo "&fieldkey=";
// line 26
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "&fromsearch=1\">
";
// line 27
echo \PhpMyAdmin\Html\Generator::getIcon("b_browse", _gettext("Browse foreign values"));
echo "
";
}
} elseif (twig_in_filter( // line 30
($context["column_type"] ?? null), PhpMyAdmin\Util::getGISDatatypes())) {
// line 31
echo " env, ($context["column_index"] ?? null), "html", null, true);
echo "]\"
size=\"40\"
class=\"textfield\"
id=\"field_";
// line 35
echo twig_escape_filter($this->env, ($context["column_index"] ?? null), "html", null, true);
echo "\">
";
// line 36
if (($context["in_fbs"] ?? null)) {
// line 37
echo " ";
$context["edit_str"] = \PhpMyAdmin\Html\Generator::getIcon("b_edit", _gettext("Edit/Insert"));
// line 38
echo "
";
// line 39
echo PhpMyAdmin\Html\Generator::linkOrButton(PhpMyAdmin\Url::getFromRoute("/gis-data-editor"), ($context["edit_str"] ?? null), [], "_blank");
echo "
";
}
} elseif (((is_string($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e = // line 42
($context["column_type"] ?? null)) && is_string($__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 = "enum") && ('' === $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52 || 0 === strpos($__internal_01c35b74bd85735098add188b3f8372ba465b232ab8298cb582c60f493d3c22e, $__internal_63ad1f9a2bf4db4af64b010785e9665558fdcac0e8db8b5b413ed986c62dbb52))) || ((is_string($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136 = // line 43
($context["column_type"] ?? null)) && is_string($__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 = "set") && ('' === $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386 || 0 === strpos($__internal_f10a4cc339617934220127f034125576ed229e948660ebac906a15846d52f136, $__internal_887a873a4dc3cf8bd4f99c487b4c7727999c350cc3a772414714e49a195e4386))) && ($context["in_zoom_search_edit"] ?? null)))) {
// line 44
echo " ";
$context["in_zoom_search_edit"] = false;
// line 45
echo " ";
$context["value"] = twig_split_filter($this->env, twig_replace_filter(twig_slice($this->env, twig_escape_filter($this->env, ($context["column_type"] ?? null)), 5, -1), ["'" => ""]), ", ");
// line 46
echo " ";
$context["cnt_value"] = twig_length_filter($this->env, ($context["value"] ?? null));
// line 47
echo " ";
// line 53
echo " ";
if ((((is_string($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9 = ($context["column_type"] ?? null)) && is_string($__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae = "enum") && ('' === $__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae || 0 === strpos($__internal_d527c24a729d38501d770b40a0d25e1ce8a7f0bff897cc4f8f449ba71fcff3d9, $__internal_f6dde3a1020453fdf35e718e94f93ce8eb8803b28cc77a665308e14bbe8572ae))) && !($context["in_zoom_search_edit"] ?? null)) || ((is_string($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f = // line 54
($context["column_type"] ?? null)) && is_string($__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 = "set") && ('' === $__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40 || 0 === strpos($__internal_25c0fab8152b8dd6b90603159c0f2e8a936a09ab76edb5e4d7bc95d9a8d2dc8f, $__internal_f769f712f3484f00110c86425acea59f5af2752239e2e8596bcb6effeb425b40))) && ($context["in_zoom_search_edit"] ?? null)))) {
// line 55
echo "