/home/sharedstore/.trash/prod/twig/ea
NameSizeModeActions
eab6f739dbebd68d43134c2b4b6f189a.php274220644editdlrm
Edit: /home/sharedstore/.trash/prod/twig/ea/eab6f739dbebd68d43134c2b4b6f189a.php (27422B)
source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], 'perfs_form_smarty_cache' => [$this, 'block_perfs_form_smarty_cache'], 'perfs_form_smarty_cache_form' => [$this, 'block_perfs_form_smarty_cache_form'], 'perfs_form_debug_mode' => [$this, 'block_perfs_form_debug_mode'], 'perfs_form_debug_mode_form' => [$this, 'block_perfs_form_debug_mode_form'], 'perfs_form_modules' => [$this, 'block_perfs_form_modules'], 'perfs_form_modules_form' => [$this, 'block_perfs_form_modules_form'], 'perfs_form_optional_features' => [$this, 'block_perfs_form_optional_features'], 'perfs_form_optional_features_form' => [$this, 'block_perfs_form_optional_features_form'], 'perfs_form_ccc' => [$this, 'block_perfs_form_ccc'], 'perfs_form_ccc_form' => [$this, 'block_perfs_form_ccc_form'], 'perfs_form_media_servers' => [$this, 'block_perfs_form_media_servers'], 'perfs_form_media_servers_form' => [$this, 'block_perfs_form_media_servers_form'], 'perfs_form_caching' => [$this, 'block_perfs_form_caching'], 'perfs_form_caching_form' => [$this, 'block_perfs_form_caching_form'], 'javascripts' => [$this, 'block_javascripts'], ]; } 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["smartyForm"] ?? null), [0 => "@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig"], true); // line 28 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(($context["debugModeForm"] ?? null), [0 => "@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig"], true); // line 29 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(($context["optionalFeaturesForm"] ?? null), [0 => "@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig"], true); // line 30 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(($context["combineCompressCacheForm"] ?? null), [0 => "@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig"], true); // line 31 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(($context["mediaServersForm"] ?? null), [0 => "@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig"], true); // line 32 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(($context["cachingForm"] ?? 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/AdvancedParameters/performance.html.twig", 25); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 34 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 35 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["smartyForm"] ?? null), 'form_start', ["attr" => ["class" => "form"], "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_performance_smarty_save")]); echo " "; // line 36 $this->displayBlock('perfs_form_smarty_cache', $context, $blocks); // line 56 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["smartyForm"] ?? null), 'form_end'); echo " "; // line 58 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["debugModeForm"] ?? null), 'form_start', ["attr" => ["class" => "form"], "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_performance_debug_mode_save")]); echo " "; // line 59 $this->displayBlock('perfs_form_debug_mode', $context, $blocks); // line 79 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["debugModeForm"] ?? null), 'form_end'); echo " "; // line 81 $this->displayBlock('perfs_form_modules', $context, $blocks); // line 124 echo " "; // line 125 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["optionalFeaturesForm"] ?? null), 'form_start', ["attr" => ["class" => "form"], "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_performance_optional_features_save")]); echo " "; // line 126 $this->displayBlock('perfs_form_optional_features', $context, $blocks); // line 155 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["optionalFeaturesForm"] ?? null), 'form_end'); echo " "; // line 157 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["combineCompressCacheForm"] ?? null), 'form_start', ["attr" => ["class" => "form"], "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_performance_combine_compress_cache_save")]); echo " "; // line 158 $this->displayBlock('perfs_form_ccc', $context, $blocks); // line 187 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["combineCompressCacheForm"] ?? null), 'form_end'); echo " "; // line 189 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["mediaServersForm"] ?? null), 'form_start', ["attr" => ["class" => "form"], "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_performance_media_servers_save")]); echo " "; // line 190 $this->displayBlock('perfs_form_media_servers', $context, $blocks); // line 219 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["mediaServersForm"] ?? null), 'form_end'); echo " "; // line 221 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["cachingForm"] ?? null), 'form_start', ["attr" => ["class" => "form"], "action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_performance_caching_save")]); echo " "; // line 222 $this->displayBlock('perfs_form_caching', $context, $blocks); // line 244 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["cachingForm"] ?? null), 'form_end'); echo " "; } // line 36 public function block_perfs_form_smarty_cache($context, array $blocks = []) { $macros = $this->macros; // line 37 echo "

