var/cache/dev/twig/14/14f288ac164f5a55001066772e8c30f0.php line 122

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. /* module/Content/__content-accordion-text-tabellen.html.twig */
  14. class __TwigTemplate_614cbf6bcf23edb16de82b850aece28f 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""module/Content/__content-accordion-text-tabellen.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""module/Content/__content-accordion-text-tabellen.html.twig"));
  35.         // line 1
  36.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'1$this->source); })())) {
  37.             // line 2
  38.             echo "
  39.     ";
  40.             // line 3
  41.             echo twig_include($this->env$context"includes/backend-kopf.html.twig");
  42.             echo "
  43.     ";
  44.             // line 5
  45.             $context["tabContentArray"] = [=> "Optional"=> "Content"];
  46.             // line 6
  47.             echo "    ";
  48.             $context["tab"] = 1;
  49.             // line 7
  50.             echo "
  51.     <div id=\"content\">
  52.         ";
  53.             // line 9
  54.             if ((array_key_exists("tabContentArray"$context) && twig_in_filter((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'9$this->source); })()), twig_get_array_keys_filter((isset($context["tabContentArray"]) || array_key_exists("tabContentArray"$context) ? $context["tabContentArray"] : (function () { throw new RuntimeError('Variable "tabContentArray" does not exist.'9$this->source); })()))))) {
  55.                 // line 10
  56.                 echo "            ";
  57.                 echo $this->extensions['App\Twig\Extension\GlanzerExtension']->getAdminTabs($this->sandbox->ensureToStringAllowed((isset($context["tab"]) || array_key_exists("tab"$context) ? $context["tab"] : (function () { throw new RuntimeError('Variable "tab" does not exist.'10$this->source); })()), 10$this->source), $this->sandbox->ensureToStringAllowed((isset($context["tabContentArray"]) || array_key_exists("tabContentArray"$context) ? $context["tabContentArray"] : (function () { throw new RuntimeError('Variable "tabContentArray" does not exist.'10$this->source); })()), 10$this->source));
  58.                 echo "
  59.         ";
  60.             }
  61.             // line 12
  62.             echo "        <section class=\"tabContent\">
  63.             <p class=\"hl\">Optionale Einstellung:</p>
  64.             ";
  65.             // line 15
  66.             $context["element"] = "artikel";
  67.             // line 16
  68.             echo "            <div id=\"";
  69.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["element"]) || array_key_exists("element"$context) ? $context["element"] : (function () { throw new RuntimeError('Variable "element" does not exist.'16$this->source); })()), 16$this->source), "html"nulltrue);
  70.             echo "\">
  71.                 ";
  72.             // line 17
  73.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"multiselect"$this->sandbox->ensureToStringAllowed((isset($context["element"]) || array_key_exists("element"$context) ? $context["element"] : (function () { throw new RuntimeError('Variable "element" does not exist.'17$this->source); })()), 17$this->source), ["width" => 200"height" => 100"store" => [=> [=> "abstand-top"=> "Abstand nach oben"], => [=> "abstand-bottom"=> "Abstand nach unten"]]]);
  74.             // line 24
  75.             echo "
  76.             </div>
  77.         </section>
  78.         ";
  79.             // line 29
  80.             if ((array_key_exists("tabContentArray"$context) && twig_in_filter(2twig_get_array_keys_filter((isset($context["tabContentArray"]) || array_key_exists("tabContentArray"$context) ? $context["tabContentArray"] : (function () { throw new RuntimeError('Variable "tabContentArray" does not exist.'29$this->source); })()))))) {
  81.                 // line 30
  82.                 echo "            ";
  83.                 echo $this->extensions['App\Twig\Extension\GlanzerExtension']->getAdminTabs(2$this->sandbox->ensureToStringAllowed((isset($context["tabContentArray"]) || array_key_exists("tabContentArray"$context) ? $context["tabContentArray"] : (function () { throw new RuntimeError('Variable "tabContentArray" does not exist.'30$this->source); })()), 30$this->source));
  84.                 echo "
  85.             <section class=\"tabContent\">
  86.                 ";
  87.                 // line 33
  88.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""AreablockAccordion", ["allowed" => [=> "AccordionTextWysiwyg"=> "AccordionTablePerDraganddrop"], "toolbar" => false"areablock_toolbar" => ["title" => "Content Konfiguration""width" => 274"x" => 570"y" => 41"xAlign" => "left""buttonWidth" => 270"buttonMaxCharacters" => 35]]);
  89.                 // line 45
  90.                 echo "
  91.                 <br /><br />
  92.             </section>
  93.         ";
  94.             }
  95.             // line 49
  96.             echo "    </div>
  97.     ";
  98.             // line 50
  99.             echo twig_include($this->env$context"includes/backend-fuss.html.twig");
  100.             echo "
  101. ";
  102.         } else {
  103.             // line 53
  104.             echo "
  105.     ";
  106.             // line 54
  107.             $context["abstand_top_class"] = ((($this->extensions['App\Twig\Extension\GlanzerExtension']->checkMultiselect($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"multiselect""artikel"), "abstand-top") == true)) ? (" abstand-top") : (""));
  108.             // line 55
  109.             echo "    ";
  110.             $context["abstand_bottom_class"] = ((($this->extensions['App\Twig\Extension\GlanzerExtension']->checkMultiselect($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"multiselect""artikel"), "abstand-bottom") == true)) ? (" abstand-bottom") : (""));
  111.             // line 56
  112.             echo "
  113.     ";
  114.             // line 57
  115.             $context["abstandClasses"] = ($this->sandbox->ensureToStringAllowed((isset($context["abstand_top_class"]) || array_key_exists("abstand_top_class"$context) ? $context["abstand_top_class"] : (function () { throw new RuntimeError('Variable "abstand_top_class" does not exist.'57$this->source); })()), 57$this->source) . $this->sandbox->ensureToStringAllowed((isset($context["abstand_bottom_class"]) || array_key_exists("abstand_bottom_class"$context) ? $context["abstand_bottom_class"] : (function () { throw new RuntimeError('Variable "abstand_bottom_class" does not exist.'57$this->source); })()), 57$this->source));
  116.             // line 58
  117.             echo "    <div class=\"constrainer-maxsize edgepadding";
  118.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["abstandClasses"]) || array_key_exists("abstandClasses"$context) ? $context["abstandClasses"] : (function () { throw new RuntimeError('Variable "abstandClasses" does not exist.'58$this->source); })()), 58$this->source), "html"nulltrue);
  119.             echo "\">
  120.         <section class=\"bellows\">
  121.             ";
  122.             // line 60
  123.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"areablock""AreablockAccordion", ["params" => ["AccordionTablePerDraganddrop" => ["accordion" => 1]]]);
  124.             // line 66
  125.             echo "
  126.         </section>
  127.     </div>
  128. ";
  129.         }
  130.         
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  132.         
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  134.     }
  135.     public function getTemplateName()
  136.     {
  137.         return "module/Content/__content-accordion-text-tabellen.html.twig";
  138.     }
  139.     public function isTraitable()
  140.     {
  141.         return false;
  142.     }
  143.     public function getDebugInfo()
  144.     {
  145.         return array (  140 => 66,  138 => 60,  132 => 58,  130 => 57,  127 => 56,  124 => 55,  122 => 54,  119 => 53,  113 => 50,  110 => 49,  104 => 45,  102 => 33,  95 => 30,  93 => 29,  86 => 24,  84 => 17,  79 => 16,  77 => 15,  72 => 12,  66 => 10,  64 => 9,  60 => 7,  57 => 6,  55 => 5,  50 => 3,  47 => 2,  45 => 1,);
  146.     }
  147.     public function getSourceContext()
  148.     {
  149.         return new Source("{% if editmode %}
  150.     {{ include('includes/backend-kopf.html.twig') }}
  151.     {% set tabContentArray = {1: 'Optional', 2: 'Content'} %}
  152.     {% set tab = 1 %}
  153.     <div id=\"content\">
  154.         {% if tabContentArray is defined and tab in tabContentArray|keys %}
  155.             {{ admin_tabs(tab, tabContentArray) | raw }}
  156.         {% endif %}
  157.         <section class=\"tabContent\">
  158.             <p class=\"hl\">Optionale Einstellung:</p>
  159.             {% set element = 'artikel' %}
  160.             <div id=\"{{ element }}\">
  161.                 {{ pimcore_multiselect(element, {
  162.                     'width': 200,
  163.                     'height': 100,
  164.                     'store': [
  165.                         ['abstand-top', 'Abstand nach oben'],
  166.                         ['abstand-bottom', 'Abstand nach unten']
  167.                     ]
  168.                 }) }}
  169.             </div>
  170.         </section>
  171.         {% if tabContentArray is defined and 2 in tabContentArray|keys %}
  172.             {{ admin_tabs(2, tabContentArray) | raw }}
  173.             <section class=\"tabContent\">
  174.                 {{ pimcore_areablock(\"AreablockAccordion\", {
  175.                     \"allowed\": [\"AccordionTextWysiwyg\",\"AccordionTablePerDraganddrop\"],
  176.                     \"toolbar\": false,
  177.                     \"areablock_toolbar\": {
  178.                         \"title\": \"Content Konfiguration\",
  179.                         \"width\": 274,
  180.                         \"x\": 570,
  181.                         \"y\": 41,
  182.                         \"xAlign\": \"left\",
  183.                         \"buttonWidth\": 270,
  184.                         \"buttonMaxCharacters\": 35
  185.                     }
  186.                 }) }}
  187.                 <br /><br />
  188.             </section>
  189.         {% endif %}
  190.     </div>
  191.     {{ include('includes/backend-fuss.html.twig') }}
  192. {% else %}
  193.     {% set abstand_top_class = (checkMultiselect(pimcore_multiselect(\"artikel\"),'abstand-top') == true)? ' abstand-top' : '' %}
  194.     {% set abstand_bottom_class = (checkMultiselect(pimcore_multiselect(\"artikel\"),'abstand-bottom') == true)? ' abstand-bottom' : '' %}
  195.     {% set abstandClasses = abstand_top_class ~ abstand_bottom_class %}
  196.     <div class=\"constrainer-maxsize edgepadding{{ abstandClasses }}\">
  197.         <section class=\"bellows\">
  198.             {{ pimcore_areablock(\"AreablockAccordion\", {
  199.                 \"params\": {
  200.                     \"AccordionTablePerDraganddrop\": {
  201.                         \"accordion\": 1
  202.                     }
  203.                 }
  204.             }) }}
  205.         </section>
  206.     </div>
  207. {% endif %}
  208. ""module/Content/__content-accordion-text-tabellen.html.twig""/var/www/vhosts/jumpalionenbabaloo.at/httpdocs/templates/module/Content/__content-accordion-text-tabellen.html.twig");
  209.     }
  210.     
  211.     public function checkSecurity()
  212.     {
  213.         static $tags = array("if" => 1"set" => 5);
  214.         static $filters = array("keys" => 9"raw" => 10"escape" => 16);
  215.         static $functions = array("include" => 3"admin_tabs" => 10"pimcore_multiselect" => 17"pimcore_areablock" => 33"checkMultiselect" => 54);
  216.         try {
  217.             $this->sandbox->checkSecurity(
  218.                 ['if''set'],
  219.                 ['keys''raw''escape'],
  220.                 ['include''admin_tabs''pimcore_multiselect''pimcore_areablock''checkMultiselect']
  221.             );
  222.         } catch (SecurityError $e) {
  223.             $e->setSourceContext($this->source);
  224.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  225.                 $e->setTemplateLine($tags[$e->getTagName()]);
  226.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  227.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  228.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  229.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  230.             }
  231.             throw $e;
  232.         }
  233.     }
  234. }