var/cache/dev/twig/ec/ec949457e83b52c04a9869085acbdaf1.php line 46

Open in your IDE?
  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. /* @Provider/partials/accessibility-shortcuts.html.twig */
  14. class __TwigTemplate_112a802ce1677a2bc5273423b5a64b48 extends 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Provider/partials/accessibility-shortcuts.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Provider/partials/accessibility-shortcuts.html.twig"));
  35.         // line 1
  36.         echo "<a href=\"#content\" class=\"a11y--jump-link sr-only-focusable\" accesskey=\"0\">";
  37.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Zum Inhalt springen (Alt+0)"), "html"nulltrue);
  38.         echo "</a>
  39. <a href=\"#main-nav\" class=\"a11y--jump-link sr-only-focusable\" accesskey=\"1\">";
  40.         // line 2
  41.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Zum Hauptmenü springen (Alt+1)"), "html"nulltrue);
  42.         echo "</a>
  43. ";
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     public function getTemplateName()
  50.     {
  51.         return "@Provider/partials/accessibility-shortcuts.html.twig";
  52.     }
  53.     public function isTraitable()
  54.     {
  55.         return false;
  56.     }
  57.     public function getDebugInfo()
  58.     {
  59.         return array (  50 => 2,  45 => 1,);
  60.     }
  61.     public function getSourceContext()
  62.     {
  63.         return new Source("<a href=\"#content\" class=\"a11y--jump-link sr-only-focusable\" accesskey=\"0\">{{ 'Zum Inhalt springen (Alt+0)' | trans }}</a>
  64. <a href=\"#main-nav\" class=\"a11y--jump-link sr-only-focusable\" accesskey=\"1\">{{ 'Zum Hauptmenü springen (Alt+1)' | trans }}</a>
  65. ""@Provider/partials/accessibility-shortcuts.html.twig""/html/pimcore/vendor/conecto/pimcore-provider/src/ProviderBundle/Resources/views/partials/accessibility-shortcuts.html.twig");
  66.     }
  67.     
  68.     public function checkSecurity()
  69.     {
  70.         static $tags = array();
  71.         static $filters = array("escape" => 1"trans" => 1);
  72.         static $functions = array();
  73.         try {
  74.             $this->sandbox->checkSecurity(
  75.                 [],
  76.                 ['escape''trans'],
  77.                 []
  78.             );
  79.         } catch (SecurityError $e) {
  80.             $e->setSourceContext($this->source);
  81.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  82.                 $e->setTemplateLine($tags[$e->getTagName()]);
  83.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  84.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  85.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  86.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  87.             }
  88.             throw $e;
  89.         }
  90.     }
  91. }