Changeset 17788


Ignore:
Timestamp:
2009/02/17 13:53:04 (15 years ago)
Author:
zeniya
Message:

EC-CUBE2.4改修 #376

Location:
branches/version-2_4/data/Smarty/templates/default
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/Smarty/templates/default/cart/index.tpl

    r17424 r17788  
    2727    </h2> 
    2828    <p class="totalmoneyarea"> 
    29       <!--{if $tpl_login}--> 
    30       <!--メインコメント--> 
    31         <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br /> 
    32       <!--{else}--> 
    33         <!--メインコメント-->ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br /> 
     29      <!--★ポイント案内★--> 
     30      <!--{if $smarty.const.USE_POINT === true}--> 
     31        <!--{if $tpl_login}--> 
     32          <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br /> 
     33        <!--{else}--> 
     34          ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br /> 
     35        <!--{/if}--> 
    3436      <!--{/if}--> 
    35       ポイントは商品購入時に1pt=<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br /> 
     37 
    3638      <!--{* カゴの中に商品がある場合にのみ表示 *}--> 
    3739      <!--{if count($arrProductsClass) > 0 }--> 
     
    5254 
    5355   <!--{if count($arrProductsClass) > 0}--> 
    54     
     56 
    5557   <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 
    5658   <!--{if 'sfGMOCartDisplay'|function_exists}--> 
    5759     <!--{'sfGMOCartDisplay'|call_user_func}--> 
    5860   <!--{/if}--> 
    59     
     61 
    6062     <input type="hidden" name="mode" value="confirm" /> 
    6163     <input type="hidden" name="cart_no" value="" /> 
     
    110112      <td class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td> 
    111113    </tr> 
    112     <!--{if $arrData.birth_point > 0}--> 
    113     <tr> 
    114       <th colspan="5" class="resulttd">お誕生月ポイント</th> 
    115       <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td> 
    116     </tr> 
    117     <!--{/if}--> 
    118     <tr> 
    119       <th colspan="5" class="resulttd">今回加算ポイント</th> 
    120       <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td> 
    121     </tr> 
     114      <!--{if $smarty.const.USE_POINT === true}--> 
     115        <!--{if $arrData.birth_point > 0}--> 
     116        <tr> 
     117          <th colspan="5" class="resulttd">お誕生月ポイント</th> 
     118          <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td> 
     119        </tr> 
     120        <!--{/if}--> 
     121        <tr> 
     122          <th colspan="5" class="resulttd">今回加算ポイント</th> 
     123          <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td> 
     124        </tr> 
     125      <!--{/if}--> 
    122126  </table> 
    123127  <p class="mini">※商品写真は参考用写真です。ご注文のカラーと異なる写真が表示されている場合でも、商品番号に記載されているカラー表示で間違いございませんのでご安心ください。</p> 
  • branches/version-2_4/data/Smarty/templates/default/detail.tpl

    r17431 r17788  
    7777      <!--アイコン--> 
    7878      <!--{if count($arrProduct.product_flag) > 0}--> 
    79       <ul> 
     79      <ul class="status_icon"> 
    8080        <!--{section name=flg loop=$arrProduct.product_flag|count_characters}--> 
    8181        <!--{if $arrProduct.product_flag[flg] == "1"}--> 
     
    120120 
    121121      <!--★ポイント★--> 
    122       <div><span class="price">ポイント: 
    123         <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    124           <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    125         <!--{else}--> 
    126           <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     122      <!--{if $smarty.const.USE_POINT === true}--> 
     123        <div><span class="price">ポイント: 
     124          <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    127125            <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    128126          <!--{else}--> 
    129             <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->〜<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    130           <!--{/if}--> 
    131         <!--{/if}-->Pt</span></div> 
     127            <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     128              <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     129            <!--{else}--> 
     130              <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--><!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     131            <!--{/if}--> 
     132          <!--{/if}-->Pt</span></div> 
     133      <!--{/if}--> 
    132134 
    133135      <!--{* 関連カテゴリ *}--> 
     
    261263 
    262264    <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> 
    263     <!--★新規コメントを書き込む★--> 
     265      <!--★新規コメントを書き込む★--> 
    264266      <a href="./review.php" 
    265267         onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" 
     
    286288 
    287289  <!--{if $arrTrackbackView == "ON"}--> 
    288   <!--▼トラックバックここから--> 
    289   <div id="trackbackarea"> 
    290     <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2> 
    291     <h3>この商品のトラックバック先URL</h3> 
    292     <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> 
    293  
    294     <!--{if $arrTrackback}--> 
    295       <ul> 
    296       <!--{section name=cnt loop=$arrTrackback}--> 
    297         <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}--> <a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|escape}--></a> from <!--{$arrTrackback[cnt].blog_name|escape}--></strong> 
    298           <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li> 
    299       <!--{/section}--> 
    300       </ul> 
    301     <!--{/if}--> 
    302   <!--▲トラックバックここまで--> 
     290    <!--▼トラックバックここから--> 
     291    <div id="trackbackarea"> 
     292      <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2> 
     293      <h3>この商品のトラックバック先URL</h3> 
     294      <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> 
     295 
     296      <!--{if $arrTrackback}--> 
     297        <ul> 
     298        <!--{section name=cnt loop=$arrTrackback}--> 
     299          <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}--> <a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|escape}--></a> from <!--{$arrTrackback[cnt].blog_name|escape}--></strong> 
     300            <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li> 
     301        <!--{/section}--> 
     302        </ul> 
     303      <!--{/if}--> 
     304    <!--▲トラックバックここまで--> 
    303305  </div> 
    304306  <!--{/if}--> 
     
    316318      <!-- 左列 --> 
    317319      <div class="whoboughtleft"> 
    318       <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
    319         <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
    320       <!--{else}--> 
    321         <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    322       <!--{/if}--> 
     320        <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
     321          <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
     322        <!--{else}--> 
     323          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
     324        <!--{/if}--> 
    323325 
    324326        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    325          <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
     327          <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
    326328        </a> 
    327329 
     
    331333 
    332334        <p>価格<span class="mini">(税込)</span>:<span class="price"> 
    333         <!--{if $price02_min == $price02_max}--> 
    334           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    335         <!--{else}--> 
    336           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    337         <!--{/if}-->円</span></p> 
     335          <!--{if $price02_min == $price02_max}--> 
     336            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     337          <!--{else}--> 
     338            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     339          <!--{/if}-->円</span></p> 
    338340        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
    339341      </div> 
     
    347349      <!-- 右列 --> 
    348350      <div class="whoboughtright"> 
    349         <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    350351        <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
    351352          <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
     
    353354          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    354355        <!--{/if}--> 
     356        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    355357          <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
    356358        </a> 
     359 
    357360        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
    358361        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
     
    361364        <p>価格<span class="mini">(税込)</span>:<span class="price"> 
    362365 
    363         <!--{if $price02_min == $price02_max}--> 
    364           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    365         <!--{else}--> 
    366           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    367         <!--{/if}-->円</span></p> 
     366         <!--{if $price02_min == $price02_max}--> 
     367           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     368         <!--{else}--> 
     369           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     370         <!--{/if}-->円</span></p> 
    368371        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
    369372      </div> 
  • branches/version-2_4/data/Smarty/templates/default/list.tpl

    r17638 r17788  
    100100       <!--商品ステータス--> 
    101101       <!--{if count($arrProducts[cnt].product_flag) > 0}--> 
    102        <ul> 
     102       <ul class="status_icon"> 
    103103         <!--{section name=flg loop=$arrProducts[cnt].product_flag|count_characters}--> 
    104104           <!--{if $arrProducts[cnt].product_flag[flg] == "1"}--> 
     
    139139           <div class="in_cart"> 
    140140             <dl> 
    141             
     141 
    142142         <!--{assign var=class1 value=classcategory_id`$id`_1}--> 
    143143         <!--{assign var=class2 value=classcategory_id`$id`_2}--> 
     
    165165           </dd> 
    166166         <!--{/if}--> 
    167           
     167 
    168168         <!--{assign var=quantity value=quantity`$id`}--> 
    169169           <dt>個数:</dt> 
  • branches/version-2_4/data/Smarty/templates/default/mail_templates/order_mail.tpl

    r16612 r17788  
    7070=============================================================== 
    7171合 計 ¥ <!--{$arrOrder.payment_total|number_format|default:0}--> 
    72 <!--{if $arrOrder.customer_id}--> 
     72<!--{if $arrOrder.customer_id && $smarty.const.USE_POINT === true}--> 
    7373=============================================================== 
    7474<!--{* ご注文前のポイント {$tpl_user_point} pt *}--> 
Note: See TracChangeset for help on using the changeset viewer.