parent = false; $this->blocks = [ 'keyword' => [$this, 'block_keyword'], 'meta_robots_file_form_rest' => [$this, 'block_meta_robots_file_form_rest'], ]; } protected function doDisplay(array $context, array $blocks = []) { // line 25 echo " "; // line 27 echo " "; // line 28 $this->displayBlock('keyword', $context, $blocks); } public function block_keyword($context, array $blocks = []) { // line 29 echo "

settings "; // line 31 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Robots file generation", [], "Admin.Shopparameters.Feature"), "html", null, true); echo "

"; // line 40 $context["defaultDescription"] = $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Your robots.txt file MUST be in your website's root directory and nowhere else (e.g. http://www.example.com/robots.txt).", [], "Admin.Shopparameters.Notification"); // line 41 echo " "; if (($context["isRobotsTextFileValid"] ?? null)) { // line 42 echo " "; echo twig_escape_filter($this->env, ($context["defaultDescription"] ?? null), "html", null, true); echo "
"; // line 43 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Generate your \"robots.txt\" file by clicking on the following button (this will erase the old robots.txt file)", [], "Admin.Shopparameters.Notification"), "html", null, true); echo " "; } else { // line 45 echo " "; echo twig_escape_filter($this->env, ($context["defaultDescription"] ?? null), "html", null, true); echo "
"; // line 46 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Before you can use this tool, you need to:", [], "Admin.Shopparameters.Notification"), "html", null, true); echo "
"; // line 47 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("1) Create a blank robots.txt file in your root directory.", [], "Admin.Shopparameters.Notification"), "html", null, true); echo "
"; // line 48 echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("2) Give it write permissions (CHMOD 666 on Unix system).", [], "Admin.Shopparameters.Notification"), "html", null, true); echo " "; } // line 50 echo "
"; // line 55 $this->displayBlock('meta_robots_file_form_rest', $context, $blocks); // line 58 echo "
"; // line 62 if (($context["isRobotsTextFileValid"] ?? null)) { // line 63 echo " "; } // line 65 echo "
"; } // line 55 public function block_meta_robots_file_form_rest($context, array $blocks = []) { // line 56 echo " "; echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["setUpUrlsForm"] ?? null), 'rest'); echo " "; } public function getTemplateName() { return "@PrestaShop/Admin/Configure/ShopParameters/TrafficSeo/Meta/Blocks/robots_file_generation.html.twig"; } public function getDebugInfo() { return array ( 126 => 56, 123 => 55, 116 => 65, 110 => 63, 108 => 62, 102 => 58, 100 => 55, 93 => 50, 88 => 48, 84 => 47, 80 => 46, 75 => 45, 70 => 43, 65 => 42, 62 => 41, 60 => 40, 48 => 31, 44 => 29, 38 => 28, 35 => 27, 32 => 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 Source("", "@PrestaShop/Admin/Configure/ShopParameters/TrafficSeo/Meta/Blocks/robots_file_generation.html.twig", "/home/admin/domains/masimmo.pl/public_html/src/PrestaShopBundle/Resources/views/Admin/Configure/ShopParameters/TrafficSeo/Meta/Blocks/robots_file_generation.html.twig"); } }