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,175 @@
<?php
/* @Product/ProductPage/Forms/form_categories.html.twig */
class __TwigTemplate_7f35b32f992cc7faae30f5a3073a7a63b9c11f99520376996c62eeaf7b3a24f8 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())
{
// line 25
echo "<h2>";
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Categories", array(), "Admin.Catalog.Feature"), "html", null, true);
echo "
<span class=\"help-box\" data-toggle=\"popover\"
data-content=\"";
// line 27
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Where should the product be available on your site? The main category is where the product appears by default: this is the category which is seen in the product page's URL. Disabled categories are written in italics.", array(), "Admin.Catalog.Help"), "html", null, true);
echo "\" ></span>
</h2>
<div class=\"categories-tree js-categories-tree\">
<fieldset class=\"form-group\">
<div class=\"ui-widget\">
<div class=\"search search-with-icon\">
<input type=\"text\" id=\"ps-select-product-category\" class=\"form-control autocomplete search mb-1\" placeholder=\"";
// line 33
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Search categories", array(), "Admin.Catalog.Help"), "html", null, true);
echo "\">
</div>
<label class=\"form-control-label text-uppercase\">";
// line 35
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Associated categories", array(), "Admin.Catalog.Feature"), "html", null, true);
echo "</label>
";
// line 36
echo twig_include($this->env, $context, "@PrestaShop/Admin/Category/categories.html.twig", array("categories" => ($context["categories"] ?? null)));
echo "
";
// line 37
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "id_category_default", array()), 'errors');
echo "
";
// line 38
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "id_category_default", array()), 'widget');
echo "
<div class=\"categories-tree-actions js-categories-tree-actions\">
<span class=\"form-control-label\" id=\"categories-tree-expand\"><i class=\"material-icons\">expand_more</i>";
// line 40
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Expand", array(), "Admin.Actions"), "html", null, true);
echo "</span>
<span class=\"form-control-label\" id=\"categories-tree-reduce\"><i class=\"material-icons\">expand_less</i>";
// line 41
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Collapse", array(), "Admin.Actions"), "html", null, true);
echo "</span>
</div>
";
// line 43
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "categories", array()), 'widget', array("defaultCategory" => true));
echo " ";
// line 44
echo " </div>
</fieldset>
";
// line 46
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "categories", array()), 'errors');
echo "
";
// line 47
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "categories", array()), 'widget');
echo " ";
// line 48
echo "</div>
<div id=\"add-categories\">
<h2>
";
// line 51
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Create a new category", array(), "Admin.Catalog.Feature"), "html", null, true);
echo "
<span class=\"help-box\" data-toggle=\"popover\"
data-content=\"";
// line 53
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("If you want to quickly create a new category, you can do it here. Dont forget to then go to the Categories page to fill in the needed details (description, image, etc.). A new category will not automatically appear in your shop's menu, please read the Help about it.", array(), "Admin.Catalog.Help"), "html", null, true);
echo "\" ></span>
</h2>
<div id=\"add-categories-content\" class=\"hide\">
<div id=\"form_step1_new_category\" data-action=\"";
// line 56
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_category_simple_add_form", array("id_product" => ($context["productId"] ?? null))), "html", null, true);
echo "\">
<fieldset class=\"form-group\">
<label class=\"form-control-label\">";
// line 58
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("New category name", array(), "Admin.Catalog.Feature"), "html", null, true);
echo "</label>
";
// line 59
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute(($context["form"] ?? null), "new_category", array()), 'errors');
echo "
";
// line 60
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute($this->getAttribute(($context["form"] ?? null), "new_category", array()), "name", array()), 'widget');
echo "
</fieldset>
</div>
<fieldset class=\"form-group\">
<label class=\"form-control-label\">";
// line 66
echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["form"] ?? null), "new_category", array()), "id_parent", array()), "vars", array()), "label", array()), "html", null, true);
echo "</label>
";
// line 67
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->getAttribute($this->getAttribute(($context["form"] ?? null), "new_category", array()), "id_parent", array()), 'widget');
echo "
</fieldset>
<fieldset class=\"form-group text-sm-right\">
<button type=\"reset\" id=\"form_step1_new_category_reset\" class=\"btn btn-outline-secondary btn-sm\">";
// line 71
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Cancel", array(), "Admin.Actions"), "html", null, true);
echo "</button>
<button type=\"button\" id=\"form_step1_new_category_save\" class=\"btn btn-primary save btn-sm\">";
// line 72
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Create", array(), "Admin.Actions"), "html", null, true);
echo "</button>
</fieldset>
</div>
<a href=\"#\" class=\"btn btn-outline-secondary open\" id=\"add-category-button\">
<i class=\"material-icons\">add_circle</i>
";
// line 78
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Create a category", array(), "Admin.Catalog.Feature"), "html", null, true);
echo "
</a>
</div>
";
}
public function getTemplateName()
{
return "@Product/ProductPage/Forms/form_categories.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 141 => 78, 132 => 72, 128 => 71, 121 => 67, 117 => 66, 108 => 60, 104 => 59, 100 => 58, 95 => 56, 89 => 53, 84 => 51, 79 => 48, 76 => 47, 72 => 46, 68 => 44, 65 => 43, 60 => 41, 56 => 40, 51 => 38, 47 => 37, 43 => 36, 39 => 35, 34 => 33, 25 => 27, 19 => 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("", "@Product/ProductPage/Forms/form_categories.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Product/ProductPage/Forms/form_categories.html.twig");
}
}