d68b20570ab91f74938b89dc64e4d522873986cef82f12af0589efb1ed69d40b.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. /* partials/list-sort.html.twig */
  3. class __TwigTemplate_a5a774289a5daec27a8f6298f3ff1b94d58f4f0a0174125f2595121dde871abc extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. echo "<div class=\"sort-actions\" data-grav-selectize=\"true\">
  16. <select>
  17. <option value=\"name\" selected>";
  18. // line 3
  19. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.NAME"), "html", null, true);
  20. echo "</option>
  21. <option value=\"author\">";
  22. // line 4
  23. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.AUTHOR"), "html", null, true);
  24. echo "</option>
  25. <option value=\"official\">GravTeam</option>
  26. <option value=\"release-date\">";
  27. // line 6
  28. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.RELEASE_DATE"), "html", null, true);
  29. echo "</option>
  30. ";
  31. // line 7
  32. if (((($context["list_view"] ?? null) == "plugins") && !($context["installing"] ?? null))) {
  33. echo "<option value=\"enabled\">";
  34. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.ENABLED"), "html", null, true);
  35. echo "</option>";
  36. }
  37. // line 8
  38. echo " ";
  39. if ( !($context["installing"] ?? null)) {
  40. echo "<option value=\"updatable\">";
  41. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.UPDATES_AVAILABLE"), "html", null, true);
  42. echo "</option>";
  43. }
  44. // line 9
  45. echo " ";
  46. if (($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "system", array()), "gpm", array()), "releases", array()) == "testing")) {
  47. echo "<option value=\"testing\">";
  48. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.TESTING"), "html", null, true);
  49. echo "</option>";
  50. }
  51. // line 10
  52. echo " </select>
  53. <div class=\"sort-icon\"><i class=\"fa fa-fw fa-sort-amount-asc\"></i></div>
  54. </div>
  55. ";
  56. }
  57. public function getTemplateName()
  58. {
  59. return "partials/list-sort.html.twig";
  60. }
  61. public function isTraitable()
  62. {
  63. return false;
  64. }
  65. public function getDebugInfo()
  66. {
  67. return array ( 56 => 10, 49 => 9, 42 => 8, 36 => 7, 32 => 6, 27 => 4, 23 => 3, 19 => 1,);
  68. }
  69. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  70. public function getSource()
  71. {
  72. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  73. return $this->getSourceContext()->getCode();
  74. }
  75. public function getSourceContext()
  76. {
  77. return new Twig_Source("<div class=\"sort-actions\" data-grav-selectize=\"true\">
  78. <select>
  79. <option value=\"name\" selected>{{ \"PLUGIN_ADMIN.NAME\"|tu }}</option>
  80. <option value=\"author\">{{ \"PLUGIN_ADMIN.AUTHOR\"|tu }}</option>
  81. <option value=\"official\">GravTeam</option>
  82. <option value=\"release-date\">{{ \"PLUGIN_ADMIN.RELEASE_DATE\"|tu }}</option>
  83. {% if list_view == 'plugins' and not installing %}<option value=\"enabled\">{{ \"PLUGIN_ADMIN.ENABLED\"|tu }}</option>{% endif %}
  84. {% if not installing %}<option value=\"updatable\">{{ \"PLUGIN_ADMIN.UPDATES_AVAILABLE\"|tu }}</option>{% endif %}
  85. {% if config.system.gpm.releases == 'testing' %}<option value=\"testing\">{{ \"PLUGIN_ADMIN.TESTING\"|tu }}</option>{% endif %}
  86. </select>
  87. <div class=\"sort-icon\"><i class=\"fa fa-fw fa-sort-amount-asc\"></i></div>
  88. </div>
  89. ", "partials/list-sort.html.twig", "/home/kevin/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/list-sort.html.twig");
  90. }
  91. }