Ignore:
Timestamp:
2013/07/08 13:17:24 (11 years ago)
Author:
Seasoft
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • インデント
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/Smarty/templates/default/products/detail.tpl

    r22890 r22955  
    4343<div id="undercolumn"> 
    4444    <form name="form1" id="form1" method="post" action="?"> 
    45     <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    46     <div id="detailarea" class="clearfix"> 
    47         <div id="detailphotobloc"> 
    48             <div class="photo"> 
    49                 <!--{assign var=key value="main_image"}--> 
    50                 <!--★画像★--> 
    51                 <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
    52                     <a 
    53                         href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" 
    54                         class="expansion" 
    55                         target="_blank" 
    56                     > 
    57                 <!--{/if}--> 
    58                     <img src="<!--{$arrFile[$key].filepath|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /> 
    59                 <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
    60                     </a> 
    61                 <!--{/if}--> 
    62             </div> 
    63             <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
    64                 <span class="mini"> 
    65                         <!--★拡大する★--> 
     45        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     46        <div id="detailarea" class="clearfix"> 
     47            <div id="detailphotobloc"> 
     48                <div class="photo"> 
     49                    <!--{assign var=key value="main_image"}--> 
     50                    <!--★画像★--> 
     51                    <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
    6652                        <a 
    6753                            href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" 
     
    6955                            target="_blank" 
    7056                        > 
    71                             画像を拡大する</a> 
    72                 </span> 
    73             <!--{/if}--> 
    74         </div> 
    75  
    76         <div id="detailrightbloc"> 
    77             <!--▼商品ステータス--> 
    78             <!--{assign var=ps value=$productStatus[$tpl_product_id]}--> 
    79             <!--{if count($ps) > 0}--> 
    80                 <ul class="status_icon clearfix"> 
    81                     <!--{foreach from=$ps item=status}--> 
    82                     <li> 
    83                         <img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$status]}-->" id="icon<!--{$status}-->" /> 
    84                     </li> 
    85                     <!--{/foreach}--> 
    86                 </ul> 
    87             <!--{/if}--> 
    88             <!--▲商品ステータス--> 
    89  
    90             <!--★商品コード★--> 
    91             <dl class="product_code"> 
    92                 <dt>商品コード:</dt> 
    93                 <dd> 
    94                     <span id="product_code_default"> 
    95                         <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> 
    96                             <!--{$arrProduct.product_code_min|h}--> 
    97                         <!--{else}--> 
    98                             <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}--> 
    99                         <!--{/if}--> 
    100                     </span><span id="product_code_dynamic"></span> 
    101                 </dd> 
    102             </dl> 
    103  
    104             <!--★商品名★--> 
    105             <h2><!--{$arrProduct.name|h}--></h2> 
    106  
    107             <!--★通常価格★--> 
    108             <!--{if $arrProduct.price01_min_inctax > 0}--> 
    109                 <dl class="normal_price"> 
    110                     <dt><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(税込):</dt> 
     57                    <!--{/if}--> 
     58                        <img src="<!--{$arrFile[$key].filepath|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /> 
     59                    <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
     60                        </a> 
     61                    <!--{/if}--> 
     62                </div> 
     63                <!--{if $arrProduct.main_large_image|strlen >= 1}--> 
     64                    <span class="mini"> 
     65                            <!--★拡大する★--> 
     66                            <a 
     67                                href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" 
     68                                class="expansion" 
     69                                target="_blank" 
     70                            > 
     71                                画像を拡大する</a> 
     72                    </span> 
     73                <!--{/if}--> 
     74            </div> 
     75 
     76            <div id="detailrightbloc"> 
     77                <!--▼商品ステータス--> 
     78                <!--{assign var=ps value=$productStatus[$tpl_product_id]}--> 
     79                <!--{if count($ps) > 0}--> 
     80                    <ul class="status_icon clearfix"> 
     81                        <!--{foreach from=$ps item=status}--> 
     82                        <li> 
     83                            <img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$status]}-->" id="icon<!--{$status}-->" /> 
     84                        </li> 
     85                        <!--{/foreach}--> 
     86                    </ul> 
     87                <!--{/if}--> 
     88                <!--▲商品ステータス--> 
     89 
     90                <!--★商品コード★--> 
     91                <dl class="product_code"> 
     92                    <dt>商品コード:</dt> 
     93                    <dd> 
     94                        <span id="product_code_default"> 
     95                            <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> 
     96                                <!--{$arrProduct.product_code_min|h}--> 
     97                            <!--{else}--> 
     98                                <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}--> 
     99                            <!--{/if}--> 
     100                        </span><span id="product_code_dynamic"></span> 
     101                    </dd> 
     102                </dl> 
     103 
     104                <!--★商品名★--> 
     105                <h2><!--{$arrProduct.name|h}--></h2> 
     106 
     107                <!--★通常価格★--> 
     108                <!--{if $arrProduct.price01_min_inctax > 0}--> 
     109                    <dl class="normal_price"> 
     110                        <dt><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(税込):</dt> 
     111                        <dd class="price"> 
     112                            <span id="price01_default"><!--{strip}--> 
     113                                <!--{if $arrProduct.price01_min_inctax == $arrProduct.price01_max_inctax}--> 
     114                                    <!--{$arrProduct.price01_min_inctax|number_format}--> 
     115                                <!--{else}--> 
     116                                    <!--{$arrProduct.price01_min_inctax|number_format}-->~<!--{$arrProduct.price01_max_inctax|number_format}--> 
     117                                <!--{/if}--> 
     118                            <!--{/strip}--></span><span id="price01_dynamic"></span> 
     119                            円 
     120                        </dd> 
     121                    </dl> 
     122                <!--{/if}--> 
     123 
     124                <!--★販売価格★--> 
     125                <dl class="sale_price"> 
     126                    <dt><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):</dt> 
    111127                    <dd class="price"> 
    112                         <span id="price01_default"><!--{strip}--> 
    113                             <!--{if $arrProduct.price01_min_inctax == $arrProduct.price01_max_inctax}--> 
    114                                 <!--{$arrProduct.price01_min_inctax|number_format}--> 
    115                             <!--{else}--> 
    116                                 <!--{$arrProduct.price01_min_inctax|number_format}-->~<!--{$arrProduct.price01_max_inctax|number_format}--> 
    117                             <!--{/if}--> 
    118                         <!--{/strip}--></span><span id="price01_dynamic"></span> 
     128                        <span id="price02_default"><!--{strip}--> 
     129                            <!--{if $arrProduct.price02_min_inctax == $arrProduct.price02_max_inctax}--> 
     130                                <!--{$arrProduct.price02_min_inctax|number_format}--> 
     131                            <!--{else}--> 
     132                                <!--{$arrProduct.price02_min_inctax|number_format}-->~<!--{$arrProduct.price02_max_inctax|number_format}--> 
     133                            <!--{/if}--> 
     134                        <!--{/strip}--></span><span id="price02_dynamic"></span> 
    119135                        円 
    120136                    </dd> 
    121137                </dl> 
    122             <!--{/if}--> 
    123  
    124             <!--★販売価格★--> 
    125             <dl class="sale_price"> 
    126                 <dt><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):</dt> 
    127                 <dd class="price"> 
    128                     <span id="price02_default"><!--{strip}--> 
    129                         <!--{if $arrProduct.price02_min_inctax == $arrProduct.price02_max_inctax}--> 
    130                             <!--{$arrProduct.price02_min_inctax|number_format}--> 
    131                         <!--{else}--> 
    132                             <!--{$arrProduct.price02_min_inctax|number_format}-->~<!--{$arrProduct.price02_max_inctax|number_format}--> 
     138 
     139                <!--★ポイント★--> 
     140                <!--{if $smarty.const.USE_POINT !== false}--> 
     141                    <div class="point">ポイント: 
     142                        <span id="point_default"><!--{strip}--> 
     143                            <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
     144                                <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}--> 
     145                            <!--{else}--> 
     146                                <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate}--> 
     147                                    <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}--> 
     148                                <!--{else}--> 
     149                                    <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->~<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate|number_format}--> 
     150                                <!--{/if}--> 
     151                            <!--{/if}--> 
     152                        <!--{/strip}--></span><span id="point_dynamic"></span> 
     153                        Pt 
     154                    </div> 
     155                <!--{/if}--> 
     156 
     157                <!--{* ▼メーカー *}--> 
     158                <!--{if $arrProduct.maker_name|strlen >= 1}--> 
     159                    <dl class="maker"> 
     160                        <dt>メーカー:</dt> 
     161                        <dd><!--{$arrProduct.maker_name|h}--></dd> 
     162                    </dl> 
     163                <!--{/if}--> 
     164                <!--{* ▲メーカー *}--> 
     165 
     166                <!--▼メーカーURL--> 
     167                <!--{if $arrProduct.comment1|strlen >= 1}--> 
     168                    <dl class="comment1"> 
     169                        <dt>メーカーURL:</dt> 
     170                        <dd><a href="<!--{$arrProduct.comment1|h}-->"><!--{$arrProduct.comment1|h}--></a></dd> 
     171                    </dl> 
     172                <!--{/if}--> 
     173                <!--▼メーカーURL--> 
     174 
     175                <!--★関連カテゴリ★--> 
     176                <dl class="relative_cat"> 
     177                    <dt>関連カテゴリ:</dt> 
     178                    <!--{section name=r loop=$arrRelativeCat}--> 
     179                        <dd> 
     180                            <!--{section name=s loop=$arrRelativeCat[r]}--> 
     181                                <a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name|h}--></a> 
     182                                <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> 
     183                            <!--{/section}--> 
     184                        </dd> 
     185                    <!--{/section}--> 
     186                </dl> 
     187 
     188                <!--★詳細メインコメント★--> 
     189                <div class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></div> 
     190 
     191                <!--▼買い物かご--> 
     192 
     193                <div class="cart_area clearfix"> 
     194                    <input type="hidden" name="mode" value="cart" /> 
     195                    <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> 
     196                    <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" /> 
     197                    <input type="hidden" name="favorite_product_id" value="" /> 
     198 
     199                    <!--{if $tpl_stock_find}--> 
     200                        <!--{if $tpl_classcat_find1}--> 
     201                            <div class="classlist"> 
     202                                <!--▼規格1--> 
     203                                <ul class="clearfix"> 
     204                                    <li><!--{$tpl_class_name1|h}-->:</li> 
     205                                    <li> 
     206                                        <select name="classcategory_id1" style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"> 
     207                                        <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> 
     208                                        </select> 
     209                                        <!--{if $arrErr.classcategory_id1 != ""}--> 
     210                                        <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> 
     211                                        <!--{/if}--> 
     212                                    </li> 
     213                                </ul> 
     214                                <!--▲規格1--> 
     215                                <!--{if $tpl_classcat_find2}--> 
     216                                <!--▼規格2--> 
     217                                <ul class="clearfix"> 
     218                                    <li><!--{$tpl_class_name2|h}-->:</li> 
     219                                    <li> 
     220                                        <select name="classcategory_id2" style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> 
     221                                        </select> 
     222                                        <!--{if $arrErr.classcategory_id2 != ""}--> 
     223                                        <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> 
     224                                        <!--{/if}--> 
     225                                    </li> 
     226                                </ul> 
     227                                <!--▲規格2--> 
     228                                <!--{/if}--> 
     229                            </div> 
    133230                        <!--{/if}--> 
    134                     <!--{/strip}--></span><span id="price02_dynamic"></span> 
    135                     円 
    136                 </dd> 
    137             </dl> 
    138  
    139             <!--★ポイント★--> 
    140             <!--{if $smarty.const.USE_POINT !== false}--> 
    141                 <div class="point">ポイント: 
    142                     <span id="point_default"><!--{strip}--> 
    143                         <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    144                             <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}--> 
    145                         <!--{else}--> 
    146                             <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate}--> 
    147                                 <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}--> 
    148                             <!--{else}--> 
    149                                 <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->~<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate|number_format}--> 
    150                             <!--{/if}--> 
    151                         <!--{/if}--> 
    152                     <!--{/strip}--></span><span id="point_dynamic"></span> 
    153                     Pt 
    154                 </div> 
    155             <!--{/if}--> 
    156  
    157             <!--{* ▼メーカー *}--> 
    158             <!--{if $arrProduct.maker_name|strlen >= 1}--> 
    159                 <dl class="maker"> 
    160                     <dt>メーカー:</dt> 
    161                     <dd><!--{$arrProduct.maker_name|h}--></dd> 
    162                 </dl> 
    163             <!--{/if}--> 
    164             <!--{* ▲メーカー *}--> 
    165  
    166             <!--▼メーカーURL--> 
    167             <!--{if $arrProduct.comment1|strlen >= 1}--> 
    168                 <dl class="comment1"> 
    169                     <dt>メーカーURL:</dt> 
    170                     <dd><a href="<!--{$arrProduct.comment1|h}-->"><!--{$arrProduct.comment1|h}--></a></dd> 
    171                 </dl> 
    172             <!--{/if}--> 
    173             <!--▼メーカーURL--> 
    174  
    175             <!--★関連カテゴリ★--> 
    176             <dl class="relative_cat"> 
    177                 <dt>関連カテゴリ:</dt> 
    178                 <!--{section name=r loop=$arrRelativeCat}--> 
    179                     <dd> 
    180                         <!--{section name=s loop=$arrRelativeCat[r]}--> 
    181                             <a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name|h}--></a> 
    182                             <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> 
    183                         <!--{/section}--> 
    184                     </dd> 
    185                 <!--{/section}--> 
    186             </dl> 
    187  
    188             <!--★詳細メインコメント★--> 
    189             <div class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></div> 
    190  
    191             <!--▼買い物かご--> 
    192  
    193             <div class="cart_area clearfix"> 
    194                 <input type="hidden" name="mode" value="cart" /> 
    195                 <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> 
    196                 <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" /> 
    197                 <input type="hidden" name="favorite_product_id" value="" /> 
    198  
    199                 <!--{if $tpl_stock_find}--> 
    200                     <!--{if $tpl_classcat_find1}--> 
    201                         <div class="classlist"> 
    202                             <!--▼規格1--> 
    203                             <ul class="clearfix"> 
    204                                 <li><!--{$tpl_class_name1|h}-->:</li> 
    205                                 <li> 
    206                                     <select name="classcategory_id1" style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"> 
    207                                     <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> 
    208                                     </select> 
    209                                     <!--{if $arrErr.classcategory_id1 != ""}--> 
    210                                     <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> 
     231 
     232                        <!--★数量★--> 
     233                        <dl class="quantity"> 
     234                            <dt>数量:</dt> 
     235                            <dd><input type="text" class="box60" name="quantity" value="<!--{$arrForm.quantity.value|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 
     236                                <!--{if $arrErr.quantity != ""}--> 
     237                                    <br /><span class="attention"><!--{$arrErr.quantity}--></span> 
     238                                <!--{/if}--> 
     239                            </dd> 
     240                        </dl> 
     241 
     242                        <div class="cartin"> 
     243                            <div class="cartin_btn"> 
     244                                <div id="cartbtn_default"> 
     245                                    <!--★カゴに入れる★--> 
     246                                    <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg','cart');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg','cart');"> 
     247                                        <img src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" name="cart" id="cart" /></a> 
     248                                </div> 
     249                            </div> 
     250                        </div> 
     251                        <div class="attention" id="cartbtn_dynamic"></div> 
     252                    <!--{else}--> 
     253                        <div class="attention">申し訳ございませんが、只今品切れ中です。</div> 
     254                    <!--{/if}--> 
     255 
     256                    <!--★お気に入り登録★--> 
     257                    <!--{if $smarty.const.OPTION_FAVORITE_PRODUCT == 1 && $tpl_login === true}--> 
     258                        <div class="favorite_btn"> 
     259                            <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> 
     260                            <!--{if $arrErr[$add_favorite]}--> 
     261                                <div class="attention"><!--{$arrErr[$add_favorite]}--></div> 
     262                            <!--{/if}--> 
     263                            <!--{if !$is_favorite}--> 
     264                                <a href="javascript:fnChangeAction('?product_id=<!--{$arrProduct.product_id|h}-->'); fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|h}-->');" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_favorite_on.jpg','add_favorite_product');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.jpg','add_favorite_product');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.jpg" alt="お気に入りに追加" name="add_favorite_product" id="add_favorite_product" /></a> 
     265                            <!--{else}--> 
     266                                <img src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite_on.jpg" alt="お気に入り登録済" name="add_favorite_product" id="add_favorite_product" /> 
     267                                <script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.tipsy.js"></script> 
     268                                <script type="text/javascript"> 
     269                                    var favoriteButton = $("#add_favorite_product"); 
     270                                    favoriteButton.tipsy({gravity: $.fn.tipsy.autoNS, fallback: "お気に入りに登録済み", fade: true }); 
     271 
     272                                    <!--{if $just_added_favorite == true}--> 
     273                                    favoriteButton.load(function(){$(this).tipsy("show")}); 
     274                                    $(function(){ 
     275                                        var tid = setTimeout('favoriteButton.tipsy("hide")',5000); 
     276                                    }); 
    211277                                    <!--{/if}--> 
    212                                 </li> 
    213                             </ul> 
    214                             <!--▲規格1--> 
    215                             <!--{if $tpl_classcat_find2}--> 
    216                             <!--▼規格2--> 
    217                             <ul class="clearfix"> 
    218                                 <li><!--{$tpl_class_name2|h}-->:</li> 
    219                                 <li> 
    220                                     <select name="classcategory_id2" style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> 
    221                                     </select> 
    222                                     <!--{if $arrErr.classcategory_id2 != ""}--> 
    223                                     <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> 
    224                                     <!--{/if}--> 
    225                                 </li> 
    226                             </ul> 
    227                             <!--▲規格2--> 
     278                                </script> 
    228279                            <!--{/if}--> 
    229280                        </div> 
    230281                    <!--{/if}--> 
    231  
    232                     <!--★数量★--> 
    233                     <dl class="quantity"> 
    234                         <dt>数量:</dt> 
    235                         <dd><input type="text" class="box60" name="quantity" value="<!--{$arrForm.quantity.value|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 
    236                             <!--{if $arrErr.quantity != ""}--> 
    237                                 <br /><span class="attention"><!--{$arrErr.quantity}--></span> 
    238                             <!--{/if}--> 
    239                         </dd> 
    240                     </dl> 
    241  
    242                     <div class="cartin"> 
    243                         <div class="cartin_btn"> 
    244                             <div id="cartbtn_default"> 
    245                                 <!--★カゴに入れる★--> 
    246                                 <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg','cart');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg','cart');"> 
    247                                     <img src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" name="cart" id="cart" /></a> 
    248                             </div> 
    249                         </div> 
    250                     </div> 
    251                     <div class="attention" id="cartbtn_dynamic"></div> 
    252                 <!--{else}--> 
    253                     <div class="attention">申し訳ございませんが、只今品切れ中です。</div> 
    254                 <!--{/if}--> 
    255  
    256                 <!--★お気に入り登録★--> 
    257                 <!--{if $smarty.const.OPTION_FAVORITE_PRODUCT == 1 && $tpl_login === true}--> 
    258                     <div class="favorite_btn"> 
    259                         <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> 
    260                         <!--{if $arrErr[$add_favorite]}--> 
    261                             <div class="attention"><!--{$arrErr[$add_favorite]}--></div> 
    262                         <!--{/if}--> 
    263                         <!--{if !$is_favorite}--> 
    264                             <a href="javascript:fnChangeAction('?product_id=<!--{$arrProduct.product_id|h}-->'); fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|h}-->');" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_favorite_on.jpg','add_favorite_product');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.jpg','add_favorite_product');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite.jpg" alt="お気に入りに追加" name="add_favorite_product" id="add_favorite_product" /></a> 
    265                         <!--{else}--> 
    266                             <img src="<!--{$TPL_URLPATH}-->img/button/btn_add_favorite_on.jpg" alt="お気に入り登録済" name="add_favorite_product" id="add_favorite_product" /> 
    267                             <script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.tipsy.js"></script> 
    268                             <script type="text/javascript"> 
    269                                 var favoriteButton = $("#add_favorite_product"); 
    270                                 favoriteButton.tipsy({gravity: $.fn.tipsy.autoNS, fallback: "お気に入りに登録済み", fade: true }); 
    271  
    272                                 <!--{if $just_added_favorite == true}--> 
    273                                 favoriteButton.load(function(){$(this).tipsy("show")}); 
    274                                 $(function(){ 
    275                                     var tid = setTimeout('favoriteButton.tipsy("hide")',5000); 
    276                                 }); 
    277                                 <!--{/if}--> 
    278                             </script> 
    279                         <!--{/if}--> 
    280                     </div> 
    281                 <!--{/if}--> 
     282                </div> 
    282283            </div> 
     284            <!--▲買い物かご--> 
    283285        </div> 
    284         <!--▲買い物かご--> 
    285     </div> 
    286286    </form> 
    287287 
Note: See TracChangeset for help on using the changeset viewer.