Ignore:
Timestamp:
2011/03/05 15:55:59 (13 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

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

    r20522 r20525  
    172172                <h3> 
    173173                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" name="product<!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|h}--></a> 
    174                </h3> 
    175                <!--★価格★--> 
    176                <div class="pricebox sale_price"> 
    177                    <!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): 
    178                    <span class="price"> 
    179                        <span id="price02_default_<!--{$id}-->"> 
    180                            <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    181                                <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    182                            <!--{else}--> 
     174                </h3> 
     175                <!--★価格★--> 
     176                <div class="pricebox sale_price"> 
     177                    <!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): 
     178                    <span class="price"> 
     179                        <span id="price02_default_<!--{$id}-->"> 
     180                            <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
     181                                <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     182                            <!--{else}--> 
    183183                                <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    184                            <!--{/if}--> 
    185                        </span><span id="price02_dynamic_<!--{$id}-->"></span> 
    186                        円</span> 
    187                </div> 
    188  
    189                <!--★コメント★--> 
    190                <div class="listcomment"><!--{$arrProduct.main_list_comment|h|nl2br}--></div> 
    191  
    192                <!--★商品詳細を見る★--> 
    193                <div class="detail_btn"> 
    194                    <!--{assign var=name value="detail`$id`"}--> 
    195                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail_on.jpg','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg','<!--{$name}-->');"> 
    196                    <img src="<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg" alt="商品詳細を見る" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 
    197                </div> 
    198  
    199                <!--▼買い物かご--> 
    200                <input type="hidden" name="product_id" value="<!--{$id|h}-->" /> 
    201                <input type="hidden" name="product_class_id" id="product_class_id<!--{$id|h}-->" value="<!--{$tpl_product_class_id[$id]}-->" /> 
    202  
    203                <div class="cart_area clearfix"> 
    204                    <!--{if $tpl_stock_find[$id]}--> 
    205                        <!--{if $tpl_classcat_find1[$id]}--> 
    206                            <div class="classlist"> 
    207                                <dl class="size01 clearfix"> 
     184                            <!--{/if}--> 
     185                        </span><span id="price02_dynamic_<!--{$id}-->"></span> 
     186                        円</span> 
     187                </div> 
     188 
     189                <!--★コメント★--> 
     190                <div class="listcomment"><!--{$arrProduct.main_list_comment|h|nl2br}--></div> 
     191 
     192                <!--★商品詳細を見る★--> 
     193                <div class="detail_btn"> 
     194                    <!--{assign var=name value="detail`$id`"}--> 
     195                    <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail_on.jpg','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg','<!--{$name}-->');"> 
     196                    <img src="<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg" alt="商品詳細を見る" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 
     197                </div> 
     198 
     199                <!--▼買い物かご--> 
     200                <input type="hidden" name="product_id" value="<!--{$id|h}-->" /> 
     201                <input type="hidden" name="product_class_id" id="product_class_id<!--{$id|h}-->" value="<!--{$tpl_product_class_id[$id]}-->" /> 
     202 
     203                <div class="cart_area clearfix"> 
     204                    <!--{if $tpl_stock_find[$id]}--> 
     205                        <!--{if $tpl_classcat_find1[$id]}--> 
     206                            <div class="classlist"> 
     207                                <dl class="size01 clearfix"> 
    208208                                        <!--▼規格1--> 
    209209                                        <dt><!--{$tpl_class_name1[$id]|h}-->:</dt> 
     
    215215                                                <p class="attention">※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。</p> 
    216216                                            <!--{/if}--> 
    217                                        </dd> 
     217                                        </dd> 
    218218                                        <!--▲規格1--> 
    219219                                </dl> 
     
    224224                                        <dd> 
    225225                                            <select name="classcategory_id2" style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> 
    226                                            </select> 
     226                                            </select> 
    227227                                            <!--{if $arrErr.classcategory_id2 != ""}--> 
    228228                                                <p class="attention">※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。</p> 
     
    236236                        <div class="cartin clearfix"> 
    237237                            <div class="quantity"> 
    238                                数量:<input type="text" name="quantity" class="box" value="<!--{$arrProduct.quantity|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 
     238                                数量:<input type="text" name="quantity" class="box" value="<!--{$arrProduct.quantity|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 
    239239                                <!--{if $arrErr.quantity != ""}--> 
    240240                                    <br /><span class="attention"><!--{$arrErr.quantity}--></span> 
     
    249249                            </div> 
    250250                        </div> 
    251                    <!--{else}--> 
     251                    <!--{else}--> 
    252252                        <div class="cartbtn attention">申し訳ございませんが、只今品切れ中です。</div> 
    253                    <!--{/if}--> 
     253                    <!--{/if}--> 
    254254                </div> 
    255255                <!--▲買い物かご--> 
Note: See TracChangeset for help on using the changeset viewer.