/home/csiway/tmp/pma_template_compiles_csiway/twig/b0/b0cc2f1ac5be95be27288dace5aa9b2aa6d84c4d17894188c5895a8070e5742e.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php

use Twig\Environment;
use 
Twig\Error\LoaderError;
use 
Twig\Error\RuntimeError;
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_f50d22955c0f6b1baaf5fa2072e5caee9568525fb173df7427bdcacafd87180f extends \Twig\Template
{
    public function 
__construct(Environment $env)
    {
        
parent::__construct($env);

        
$this->parent false;

        
$this->blocks = [
        ];
    }

    protected function 
doDisplay(array $context, array $blocks = [])
    {
        
// line 1
        
echo "<a id=\"";
        echo 
twig_escape_filter($this->env, ($context["table_name_hash"] ?? null), "html"nulltrue);
        echo 
"_favorite_anchor\"
    class=\"ajax favorite_table_anchor\"
    href=\"db_structure.php"
;
        
// line 3
        
echo PhpMyAdmin\Url::getCommon(($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"nulltrue);
        echo 
"\"
    data-favtargets=\""
;
        
// line 5
        
echo twig_escape_filter($this->env, ($context["db_table_name_hash"] ?? null), "html"nulltrue);
        echo 
"\" >
    "
;
        
// line 6
        
echo ((($context["already_favorite"] ?? null)) ? ($this->getAttribute(($context["titles"] ?? null), "Favorite", [], "array")) : ($this->getAttribute(($context["titles"] ?? null), "NoFavorite", [], "array")));
        echo 
"
</a>
"
;
    }

    public function 
getTemplateName()
    {
        return 
"database/structure/favorite_anchor.twig";
    }

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
48 => 6,  44 => 5,  40 => 4,  36 => 3,  30 => 1,);
    }

    
/** @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 
Source("""database/structure/favorite_anchor.twig""/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/database/structure/favorite_anchor.twig");
    }
}