Current File : //var/www/prestashop/var/cache/prod/twig/3c/3c0d1b21d9ab6439790971479cf58c93.php |
<?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;
/* @PrestaShop/Admin/Configure/ShopParameters/preferences.html.twig */
class __TwigTemplate_2fa47591a635c5476aca41616cca3a13 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
'preferences_form_general' => [$this, 'block_preferences_form_general'],
];
}
protected function doGetParent(array $context)
{
// line 25
return "@PrestaShop/Admin/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 27
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(($context["generalForm"] ?? null), [0 => "@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig"], true);
// line 25
$this->parent = $this->loadTemplate("@PrestaShop/Admin/layout.html.twig", "@PrestaShop/Admin/Configure/ShopParameters/preferences.html.twig", 25);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 29
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 30
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["generalForm"] ?? null), 'form_start', ["attr" => ["class" => "form", "id" => "configuration_form"]]);
echo "
";
// line 31
$this->displayBlock('preferences_form_general', $context, $blocks);
// line 68
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["generalForm"] ?? null), 'form_end');
echo "
";
}
// line 31
public function block_preferences_form_general($context, array $blocks = [])
{
$macros = $this->macros;
// line 32
echo " <div class=\"card\">
<h3 class=\"card-header\">
<i class=\"material-icons\">settings</i>
";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("General", [], "Admin.Global"), "html", null, true);
echo "
</h3>
<div class=\"card-body\">
<div class=\"form-wrapper\">
";
// line 39
if ( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, false, false, 39), "isSecure", [], "method", false, false, false, 39)) {
// line 40
echo " <div class=\"form-group row\">
<label class=\"form-control-label \">
";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Enable SSL", [], "Admin.Shopparameters.Feature"), "html", null, true);
echo "
</label>
<div class=\"col-sm\">
<div class=\"input-group\">
<div class=\"form-control-plaintext\">
<a class=\"d-block\" href=\"";
// line 47
echo twig_escape_filter($this->env, ($context["sslUri"] ?? null), "html", null, true);
echo "\">
";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Please click here to check if your shop supports HTTPS.", [], "Admin.Shopparameters.Feature"), "html", null, true);
echo "
</a>
</div>
</div>
<small class=\"form-text\">
";
// line 53
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("If you want to enable SSL on all the pages of your shop, activate the \"Enable on all the pages\" option below.", [], "Admin.Shopparameters.Help"), "html", null, true);
echo "
</small>
</div>
</div>
";
}
// line 58
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["generalForm"] ?? null), 'widget');
echo "
</div>
</div>
<div class=\"card-footer\">
<div class=\"d-flex justify-content-end\">
<button class=\"btn btn-primary\" id=\"form-preferences-save-button\">";
// line 63
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save", [], "Admin.Actions"), "html", null, true);
echo "</button>
</div>
</div>
</div>
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Configure/ShopParameters/preferences.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 127 => 63, 118 => 58, 110 => 53, 102 => 48, 98 => 47, 90 => 42, 86 => 40, 84 => 39, 77 => 35, 72 => 32, 68 => 31, 61 => 68, 59 => 31, 54 => 30, 50 => 29, 45 => 25, 43 => 27, 36 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Configure/ShopParameters/preferences.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Configure/ShopParameters/preferences.html.twig");
}
}