app/template/default/default_frame.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. {#
  3. This file is part of EC-CUBE
  4. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  5. http://www.ec-cube.co.jp/
  6. For the full copyright and license information, please view the LICENSE
  7. file that was distributed with this source code.
  8. #}
  9. <html lang="{{ eccube_config.locale }}">
  10. <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# product: http://ogp.me/ns/product#">
  11.   <meta charset="utf-8">
  12.   <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  13.   <meta name="eccube-csrf-token" content="{{ csrf_token(constant('Eccube\\Common\\Constant::TOKEN_NAME')) }}">
  14.   <title>
  15.     {# {{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %} #}
  16.   {% if subtitle is defined and subtitle is not empty %}{{ subtitle }}{% elseif title is defined and title is not empty %}{{ title }}{% endif %}|{{ BaseInfo.shop_name }}
  17.   </title>
  18.   {% if Page.meta_tags is not empty %}
  19.     {{ include(template_from_string(Page.meta_tags)) }}
  20.     {% if Page.description is not empty %}
  21.       <meta name="description" content="{{ Page.description }}">
  22.     {% endif %}
  23.   {% else %}
  24.     {{ include('meta.twig') }}
  25.   {% endif %}
  26.   {% if Page.author is not empty %}
  27.     <meta name="author" content="{{ Page.author }}">
  28.   {% endif %}
  29.   {% if Page.keyword is not empty %}
  30.     <meta name="keywords" content="{{ Page.keyword }}">
  31.   {% endif %}
  32.   {% if Page.meta_robots is not empty %}
  33.     <meta name="robots" content="{{ Page.meta_robots }}">
  34.   {% endif %}
  35.   {% if Page.meta_tags is not empty %}
  36.     {{ include(template_from_string(Page.meta_tags)) }}
  37.   {% endif %}
  38.   <link rel="icon" href="{{ asset('assets/img/common/favicon.ico', 'user_data') }}">
  39.   <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
  40.   <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
  41.   <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.slick/1.6.0/slick.css">
  42.   <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}">
  43.   {% block stylesheet %}{% endblock %}
  44.   <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  45.   <script>
  46.     $(function() {
  47.       $.ajaxSetup({
  48.         'headers': {
  49.           'ECCUBE-CSRF-TOKEN': $('meta[name="eccube-csrf-token"]').attr('content')
  50.         }
  51.       });
  52.     });
  53.   </script>
  54.   {# Layout: HEAD #}
  55.   {% if Layout.Head %}
  56.     {{ include('block.twig', {'Blocks': Layout.Head}) }}
  57.   {% endif %}
  58.   {# プラグイン用styleseetやmetatagなど #}
  59.   {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  60.   <link rel="stylesheet" href="{{ asset('assets/css/customize.css', 'user_data') }}">
  61. </head>
  62. <body id="page_{{ app.request.get('_route') }}" class="{{ body_class|default('other_page') }}">
  63. {# Layout: BODY_AFTER #}
  64. {% if Layout.BodyAfter %}
  65.   {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  66. {% endif %}
  67. {% if isMaintenance %}
  68.   <div class="ec-maintenanceAlert">
  69.     <div>
  70.       <div class="ec-maintenanceAlert__icon"><img src="{{ asset('assets/icon/exclamation-white.svg') }}"/></div>
  71.       {{ 'メンテナンスモードが有効になっています。'|trans }}
  72.     </div>
  73.   </div>
  74. {% endif %}
  75. <div class="body_inner">
  76.   <div class="content-wrapper">
  77.     {# Layout: SIDE_LEFT #}
  78.     {% if Layout.SideLeft %}
  79.       {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  80.     {% endif %}
  81.     <div class="content">
  82.       {# Layout: HEADER #}
  83.       {% if Layout.Header %}
  84.         {{ include('block.twig', {'Blocks': Layout.Header}) }}
  85.       {% endif %}
  86.       {# Layout: CONTENTS_TOP #}
  87.       {% if Layout.ContentsTop %}
  88.         {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  89.       {% endif %}
  90.       {# Layout: MAIN_TOP #}
  91.       {% if Layout.MainTop %}
  92.         {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  93.       {% endif %}
  94.       {# MAIN AREA #}
  95.       {% block main %}{% endblock %}
  96.       {# Layout: MAIN_Bottom #}
  97.       {% if Layout.MainBottom %}
  98.         {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  99.       {% endif %}
  100.       {# Layout: SIDE_RIGHT #}
  101.       {% if Layout.SideRight %}
  102.         {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  103.       {% endif %}
  104.       {# Layout: CONTENTS_BOTTOM #}
  105.       {% if Layout.ContentsBottom %}
  106.         {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  107.       {% endif %}
  108.     </div>
  109.   </div>
  110.   {# Layout: CONTENTS_FOOTER #}
  111.   {% if Layout.Footer %}
  112.     {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  113.   {% endif %}
  114. </div><!-- body_inner -->
  115. <div class="ec-overlayRole"></div>
  116. <div class="ec-drawerRoleClose"><i class="fas fa-times"></i></div>
  117. <div class="ec-drawerRole">
  118.   {# Layout: DRAWER #}
  119.   {% if Layout.Drawer %}
  120.     {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  121.   {% endif %}
  122. </div>
  123. {% include('@common/lang.twig') %}
  124. <script src="{{ asset('assets/js/function.js') }}"></script>
  125. <script src="{{ asset('assets/js/eccube.js') }}"></script>
  126. {% block javascript %}{% endblock %}
  127. {# Layout: CLOSE_BODY_BEFORE #}
  128. {% if Layout.CloseBodyBefore %}
  129.   {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  130. {% endif %}
  131. {# プラグイン用Snippet #}
  132. {% if plugin_snippets is defined %}
  133.   {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  134. {% endif %}
  135.   <script src="{{ asset('assets/js/customize.js', 'user_data') }}"></script>
  136. </body>
  137. </html>