Ignore:
Timestamp:
2013/07/01 11:45:09 (11 years ago)
Author:
Seasoft
Message:

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

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

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

  • ヘッダー部の h1 マークアップは、古の SEO 手法だと思いますので削除します。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/Smarty/templates/sphone/header.tpl

    r22206 r22931  
    2121 *}--> 
    2222 
    23 <header class="global_header clearfix"> 
    24     <h1><a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->"><img src="<!--{$TPL_URLPATH}-->img/header/logo.png" width="150" height="25" alt="<!--{$arrSiteInfo.shop_name|h}-->" /></a></h1> 
    25     <div class="header_utility"> 
    26         <!--{* ▼HeaderInternal COLUMN *}--> 
    27         <!--{if $arrPageLayout.HeaderInternalNavi|@count > 0}--> 
    28             <!--{* ▼上ナビ *}--> 
    29             <!--{foreach key=HeaderInternalNaviKey item=HeaderInternalNaviItem from=$arrPageLayout.HeaderInternalNavi}--> 
    30                 <!-- ▼<!--{$HeaderInternalNaviItem.bloc_name}--> --> 
    31                 <!--{if $HeaderInternalNaviItem.php_path != ""}--> 
    32                     <!--{include_php file=$HeaderInternalNaviItem.php_path items=$HeaderInternalNaviItem}--> 
    33                 <!--{else}--> 
    34                     <!--{include file=$HeaderInternalNaviItem.tpl_path items=$HeaderInternalNaviItem}--> 
    35                 <!--{/if}--> 
    36                 <!-- ▲<!--{$HeaderInternalNaviItem.bloc_name}--> --> 
    37             <!--{/foreach}--> 
    38             <!--{* ▲上ナビ *}--> 
    39         <!--{/if}--> 
    40         <!--{* ▲HeaderInternal COLUMN *}--> 
    41     </div> 
    42 </header> 
     23<!--{strip}--> 
     24    <header class="global_header clearfix"> 
     25        <div id="logo_area"> 
     26            <a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->"><img src="<!--{$TPL_URLPATH}-->img/header/logo.png" width="150" height="25" alt="<!--{$arrSiteInfo.shop_name|h}-->" /></a> 
     27        </div> 
     28        <div class="header_utility"> 
     29            <!--{* ▼HeaderInternal COLUMN *}--> 
     30            <!--{if $arrPageLayout.HeaderInternalNavi|@count > 0}--> 
     31                <!--{foreach key=HeaderInternalNaviKey item=HeaderInternalNaviItem from=$arrPageLayout.HeaderInternalNavi}--> 
     32                    <!-- ▼<!--{$HeaderInternalNaviItem.bloc_name}--> --> 
     33                    <!--{if $HeaderInternalNaviItem.php_path != ""}--> 
     34                        <!--{include_php file=$HeaderInternalNaviItem.php_path items=$HeaderInternalNaviItem}--> 
     35                    <!--{else}--> 
     36                        <!--{include file=$HeaderInternalNaviItem.tpl_path items=$HeaderInternalNaviItem}--> 
     37                    <!--{/if}--> 
     38                    <!-- ▲<!--{$HeaderInternalNaviItem.bloc_name}--> --> 
     39                <!--{/foreach}--> 
     40            <!--{/if}--> 
     41            <!--{* ▲HeaderInternal COLUMN *}--> 
     42        </div> 
     43    </header> 
     44<!--{/strip}--> 
Note: See TracChangeset for help on using the changeset viewer.