Initial commit

This commit is contained in:
2019-11-20 07:44:43 +01:00
commit 5bf49c4a81
41188 changed files with 5459177 additions and 0 deletions

View File

@@ -0,0 +1,376 @@
<?php
/* @PrestaShop/Admin/Helpers/range_inputs.html.twig */
class __TwigTemplate_4d37881eb6e3fba00ec6f3dc10237d42d320d185747048d83fb2b5f627e5a1af extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
);
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_6a2a9456760e2f05c14a6c01f1d5851582deb8c8ee96b68bd54a4e1096b4f3bd = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_6a2a9456760e2f05c14a6c01f1d5851582deb8c8ee96b68bd54a4e1096b4f3bd->enter($__internal_6a2a9456760e2f05c14a6c01f1d5851582deb8c8ee96b68bd54a4e1096b4f3bd_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Helpers/range_inputs.html.twig"));
$__internal_86e268a8508eb66765d882dc3f06553476b384c31ac978bd326ad21d1b6d388e = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_86e268a8508eb66765d882dc3f06553476b384c31ac978bd326ad21d1b6d388e->enter($__internal_86e268a8508eb66765d882dc3f06553476b384c31ac978bd326ad21d1b6d388e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Helpers/range_inputs.html.twig"));
// line 26
echo "<script>
\$(document).ready(function() {
var sliderInput = \$('#";
// line 28
echo twig_escape_filter($this->env, ($context["input_name"] ?? $this->getContext($context, "input_name")), "html", null, true);
echo "');
var minInput = \$('#";
// line 29
echo twig_escape_filter($this->env, ($context["input_name"] ?? $this->getContext($context, "input_name")), "html", null, true);
echo "_min');
var maxInput = \$('#";
// line 30
echo twig_escape_filter($this->env, ($context["input_name"] ?? $this->getContext($context, "input_name")), "html", null, true);
echo "_max');
// parse and fix init value
var value = sliderInput.attr('sql');
if (value != '') {
\t value = value.replace('BETWEEN ', '');
\t value = value.replace(' AND ', ',');
\t value = value.replace('<=', '";
// line 37
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo ",');
\t value = value.replace('>=', '";
// line 38
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo ",');
\t value = value.split(',');
\t value[0] = Number(value[0]);
\t value[1] = Number(value[1]);
} else {
value = [";
// line 43
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo ", ";
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo "];
}
value = value.sort(function sortNumber(a,b) {
return a - b;
});
// Init inputs
if (value[0] > ";
// line 50
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo ")
minInput.val(value[0]);
if (value[1] < ";
// line 52
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo ")
maxInput.val(value[1]);
// Change events
var inputFlasher = function(input) {
// animate input to highlight it (like a pulsate effect on jqueryUI)
\$(input).stop().delay(100)
.fadeIn(100).fadeOut(100)
.queue(function() { \$(this).css(\"background-color\", \"#FF5555\").dequeue(); })
.fadeIn(160).fadeOut(160).fadeIn(160).fadeOut(160).fadeIn(160)
.animate({ backgroundColor: \"#FFFFFF\"}, 800);
};
var updater = function(srcElement) {
var isMinModified = (srcElement.attr('id') == minInput.attr('id'));
// retrieve values, replace ',' by '.', cast them into numbers (float/int)
var newValues = [(minInput.val()!='')?Number(minInput.val().replace(',', '.')):";
// line 68
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo ", (maxInput.val()!='')?Number(maxInput.val().replace(',', '.')):";
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo "];
// if newValues are out of bounds, or not valid, fix the element.
if (isMinModified && !(newValues[0] >= ";
// line 71
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo " && newValues[0] <= ";
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo ")) {
newValues[0] = ";
// line 72
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo ";
minInput.val('');
inputFlasher(minInput);
}
if (!isMinModified && !(newValues[1] >= ";
// line 76
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo " && newValues[1] <= ";
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo ")) {
newValues[1] = ";
// line 77
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo ";
maxInput.val('');
inputFlasher(maxInput);
}
// if newValues are not ordered, fix the opposite input.
if (isMinModified && newValues[0] > newValues[1]) {
newValues[1] = newValues[0];
maxInput.val(newValues[0]);
inputFlasher(maxInput);
}
if (!isMinModified && newValues[0] > newValues[1]) {
newValues[0] = newValues[1];
minInput.val(newValues[0]);
inputFlasher(minInput);
}
if (newValues[0] == ";
// line 94
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo " && newValues[1] == ";
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo ") {
sliderInput.attr('sql', '');
} else if (newValues[0] == ";
// line 96
echo twig_escape_filter($this->env, ((array_key_exists("min", $context)) ? (_twig_default_filter(($context["min"] ?? $this->getContext($context, "min")), "0")) : ("0")), "html", null, true);
echo ") {
sliderInput.attr('sql', '<='+newValues[1]);
} else if (newValues[1] == ";
// line 98
echo twig_escape_filter($this->env, ((array_key_exists("max", $context)) ? (_twig_default_filter(($context["max"] ?? $this->getContext($context, "max")), "1000000000")) : ("1000000000")), "html", null, true);
echo ") {
sliderInput.attr('sql', '>='+newValues[0]);
} else {
sliderInput.attr('sql', 'BETWEEN ' + newValues[0] + ' AND ' + newValues[1]);
}
";
// line 104
if (array_key_exists("on_change_func_name", $context)) {
// line 105
echo " var afterUpdate = function() {
";
// line 106
echo ($context["on_change_func_name"] ?? $this->getContext($context, "on_change_func_name"));
echo "
};
afterUpdate();
";
}
// line 110
echo " }
minInput.on('change', function(event) {
updater(\$(event.srcElement));
});
maxInput.on('change', function(event) {
updater(\$(event.srcElement));
});
});
</script>
<div id=\"";
// line 119
echo twig_escape_filter($this->env, ($context["input_name"] ?? $this->getContext($context, "input_name")), "html", null, true);
echo "_div\">
<input type=\"hidden\" id=\"";
// line 120
echo twig_escape_filter($this->env, ($context["input_name"] ?? $this->getContext($context, "input_name")), "html", null, true);
echo "\" name=\"";
echo twig_escape_filter($this->env, ($context["input_name"] ?? $this->getContext($context, "input_name")), "html", null, true);
echo "\" value=\"\" sql=\"";
echo twig_escape_filter($this->env, ($context["value"] ?? $this->getContext($context, "value")), "html", null, true);
echo "\" />
<input class=\"form-control form-min-max\" type=\"text\" id=\"";
// line 121
echo twig_escape_filter($this->env, ($context["input_name"] ?? $this->getContext($context, "input_name")), "html", null, true);
echo "_min\" value=\"\" placeholder=\"";
echo twig_escape_filter($this->env, ((array_key_exists("minLabel", $context)) ? (_twig_default_filter(($context["minLabel"] ?? $this->getContext($context, "minLabel")), "Min")) : ("Min")), "html", null, true);
echo "\" ";
if (((array_key_exists("disabled", $context)) ? (_twig_default_filter(($context["disabled"] ?? $this->getContext($context, "disabled")), false)) : (false))) {
echo "disabled";
}
echo " />
<input class=\"form-control form-min-max\" type=\"text\" id=\"";
// line 122
echo twig_escape_filter($this->env, ($context["input_name"] ?? $this->getContext($context, "input_name")), "html", null, true);
echo "_max\" value=\"\" placeholder=\"";
echo twig_escape_filter($this->env, ((array_key_exists("maxLabel", $context)) ? (_twig_default_filter(($context["maxLabel"] ?? $this->getContext($context, "maxLabel")), "Max")) : ("Max")), "html", null, true);
echo "\" ";
if (((array_key_exists("disabled", $context)) ? (_twig_default_filter(($context["disabled"] ?? $this->getContext($context, "disabled")), false)) : (false))) {
echo "disabled";
}
echo " />
</div>
";
$__internal_6a2a9456760e2f05c14a6c01f1d5851582deb8c8ee96b68bd54a4e1096b4f3bd->leave($__internal_6a2a9456760e2f05c14a6c01f1d5851582deb8c8ee96b68bd54a4e1096b4f3bd_prof);
$__internal_86e268a8508eb66765d882dc3f06553476b384c31ac978bd326ad21d1b6d388e->leave($__internal_86e268a8508eb66765d882dc3f06553476b384c31ac978bd326ad21d1b6d388e_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Helpers/range_inputs.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 208 => 122, 198 => 121, 190 => 120, 186 => 119, 175 => 110, 168 => 106, 165 => 105, 163 => 104, 154 => 98, 149 => 96, 142 => 94, 122 => 77, 116 => 76, 109 => 72, 103 => 71, 95 => 68, 76 => 52, 71 => 50, 59 => 43, 51 => 38, 47 => 37, 37 => 30, 33 => 29, 29 => 28, 25 => 26,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{#**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*#}
{# Display a range input with min/max controls #}
<script>
\$(document).ready(function() {
var sliderInput = \$('#{{ input_name }}');
var minInput = \$('#{{ input_name }}_min');
var maxInput = \$('#{{ input_name }}_max');
// parse and fix init value
var value = sliderInput.attr('sql');
if (value != '') {
\t value = value.replace('BETWEEN ', '');
\t value = value.replace(' AND ', ',');
\t value = value.replace('<=', '{{ min|default('0') }},');
\t value = value.replace('>=', '{{ max|default('1000000000') }},');
\t value = value.split(',');
\t value[0] = Number(value[0]);
\t value[1] = Number(value[1]);
} else {
value = [{{ min|default('0') }}, {{ max|default('1000000000') }}];
}
value = value.sort(function sortNumber(a,b) {
return a - b;
});
// Init inputs
if (value[0] > {{ min|default('0') }})
minInput.val(value[0]);
if (value[1] < {{ max|default('1000000000') }})
maxInput.val(value[1]);
// Change events
var inputFlasher = function(input) {
// animate input to highlight it (like a pulsate effect on jqueryUI)
\$(input).stop().delay(100)
.fadeIn(100).fadeOut(100)
.queue(function() { \$(this).css(\"background-color\", \"#FF5555\").dequeue(); })
.fadeIn(160).fadeOut(160).fadeIn(160).fadeOut(160).fadeIn(160)
.animate({ backgroundColor: \"#FFFFFF\"}, 800);
};
var updater = function(srcElement) {
var isMinModified = (srcElement.attr('id') == minInput.attr('id'));
// retrieve values, replace ',' by '.', cast them into numbers (float/int)
var newValues = [(minInput.val()!='')?Number(minInput.val().replace(',', '.')):{{ min|default('0') }}, (maxInput.val()!='')?Number(maxInput.val().replace(',', '.')):{{ max|default('1000000000') }}];
// if newValues are out of bounds, or not valid, fix the element.
if (isMinModified && !(newValues[0] >= {{ min|default('0') }} && newValues[0] <= {{ max|default('1000000000') }})) {
newValues[0] = {{ min|default('0') }};
minInput.val('');
inputFlasher(minInput);
}
if (!isMinModified && !(newValues[1] >= {{ min|default('0') }} && newValues[1] <= {{ max|default('1000000000') }})) {
newValues[1] = {{ max|default('1000000000') }};
maxInput.val('');
inputFlasher(maxInput);
}
// if newValues are not ordered, fix the opposite input.
if (isMinModified && newValues[0] > newValues[1]) {
newValues[1] = newValues[0];
maxInput.val(newValues[0]);
inputFlasher(maxInput);
}
if (!isMinModified && newValues[0] > newValues[1]) {
newValues[0] = newValues[1];
minInput.val(newValues[0]);
inputFlasher(minInput);
}
if (newValues[0] == {{ min|default('0') }} && newValues[1] == {{ max|default('1000000000') }}) {
sliderInput.attr('sql', '');
} else if (newValues[0] == {{ min|default('0') }}) {
sliderInput.attr('sql', '<='+newValues[1]);
} else if (newValues[1] == {{ max|default('1000000000') }}) {
sliderInput.attr('sql', '>='+newValues[0]);
} else {
sliderInput.attr('sql', 'BETWEEN ' + newValues[0] + ' AND ' + newValues[1]);
}
{% if on_change_func_name is defined %}
var afterUpdate = function() {
{{ on_change_func_name|raw }}
};
afterUpdate();
{% endif %}
}
minInput.on('change', function(event) {
updater(\$(event.srcElement));
});
maxInput.on('change', function(event) {
updater(\$(event.srcElement));
});
});
</script>
<div id=\"{{ input_name }}_div\">
<input type=\"hidden\" id=\"{{ input_name }}\" name=\"{{ input_name }}\" value=\"\" sql=\"{{ value }}\" />
<input class=\"form-control form-min-max\" type=\"text\" id=\"{{ input_name }}_min\" value=\"\" placeholder=\"{{ minLabel|default('Min') }}\" {% if disabled|default(false) %}disabled{% endif %} />
<input class=\"form-control form-min-max\" type=\"text\" id=\"{{ input_name }}_max\" value=\"\" placeholder=\"{{ maxLabel|default('Max') }}\" {% if disabled|default(false) %}disabled{% endif %} />
</div>
", "@PrestaShop/Admin/Helpers/range_inputs.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Helpers/range_inputs.html.twig");
}
}

View File

@@ -0,0 +1,214 @@
<?php
/* @WebProfiler/Collector/exception.html.twig */
class __TwigTemplate_12df3382a452d81435560ca4a2819c4554af5f7bcf0045bc546336a662c3d909 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 1
$this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/exception.html.twig", 1);
$this->blocks = array(
'head' => array($this, 'block_head'),
'menu' => array($this, 'block_menu'),
'panel' => array($this, 'block_panel'),
);
}
protected function doGetParent(array $context)
{
return "@WebProfiler/Profiler/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$__internal_8e2cb16423b906f8e8acca0d0091ec41799653c8edb2f0c58e8a80e36b14ee2b = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_8e2cb16423b906f8e8acca0d0091ec41799653c8edb2f0c58e8a80e36b14ee2b->enter($__internal_8e2cb16423b906f8e8acca0d0091ec41799653c8edb2f0c58e8a80e36b14ee2b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/exception.html.twig"));
$__internal_c81fff8fbed6afaeb394b79a3222f4512ae7cc810b4d2b3e009b1d1a296cfdc1 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_c81fff8fbed6afaeb394b79a3222f4512ae7cc810b4d2b3e009b1d1a296cfdc1->enter($__internal_c81fff8fbed6afaeb394b79a3222f4512ae7cc810b4d2b3e009b1d1a296cfdc1_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/exception.html.twig"));
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_8e2cb16423b906f8e8acca0d0091ec41799653c8edb2f0c58e8a80e36b14ee2b->leave($__internal_8e2cb16423b906f8e8acca0d0091ec41799653c8edb2f0c58e8a80e36b14ee2b_prof);
$__internal_c81fff8fbed6afaeb394b79a3222f4512ae7cc810b4d2b3e009b1d1a296cfdc1->leave($__internal_c81fff8fbed6afaeb394b79a3222f4512ae7cc810b4d2b3e009b1d1a296cfdc1_prof);
}
// line 3
public function block_head($context, array $blocks = array())
{
$__internal_59bad2f32425004ba66a972bb521712cad19127905271cbcc94ed7b7dcc64b31 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_59bad2f32425004ba66a972bb521712cad19127905271cbcc94ed7b7dcc64b31->enter($__internal_59bad2f32425004ba66a972bb521712cad19127905271cbcc94ed7b7dcc64b31_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "head"));
$__internal_586feea4da2dd5bfaa1f1c4e40779fd4ceb0b908f1c9b5c7363d6e05e689fd16 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_586feea4da2dd5bfaa1f1c4e40779fd4ceb0b908f1c9b5c7363d6e05e689fd16->enter($__internal_586feea4da2dd5bfaa1f1c4e40779fd4ceb0b908f1c9b5c7363d6e05e689fd16_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "head"));
// line 4
echo " ";
if ($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "hasexception", array())) {
// line 5
echo " <style>
";
// line 6
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler_exception_css", array("token" => ($context["token"] ?? $this->getContext($context, "token")))));
echo "
</style>
";
}
// line 9
echo " ";
$this->displayParentBlock("head", $context, $blocks);
echo "
";
$__internal_586feea4da2dd5bfaa1f1c4e40779fd4ceb0b908f1c9b5c7363d6e05e689fd16->leave($__internal_586feea4da2dd5bfaa1f1c4e40779fd4ceb0b908f1c9b5c7363d6e05e689fd16_prof);
$__internal_59bad2f32425004ba66a972bb521712cad19127905271cbcc94ed7b7dcc64b31->leave($__internal_59bad2f32425004ba66a972bb521712cad19127905271cbcc94ed7b7dcc64b31_prof);
}
// line 12
public function block_menu($context, array $blocks = array())
{
$__internal_3768ef36cbfc81136dafc38ff632ed65bdb61b1e94c6ed3b70693f6681349bf2 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_3768ef36cbfc81136dafc38ff632ed65bdb61b1e94c6ed3b70693f6681349bf2->enter($__internal_3768ef36cbfc81136dafc38ff632ed65bdb61b1e94c6ed3b70693f6681349bf2_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
$__internal_ab4a9740bf95a8e8e6406485af9e9db79684d94f55495b8cb353dee8c766e82a = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_ab4a9740bf95a8e8e6406485af9e9db79684d94f55495b8cb353dee8c766e82a->enter($__internal_ab4a9740bf95a8e8e6406485af9e9db79684d94f55495b8cb353dee8c766e82a_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "menu"));
// line 13
echo " <span class=\"label ";
echo (($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "hasexception", array())) ? ("label-status-error") : ("disabled"));
echo "\">
<span class=\"icon\">";
// line 14
echo twig_include($this->env, $context, "@WebProfiler/Icon/exception.svg");
echo "</span>
<strong>Exception</strong>
";
// line 16
if ($this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "hasexception", array())) {
// line 17
echo " <span class=\"count\">
<span>1</span>
</span>
";
}
// line 21
echo " </span>
";
$__internal_ab4a9740bf95a8e8e6406485af9e9db79684d94f55495b8cb353dee8c766e82a->leave($__internal_ab4a9740bf95a8e8e6406485af9e9db79684d94f55495b8cb353dee8c766e82a_prof);
$__internal_3768ef36cbfc81136dafc38ff632ed65bdb61b1e94c6ed3b70693f6681349bf2->leave($__internal_3768ef36cbfc81136dafc38ff632ed65bdb61b1e94c6ed3b70693f6681349bf2_prof);
}
// line 24
public function block_panel($context, array $blocks = array())
{
$__internal_467fe8560376a076f0efa4f3928acb4be17edc17b65ada15dec0d31f9a159e87 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_467fe8560376a076f0efa4f3928acb4be17edc17b65ada15dec0d31f9a159e87->enter($__internal_467fe8560376a076f0efa4f3928acb4be17edc17b65ada15dec0d31f9a159e87_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "panel"));
$__internal_5b9908ec3ed7440e13519c8a3e4f2f4527d3d93f12d847e89e177f45d112ede4 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_5b9908ec3ed7440e13519c8a3e4f2f4527d3d93f12d847e89e177f45d112ede4->enter($__internal_5b9908ec3ed7440e13519c8a3e4f2f4527d3d93f12d847e89e177f45d112ede4_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "panel"));
// line 25
echo " <h2>Exceptions</h2>
";
// line 27
if ( !$this->getAttribute(($context["collector"] ?? $this->getContext($context, "collector")), "hasexception", array())) {
// line 28
echo " <div class=\"empty\">
<p>No exception was thrown and caught during the request.</p>
</div>
";
} else {
// line 32
echo " <div class=\"sf-reset\">
";
// line 33
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("_profiler_exception", array("token" => ($context["token"] ?? $this->getContext($context, "token")))));
echo "
</div>
";
}
$__internal_5b9908ec3ed7440e13519c8a3e4f2f4527d3d93f12d847e89e177f45d112ede4->leave($__internal_5b9908ec3ed7440e13519c8a3e4f2f4527d3d93f12d847e89e177f45d112ede4_prof);
$__internal_467fe8560376a076f0efa4f3928acb4be17edc17b65ada15dec0d31f9a159e87->leave($__internal_467fe8560376a076f0efa4f3928acb4be17edc17b65ada15dec0d31f9a159e87_prof);
}
public function getTemplateName()
{
return "@WebProfiler/Collector/exception.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 138 => 33, 135 => 32, 129 => 28, 127 => 27, 123 => 25, 114 => 24, 103 => 21, 97 => 17, 95 => 16, 90 => 14, 85 => 13, 76 => 12, 63 => 9, 57 => 6, 54 => 5, 51 => 4, 42 => 3, 11 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Twig_Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block head %}
{% if collector.hasexception %}
<style>
{{ render(path('_profiler_exception_css', { token: token })) }}
</style>
{% endif %}
{{ parent() }}
{% endblock %}
{% block menu %}
<span class=\"label {{ collector.hasexception ? 'label-status-error' : 'disabled' }}\">
<span class=\"icon\">{{ include('@WebProfiler/Icon/exception.svg') }}</span>
<strong>Exception</strong>
{% if collector.hasexception %}
<span class=\"count\">
<span>1</span>
</span>
{% endif %}
</span>
{% endblock %}
{% block panel %}
<h2>Exceptions</h2>
{% if not collector.hasexception %}
<div class=\"empty\">
<p>No exception was thrown and caught during the request.</p>
</div>
{% else %}
<div class=\"sf-reset\">
{{ render(path('_profiler_exception', { token: token })) }}
</div>
{% endif %}
{% endblock %}
", "@WebProfiler/Collector/exception.html.twig", "/var/www/clients/client1/web14/web/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/exception.html.twig");
}
}