<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* module/Form/__bewertungen-shops-senden.html.twig */
class __TwigTemplate_7798775a04d25d637f9f7b597a8793f8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "module/Form/__bewertungen-shops-senden.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "module/Form/__bewertungen-shops-senden.html.twig"));
// line 1
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 1, $this->source); })())) {
// line 2
echo "
";
// line 3
echo twig_include($this->env, $context, "includes/backend-kopf.html.twig");
echo "
";
// line 5
$context["tabContentArray"] = [1 => "Optional", 2 => "Beschriftung"];
// line 6
echo " ";
$context["tab"] = 1;
// line 7
echo "
<div id=\"content\">
";
// line 9
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); })()))))) {
// line 10
echo " ";
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));
echo "
<section class=\"tabContent\">
<p class=\"hl\">Optionale Einstellung:</p>
";
// line 15
$context["element"] = "artikel";
// line 16
echo " <div id=\"";
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", null, true);
echo " \">
";
// line 17
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" => [0 => [0 => "abstand-top", 1 => "Abstand nach oben"], 1 => [0 => "abstand-bottom", 1 => "Abstand nach unten"]]]);
// line 24
echo "
</div>
</section>
";
}
// line 30
echo "
";
// line 31
if ((array_key_exists("tabContentArray", $context) && twig_in_filter(2, twig_get_array_keys_filter((isset($context["tabContentArray"]) || array_key_exists("tabContentArray", $context) ? $context["tabContentArray"] : (function () { throw new RuntimeError('Variable "tabContentArray" does not exist.', 31, $this->source); })()))))) {
// line 32
echo " ";
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.', 32, $this->source); })()), 32, $this->source));
echo "
<section class=\"tabContent\">
<p class=\"hl\">FREUNDLICHKEIT:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Titel</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 39
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "label_freundlichkeit", ["width" => 520]);
echo "</span></div>
<br /><br />
<strong style=\"display:block;padding-left:37px;margin-bottom:6px\">Text</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 44
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "text_freundlichkeit", ["width" => 520]);
echo "</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">ATMOSPHÄRE:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Titel</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 53
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "label_atmosphaere", ["width" => 520]);
echo "</span></div>
<br /><br />
<strong style=\"display:block;padding-left:37px;margin-bottom:6px\">Text</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 58
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "text_atmosphaere", ["width" => 520]);
echo "</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">WARTEZEIT:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Titel</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 68
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "label_wartezeit", ["width" => 520]);
echo "</span></div>
<br /><br />
<strong style=\"display:block;padding-left:37px;margin-bottom:6px\">Text</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 73
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "text_wartezeit", ["width" => 520]);
echo "</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">WARE:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Titel</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 82
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "label_ware", ["width" => 520]);
echo "</span></div>
<br /><br />
<strong style=\"display:block;padding-left:37px;margin-bottom:6px\">Text</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 87
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "text_ware", ["width" => 520]);
echo "</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">MEIN PERSÖNLICHES FEEDBACK:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Label:</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 96
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "label_persFeedback", ["width" => 520]);
echo "</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">PERSÖNLICHE DATEN:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Label:</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 105
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "label_persDaten", ["width" => 520]);
echo "</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">E-MAIL:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Label:</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">";
// line 114
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "label_email", ["width" => 520]);
echo "</span></div>
<br /><br /><br /><br />
</section>
";
}
// line 119
echo " </div>
";
// line 120
echo twig_include($this->env, $context, "includes/backend-fuss.html.twig");
echo "
";
} else {
// line 123
echo "
";
// line 124
$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") : (""));
// line 125
echo " ";
$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") : (""));
// line 126
echo "
";
// line 127
$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.', 127, $this->source); })()), 127, $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.', 127, $this->source); })()), 127, $this->source));
// line 128
echo " <div class=\"feedback-form-wrapper";
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.', 128, $this->source); })()), 128, $this->source), "html", null, true);
echo "\">
<div class=\"constrainer-inner edgepadding\">
";
// line 131
$context["formTemplate"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["frontend"]) || array_key_exists("frontend", $context) ? $context["frontend"] : (function () { throw new RuntimeError('Variable "frontend" does not exist.', 131, $this->source); })()), "formular", [], "any", false, false, true, 131), "formTemplate", [], "any", false, false, true, 131);
// line 132
echo " ";
if ( !twig_test_empty((isset($context["formTemplate"]) || array_key_exists("formTemplate", $context) ? $context["formTemplate"] : (function () { throw new RuntimeError('Variable "formTemplate" does not exist.', 132, $this->source); })()))) {
// line 133
echo " ";
// line 134
echo " ";
$this->loadTemplate(("module/Form/forms/" . (isset($context["formTemplate"]) || array_key_exists("formTemplate", $context) ? $context["formTemplate"] : (function () { throw new RuntimeError('Variable "formTemplate" does not exist.', 134, $this->source); })())), "module/Form/__bewertungen-shops-senden.html.twig", 134)->display(twig_array_merge($context, ["frontend" => (isset($context["frontend"]) || array_key_exists("frontend", $context) ? $context["frontend"] : (function () { throw new RuntimeError('Variable "frontend" does not exist.', 134, $this->source); })())]));
// line 135
echo " ";
}
// line 136
echo " </div>
</div>
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "module/Form/__bewertungen-shops-senden.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 263 => 136, 260 => 135, 257 => 134, 255 => 133, 252 => 132, 250 => 131, 243 => 128, 241 => 127, 238 => 126, 235 => 125, 233 => 124, 230 => 123, 224 => 120, 221 => 119, 213 => 114, 201 => 105, 189 => 96, 177 => 87, 169 => 82, 157 => 73, 149 => 68, 136 => 58, 128 => 53, 116 => 44, 108 => 39, 97 => 32, 95 => 31, 92 => 30, 84 => 24, 82 => 17, 77 => 16, 75 => 15, 66 => 10, 64 => 9, 60 => 7, 57 => 6, 55 => 5, 50 => 3, 47 => 2, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% if editmode %}
{{ include('includes/backend-kopf.html.twig') }}
{% set tabContentArray = {1: 'Optional', 2: 'Beschriftung'} %}
{% set tab = 1 %}
<div id=\"content\">
{% if tabContentArray is defined and tab in tabContentArray|keys %}
{{ admin_tabs(tab, tabContentArray) | raw }}
<section class=\"tabContent\">
<p class=\"hl\">Optionale Einstellung:</p>
{% set element = 'artikel' %}
<div id=\"{{ element }} \">
{{ pimcore_multiselect(element, {
'width': 200,
'height': 100,
'store': [
['abstand-top', 'Abstand nach oben'],
['abstand-bottom', 'Abstand nach unten']
]
}) }}
</div>
</section>
{% endif %}
{% if tabContentArray is defined and 2 in tabContentArray|keys %}
{{ admin_tabs(2, tabContentArray) | raw }}
<section class=\"tabContent\">
<p class=\"hl\">FREUNDLICHKEIT:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Titel</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_input(\"label_freundlichkeit\", {'width': 520}) }}</span></div>
<br /><br />
<strong style=\"display:block;padding-left:37px;margin-bottom:6px\">Text</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_textarea(\"text_freundlichkeit\", {'width': 520}) }}</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">ATMOSPHÄRE:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Titel</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_input(\"label_atmosphaere\", {'width': 520}) }}</span></div>
<br /><br />
<strong style=\"display:block;padding-left:37px;margin-bottom:6px\">Text</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_textarea(\"text_atmosphaere\", {'width': 520}) }}</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">WARTEZEIT:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Titel</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_input(\"label_wartezeit\", {'width': 520}) }}</span></div>
<br /><br />
<strong style=\"display:block;padding-left:37px;margin-bottom:6px\">Text</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_textarea(\"text_wartezeit\", {'width': 520}) }}</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">WARE:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Titel</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_input(\"label_ware\", {'width': 520}) }}</span></div>
<br /><br />
<strong style=\"display:block;padding-left:37px;margin-bottom:6px\">Text</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_textarea(\"text_ware\", {'width': 520}) }}</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">MEIN PERSÖNLICHES FEEDBACK:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Label:</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_input(\"label_persFeedback\", {'width': 520}) }}</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">PERSÖNLICHE DATEN:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Label:</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_input(\"label_persDaten\", {'width': 520}) }}</span></div>
<br /><br /><br /><br /><hr /><hr /><br /><br />
<p class=\"hl\">E-MAIL:</p>
<strong style=\"display:block;padding-left:37px;margin-bottom:6px;\">Label:</strong>
<div class=\"schreiben\"><span class=\"parentbox\" style=\"background-color:#fff\">{{ pimcore_input(\"label_email\", {'width': 520}) }}</span></div>
<br /><br /><br /><br />
</section>
{% endif %}
</div>
{{ include('includes/backend-fuss.html.twig') }}
{% else %}
{% set abstand_top_class = (checkMultiselect(pimcore_multiselect(\"artikel\"),'abstand-top') == true)? ' abstand-top' : '' %}
{% set abstand_bottom_class = (checkMultiselect(pimcore_multiselect(\"artikel\"),'abstand-bottom') == true)? ' abstand-bottom' : '' %}
{% set abstandClasses = abstand_top_class ~ abstand_bottom_class %}
<div class=\"feedback-form-wrapper{{ abstandClasses }}\">
<div class=\"constrainer-inner edgepadding\">
{% set formTemplate = frontend.formular.formTemplate %}
{% if formTemplate is not empty %}
{# { include('module/Form/forms/schnellanfrage-home.html.twig', ['frontend': frontend]) }#}
{% include 'module/Form/forms/'~formTemplate with {'frontend': frontend} %}
{% endif %}
</div>
</div>
{% endif %}", "module/Form/__bewertungen-shops-senden.html.twig", "/var/www/vhosts/jumpalionenbabaloo.at/httpdocs/templates/module/Form/__bewertungen-shops-senden.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 1, "set" => 5, "include" => 134);
static $filters = array("keys" => 9, "raw" => 10, "escape" => 16);
static $functions = array("include" => 3, "admin_tabs" => 10, "pimcore_multiselect" => 17, "pimcore_input" => 39, "pimcore_textarea" => 44, "checkMultiselect" => 124);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'include'],
['keys', 'raw', 'escape'],
['include', 'admin_tabs', 'pimcore_multiselect', 'pimcore_input', 'pimcore_textarea', 'checkMultiselect']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}