/home/csiway/tmp/pma_template_compiles_csiway/twig/25/25d492f8d0bbfcc60ba90a53ae82f4c1aee996deb00dd6a9a22bcd132ca29c0f.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?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;

/* columns_definitions/column_name.twig */
class __TwigTemplate_213a05adfb233dd68d78f66427bb0f09e961fce96b68a6a47d335a407461fce9 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
        
$context["title"] = "";
        
// line 2
        
if ($this->getAttribute(($context["column_meta"] ?? null), "column_status", [], "array"truetrue)) {
            
// line 3
            
echo "    ";
            if (
$this->getAttribute($this->getAttribute(($context["column_meta"] ?? null), "column_status", [], "array"), "isReferenced", [], "array")) {
                
// line 4
                
echo "        ";
                
$context["title"] = (($context["title"] ?? null) . sprintf(_gettext("Referenced by %s."), twig_join_filter($this->getAttribute($this->getAttribute(                // line 5
($context["column_meta"] ?? null), "column_status", [], "array"), "references", [], "array"), ",")));
                
// line 7
                
echo "    ";
            }
            
// line 8
            
echo "    ";
            if (
$this->getAttribute($this->getAttribute(($context["column_meta"] ?? null), "column_status", [], "array"), "isForeignKey", [], "array")) {
                
// line 9
                
echo "        ";
                if ( !
twig_test_empty(($context["title"] ?? null))) {
                    
// line 10
                    
echo "            ";
                    
$context["title"] = (($context["title"] ?? null) . "
"
);
                    
// line 11
                    
echo "        ";
                }
                
// line 12
                
echo "        ";
                
$context["title"] = (($context["title"] ?? null) . _gettext("Is a foreign key."));
                
// line 13
                
echo "    ";
            }
        }
        
// line 15
        
if (twig_test_empty(($context["title"] ?? null))) {
            
// line 16
            
echo "    ";
            
$context["title"] = _gettext("Column");
        }
        
// line 18
        
echo "
<input id=\"field_"
;
        
// line 19
        
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html"nulltrue);
        echo 
"_";
        echo 
twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html"nulltrue);
        echo 
"\"
    "
;
        
// line 20
        
if (($this->getAttribute(($context["column_meta"] ?? null), "column_status", [], "array"truetrue) &&  !$this->getAttribute($this->getAttribute(        // line 21
($context["column_meta"] ?? null), "column_status", [], "array"), "isEditable", [], "array"))) {
            
// line 22
            
echo "        disabled=\"disabled\"
    "
;
        }
        
// line 24
        
echo "    type=\"text\"
    name=\"field_name["
;
        
// line 25
        
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html"nulltrue);
        echo 
"]\"
    maxlength=\"64\"
    class=\"textfield\"
    title=\""
;
        
// line 28
        
echo twig_escape_filter($this->env, ($context["title"] ?? null), "html"nulltrue);
        echo 
"\"
    size=\"10\"
    value=\""
;
        
// line 30
        
(($this->getAttribute(($context["column_meta"] ?? null), "Field", [], "array"truetrue)) ? (print (twig_escape_filter($this->env$this->getAttribute(($context["column_meta"] ?? null), "Field", [], "array"), "html"nulltrue))) : (print ("")));
        echo 
"\" />

"
;
        
// line 32
        
if (($this->getAttribute(($context["cfg_relation"] ?? null), "centralcolumnswork", [], "array") &&  !($this->getAttribute(        // line 33
($context["column_meta"] ?? null), "column_status", [], "array"truetrue) &&  !$this->getAttribute($this->getAttribute(        // line 34
($context["column_meta"] ?? null), "column_status", [], "array"), "isEditable", [], "array")))) {
            
// line 35
            
echo "    <p style=\"font-size:80%;margin:5px 2px\"
       id=\"central_columns_"
;
            
// line 36
            
echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html"nulltrue);
            echo 
"_";
            echo 
twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html"nulltrue);
            echo 
"\">
        <a data-maxrows=\""
;
            
// line 37
            
echo twig_escape_filter($this->env, ($context["max_rows"] ?? null), "html"nulltrue);
            echo 
"\"
            href=\"#\"
            class=\"central_columns_dialog\">
            "
;
            
// line 40
            
echo _gettext("Pick from Central Columns");
            
// line 41
            
echo "        </a>
    </p>
"
;
        }
    }

    public function 
getTemplateName()
    {
        return 
"columns_definitions/column_name.twig";
    }

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
126 => 41,  124 => 40,  118 => 37,  112 => 36,  109 => 35,  107 => 34,  106 => 33,  105 => 32,  100 => 30,  95 => 28,  89 => 25,  86 => 24,  82 => 22,  80 => 21,  79 => 20,  73 => 19,  70 => 18,  66 => 16,  64 => 15,  60 => 13,  57 => 12,  54 => 11,  50 => 10,  47 => 9,  44 => 8,  41 => 7,  39 => 5,  37 => 4,  34 => 3,  32 => 2,  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("""columns_definitions/column_name.twig""/usr/local/cpanel/base/3rdparty/phpMyAdmin/templates/columns_definitions/column_name.twig");
    }
}