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,132 @@
<?php
/* @PrestaShop/Admin/Configure/AdvancedParameters/Email/index.html.twig */
class __TwigTemplate_a0b23f9d14eadb2f9fcc2a645913bbee3a2d3d7f65d49a18ef1f0182dc34d6f0 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
// line 25
$this->parent = $this->loadTemplate("@PrestaShop/Admin/layout.html.twig", "@PrestaShop/Admin/Configure/AdvancedParameters/Email/index.html.twig", 25);
$this->blocks = array(
'content' => array($this, 'block_content'),
'email_configuration_form_rest' => array($this, 'block_email_configuration_form_rest'),
'javascripts' => array($this, 'block_javascripts'),
);
}
protected function doGetParent(array $context)
{
return "@PrestaShop/Admin/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = array())
{
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 28
public function block_content($context, array $blocks = array())
{
// line 29
echo " ";
if (($context["isEmailLogsEnabled"] ?? null)) {
// line 30
echo " <div class=\"row\">
<div class=\"col\">
";
// line 32
$this->loadTemplate("@PrestaShop/Admin/Configure/AdvancedParameters/Email/Blocks/email_logs_grid.html.twig", "@PrestaShop/Admin/Configure/AdvancedParameters/Email/index.html.twig", 32)->display($context);
// line 33
echo " </div>
</div>
";
}
// line 36
echo "
";
// line 37
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["emailConfigurationForm"] ?? null), 'form_start', array("action" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("admin_emails_save_options")));
echo "
<div class=\"row justify-content-center\">
";
// line 39
$this->loadTemplate("@PrestaShop/Admin/Configure/AdvancedParameters/Email/Blocks/email_configuration.html.twig", "@PrestaShop/Admin/Configure/AdvancedParameters/Email/index.html.twig", 39)->display($context);
// line 40
echo " ";
$this->loadTemplate("@PrestaShop/Admin/Configure/AdvancedParameters/Email/Blocks/smtp_configuration.html.twig", "@PrestaShop/Admin/Configure/AdvancedParameters/Email/index.html.twig", 40)->display($context);
// line 41
echo "
";
// line 42
$this->displayBlock('email_configuration_form_rest', $context, $blocks);
// line 45
echo " </div>
";
// line 46
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["emailConfigurationForm"] ?? null), 'form_end');
echo "
";
// line 48
$this->loadTemplate("@PrestaShop/Admin/Configure/AdvancedParameters/Email/Blocks/test_email_sending.html.twig", "@PrestaShop/Admin/Configure/AdvancedParameters/Email/index.html.twig", 48)->display($context);
}
// line 42
public function block_email_configuration_form_rest($context, array $blocks = array())
{
// line 43
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["emailConfigurationForm"] ?? null), 'rest');
echo "
";
}
// line 51
public function block_javascripts($context, array $blocks = array())
{
// line 52
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"";
// line 54
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/default/js/bundle/pagination.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 55
echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("themes/new-theme/public/email.bundle.js"), "html", null, true);
echo "\"></script>
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Configure/AdvancedParameters/Email/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 100 => 55, 96 => 54, 90 => 52, 87 => 51, 80 => 43, 77 => 42, 73 => 48, 68 => 46, 65 => 45, 63 => 42, 60 => 41, 57 => 40, 55 => 39, 50 => 37, 47 => 36, 42 => 33, 40 => 32, 36 => 30, 33 => 29, 30 => 28, 11 => 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("", "@PrestaShop/Admin/Configure/AdvancedParameters/Email/index.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Configure/AdvancedParameters/Email/index.html.twig");
}
}

View File

