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,278 @@
<?php
/* @PrestaShop/Admin/Common/pagination.html.twig */
class __TwigTemplate_68b95f5caa5601e8aeac5113a9973fbfe06ec03040da48a7c523153c4cfb5740 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_299293260990a99de47bc79fd7db09dd02e09741bf1a43ce1125fe0a6d518826 = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_299293260990a99de47bc79fd7db09dd02e09741bf1a43ce1125fe0a6d518826->enter($__internal_299293260990a99de47bc79fd7db09dd02e09741bf1a43ce1125fe0a6d518826_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Common/pagination.html.twig"));
$__internal_73c1f312f74932e2805d9917640faa628eb6c56c3865b8673f86d7bf49dd6553 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_73c1f312f74932e2805d9917640faa628eb6c56c3865b8673f86d7bf49dd6553->enter($__internal_73c1f312f74932e2805d9917640faa628eb6c56c3865b8673f86d7bf49dd6553_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@PrestaShop/Admin/Common/pagination.html.twig"));
// line 25
echo "<div class=\"row justify-content-center\">
<ul class=\"pagination mb-0\">
<li class=\"page-item ";
// line 27
if (($context["first_url"] ?? $this->getContext($context, "first_url"))) {
} else {
echo "disabled";
}
echo "\">
<a class=\"page-link\" ";
// line 28
if (($context["first_url"] ?? $this->getContext($context, "first_url"))) {
echo "href=\"";
echo twig_escape_filter($this->env, ($context["first_url"] ?? $this->getContext($context, "first_url")), "html", null, true);
echo "\"";
} else {
echo "nohref";
}
echo ">1</a>
</li>
<li class=\"page-item previous ";
// line 30
if (($context["previous_url"] ?? $this->getContext($context, "previous_url"))) {
} else {
echo "disabled";
}
echo "\">
<a class=\"page-link\" aria-label=\"Previous\" ";
// line 31
if (($context["previous_url"] ?? $this->getContext($context, "previous_url"))) {
echo "href=\"";
echo twig_escape_filter($this->env, ($context["previous_url"] ?? $this->getContext($context, "previous_url")), "html", null, true);
echo "\"";
} else {
echo "nohref";
}
echo "><span class=\"sr-only\">Previous</span></a>
</li>
<li class=\"page-item active\">
<input name=\"paginator_jump_page\" class=\"jump-to-page\" type=\"text\" value=\"";
// line 34
echo twig_escape_filter($this->env, ($context["current_page"] ?? $this->getContext($context, "current_page")), "html", null, true);
echo "\" psurl=\"";
echo twig_escape_filter($this->env, ($context["jump_page_url"] ?? $this->getContext($context, "jump_page_url")), "html", null, true);
echo "\" psmax=\"";
echo twig_escape_filter($this->env, ($context["page_count"] ?? $this->getContext($context, "page_count")), "html", null, true);
echo "\" pslimit=\"";
echo twig_escape_filter($this->env, ($context["limit"] ?? $this->getContext($context, "limit")), "html", null, true);
echo "\" />
</li>
<li class=\"page-item next ";
// line 36
if ((array_key_exists("next_url", $context) && (($context["next_url"] ?? $this->getContext($context, "next_url")) != false))) {
} else {
echo "disabled";
}
echo "\">
<a class=\"page-link\" aria-label=\"Next\" id=\"pagination_next_url\" ";
// line 37
if ((array_key_exists("next_url", $context) && (($context["next_url"] ?? $this->getContext($context, "next_url")) != false))) {
echo "href=\"";
echo twig_escape_filter($this->env, ($context["next_url"] ?? $this->getContext($context, "next_url")), "html", null, true);
echo "\"";
} else {
echo "nohref";
}
echo "><span class=\"sr-only\">Next</span></a>
</li>
<li class=\"page-item ";
// line 39
if ((array_key_exists("last_url", $context) && (($context["last_url"] ?? $this->getContext($context, "last_url")) != false))) {
} else {
echo "disabled";
}
echo "\">
<a class=\"page-link\" ";
// line 40
if ((array_key_exists("last_url", $context) && (($context["last_url"] ?? $this->getContext($context, "last_url")) != false))) {
echo "href=\"";
echo twig_escape_filter($this->env, ($context["last_url"] ?? $this->getContext($context, "last_url")), "html", null, true);
echo "\"";
} else {
echo "nohref";
}
echo ">";
echo twig_escape_filter($this->env, ($context["page_count"] ?? $this->getContext($context, "page_count")), "html", null, true);
echo "</a>
</li>
</ul>
<div class=\"mx-3\">
";
// line 44
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Viewing %from%-%to% on %total% (page %current_page% / %page_count%)", array("%from%" => ( // line 45
($context["from"] ?? $this->getContext($context, "from")) + 1), "%to%" => min(( // line 46
($context["to"] ?? $this->getContext($context, "to")) + 1), ($context["total"] ?? $this->getContext($context, "total"))), "%total%" => // line 47
($context["total"] ?? $this->getContext($context, "total")), "%current_page%" => // line 48
($context["current_page"] ?? $this->getContext($context, "current_page")), "%page_count%" => // line 49
($context["page_count"] ?? $this->getContext($context, "page_count"))), "Admin.Catalog.Feature"), "html", null, true);
// line 51
echo "
</div>
<div class=\"mx-3\">
<div class=\"form-group row mb-0\">
<label for=\"paginator_select_page_limit\" class=\"col-form-label mr-2\">";
// line 55
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Items per page:", array(), "Admin.Catalog.Feature"), "html", null, true);
echo "</label>
<div>
<select name=\"paginator_select_page_limit\" id=\"paginator_select_page_limit\" psurl=\"";
// line 57
echo twig_escape_filter($this->env, ($context["changeLimitUrl"] ?? $this->getContext($context, "changeLimitUrl")), "html", null, true);
echo "\" class=\"pagination-link custom-select\">
";
// line 58
if (!twig_in_filter(($context["limit"] ?? $this->getContext($context, "limit")), ($context["limit_choices"] ?? $this->getContext($context, "limit_choices")))) {
// line 59
echo " <option value=\"";
echo twig_escape_filter($this->env, ($context["limit"] ?? $this->getContext($context, "limit")), "html", null, true);
echo "\" selected=\"selected\">";
echo twig_escape_filter($this->env, ($context["limit"] ?? $this->getContext($context, "limit")), "html", null, true);
echo "</option>
";
}
// line 61
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["limit_choices"] ?? $this->getContext($context, "limit_choices")));
foreach ($context['_seq'] as $context["_key"] => $context["limit_choice"]) {
// line 62
echo " <option value=\"";
echo twig_escape_filter($this->env, $context["limit_choice"], "html", null, true);
echo "\" ";
if ((($context["limit"] ?? $this->getContext($context, "limit")) == $context["limit_choice"])) {
echo "selected=\"selected\"";
}
echo ">";
echo twig_escape_filter($this->env, $context["limit_choice"], "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['limit_choice'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
echo " </select>
</div>
</div>
</div>
</div>
";
$__internal_299293260990a99de47bc79fd7db09dd02e09741bf1a43ce1125fe0a6d518826->leave($__internal_299293260990a99de47bc79fd7db09dd02e09741bf1a43ce1125fe0a6d518826_prof);
$__internal_73c1f312f74932e2805d9917640faa628eb6c56c3865b8673f86d7bf49dd6553->leave($__internal_73c1f312f74932e2805d9917640faa628eb6c56c3865b8673f86d7bf49dd6553_prof);
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Common/pagination.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 169 => 64, 154 => 62, 149 => 61, 141 => 59, 139 => 58, 135 => 57, 130 => 55, 124 => 51, 122 => 49, 121 => 48, 120 => 47, 119 => 46, 118 => 45, 117 => 44, 102 => 40, 95 => 39, 84 => 37, 77 => 36, 66 => 34, 54 => 31, 47 => 30, 36 => 28, 29 => 27, 25 => 25,);
}
/** @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
*#}
<div class=\"row justify-content-center\">
<ul class=\"pagination mb-0\">
<li class=\"page-item {% if first_url %}{% else %}disabled{% endif %}\">
<a class=\"page-link\" {% if first_url %}href=\"{{ first_url }}\"{% else %}nohref{% endif %}>1</a>
</li>
<li class=\"page-item previous {% if previous_url %}{% else %}disabled{% endif %}\">
<a class=\"page-link\" aria-label=\"Previous\" {% if previous_url %}href=\"{{ previous_url }}\"{% else %}nohref{% endif %}><span class=\"sr-only\">Previous</span></a>
</li>
<li class=\"page-item active\">
<input name=\"paginator_jump_page\" class=\"jump-to-page\" type=\"text\" value=\"{{ current_page }}\" psurl=\"{{ jump_page_url }}\" psmax=\"{{ page_count }}\" pslimit=\"{{ limit }}\" />
</li>
<li class=\"page-item next {% if next_url is defined and next_url != false %}{% else %}disabled{% endif %}\">
<a class=\"page-link\" aria-label=\"Next\" id=\"pagination_next_url\" {% if next_url is defined and next_url != false %}href=\"{{ next_url }}\"{% else %}nohref{% endif %}><span class=\"sr-only\">Next</span></a>
</li>
<li class=\"page-item {% if last_url is defined and last_url != false %}{% else %}disabled{% endif %}\">
<a class=\"page-link\" {% if last_url is defined and last_url != false %}href=\"{{ last_url }}\"{% else %}nohref{% endif %}>{{ page_count }}</a>
</li>
</ul>
<div class=\"mx-3\">
{{ \"Viewing %from%-%to% on %total% (page %current_page% / %page_count%)\"|trans({
'%from%': from+1,
'%to%': min(to+1, total),
'%total%': total,
'%current_page%': current_page,
'%page_count%': page_count
},
'Admin.Catalog.Feature') }}
</div>
<div class=\"mx-3\">
<div class=\"form-group row mb-0\">
<label for=\"paginator_select_page_limit\" class=\"col-form-label mr-2\">{{ \"Items per page:\"|trans({}, 'Admin.Catalog.Feature') }}</label>
<div>
<select name=\"paginator_select_page_limit\" id=\"paginator_select_page_limit\" psurl=\"{{ changeLimitUrl }}\" class=\"pagination-link custom-select\">
{% if limit not in limit_choices %}
<option value=\"{{ limit }}\" selected=\"selected\">{{ limit }}</option>
{% endif %}
{% for limit_choice in limit_choices %}
<option value=\"{{ limit_choice }}\" {% if limit==limit_choice %}selected=\"selected\"{% endif %}>{{ limit_choice }}</option>
{% endfor %}
</select>
</div>
</div>
</div>
</div>
", "@PrestaShop/Admin/Common/pagination.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Common/pagination.html.twig");
}
}