business_center "; // line 40 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Smarty", [], "Admin.Advparameters.Feature"), "html", null, true); echo "

"; // line 44 $this->displayBlock('perfs_form_smarty_cache_form', $context, $blocks); // line 47 echo "
"; } // line 44 public function block_perfs_form_smarty_cache_form($context, array $blocks = []) { $macros = $this->macros; // line 45 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["smartyForm"] ?? null), 'widget'); echo " "; } // line 59 public function block_perfs_form_debug_mode($context, array $blocks = []) { $macros = $this->macros; // line 60 echo "

bug_report "; // line 63 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Debug mode", [], "Admin.Advparameters.Feature"), "html", null, true); echo "

"; // line 67 $this->displayBlock('perfs_form_debug_mode_form', $context, $blocks); // line 70 echo "
"; } // line 67 public function block_perfs_form_debug_mode_form($context, array $blocks = []) { $macros = $this->macros; // line 68 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["debugModeForm"] ?? null), 'widget'); echo " "; } // line 81 public function block_perfs_form_modules($context, array $blocks = []) { $macros = $this->macros; // line 82 echo "

bug_report "; // line 85 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Modules", [], "Admin.Advparameters.Feature"), "html", null, true); echo " env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("This feature allows you to identify modules that might be causing bugs on your store. Disable all non-built-in modules (not listed in composer.json). Then, re-enable each module one by one and check that everything works properly before moving on to the next one.", [], "Admin.Advparameters.Help"), "html_attr"); echo "\" title=\"\" data-original-title=\"\" >

"; // line 100 $this->displayBlock('perfs_form_modules_form', $context, $blocks); // line 120 echo "
"; } // line 100 public function block_perfs_form_modules_form($context, array $blocks = []) { $macros = $this->macros; // line 101 echo "
"; } // line 126 public function block_perfs_form_optional_features($context, array $blocks = []) { $macros = $this->macros; // line 127 echo "

extension "; // line 130 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Optional features", [], "Admin.Advparameters.Feature"), "html", null, true); echo " env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Some features can be disabled in order to improve performance.", [], "Admin.Advparameters.Help"), "html", null, true); echo "\" title=\"\">

"; // line 143 $this->displayBlock('perfs_form_optional_features_form', $context, $blocks); // line 146 echo "
"; } // line 143 public function block_perfs_form_optional_features_form($context, array $blocks = []) { $macros = $this->macros; // line 144 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["optionalFeaturesForm"] ?? null), 'widget'); echo " "; } // line 158 public function block_perfs_form_ccc($context, array $blocks = []) { $macros = $this->macros; // line 159 echo "

zoom_out_map "; // line 162 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("CCC (Combine, Compress and Cache)", [], "Admin.Advparameters.Feature"), "html", null, true); echo " env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("CCC allows you to reduce the loading time of your page. With these settings you will gain performance without even touching the code of your theme. Make sure, however, that your theme is compatible with PrestaShop 1.7+. Otherwise, CCC will cause problems.", [], "Admin.Advparameters.Help"), "html", null, true); echo "\" title=\"\">

"; // line 175 $this->displayBlock('perfs_form_ccc_form', $context, $blocks); // line 178 echo "
"; } // line 175 public function block_perfs_form_ccc_form($context, array $blocks = []) { $macros = $this->macros; // line 176 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["combineCompressCacheForm"] ?? null), 'widget'); echo " "; } // line 190 public function block_perfs_form_media_servers($context, array $blocks = []) { $macros = $this->macros; // line 191 echo "

