5a33dbae7ff280ee6e22eab599ef5bfed04c72e87641aea13b8a91bae4715858.php 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <?php
  2. /* partials/modal-remove-package.html.twig */
  3. class __TwigTemplate_b35fb1826e2e33df45ba309a1b06512e071b546c5d093d436038b8b572bea020 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=\"remodal\"
  16. data-remodal-id=\"remove-package\"
  17. data-remodal-options=\"hashTracking: false\">
  18. <form>
  19. <div class=\"remove-package-confirm\">
  20. <h1>";
  21. // line 6
  22. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.REMOVE_THE", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))), "html", null, true);
  23. echo "</h1>
  24. <p class=\"bigger\">
  25. ";
  26. // line 8
  27. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CONFIRM_REMOVAL", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))), "html", null, true);
  28. echo "
  29. </p>
  30. <div class=\"button-bar\">
  31. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> ";
  32. // line 12
  33. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CANCEL"), "html", null, true);
  34. echo "</button>
  35. <button data-";
  36. // line 13
  37. echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true);
  38. echo "-action=\"remove-package\" data-packages-slugs=\"";
  39. echo twig_escape_filter($this->env, $this->getAttribute(($context["package"] ?? null), "slug", array()), "html", null, true);
  40. echo "\" class=\"button\"><i class=\"fa fa-fw fa-check\"></i> ";
  41. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CONTINUE"), "html", null, true);
  42. echo "</button>
  43. </div>
  44. </div>
  45. <div class=\"remove-package-dependencies hidden\">
  46. <h1>";
  47. // line 18
  48. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.REMOVED_SUCCESSFULLY", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))), "html", null, true);
  49. echo "</h1>
  50. <p>
  51. ";
  52. // line 20
  53. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.ADDITIONAL_DEPENDENCIES_CAN_BE_REMOVED", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))), "html", null, true);
  54. echo "
  55. </p>
  56. <div>
  57. <ul class=\"package-dependencies-container\"></ul>
  58. </div>
  59. <div class=\"button-bar\">
  60. <a href=\"";
  61. // line 26
  62. echo twig_escape_filter($this->env, (((($context["base_url_relative"] ?? null) . "/") . ($context["type"] ?? null)) . "s"), "html", null, true);
  63. echo "\" class=\"button secondary\"><i class=\"fa fa-fw fa-close\"></i> ";
  64. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CLOSE"), "html", null, true);
  65. echo "</a>
  66. </div>
  67. </div>
  68. <div class=\"remove-package-done hidden\">
  69. <h1>";
  70. // line 31
  71. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.REMOVED_SUCCESSFULLY", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))), "html", null, true);
  72. echo "</h1>
  73. <div class=\"button-bar\">
  74. <a href=\"";
  75. // line 33
  76. echo twig_escape_filter($this->env, (((($context["base_url_relative"] ?? null) . "/") . ($context["type"] ?? null)) . "s"), "html", null, true);
  77. echo "\" class=\"button secondary\"><i class=\"fa fa-fw fa-close\"></i> ";
  78. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CLOSE"), "html", null, true);
  79. echo "</a>
  80. </div>
  81. </div>
  82. <div class=\"remove-package-error hidden\">
  83. <h1>";
  84. // line 38
  85. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.ERROR_REMOVING_THE", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))), "html", null, true);
  86. echo "</h1>
  87. <div class=\"button-bar\">
  88. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> ";
  89. // line 40
  90. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CANCEL"), "html", null, true);
  91. echo "</button>
  92. </div>
  93. </div>
  94. </form>
  95. </div>
  96. ";
  97. }
  98. public function getTemplateName()
  99. {
  100. return "partials/modal-remove-package.html.twig";
  101. }
  102. public function isTraitable()
  103. {
  104. return false;
  105. }
  106. public function getDebugInfo()
  107. {
  108. return array ( 98 => 40, 93 => 38, 83 => 33, 78 => 31, 68 => 26, 59 => 20, 54 => 18, 42 => 13, 38 => 12, 31 => 8, 26 => 6, 19 => 1,);
  109. }
  110. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  111. public function getSource()
  112. {
  113. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  114. return $this->getSourceContext()->getCode();
  115. }
  116. public function getSourceContext()
  117. {
  118. return new Twig_Source("<div class=\"remodal\"
  119. data-remodal-id=\"remove-package\"
  120. data-remodal-options=\"hashTracking: false\">
  121. <form>
  122. <div class=\"remove-package-confirm\">
  123. <h1>{{ \"PLUGIN_ADMIN.REMOVE_THE\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu]) }}</h1>
  124. <p class=\"bigger\">
  125. {{ \"PLUGIN_ADMIN.CONFIRM_REMOVAL\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu]) }}
  126. </p>
  127. <div class=\"button-bar\">
  128. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CANCEL\"|tu }}</button>
  129. <button data-{{ type }}-action=\"remove-package\" data-packages-slugs=\"{{ package.slug }}\" class=\"button\"><i class=\"fa fa-fw fa-check\"></i> {{ \"PLUGIN_ADMIN.CONTINUE\"|tu }}</button>
  130. </div>
  131. </div>
  132. <div class=\"remove-package-dependencies hidden\">
  133. <h1>{{ \"PLUGIN_ADMIN.REMOVED_SUCCESSFULLY\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu]) }}</h1>
  134. <p>
  135. {{ \"PLUGIN_ADMIN.ADDITIONAL_DEPENDENCIES_CAN_BE_REMOVED\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu]) }}
  136. </p>
  137. <div>
  138. <ul class=\"package-dependencies-container\"></ul>
  139. </div>
  140. <div class=\"button-bar\">
  141. <a href=\"{{ base_url_relative ~ '/' ~ type ~ 's' }}\" class=\"button secondary\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CLOSE\"|tu }}</a>
  142. </div>
  143. </div>
  144. <div class=\"remove-package-done hidden\">
  145. <h1>{{ \"PLUGIN_ADMIN.REMOVED_SUCCESSFULLY\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu]) }}</h1>
  146. <div class=\"button-bar\">
  147. <a href=\"{{ base_url_relative ~ '/' ~ type ~ 's' }}\" class=\"button secondary\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CLOSE\"|tu }}</a>
  148. </div>
  149. </div>
  150. <div class=\"remove-package-error hidden\">
  151. <h1>{{ \"PLUGIN_ADMIN.ERROR_REMOVING_THE\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu]) }}</h1>
  152. <div class=\"button-bar\">
  153. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CANCEL\"|tu }}</button>
  154. </div>
  155. </div>
  156. </form>
  157. </div>
  158. ", "partials/modal-remove-package.html.twig", "/home/kevin/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/modal-remove-package.html.twig");
  159. }
  160. }