123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <?php
- /* table/structure/action_row_in_structure_table.twig */
- class __TwigTemplate_5beb029e23e8626bc3f31b4c0e4c068474984edc4526a81c7c769a1cae59d0ab extends Twig_Template
- {
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
- $this->parent = false;
- $this->blocks = [
- ];
- }
- protected function doDisplay(array $context, array $blocks = [])
- {
- // line 1
- echo "<li class=\"";
- echo twig_escape_filter($this->env, ($context["class"] ?? null), "html", null, true);
- echo "\">
- ";
- // line 2
- if (((((($context["type"] ?? null) == "text") || ( // line 3
- ($context["type"] ?? null) == "blob")) || ( // line 4
- ($context["tbl_storage_engine"] ?? null) == "ARCHIVE")) || // line 5
- ($context["has_field"] ?? null))) {
- // line 6
- echo " ";
- echo $this->getAttribute(($context["titles"] ?? null), ("No" . ($context["action"] ?? null)), [], "array");
- echo "
- ";
- } else {
- // line 8
- echo " <a rel=\"samepage\" class=\"ajax add_key print_ignore";
- // line 9
- if (($context["has_link_class"] ?? null)) {
- // line 10
- echo " add_primary_key_anchor";
- } elseif (( // line 11
- ($context["action"] ?? null) == "Index")) {
- // line 12
- echo " add_index_anchor";
- } elseif (( // line 13
- ($context["action"] ?? null) == "Unique")) {
- // line 14
- echo " add_unique_anchor";
- } elseif (( // line 15
- ($context["action"] ?? null) == "Spatial")) {
- // line 16
- echo " add_spatial_anchor";
- }
- // line 17
- echo "\" href=\"tbl_structure.php\" data-post=\"";
- echo ($context["url_query"] ?? null);
- // line 18
- echo "&add_key=1&sql_query=";
- // line 19
- echo twig_escape_filter($this->env, twig_urlencode_filter(((((((("ALTER TABLE " . PhpMyAdmin\Util::backquote( // line 20
- ($context["table"] ?? null))) . (( // line 21
- ($context["is_primary"] ?? null)) ? (((($context["primary"] ?? null)) ? (" DROP PRIMARY KEY,") : (""))) : (""))) . " ") . // line 23
- ($context["syntax"] ?? null)) . "(") . PhpMyAdmin\Util::backquote($this->getAttribute( // line 25
- ($context["row"] ?? null), "Field", [], "array"))) . ");")), "html", null, true);
- // line 27
- echo "&message_to_show=";
- echo twig_escape_filter($this->env, twig_urlencode_filter(sprintf(($context["message"] ?? null), twig_escape_filter($this->env, $this->getAttribute(($context["row"] ?? null), "Field", [], "array")))), "html", null, true);
- echo "\">
- ";
- // line 28
- echo $this->getAttribute(($context["titles"] ?? null), ($context["action"] ?? null), [], "array");
- echo "
- </a>
- ";
- }
- // line 31
- echo "</li>
- ";
- }
- public function getTemplateName()
- {
- return "table/structure/action_row_in_structure_table.twig";
- }
- public function isTraitable()
- {
- return false;
- }
- public function getDebugInfo()
- {
- return array ( 76 => 31, 70 => 28, 65 => 27, 63 => 25, 62 => 23, 61 => 21, 60 => 20, 59 => 19, 57 => 18, 54 => 17, 51 => 16, 49 => 15, 47 => 14, 45 => 13, 43 => 12, 41 => 11, 39 => 10, 37 => 9, 35 => 8, 29 => 6, 27 => 5, 26 => 4, 25 => 3, 24 => 2, 19 => 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 Twig_Source("", "table/structure/action_row_in_structure_table.twig", "D:\\PHP_www\\phpMyAdmin4.8.5\\templates\\table\\structure\\action_row_in_structure_table.twig");
- }
- }
|