link "; // line 194 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Media servers (use only with CCC)", [], "Admin.Advparameters.Feature"), "html", null, true); echo " env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("You must enter another domain, or subdomain, in order to use cookieless static content.", [], "Admin.Advparameters.Feature"), "html", null, true); echo "\" title=\"\">

"; // line 207 $this->displayBlock('perfs_form_media_servers_form', $context, $blocks); // line 210 echo "
"; } // line 207 public function block_perfs_form_media_servers_form($context, array $blocks = []) { $macros = $this->macros; // line 208 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["mediaServersForm"] ?? null), 'widget'); echo " "; } // line 222 public function block_perfs_form_caching($context, array $blocks = []) { $macros = $this->macros; // line 223 echo "

link "; // line 226 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Caching", [], "Admin.Advparameters.Feature"), "html", null, true); echo "

"; // line 230 $this->displayBlock('perfs_form_caching_form', $context, $blocks); // line 233 echo " "; // line 234 echo twig_include($this->env, $context, "@AdvancedParameters/memcache_servers.html.twig", ["form" => ($context["memcacheForm"] ?? null)]); echo "
"; } // line 230 public function block_perfs_form_caching_form($context, array $blocks = []) { $macros = $this->macros; // line 231 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["cachingForm"] ?? null), 'widget'); echo " "; } // line 247 public function block_javascripts($context, array $blocks = []) { $macros = $this->macros; // line 248 echo " "; $this->displayParentBlock("javascripts", $context, $blocks); echo " "; } public function getTemplateName() { return "@PrestaShop/Admin/Configure/AdvancedParameters/performance.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 595 => 275, 572 => 255, 568 => 254, 564 => 253, 558 => 250, 554 => 249, 549 => 248, 545 => 247, 538 => 231, 534 => 230, 525 => 239, 517 => 234, 514 => 233, 512 => 230, 505 => 226, 500 => 223, 496 => 222, 489 => 208, 485 => 207, 476 => 214, 470 => 210, 468 => 207, 459 => 201, 449 => 194, 444 => 191, 440 => 190, 433 => 176, 429 => 175, 420 => 182, 414 => 178, 412 => 175, 403 => 169, 393 => 162, 388 => 159, 384 => 158, 377 => 144, 373 => 143, 364 => 150, 358 => 146, 356 => 143, 347 => 137, 337 => 130, 332 => 127, 328 => 126, 319 => 115, 314 => 113, 310 => 112, 306 => 111, 301 => 109, 292 => 103, 288 => 101, 284 => 100, 277 => 120, 275 => 100, 265 => 93, 254 => 85, 249 => 82, 245 => 81, 238 => 68, 234 => 67, 225 => 74, 219 => 70, 217 => 67, 210 => 63, 205 => 60, 201 => 59, 194 => 45, 190 => 44, 181 => 51, 175 => 47, 173 => 44, 166 => 40, 161 => 37, 157 => 36, 150 => 244, 148 => 222, 144 => 221, 138 => 219, 136 => 190, 132 => 189, 126 => 187, 124 => 158, 120 => 157, 114 => 155, 112 => 126, 108 => 125, 105 => 124, 103 => 81, 97 => 79, 95 => 59, 91 => 58, 85 => 56, 83 => 36, 78 => 35, 74 => 34, 69 => 25, 67 => 32, 65 => 31, 63 => 30, 61 => 29, 59 => 28, 57 => 27, 50 => 25,); } public function getSourceContext() { return new Source("", "@PrestaShop/Admin/Configure/AdvancedParameters/performance.html.twig", "/home/sharedstore/public_html/prestashop.sharedstore.ma/src/PrestaShopBundle/Resources/views/Admin/Configure/AdvancedParameters/performance.html.twig"); } }