var/cache/dev/twig/f1/f188930b56a49551a4f8edda6d4e57e3536da04f0942deddca25738de3bf0671.php line 16

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. /* Entry/school_certification.twig */
  14. class __TwigTemplate_e5d3004e3dbe72b6d47d328218c62f7b13234b0c25a976e95ddf9406178253c0 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.             'javascript' => [$this'block_javascript'],
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 22
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Entry/school_certification.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Entry/school_certification.twig"));
  42.         // line 24
  43.         $context["body_class"] = "registration_page";
  44.         // line 22
  45.         $this->parent $this->loadTemplate("default_frame.twig""Entry/school_certification.twig"22);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 26
  53.     public function block_javascript($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  60.         // line 27
  61.         echo "    <script>
  62.         ";
  63.         // line 28
  64.         $context['_parent'] = $context;
  65.         $context['_seq'] = twig_ensure_traversable((isset($context["Schools"]) || array_key_exists("Schools"$context) ? $context["Schools"] : (function () { throw new RuntimeError('Variable "Schools" does not exist.'28$this->source); })()));
  66.         foreach ($context['_seq'] as $context["_key"] => $context["school"]) {
  67.             // line 29
  68.             echo "            \$('#School option[value=\"";
  69.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["school"], "school_id", [], "any"falsefalsetrue29), 29$this->source), "html"nulltrue);
  70.             echo "\"]').attr('data-key-visible', ";
  71.             echo ((twig_get_attribute($this->env$this->source$context["school"], "visible_school_key", [], "any"falsefalsetrue29)) ? (1) : (0));
  72.             echo ");
  73.         ";
  74.         }
  75.         $_parent $context['_parent'];
  76.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['school'], $context['_parent'], $context['loop']);
  77.         $context array_intersect_key($context$_parent) + $_parent;
  78.         // line 31
  79.         echo "        \$('#School').change(function(){
  80.             if(\$('option:selected', \$(this)).data('key-visible')) {
  81.                 \$('#top_box__name').show();
  82.             }
  83.             else {
  84.                 \$('#top_box__name').hide();
  85.             }
  86.         });
  87.         \$('#top_box__body').submit(function(){
  88.             \$('#top_box__name .form-group .error').remove();
  89.             if(\$('#top_box__name').is(\":visible\") && !\$('#school_key').val()) {
  90.                 \$('#top_box__name .form-group').append('<p class=\"red error\">入力してください</p>');
  91.                 return false;
  92.             }
  93.         });
  94.     </script>
  95. ";
  96.         
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  98.         
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  100.     }
  101.     // line 49
  102.     public function block_stylesheet($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  109.         // line 50
  110.         echo "<style>
  111. .input_School select{
  112.     width: 48% !important;
  113. }
  114. </style>
  115. ";
  116.         
  117.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  118.         
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  120.     }
  121.     // line 57
  122.     public function block_main($context, array $blocks = [])
  123.     {
  124.         $macros $this->macros;
  125.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  127.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  129.         // line 58
  130.         echo "<h1 class=\"title_bar nikke\">学校情報認証</h1>
  131. <div id=\"top_wrap\" class=\"container-fluid\">
  132.     <div id=\"top_box\" class=\"row\">
  133.         <div id=\"top_box__body\" class=\"col-md-10 col-md-offset-1\">
  134.         ";
  135.         // line 63
  136.         if (((null === (isset($context["School"]) || array_key_exists("School"$context) ? $context["School"] : (function () { throw new RuntimeError('Variable "School" does not exist.'63$this->source); })())) || twig_get_attribute($this->env$this->source, (isset($context["School"]) || array_key_exists("School"$context) ? $context["School"] : (function () { throw new RuntimeError('Variable "School" does not exist.'63$this->source); })()), "visible", [], "any"falsefalsetrue63))) {
  137.             // line 64
  138.             echo "            ";
  139.             if ((isset($context["school_not_found"]) || array_key_exists("school_not_found"$context) ? $context["school_not_found"] : (function () { throw new RuntimeError('Variable "school_not_found" does not exist.'64$this->source); })())) {
  140.                 // line 65
  141.                 echo "                <p>※ 学校コードに該当していないので、ご確認お願い致します。</p>
  142.             ";
  143.             } else {
  144.                 // line 67
  145.                 echo "                <form method=\"post\" action=\"";
  146.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry", ["gcd" => (isset($context["gcd"]) || array_key_exists("gcd"$context) ? $context["gcd"] : (function () { throw new RuntimeError('Variable "gcd" does not exist.'67$this->source); })())]), "html"nulltrue);
  147.                 echo "\">
  148.                     ";
  149.                 // line 69
  150.                 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.'69$this->source); })()), "_token", [], "any"falsefalsetrue69), 69$this->source), 'widget');
  151.                 echo "
  152.                     <div id=\"top_box__body_inner\" class=\"dl_table\">
  153.                         ";
  154.                 // line 71
  155.                 if ((null === (isset($context["School"]) || array_key_exists("School"$context) ? $context["School"] : (function () { throw new RuntimeError('Variable "School" does not exist.'71$this->source); })()))) {
  156.                     // line 72
  157.                     echo "                            <dl id=\"top_box__School\">
  158.                                 <dt>";
  159.                     // line 73
  160.                     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.'73$this->source); })()), "School", [], "any"falsefalsetrue73), 73$this->source), 'label');
  161.                     echo "</dt>
  162.                                 <dd class=\"form-group input_School\">
  163.                                     ";
  164.                     // line 75
  165.                     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.'75$this->source); })()), "School", [], "any"falsefalsetrue75), 75$this->source), 'widget');
  166.                     echo "
  167.                                     ";
  168.                     // line 76
  169.                     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.'76$this->source); })()), "School", [], "any"falsefalsetrue76), 76$this->source), 'errors');
  170.                     echo "
  171.                                 </dd>
  172.                             </dl>
  173.                         ";
  174.                 } else {
  175.                     // line 80
  176.                     echo "                            <dl id=\"top_box__kana\">
  177.                                 <dt></dt>
  178.                                 <dd class=\"form-group input_name\">
  179.                                     ";
  180.                     // line 83
  181.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["School"]) || array_key_exists("School"$context) ? $context["School"] : (function () { throw new RuntimeError('Variable "School" does not exist.'83$this->source); })()), "school_name", [], "any"falsefalsetrue83), 83$this->source), "html"nulltrue);
  182.                     echo "
  183.                                 </dd>
  184.                             </dl>
  185.                         ";
  186.                 }
  187.                 // line 87
  188.                 echo "                        ";
  189.                 if (((isset($context["School"]) || array_key_exists("School"$context) ? $context["School"] : (function () { throw new RuntimeError('Variable "School" does not exist.'87$this->source); })()) && (twig_get_attribute($this->env$this->source, (isset($context["School"]) || array_key_exists("School"$context) ? $context["School"] : (function () { throw new RuntimeError('Variable "School" does not exist.'87$this->source); })()), "visible_school_key", [], "any"falsefalsetrue87) != 1))) {
  190.                     // line 88
  191.                     echo "                            <div style=\"display:none\">
  192.                                 ";
  193.                     // line 89
  194.                     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.'89$this->source); })()), "school_key", [], "any"falsefalsetrue89), 89$this->source), 'widget', ["attr" => ["value" => twig_get_attribute($this->env$this->source, (isset($context["School"]) || array_key_exists("School"$context) ? $context["School"] : (function () { throw new RuntimeError('Variable "School" does not exist.'89$this->source); })()), "school_key", [], "any"falsefalsetrue89)]]);
  195.                     echo "
  196.                                 ";
  197.                     // line 90
  198.                     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.'90$this->source); })()), "school_key", [], "any"falsefalsetrue90), 90$this->source), 'errors');
  199.                     echo "
  200.                             </div>
  201.                         ";
  202.                 } else {
  203.                     // line 93
  204.                     echo "                            <dl id=\"top_box__name\">
  205.                                 <dt></dt>
  206.                                 <dd class=\"form-group input_name\">
  207.                                     ";
  208.                     // line 96
  209.                     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.'96$this->source); })()), "school_key", [], "any"falsefalsetrue96), 96$this->source), 'widget');
  210.                     echo "
  211.                                     ";
  212.                     // line 97
  213.                     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.'97$this->source); })()), "school_key", [], "any"falsefalsetrue97), 97$this->source), 'errors');
  214.                     echo "
  215.                                     ";
  216.                     // line 98
  217.                     if (((isset($context["certification_error_flg"]) || array_key_exists("certification_error_flg"$context) ? $context["certification_error_flg"] : (function () { throw new RuntimeError('Variable "certification_error_flg" does not exist.'98$this->source); })()) == 1)) {
  218.                         // line 99
  219.                         echo "                                    <span>※認証に失敗しました。</span>
  220.                                     ";
  221.                     }
  222.                     // line 101
  223.                     echo "                                </dd>
  224.                             </dl>
  225.                         ";
  226.                 }
  227.                 // line 104
  228.                 echo "                        <input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"certify\">
  229.                     </div>
  230.                     <div id=\"top_box__footer\" class=\"row no-padding\">
  231.                         <div id=\"top_box__button_menu\" class=\"btn_group col-sm-offset-4 col-sm-4\">
  232.                             <p>
  233.                                 <button type=\"submit\" class=\"btn btn-primary btn-block def_btn ya radius1\">生徒情報の登録へ</button>
  234.                             </p>
  235.                         </div>
  236.                     </div>
  237.                 </form>
  238.             ";
  239.             }
  240.             // line 116
  241.             echo "        ";
  242.         } else {
  243.             // line 117
  244.             echo "            <p style=\"text-align: center\">この学校URLは現在非公開となっています。</p>
  245.         ";
  246.         }
  247.         // line 119
  248.         echo "        </div>
  249.         <!-- /.col -->
  250.     </div>
  251.     <!-- /.row -->
  252. </div>
  253. ";
  254.         
  255.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  256.         
  257.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  258.     }
  259.     public function getTemplateName()
  260.     {
  261.         return "Entry/school_certification.twig";
  262.     }
  263.     public function isTraitable()
  264.     {
  265.         return false;
  266.     }
  267.     public function getDebugInfo()
  268.     {
  269.         return array (  275 => 119,  271 => 117,  268 => 116,  254 => 104,  249 => 101,  245 => 99,  243 => 98,  239 => 97,  235 => 96,  230 => 93,  224 => 90,  220 => 89,  217 => 88,  214 => 87,  207 => 83,  202 => 80,  195 => 76,  191 => 75,  186 => 73,  183 => 72,  181 => 71,  176 => 69,  170 => 67,  166 => 65,  163 => 64,  161 => 63,  154 => 58,  144 => 57,  129 => 50,  119 => 49,  93 => 31,  82 => 29,  78 => 28,  75 => 27,  65 => 26,  54 => 22,  52 => 24,  39 => 22,);
  270.     }
  271.     public function getSourceContext()
  272.     {
  273.         return new Source("{#
  274. This file is part of EC-CUBE
  275. Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
  276. http://www.lockon.co.jp/
  277. This program is free software; you can redistribute it and/or
  278. modify it under the terms of the GNU General Public License
  279. as published by the Free Software Foundation; either version 2
  280. of the License, or (at your option) any later version.
  281. This program is distributed in the hope that it will be useful,
  282. but WITHOUT ANY WARRANTY; without even the implied warranty of
  283. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  284. GNU General Public License for more details.
  285. You should have received a copy of the GNU General Public License
  286. along with this program; if not, write to the Free Software
  287. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  288. #}
  289. {% extends 'default_frame.twig' %}
  290. {% set body_class = 'registration_page' %}
  291. {% block javascript %}
  292.     <script>
  293.         {% for school in Schools %}
  294.             \$('#School option[value=\"{{ school.school_id }}\"]').attr('data-key-visible', {{ school.visible_school_key ? 1 : 0 }});
  295.         {% endfor %}
  296.         \$('#School').change(function(){
  297.             if(\$('option:selected', \$(this)).data('key-visible')) {
  298.                 \$('#top_box__name').show();
  299.             }
  300.             else {
  301.                 \$('#top_box__name').hide();
  302.             }
  303.         });
  304.         \$('#top_box__body').submit(function(){
  305.             \$('#top_box__name .form-group .error').remove();
  306.             if(\$('#top_box__name').is(\":visible\") && !\$('#school_key').val()) {
  307.                 \$('#top_box__name .form-group').append('<p class=\"red error\">入力してください</p>');
  308.                 return false;
  309.             }
  310.         });
  311.     </script>
  312. {% endblock javascript %}
  313. {% block stylesheet %}
  314. <style>
  315. .input_School select{
  316.     width: 48% !important;
  317. }
  318. </style>
  319. {% endblock stylesheet %}
  320. {% block main %}
  321. <h1 class=\"title_bar nikke\">学校情報認証</h1>
  322. <div id=\"top_wrap\" class=\"container-fluid\">
  323.     <div id=\"top_box\" class=\"row\">
  324.         <div id=\"top_box__body\" class=\"col-md-10 col-md-offset-1\">
  325.         {% if School is null or School.visible %}
  326.             {% if school_not_found %}
  327.                 <p>※ 学校コードに該当していないので、ご確認お願い致します。</p>
  328.             {% else %}
  329.                 <form method=\"post\" action=\"{{ url('entry', { gcd : gcd }) }}\">
  330.                     {{ form_widget(form._token) }}
  331.                     <div id=\"top_box__body_inner\" class=\"dl_table\">
  332.                         {% if School is null %}
  333.                             <dl id=\"top_box__School\">
  334.                                 <dt>{{ form_label(form.School) }}</dt>
  335.                                 <dd class=\"form-group input_School\">
  336.                                     {{ form_widget(form.School) }}
  337.                                     {{ form_errors(form.School) }}
  338.                                 </dd>
  339.                             </dl>
  340.                         {% else %}
  341.                             <dl id=\"top_box__kana\">
  342.                                 <dt></dt>
  343.                                 <dd class=\"form-group input_name\">
  344.                                     {{ School.school_name }}
  345.                                 </dd>
  346.                             </dl>
  347.                         {% endif %}
  348.                         {% if School and School.visible_school_key != 1 %}
  349.                             <div style=\"display:none\">
  350.                                 {{ form_widget(form.school_key, {'attr': {'value': School.school_key}}) }}
  351.                                 {{ form_errors(form.school_key) }}
  352.                             </div>
  353.                         {% else %}
  354.                             <dl id=\"top_box__name\">
  355.                                 <dt></dt>
  356.                                 <dd class=\"form-group input_name\">
  357.                                     {{ form_widget(form.school_key) }}
  358.                                     {{ form_errors(form.school_key) }}
  359.                                     {% if certification_error_flg == 1 %}
  360.                                     <span>※認証に失敗しました。</span>
  361.                                     {% endif %}
  362.                                 </dd>
  363.                             </dl>
  364.                         {% endif %}
  365.                         <input id=\"top_box__hidden_mode\" type=\"hidden\" name=\"mode\" value=\"certify\">
  366.                     </div>
  367.                     <div id=\"top_box__footer\" class=\"row no-padding\">
  368.                         <div id=\"top_box__button_menu\" class=\"btn_group col-sm-offset-4 col-sm-4\">
  369.                             <p>
  370.                                 <button type=\"submit\" class=\"btn btn-primary btn-block def_btn ya radius1\">生徒情報の登録へ</button>
  371.                             </p>
  372.                         </div>
  373.                     </div>
  374.                 </form>
  375.             {% endif %}
  376.         {% else %}
  377.             <p style=\"text-align: center\">この学校URLは現在非公開となっています。</p>
  378.         {% endif %}
  379.         </div>
  380.         <!-- /.col -->
  381.     </div>
  382.     <!-- /.row -->
  383. </div>
  384. {% endblock %}""Entry/school_certification.twig""/home/nmtokyolad01/tokyoladies-onlinestore.com/public_html/app/template/unishop/Entry/school_certification.twig");
  385.     }
  386.     
  387.     public function checkSecurity()
  388.     {
  389.         static $tags = array("set" => 24"for" => 28"if" => 63);
  390.         static $filters = array("escape" => 29);
  391.         static $functions = array("url" => 67"form_widget" => 69"form_label" => 73"form_errors" => 76);
  392.         try {
  393.             $this->sandbox->checkSecurity(
  394.                 ['set''for''if'],
  395.                 ['escape'],
  396.                 ['url''form_widget''form_label''form_errors']
  397.             );
  398.         } catch (SecurityError $e) {
  399.             $e->setSourceContext($this->source);
  400.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  401.                 $e->setTemplateLine($tags[$e->getTagName()]);
  402.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  403.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  404.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  405.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  406.             }
  407.             throw $e;
  408.         }
  409.     }
  410. }