a111ffac106480d70a72dba293e74dc76562004ca3ba8cbf17675b9e15bb3c32.php 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. /* partials/page-legend.html.twig */
  3. class __TwigTemplate_2856112089be2c0c3734563019ce4e74cf4381a05c10b43de7f7f78ada9e10b4 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. $context["legend"] = array("VISIBLE" => "", "NON_ROUTABLE" => "not-routable", "NON_VISIBLE" => "not-visible", "MODULAR" => "modular");
  16. // line 2
  17. echo "<div id=\"pages-legend\">
  18. <strong>";
  19. // line 3
  20. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.LEGEND"), "html", null, true);
  21. echo ":</strong>
  22. <ul>
  23. ";
  24. // line 5
  25. $context['_parent'] = $context;
  26. $context['_seq'] = twig_ensure_traversable(($context["legend"] ?? null));
  27. foreach ($context['_seq'] as $context["key"] => $context["class"]) {
  28. // line 6
  29. echo " <li><i class=\"page-icon fa fa-fw fa-circle-o ";
  30. echo twig_escape_filter($this->env, $context["class"], "html", null, true);
  31. echo "\"></i> ";
  32. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter(("PLUGIN_ADMIN." . $context["key"])), "html", null, true);
  33. echo "</li>
  34. ";
  35. }
  36. $_parent = $context['_parent'];
  37. unset($context['_seq'], $context['_iterated'], $context['key'], $context['class'], $context['_parent'], $context['loop']);
  38. $context = array_intersect_key($context, $_parent) + $_parent;
  39. // line 8
  40. echo " </ul>
  41. </div>
  42. ";
  43. }
  44. public function getTemplateName()
  45. {
  46. return "partials/page-legend.html.twig";
  47. }
  48. public function isTraitable()
  49. {
  50. return false;
  51. }
  52. public function getDebugInfo()
  53. {
  54. return array ( 44 => 8, 33 => 6, 29 => 5, 24 => 3, 21 => 2, 19 => 1,);
  55. }
  56. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  57. public function getSource()
  58. {
  59. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  60. return $this->getSourceContext()->getCode();
  61. }
  62. public function getSourceContext()
  63. {
  64. return new Twig_Source("{% set legend = {'VISIBLE':'', 'NON_ROUTABLE':'not-routable', 'NON_VISIBLE':'not-visible', 'MODULAR':'modular'} %}
  65. <div id=\"pages-legend\">
  66. <strong>{{ 'PLUGIN_ADMIN.LEGEND'|tu }}:</strong>
  67. <ul>
  68. {% for key, class in legend %}
  69. <li><i class=\"page-icon fa fa-fw fa-circle-o {{ class }}\"></i> {{ ('PLUGIN_ADMIN.'~key)|tu }}</li>
  70. {% endfor %}
  71. </ul>
  72. </div>
  73. ", "partials/page-legend.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/page-legend.html.twig");
  74. }
  75. }