var/cache/dev/twig/ae/aecaac1ce47a6bce1023850c50f8d228.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* PostCarrier42/Resource/template/Mailmaga/postcarrier_unsubscribe.twig */
  14. class __TwigTemplate_b459cb54df5b2556c138b2cd336ac8aa extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'main' => [$this'block_main'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""PostCarrier42/Resource/template/Mailmaga/postcarrier_unsubscribe.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""PostCarrier42/Resource/template/Mailmaga/postcarrier_unsubscribe.twig"));
  40.         $this->parent $this->loadTemplate("default_frame.twig""PostCarrier42/Resource/template/Mailmaga/postcarrier_unsubscribe.twig"11);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 13
  48.     public function block_main($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  55.         // line 14
  56.         echo "    <div class=\"ec-role\">
  57.         <div class=\"ec-pageHeader\">
  58.             <h1>";
  59.         // line 16
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メルマガ配信停止"), "html"nulltrue);
  61.         echo "</h1>
  62.         </div>
  63.         <div class=\"ec-off2Grid\">
  64.             <div class=\"ec-off2Grid__cell\">
  65.                 <form method=\"post\" id=\"postcarrier_mailmaga\" action=\"";
  66.         // line 20
  67.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("postcarrier_mailmaga");
  68.         echo "\">
  69.                     ";
  70.         // line 21
  71.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'21$this->source); })()), "_token", [], "any"falsefalsetrue21), 21$this->source), 'widget');
  72.         echo "
  73.                     <div class=\"ec-reportHeading\">
  74.                         <h3 class=\"unsubscribe_subtitle\">";
  75.         // line 23
  76.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メルマガ停止の手続はこちら"), "html"nulltrue);
  77.         echo "</h3>
  78.                     </div>
  79.                     <div>
  80.                         <div class=\"ec-halfInput";
  81.         // line 26
  82.         echo (($this->extensions['Eccube\Twig\Extension\EccubeExtension']->hasErrors($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'26$this->source); })()), "email", [], "any"falsefalsetrue26), 26$this->source))) ? (" error") : (""));
  83.         echo "\" style=\"text-align: center;\">
  84.                             ";
  85.         // line 27
  86.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'27$this->source); })()), "email", [], "any"falsefalsetrue27), 27$this->source), 'widget', ["attr" => ["placeholder" => "停止メールアドレス""size" => 20]]);
  87.         echo "
  88.                         </div>
  89.                     </div>
  90.                     <div class=\"ec-registerRole__actions\">
  91.                         <div class=\"ec-off4Grid\">
  92.                             <div class=\"ec-off4Grid__cell\">
  93.                                 <button class=\"ec-blockBtn--action\" type=\"submit\" name=\"action\" value=\"unsubscribe\">";
  94.         // line 33
  95.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("解除"), "html"nulltrue);
  96.         echo "</button>
  97.                             </div>
  98.                         </div>
  99.                     </div>
  100.                 </form>
  101.             </div>
  102.         </div>
  103.     </div>
  104. ";
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.     }
  110.     public function getTemplateName()
  111.     {
  112.         return "PostCarrier42/Resource/template/Mailmaga/postcarrier_unsubscribe.twig";
  113.     }
  114.     public function isTraitable()
  115.     {
  116.         return false;
  117.     }
  118.     public function getDebugInfo()
  119.     {
  120.         return array (  109 => 33,  100 => 27,  96 => 26,  90 => 23,  85 => 21,  81 => 20,  74 => 16,  70 => 14,  60 => 13,  37 => 11,);
  121.     }
  122.     public function getSourceContext()
  123.     {
  124.         return new Source("{#
  125.  This file is part of the PostCarrier
  126.  Copyright(c) IPLOGIC CO.,LTD. All Rights Reserved.
  127.  http://www.iplogic.co.jp/
  128.  For the full copyright and license information, please view the LICENSE
  129.  file that was distributed with this source code.
  130. #}
  131. {% extends 'default_frame.twig' %}
  132. {% block main %}
  133.     <div class=\"ec-role\">
  134.         <div class=\"ec-pageHeader\">
  135.             <h1>{{ 'メルマガ配信停止'|trans }}</h1>
  136.         </div>
  137.         <div class=\"ec-off2Grid\">
  138.             <div class=\"ec-off2Grid__cell\">
  139.                 <form method=\"post\" id=\"postcarrier_mailmaga\" action=\"{{ path('postcarrier_mailmaga') }}\">
  140.                     {{ form_widget(form._token) }}
  141.                     <div class=\"ec-reportHeading\">
  142.                         <h3 class=\"unsubscribe_subtitle\">{{ 'メルマガ停止の手続はこちら'|trans }}</h3>
  143.                     </div>
  144.                     <div>
  145.                         <div class=\"ec-halfInput{{ has_errors(form.email) ? ' error'}}\" style=\"text-align: center;\">
  146.                             {{ form_widget(form.email, {'attr':{'placeholder':\"停止メールアドレス\", 'size':20}}) }}
  147.                         </div>
  148.                     </div>
  149.                     <div class=\"ec-registerRole__actions\">
  150.                         <div class=\"ec-off4Grid\">
  151.                             <div class=\"ec-off4Grid__cell\">
  152.                                 <button class=\"ec-blockBtn--action\" type=\"submit\" name=\"action\" value=\"unsubscribe\">{{ '解除'|trans }}</button>
  153.                             </div>
  154.                         </div>
  155.                     </div>
  156.                 </form>
  157.             </div>
  158.         </div>
  159.     </div>
  160. {% endblock %}""PostCarrier42/Resource/template/Mailmaga/postcarrier_unsubscribe.twig""/home/xs501433/xs501433.xsrv.jp/public_html/app/template/default/PostCarrier42/Resource/template/Mailmaga/postcarrier_unsubscribe.twig");
  161.     }
  162.     
  163.     public function checkSecurity()
  164.     {
  165.         static $tags = array();
  166.         static $filters = array("escape" => 16"trans" => 16);
  167.         static $functions = array("path" => 20"form_widget" => 21"has_errors" => 26);
  168.         try {
  169.             $this->sandbox->checkSecurity(
  170.                 [],
  171.                 ['escape''trans'],
  172.                 ['path''form_widget''has_errors']
  173.             );
  174.         } catch (SecurityError $e) {
  175.             $e->setSourceContext($this->source);
  176.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  177.                 $e->setTemplateLine($tags[$e->getTagName()]);
  178.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  179.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  180.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  181.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  182.             }
  183.             throw $e;
  184.         }
  185.     }
  186. }