Initial commit
This commit is contained in:
@ -0,0 +1,80 @@
|
||||
<?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;
|
||||
|
||||
/* database/structure/favorite_anchor.twig */
|
||||
class __TwigTemplate_9dd3e226e62996103bb29addabe9d20be505eb37d45a446323fa37d28d206a19 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
|
||||
echo "<a id=\"";
|
||||
echo twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html", null, true);
|
||||
echo "_favorite_anchor\"
|
||||
class=\"ajax favorite_table_anchor\"
|
||||
href=\"";
|
||||
// line 3
|
||||
echo PhpMyAdmin\Url::getFromRoute("/database/structure/favorite-table", ($context["fav_params"] ?? null));
|
||||
echo "\"
|
||||
title=\"";
|
||||
// line 4
|
||||
echo twig_escape_filter($this->env, ((($context["already_favorite"] ?? null)) ? (_gettext("Remove from Favorites")) : (_gettext("Add to Favorites"))), "html", null, true);
|
||||
echo "\"
|
||||
data-favtargets=\"";
|
||||
// line 5
|
||||
echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html", null, true);
|
||||
echo "\">
|
||||
";
|
||||
// line 6
|
||||
echo ((($context["already_favorite"] ?? null)) ? (\PhpMyAdmin\Html\Generator::getIcon("b_favorite")) : (\PhpMyAdmin\Html\Generator::getIcon("b_no_favorite")));
|
||||
echo "
|
||||
</a>
|
||||
";
|
||||
}
|
||||
|
||||
public function getTemplateName()
|
||||
{
|
||||
return "database/structure/favorite_anchor.twig";
|
||||
}
|
||||
|
||||
public function isTraitable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function getDebugInfo()
|
||||
{
|
||||
return array ( 55 => 6, 51 => 5, 47 => 4, 43 => 3, 37 => 1,);
|
||||
}
|
||||
|
||||
public function getSourceContext()
|
||||
{
|
||||
return new Source("", "database/structure/favorite_anchor.twig", "/var/www/web360/htdocs/leitgedanken_php8/pma/templates/database/structure/favorite_anchor.twig");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user