| Server IP : 216.106.184.20 / Your IP : 216.73.216.234 Web Server : LiteSpeed System : Linux asmodeus.in-hell.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64 User : sekoaid1 ( 1891) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/sekoaid1/tmp/pma_template_compiles_sekoaid1/twig/e6/ |
Upload File : |
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* table/relation/relational_dropdown.twig */
class __TwigTemplate_025a0cced458262b7242549acb77c76f extends 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
yield "<select name=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["name"] ?? null), "html", null, true);
yield "\" title=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["title"] ?? null), "html", null, true);
yield "\">
<option value=\"\"></option>
";
// line 3
$context["seen_key"] = false;
// line 4
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(($context["values"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["value"]) {
// line 5
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["value"], "html", null, true);
yield "\"";
// line 6
if ((( !(($context["foreign"] ?? null) === false) && ($context["value"] == ($context["foreign"] ?? null))) || (( ! // line 7
($context["foreign"] ?? null) && array_key_exists("db", $context)) && (($context["db"] ?? null) === $context["value"])))) {
// line 8
yield " selected=\"selected\"";
// line 9
$context["seen_key"] = true;
}
// line 10
yield ">
";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["value"], "html", null, true);
yield "
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 14
yield " ";
if ((( !(($context["foreign"] ?? null) === false) && (($context["foreign"] ?? null) != "")) && !($context["seen_key"] ?? null))) {
// line 15
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["foreign"] ?? null), "html", null, true);
yield "\" selected=\"selected\">
";
// line 16
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["foreign"] ?? null), "html", null, true);
yield "
</option>
";
}
// line 19
yield "</select>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "table/relation/relational_dropdown.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 91 => 19, 85 => 16, 80 => 15, 77 => 14, 68 => 11, 65 => 10, 62 => 9, 60 => 8, 58 => 7, 57 => 6, 53 => 5, 48 => 4, 46 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("", "table/relation/relational_dropdown.twig", "/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/table/relation/relational_dropdown.twig");
}
}