0f7af880b778a16f24a311f3f46bb7b7281950c37dd86d7bfc29309432147627.php 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?php
  2. /* partials/modal-reinstall-package.html.twig */
  3. class __TwigTemplate_98a6e0f66d27c1cc4a00dfb438867d4cb861f06a5a883b135e5b30e75f53bffa 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=\"reinstall-package\"
  17. data-remodal-options=\"hashTracking: false\">
  18. <form>
  19. <div class=\"reinstall-package-confirm\">
  20. <h1>";
  21. // line 6
  22. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.REINSTALL_THE", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))));
  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_REINSTALL", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))));
  28. echo "
  29. </p>
  30. <p class=\"bigger hidden warning-reinstall-not-latest-release\">
  31. ";
  32. // line 11
  33. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.WARNING_REINSTALL_NOT_LATEST_RELEASE"));
  34. echo "
  35. </p>
  36. <div class=\"button-bar\">
  37. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> ";
  38. // line 15
  39. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CANCEL"));
  40. echo "</button>
  41. <button data-";
  42. // line 17
  43. echo twig_escape_filter($this->env, ($context["type"] ?? null));
  44. echo "-action=\"reinstall-package\"
  45. data-package-slug=\"";
  46. // line 18
  47. echo twig_escape_filter($this->env, $this->getAttribute(($context["package"] ?? null), "slug", array()));
  48. echo "\"
  49. data-package-type=\"";
  50. // line 19
  51. echo twig_escape_filter($this->env, $this->getAttribute(($context["package"] ?? null), "package_type", array()));
  52. echo "\"
  53. data-package-name=\"";
  54. // line 20
  55. echo twig_escape_filter($this->env, $this->getAttribute(($context["package"] ?? null), "name", array()));
  56. echo "\"
  57. data-package-current-version=\"";
  58. // line 21
  59. echo twig_escape_filter($this->env, $this->getAttribute(($context["package"] ?? null), "version", array()));
  60. echo "\"
  61. class=\"button\"><i class=\"fa fa-fw fa-check\"></i> ";
  62. // line 22
  63. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CONTINUE"));
  64. echo "</button>
  65. <div class=\"spinning-wheel hidden\">
  66. ";
  67. // line 25
  68. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.INSTALLING"));
  69. echo ".. <i class=\"fa fa-spinner fa-spin\"></i>
  70. </div>
  71. </div>
  72. </div>
  73. <div class=\"reinstall-package-done hidden\">
  74. <h1>";
  75. // line 31
  76. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.REINSTALLED_SUCCESSFULLY", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))));
  77. echo "</h1>
  78. </div>
  79. <div class=\"reinstall-package-error hidden\">
  80. <h1>";
  81. // line 35
  82. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.ERROR_REINSTALLING_THE", array(0 => $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . twig_upper_filter($this->env, ($context["type"] ?? null)))))));
  83. echo "</h1>
  84. </div>
  85. </form>
  86. </div>
  87. ";
  88. }
  89. public function getTemplateName()
  90. {
  91. return "partials/modal-reinstall-package.html.twig";
  92. }
  93. public function isTraitable()
  94. {
  95. return false;
  96. }
  97. public function getDebugInfo()
  98. {
  99. return array ( 91 => 35, 84 => 31, 75 => 25, 69 => 22, 65 => 21, 61 => 20, 57 => 19, 53 => 18, 49 => 17, 44 => 15, 37 => 11, 31 => 8, 26 => 6, 19 => 1,);
  100. }
  101. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  102. public function getSource()
  103. {
  104. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  105. return $this->getSourceContext()->getCode();
  106. }
  107. public function getSourceContext()
  108. {
  109. return new Twig_Source("<div class=\"remodal\"
  110. data-remodal-id=\"reinstall-package\"
  111. data-remodal-options=\"hashTracking: false\">
  112. <form>
  113. <div class=\"reinstall-package-confirm\">
  114. <h1>{{ \"PLUGIN_ADMIN.REINSTALL_THE\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu])|e }}</h1>
  115. <p class=\"bigger\">
  116. {{ \"PLUGIN_ADMIN.CONFIRM_REINSTALL\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu])|e }}
  117. </p>
  118. <p class=\"bigger hidden warning-reinstall-not-latest-release\">
  119. {{ \"PLUGIN_ADMIN.WARNING_REINSTALL_NOT_LATEST_RELEASE\"|tu|e }}
  120. </p>
  121. <div class=\"button-bar\">
  122. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CANCEL\"|tu|e }}</button>
  123. <button data-{{ type|e }}-action=\"reinstall-package\"
  124. data-package-slug=\"{{ package.slug|e }}\"
  125. data-package-type=\"{{ package.package_type |e }}\"
  126. data-package-name=\"{{ package.name|e }}\"
  127. data-package-current-version=\"{{ package.version|e }}\"
  128. class=\"button\"><i class=\"fa fa-fw fa-check\"></i> {{ \"PLUGIN_ADMIN.CONTINUE\"|tu|e }}</button>
  129. <div class=\"spinning-wheel hidden\">
  130. {{ \"PLUGIN_ADMIN.INSTALLING\"|tu|e }}.. <i class=\"fa fa-spinner fa-spin\"></i>
  131. </div>
  132. </div>
  133. </div>
  134. <div class=\"reinstall-package-done hidden\">
  135. <h1>{{ \"PLUGIN_ADMIN.REINSTALLED_SUCCESSFULLY\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu])|e }}</h1>
  136. </div>
  137. <div class=\"reinstall-package-error hidden\">
  138. <h1>{{ \"PLUGIN_ADMIN.ERROR_REINSTALLING_THE\"|tu([(\"PLUGIN_ADMIN.\" ~ type|upper)|tu])|e }}</h1>
  139. </div>
  140. </form>
  141. </div>
  142. ", "partials/modal-reinstall-package.html.twig", "/home/kevin/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/modal-reinstall-package.html.twig");
  143. }
  144. }