source: branches/version-2_13-dev/data/Smarty/templates/default/header.tpl @ 22931

Revision 22931, 3.7 KB checked in by Seasoft, 11 years ago (diff)

#2291 (利用ガイドブロック selected クラスの指定に誤り)
#2140 (標準テンプレートのカスタマイズ性を高める)
#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • html ヘッダーを「charset -> title -> meta -> link -> script」の順に整えた。ただし、スマートフォンは定義が複雑なので、link, script の混在は残した。

#2044 (無駄な処理を改善する for 2.13.0)

  • ヘッダー部の h1 マークアップは、古の SEO 手法だと思いますので削除します。
  • Property svn:eol-style set to LF
  • Property svn:executable set to *
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    02111-1307, USA.
21 *}-->
22
23<!--▼HEADER-->
24<div id="header_wrap">
25    <div id="header" class="clearfix">
26        <div id="logo_area">
27            <p id="site_description">EC-CUBE発!世界中を旅して見つけた立方体グルメを立方隊長が直送!</p>
28            <a href="<!--{$smarty.const.TOP_URLPATH}-->"><img src="<!--{$TPL_URLPATH}-->img/common/logo.gif" alt="<!--{$arrSiteInfo.shop_name|h}-->/<!--{$tpl_title|h}-->" /></a>
29        </div>
30        <div id="header_utility">
31            <div id="headerInternalColumn">
32            <!--{* ▼HeaderInternal COLUMN*}-->
33            <!--{if $arrPageLayout.HeaderInternalNavi|@count > 0}-->
34                <!--{* ▼上ナビ *}-->
35                <!--{foreach key=HeaderInternalNaviKey item=HeaderInternalNaviItem from=$arrPageLayout.HeaderInternalNavi}-->
36                    <!-- ▼<!--{$HeaderInternalNaviItem.bloc_name}--> -->
37                    <!--{if $HeaderInternalNaviItem.php_path != ""}-->
38                        <!--{include_php file=$HeaderInternalNaviItem.php_path items=$HeaderInternalNaviItem}-->
39                    <!--{else}-->
40                        <!--{include file=$HeaderInternalNaviItem.tpl_path items=$HeaderInternalNaviItem}-->
41                    <!--{/if}-->
42                    <!-- ▲<!--{$HeaderInternalNaviItem.bloc_name}--> -->
43                <!--{/foreach}-->
44                <!--{* ▲上ナビ *}-->
45            <!--{/if}-->
46            <!--{* ▲HeaderInternal COLUMN*}-->
47            </div>
48            <div id="header_navi">
49                <ul>
50                    <li class="mypage">
51                        <a href="<!--{$smarty.const.HTTPS_URL}-->mypage/login.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_mypage_on.jpg','mypage');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_mypage.jpg','mypage');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_mypage.jpg" alt="MYページ" name="mypage" id="mypage" /></a>
52                    </li>
53                    <li class="entry">
54                        <a href="<!--{$smarty.const.ROOT_URLPATH}-->entry/kiyaku.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_entry_on.jpg','entry');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_entry.jpg','entry');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_entry.jpg" alt="会員登録" name="entry" id="entry" /></a>
55                    </li>
56                    <li>
57                        <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_cart_on.jpg','cartin');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/common/btn_header_cart.jpg','cartin');"><img src="<!--{$TPL_URLPATH}-->img/common/btn_header_cart.jpg" alt="カゴの中を見る" name="cartin" id="cartin" /></a>
58                    </li>
59                </ul>
60            </div>
61        </div>
62    </div>
63</div>
64<!--▲HEADER-->
Note: See TracBrowser for help on using the repository browser.