d5c34f68fa4be3de670a9279b6bd49d3d7d2c8be330e31e6bd4b51bd7e69240d.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* columns_definitions/move_column.twig */
  14. class __TwigTemplate_3a7b7e769723111e3f1199516519806b64a8b318dfedd3d264893c157022ff6a extends \Twig\Template
  15. {
  16. private $source;
  17. private $macros = [];
  18. public function __construct(Environment $env)
  19. {
  20. parent::__construct($env);
  21. $this->source = $this->getSourceContext();
  22. $this->parent = false;
  23. $this->blocks = [
  24. ];
  25. }
  26. protected function doDisplay(array $context, array $blocks = [])
  27. {
  28. $macros = $this->macros;
  29. // line 1
  30. echo "<select id=\"field_";
  31. echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
  32. echo "_";
  33. echo twig_escape_filter($this->env, (($context["ci"] ?? null) - ($context["ci_offset"] ?? null)), "html", null, true);
  34. echo "\"
  35. name=\"field_move_to[";
  36. // line 2
  37. echo twig_escape_filter($this->env, ($context["column_number"] ?? null), "html", null, true);
  38. echo "]\"
  39. size=\"1\"
  40. width=\"5em\">
  41. <option value=\"\" selected=\"selected\">&nbsp;</option>
  42. <option value=\"-first\"";
  43. // line 6
  44. echo (((($context["current_index"] ?? null) == 0)) ? (" disabled=\"disabled\"") : (""));
  45. echo ">
  46. ";
  47. // line 7
  48. echo _gettext("first");
  49. // line 8
  50. echo " </option>
  51. ";
  52. // line 9
  53. $context['_parent'] = $context;
  54. $context['_seq'] = twig_ensure_traversable(range(0, (twig_length_filter($this->env, ($context["move_columns"] ?? null)) - 1)));
  55. foreach ($context['_seq'] as $context["_key"] => $context["mi"]) {
  56. // line 10
  57. echo " <option value=\"";
  58. echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = ($context["move_columns"] ?? null)) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 10), "html", null, true);
  59. echo "\"";
  60. // line 11
  61. echo ((((($context["current_index"] ?? null) == $context["mi"]) || (($context["current_index"] ?? null) == ($context["mi"] + 1)))) ? (" disabled=\"disabled\"") : (""));
  62. echo ">
  63. ";
  64. // line 12
  65. echo twig_escape_filter($this->env, sprintf(_gettext("after %s"), PhpMyAdmin\Util::backquote(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ($context["move_columns"] ?? null)) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144[$context["mi"]] ?? null) : null), "name", [], "any", false, false, false, 12)))), "html", null, true);
  66. echo "
  67. </option>
  68. ";
  69. }
  70. $_parent = $context['_parent'];
  71. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mi'], $context['_parent'], $context['loop']);
  72. $context = array_intersect_key($context, $_parent) + $_parent;
  73. // line 15
  74. echo "</select>
  75. ";
  76. }
  77. public function getTemplateName()
  78. {
  79. return "columns_definitions/move_column.twig";
  80. }
  81. public function isTraitable()
  82. {
  83. return false;
  84. }
  85. public function getDebugInfo()
  86. {
  87. return array ( 81 => 15, 72 => 12, 68 => 11, 64 => 10, 60 => 9, 57 => 8, 55 => 7, 51 => 6, 44 => 2, 37 => 1,);
  88. }
  89. public function getSourceContext()
  90. {
  91. return new Source("", "columns_definitions/move_column.twig", "/wwwroot/OA/public/phpMyAdmin/templates/columns_definitions/move_column.twig");
  92. }
  93. }