83b318aaffdac1c19880d50d59939b3aa06b5def02588d43e8c2034d99537b6a.php 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <?php
  2. /* database/structure/table_header.twig */
  3. class __TwigTemplate_e02841963c0387ac42a94370c2fdba948f9afc391d0adf1a0d0e515f936510ce extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = [
  10. ];
  11. }
  12. protected function doDisplay(array $context, array $blocks = [])
  13. {
  14. // line 1
  15. echo "<form method=\"post\" action=\"db_structure.php\" name=\"tablesForm\" id=\"tablesForm\">
  16. ";
  17. // line 2
  18. echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null));
  19. echo "
  20. <div class=\"responsivetable\">
  21. <table id=\"structureTable\" class=\"data\">
  22. <thead>
  23. <tr>
  24. <th class=\"print_ignore\"></th>
  25. <th>";
  26. // line 8
  27. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Table"), "table");
  28. echo "</th>
  29. ";
  30. // line 9
  31. if (($context["replication"] ?? null)) {
  32. // line 10
  33. echo " <th>";
  34. echo _gettext("Replication");
  35. echo "</th>
  36. ";
  37. }
  38. // line 12
  39. echo "
  40. ";
  41. // line 13
  42. if (($context["db_is_system_schema"] ?? null)) {
  43. // line 14
  44. echo " ";
  45. $context["action_colspan"] = 3;
  46. // line 15
  47. echo " ";
  48. } else {
  49. // line 16
  50. echo " ";
  51. $context["action_colspan"] = 6;
  52. // line 17
  53. echo " ";
  54. }
  55. // line 18
  56. echo " ";
  57. if ((($context["num_favorite_tables"] ?? null) > 0)) {
  58. // line 19
  59. echo " ";
  60. $context["action_colspan"] = (($context["action_colspan"] ?? null) + 1);
  61. // line 20
  62. echo " ";
  63. }
  64. // line 21
  65. echo " <th colspan=\"";
  66. echo twig_escape_filter($this->env, ($context["action_colspan"] ?? null), "html", null, true);
  67. echo "\" class=\"print_ignore\">
  68. ";
  69. // line 22
  70. echo _gettext("Action");
  71. // line 23
  72. echo " </th>
  73. ";
  74. // line 25
  75. echo " <th>
  76. ";
  77. // line 26
  78. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Rows"), "records", "DESC");
  79. echo "
  80. ";
  81. // line 27
  82. echo PhpMyAdmin\Util::showHint(PhpMyAdmin\Sanitize::sanitize(_gettext("May be approximate. Click on the number to get the exact count. See [doc@faq3-11]FAQ 3.11[/doc].")));
  83. // line 29
  84. echo "
  85. </th>
  86. ";
  87. // line 31
  88. if ( !(($context["properties_num_columns"] ?? null) > 1)) {
  89. // line 32
  90. echo " <th>";
  91. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Type"), "type");
  92. echo "</th>
  93. <th>";
  94. // line 33
  95. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Collation"), "collation");
  96. echo "</th>
  97. ";
  98. }
  99. // line 35
  100. echo "
  101. ";
  102. // line 36
  103. if (($context["is_show_stats"] ?? null)) {
  104. // line 37
  105. echo " ";
  106. // line 38
  107. echo " <th>";
  108. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Size"), "size", "DESC");
  109. echo "</th>
  110. ";
  111. // line 40
  112. echo " <th>";
  113. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Overhead"), "overhead", "DESC");
  114. echo "</th>
  115. ";
  116. }
  117. // line 42
  118. echo "
  119. ";
  120. // line 43
  121. if (($context["show_charset"] ?? null)) {
  122. // line 44
  123. echo " <th>";
  124. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Charset"), "charset");
  125. echo "</th>
  126. ";
  127. }
  128. // line 46
  129. echo "
  130. ";
  131. // line 47
  132. if (($context["show_comment"] ?? null)) {
  133. // line 48
  134. echo " <th>";
  135. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Comment"), "comment");
  136. echo "</th>
  137. ";
  138. }
  139. // line 50
  140. echo "
  141. ";
  142. // line 51
  143. if (($context["show_creation"] ?? null)) {
  144. // line 52
  145. echo " ";
  146. // line 53
  147. echo " <th>";
  148. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Creation"), "creation", "DESC");
  149. echo "</th>
  150. ";
  151. }
  152. // line 55
  153. echo "
  154. ";
  155. // line 56
  156. if (($context["show_last_update"] ?? null)) {
  157. // line 57
  158. echo " ";
  159. // line 58
  160. echo " <th>";
  161. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last update"), "last_update", "DESC");
  162. echo "</th>
  163. ";
  164. }
  165. // line 60
  166. echo "
  167. ";
  168. // line 61
  169. if (($context["show_last_check"] ?? null)) {
  170. // line 62
  171. echo " ";
  172. // line 63
  173. echo " <th>";
  174. echo PhpMyAdmin\Util::sortableTableHeader(_gettext("Last check"), "last_check", "DESC");
  175. echo "</th>
  176. ";
  177. }
  178. // line 65
  179. echo " </tr>
  180. </thead>
  181. <tbody>
  182. ";
  183. }
  184. public function getTemplateName()
  185. {
  186. return "database/structure/table_header.twig";
  187. }
  188. public function isTraitable()
  189. {
  190. return false;
  191. }
  192. public function getDebugInfo()
  193. {
  194. return array ( 183 => 65, 177 => 63, 175 => 62, 173 => 61, 170 => 60, 164 => 58, 162 => 57, 160 => 56, 157 => 55, 151 => 53, 149 => 52, 147 => 51, 144 => 50, 138 => 48, 136 => 47, 133 => 46, 127 => 44, 125 => 43, 122 => 42, 116 => 40, 111 => 38, 109 => 37, 107 => 36, 104 => 35, 99 => 33, 94 => 32, 92 => 31, 88 => 29, 86 => 27, 82 => 26, 79 => 25, 76 => 23, 74 => 22, 69 => 21, 66 => 20, 63 => 19, 60 => 18, 57 => 17, 54 => 16, 51 => 15, 48 => 14, 46 => 13, 43 => 12, 37 => 10, 35 => 9, 31 => 8, 22 => 2, 19 => 1,);
  195. }
  196. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  197. public function getSource()
  198. {
  199. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  200. return $this->getSourceContext()->getCode();
  201. }
  202. public function getSourceContext()
  203. {
  204. return new Twig_Source("", "database/structure/table_header.twig", "D:\\PHP_www\\phpMyAdmin4.8.5\\templates\\database\\structure\\table_header.twig");
  205. }
  206. }