var/cache/dev/twig/c6/c67b22c199df05dc2517386ea782d215.php line 102

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. /* areas_shared/settings.html.twig */
  14. class __TwigTemplate_5aff4a9f8ed9edad8213351ea43774e1 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.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas_shared/settings.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""areas_shared/settings.html.twig"));
  33.         // line 2
  34.         $context["anchor"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""anchor", ["width" => 200"placeholder" => "Anker"]);
  35.         // line 6
  36.         echo "
  37. ";
  38.         // line 8
  39.         $context["marginBottom"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""marginBottom", ["store" => [=> [=> "full-margin-bottom"=> "Normal"], => [=> "half-margin-bottom"=> "1/2"], => [=> "quarter-margin-bottom"=> "1/4"], => [=> "no-margin-bottom"=> "kein Abstand"]], "reload" => true]);
  40.         // line 17
  41.         echo "
  42. ";
  43.         // line 19
  44.         $context["paddingBottom"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""paddingBottom", ["store" => [=> [=> "full-padding-bottom"=> "Normal"], => [=> "half-padding-bottom"=> "1/2"], => [=> "no-padding-bottom"=> "kein Abstand"]], "reload" => true]);
  45.         // line 27
  46.         echo "
  47. ";
  48.         // line 29
  49.         $context["backgroundColor"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""backgroundColor", ["store" => [=> [=> "background-white"=> "Weiss"], => [=> "background-darkblue"=> "Dunkelblau"], => [=> "background-blue"=> "Blau"], => [=> "background-lightblue"=> "Hellblau"], => [=> "background-turquois"=> "Türkis"], => [=> "background-lightbrown"=> "Hellbraun"]], "reload" => true]);
  50.         // line 40
  51.         echo "
  52. ";
  53.         // line 42
  54.         if ((twig_get_attribute($this->env$this->source, (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'42$this->source); })()), "data", [], "any"falsefalsefalse42) == "background-white")) {
  55.             // line 43
  56.             echo "    ";
  57.             $context["buttonColor"] = "darkblue-to-turquois";
  58.         } elseif ((twig_get_attribute($this->env$this->source,         // line 44
  59. (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'44$this->source); })()), "data", [], "any"falsefalsefalse44) == "background-darkblue")) {
  60.             // line 45
  61.             echo "    ";
  62.             $context["buttonColor"] = "white-to-turquois";
  63.         } elseif ((twig_get_attribute($this->env$this->source,         // line 46
  64. (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'46$this->source); })()), "data", [], "any"falsefalsefalse46) == "background-blue")) {
  65.             // line 47
  66.             echo "    ";
  67.             $context["buttonColor"] = "white-to-turquois";
  68.         } elseif ((twig_get_attribute($this->env$this->source,         // line 48
  69. (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'48$this->source); })()), "data", [], "any"falsefalsefalse48) == "background-lightblue")) {
  70.             // line 49
  71.             echo "    ";
  72.             $context["buttonColor"] = "white-to-turquois";
  73.         } elseif ((twig_get_attribute($this->env$this->source,         // line 50
  74. (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'50$this->source); })()), "data", [], "any"falsefalsefalse50) == "background-turquois")) {
  75.             // line 51
  76.             echo "    ";
  77.             $context["buttonColor"] = "white-to-darkblue";
  78.         } elseif ((twig_get_attribute($this->env$this->source,         // line 52
  79. (isset($context["backgroundColor"]) || array_key_exists("backgroundColor"$context) ? $context["backgroundColor"] : (function () { throw new RuntimeError('Variable "backgroundColor" does not exist.'52$this->source); })()), "data", [], "any"falsefalsefalse52) == "background-lightbrown")) {
  80.             // line 53
  81.             echo "    ";
  82.             $context["buttonColor"] = "darkblue-to-white";
  83.         }
  84.         // line 55
  85.         echo "
  86. ";
  87.         // line 57
  88.         $context["aos"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""aos", ["store" => [=> [=> ""=> "Ohne"], => [=> "fade"=> "Fade"], => [=> "fade-up"=> "Fade-up"], => [=> "slide-up"=> "Slide-up"], => [=> "slide-middle"=> "Slide Middle"]], "defaultValue" => """reload" => true]);
  89.         // line 68
  90.         echo "
  91. ";
  92.         // line 70
  93.         $this->displayBlock("content"$context$blocks);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.     }
  99.     public function getTemplateName()
  100.     {
  101.         return "areas_shared/settings.html.twig";
  102.     }
  103.     public function isTraitable()
  104.     {
  105.         return false;
  106.     }
  107.     public function getDebugInfo()
  108.     {
  109.         return array (  102 => 70,  99 => 68,  97 => 57,  94 => 55,  90 => 53,  88 => 52,  85 => 51,  83 => 50,  80 => 49,  78 => 48,  75 => 47,  73 => 46,  70 => 45,  68 => 44,  65 => 43,  63 => 42,  60 => 40,  58 => 29,  55 => 27,  53 => 19,  50 => 17,  48 => 8,  45 => 6,  43 => 2,);
  110.     }
  111.     public function getSourceContext()
  112.     {
  113.         return new Source("{# anchor #}
  114. {% set anchor = pimcore_input('anchor', {
  115.     'width': 200,
  116.     'placeholder': 'Anker'
  117. }) %}
  118. {# margin bottom #}
  119. {% set marginBottom = pimcore_select('marginBottom', {
  120.     'store': [
  121.         ['full-margin-bottom', 'Normal'],
  122.         ['half-margin-bottom', '1/2'],
  123.         ['quarter-margin-bottom', '1/4'],
  124.         ['no-margin-bottom', 'kein Abstand']
  125.     ],
  126.     'reload': true
  127. }) %}
  128. {# padding bottom #}
  129. {% set paddingBottom = pimcore_select('paddingBottom', {
  130.     'store': [
  131.         ['full-padding-bottom', 'Normal'],
  132.         ['half-padding-bottom', '1/2'],
  133.         ['no-padding-bottom', 'kein Abstand']
  134.     ],
  135.     'reload': true
  136. }) %}
  137. {# background color #}
  138. {% set backgroundColor = pimcore_select('backgroundColor', {
  139.     'store': [
  140.         ['background-white', 'Weiss'],
  141.         ['background-darkblue', 'Dunkelblau'],
  142.         ['background-blue', 'Blau'],
  143.         ['background-lightblue', 'Hellblau'],
  144.         ['background-turquois', 'Türkis'],
  145.         ['background-lightbrown', 'Hellbraun']
  146.     ],
  147.     'reload': true
  148. }) %}
  149. {# button color #}
  150. {% if backgroundColor.data == 'background-white' %}
  151.     {% set buttonColor = 'darkblue-to-turquois' %}
  152. {% elseif backgroundColor.data == 'background-darkblue' %}
  153.     {% set buttonColor = 'white-to-turquois' %}
  154. {% elseif backgroundColor.data == 'background-blue' %}
  155.     {% set buttonColor = 'white-to-turquois' %}
  156. {% elseif backgroundColor.data == 'background-lightblue' %}
  157.     {% set buttonColor = 'white-to-turquois' %}
  158. {% elseif backgroundColor.data == 'background-turquois' %}
  159.     {% set buttonColor = 'white-to-darkblue' %}
  160. {% elseif backgroundColor.data == 'background-lightbrown' %}
  161.     {% set buttonColor = 'darkblue-to-white' %}
  162. {% endif %}
  163. {# aos #}
  164. {% set aos = pimcore_select('aos', {
  165.     'store': [
  166.         ['', 'Ohne'],
  167.         ['fade', 'Fade'],
  168.         ['fade-up', 'Fade-up'],
  169.         ['slide-up', 'Slide-up'],
  170.         ['slide-middle', 'Slide Middle'],
  171.     ],
  172.     'defaultValue': '',
  173.     'reload': true
  174. }) %}
  175. {# content #}
  176. {{ block('content') }}""areas_shared/settings.html.twig""/home/httpd/vhosts/a4interactive.ch/httpdocs/lutisbach.a4interactive.ch/templates/areas_shared/settings.html.twig");
  177.     }
  178. }