@@ -0,0 +1,197 @@
<?php
/* @PrestaShop/Admin/Helpers/dropdown_menu.html.twig */
class __TwigTemplate_b4c57cf63e794084cc6db2cf9852d2b6a7b35e62d433da029820bba2a5ed4d1d 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
$context["buttonType"] = ((array_key_exists("buttonType", $context)) ? (_twig_default_filter(($context["buttonType"] ?? null), "primary")) : ("primary"));
// line 26
$context["right"] = ((array_key_exists("right", $context)) ? (_twig_default_filter(($context["right"] ?? null), false)) : (false));
// line 27
echo "
<div class=\"";
// line 28
echo twig_escape_filter($this->env, ((array_key_exists("div_style", $context)) ? (_twig_default_filter(($context["div_style"] ?? null), "btn-group dropdown")) : ("btn-group dropdown")), "html", null, true);
echo "\">
";
// line 30
if (array_key_exists("default_item", $context)) {
// line 31
echo " <a
href=\"";
// line 32
echo twig_escape_filter($this->env, (($this->getAttribute(($context["default_item"] ?? null), "href", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "href", array()), "#")) : ("#")), "html", null, true);
echo "\"
title=\"";
// line 33
echo twig_escape_filter($this->env, (($this->getAttribute(($context["default_item"] ?? null), "title", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "title", array()), (($this->getAttribute(($context["default_item"] ?? null), "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "label", array()), "")) : ("")))) : ((($this->getAttribute(($context["default_item"] ?? null), "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "label", array()), "")) : ("")))), "html", null, true);
echo "\"
class=\"btn btn-";
// line 34
echo twig_escape_filter($this->env, ($context["buttonType"] ?? null), "html", null, true);
echo "\"
";
// line 35
if ((array_key_exists("disabled", $context) && (($context["disabled"] ?? null) == true))) {
echo "disabled=\"disabled\"";
}
// line 36
echo " >
";
// line 37
if ($this->getAttribute(($context["default_item"] ?? null), "icon", array())) {
// line 38
echo " <i class=\"material-icons\">";
echo twig_escape_filter($this->env, $this->getAttribute(($context["default_item"] ?? null), "icon", array()), "html", null, true);
echo "</i>
";
}
// line 40
echo " ";
echo twig_escape_filter($this->env, (($this->getAttribute(($context["default_item"] ?? null), "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["default_item"] ?? null), "label", array()), "")) : ("")), "html", null, true);
echo "
</a>
";
}
// line 43
echo "
<button
";
// line 45
if (($context["button_id"] ?? null)) {
echo "id=\"";
echo twig_escape_filter($this->env, ($context["button_id"] ?? null), "html", null, true);
echo "\"";
}
// line 46
echo " class=\"btn btn-";
echo twig_escape_filter($this->env, ($context["buttonType"] ?? null), "html", null, true);
echo " dropdown-toggle\"
";
// line 47
if ((array_key_exists("disabled", $context) && (($context["disabled"] ?? null) == true))) {
echo "disabled=\"disabled\"";
}
// line 48
echo " data-toggle=\"dropdown\"
>
";
// line 50
echo twig_escape_filter($this->env, ((array_key_exists("menu_label", $context)) ? (_twig_default_filter(($context["menu_label"] ?? null), "")) : ("")), "html", null, true);
echo "
<i class=\"";
// line 51
echo twig_escape_filter($this->env, ((array_key_exists("menu_icon", $context)) ? (_twig_default_filter(($context["menu_icon"] ?? null), "icon-caret-down")) : ("icon-caret-down")), "html", null, true);
echo "\"></i>
</button>
<div class=\"dropdown-menu";
// line 54
if (($context["right"] ?? null)) {
echo " dropdown-menu-right";
}
echo "\">
";
// line 55
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["items"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["entry"]) {
// line 56
echo " ";
if (($this->getAttribute($context["entry"], "divider", array(), "any", true, true) && ($this->getAttribute($context["entry"], "divider", array()) == true))) {
// line 57
echo " <div class=\"dropdown-divider\"></div>
";
} else {
// line 59
echo " <a
class=\"dropdown-item\" href=\"";
// line 60
echo twig_escape_filter($this->env, (($this->getAttribute($context["entry"], "href", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["entry"], "href", array()), "#")) : ("#")), "html", null, true);
echo "\"
";
// line 61
if ($this->getAttribute($context["entry"], "onclick", array(), "any", true, true)) {
echo "onclick=\"";
echo twig_escape_filter($this->env, $this->getAttribute($context["entry"], "onclick", array()), "html", null, true);
echo "\"";
}
// line 62
echo " ";
if ($this->getAttribute($context["entry"], "target", array(), "any", true, true)) {
echo "target=\"";
echo twig_escape_filter($this->env, $this->getAttribute($context["entry"], "target", array()), "html", null, true);
echo "\"";
}
// line 63
echo " >
";
// line 64
if ($this->getAttribute($context["entry"], "icon", array())) {
// line 65
echo " <i class=\"material-icons\">";
echo twig_escape_filter($this->env, $this->getAttribute($context["entry"], "icon", array()), "html", null, true);
echo "</i>
";
}
// line 67
echo " ";
echo twig_escape_filter($this->env, (($this->getAttribute($context["entry"], "label", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["entry"], "label", array()), "")) : ("")), "html", null, true);
echo "
</a>
";
}
// line 70
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['entry'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
echo " </div>
</div>
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Helpers/dropdown_menu.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 164 => 71, 158 => 70, 151 => 67, 145 => 65, 143 => 64, 140 => 63, 133 => 62, 127 => 61, 123 => 60, 120 => 59, 116 => 57, 113 => 56, 109 => 55, 103 => 54, 97 => 51, 93 => 50, 89 => 48, 85 => 47, 80 => 46, 74 => 45, 70 => 43, 63 => 40, 57 => 38, 55 => 37, 52 => 36, 48 => 35, 44 => 34, 40 => 33, 36 => 32, 33 => 31, 31 => 30, 26 => 28, 23 => 27, 21 => 26, 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("", "@PrestaShop/Admin/Helpers/dropdown_menu.html.twig", "/var/www/clients/client1/web14/web/src/PrestaShopBundle/Resources/views/Admin/Helpers/dropdown_menu.html.twig");
}
}