var/cache/dev/twig/6f/6f4219b72ae0daa2415bab0c45b99800.php line 59

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. /* Block/lm_item_main_info.twig */
  14. class __TwigTemplate_e53ebd8c8684e4d4fb522092644ec0ad 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/lm_item_main_info.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/lm_item_main_info.twig"));
  35.         // line 1
  36.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'1$this->source); })()), "GoodsSetPurchase", [], "any"falsefalsetrue1), "NewUI", [], "any"falsefalsetrue1), "Enabled", [], "any"falsefalsetrue1) && twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'1$this->source); })()), "isGoodsSetPurchase", [], "any"falsefalsetrue1))) {
  37.             // line 2
  38.             echo "
  39.     ";
  40.             // line 3
  41.             $this->loadTemplate("Item/GoodsSetPurchase/main.twig""Block/lm_item_main_info.twig"3)->display($context);
  42.             // line 4
  43.             echo "
  44. ";
  45.         } else {
  46.             // line 6
  47.             echo "
  48.     ";
  49.             // line 7
  50.             $this->loadTemplate("Item/main.twig""Block/lm_item_main_info.twig"7)->display($context);
  51.             // line 8
  52.             echo "
  53.     ";
  54.             // line 9
  55.             $this->loadTemplate("Block/lm_item_cart_area.twig""Block/lm_item_main_info.twig"9)->display($context);
  56.             // line 10
  57.             echo "
  58. ";
  59.         }
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.         
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64.     }
  65.     public function getTemplateName()
  66.     {
  67.         return "Block/lm_item_main_info.twig";
  68.     }
  69.     public function isTraitable()
  70.     {
  71.         return false;
  72.     }
  73.     public function getDebugInfo()
  74.     {
  75.         return array (  66 => 10,  64 => 9,  61 => 8,  59 => 7,  56 => 6,  52 => 4,  50 => 3,  47 => 2,  45 => 1,);
  76.     }
  77.     public function getSourceContext()
  78.     {
  79.         return new Source("{% if eccube_config.GoodsSetPurchase.NewUI.Enabled and goods.isGoodsSetPurchase %}
  80.     {% include 'Item/GoodsSetPurchase/main.twig' %}
  81. {% else %}
  82.     {% include 'Item/main.twig' %}
  83.     {% include 'Block/lm_item_cart_area.twig' %}
  84. {% endif %}
  85. ""Block/lm_item_main_info.twig""/var/www/html/app/template/default/Block/lm_item_main_info.twig");
  86.     }
  87.     
  88.     public function checkSecurity()
  89.     {
  90.         static $tags = array("if" => 1"include" => 3);
  91.         static $filters = array();
  92.         static $functions = array();
  93.         try {
  94.             $this->sandbox->checkSecurity(
  95.                 ['if''include'],
  96.                 [],
  97.                 []
  98.             );
  99.         } catch (SecurityError $e) {
  100.             $e->setSourceContext($this->source);
  101.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  102.                 $e->setTemplateLine($tags[$e->getTagName()]);
  103.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  104.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  105.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  106.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  107.             }
  108.             throw $e;
  109.         }
  110.     }
  111. }