Ignore:
Timestamp:
2009/05/15 16:30:40 (15 years ago)
Author:
kajiwara
Message:

2.4.0 正式版のコミット。コミット内容の詳細はこちら(http://svn.ec-cube.net/open_trac/query?status=closed&milestone=EC-CUBE2.4.0

File:
1 edited

Legend:

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

    r17431 r18007  
    1111 * of the License, or (at your option) any later version. 
    1212 * 
    13  * This program is distributed in the hope that it will be useful, 
     13 * This program is distributed in the hope that it will be useful, 
    1414 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1515 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     
    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      <!--{* 関連カテゴリ *}--> 
     
    147149        <input type="hidden" name="mode" value="cart" /> 
    148150        <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> 
     151        <input type="hidden" name="favorite_product_id" value="" /> 
    149152        <!--{if $tpl_classcat_find1}--> 
    150153        <dl> 
     
    194197        <!--{if $tpl_stock_find}--> 
    195198        <p class="btn"> 
     199 
     200        <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login === true}--> 
     201            <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> 
     202            <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}--> 
     203            <!--{if !$arrProduct.favorite_count}--> 
     204                <a href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|escape}-->');" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/add_favolite_product_on.gif','add_favolite_product');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/add_favolite_product.gif','add_favolite_product');"> 
     205                    <img src="<!--{$TPL_DIR}-->img/products/add_favolite_product.gif" width="115" height="20" alt="お気に入りに追加" name="add_favolite_product" id="add_favolite_product" /> 
     206                </a> 
     207            <!--{/if}--> 
     208        <!--{/if}--> 
    196209          <!--★カゴに入れる★--> 
    197210          <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');"> 
     
    261274 
    262275    <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> 
    263     <!--★新規コメントを書き込む★--> 
     276      <!--★新規コメントを書き込む★--> 
    264277      <a href="./review.php" 
    265278         onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" 
     
    286299 
    287300  <!--{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   <!--▲トラックバックここまで--> 
     301    <!--▼トラックバックここから--> 
     302    <div id="trackbackarea"> 
     303      <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2> 
     304      <h3>この商品のトラックバック先URL</h3> 
     305      <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> 
     306 
     307      <!--{if $arrTrackback}--> 
     308        <ul> 
     309        <!--{section name=cnt loop=$arrTrackback}--> 
     310          <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> 
     311            <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li> 
     312        <!--{/section}--> 
     313        </ul> 
     314      <!--{/if}--> 
     315    <!--▲トラックバックここまで--> 
    303316  </div> 
    304317  <!--{/if}--> 
     
    316329      <!-- 左列 --> 
    317330      <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}--> 
     331        <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
     332          <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
     333        <!--{else}--> 
     334          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
     335        <!--{/if}--> 
    323336 
    324337        <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}-->" /> 
     338          <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
    326339        </a> 
    327340 
     
    331344 
    332345        <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> 
     346          <!--{if $price02_min == $price02_max}--> 
     347            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     348          <!--{else}--> 
     349            <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     350          <!--{/if}-->円</span></p> 
    338351        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
    339352      </div> 
     
    347360      <!-- 右列 --> 
    348361      <div class="whoboughtright"> 
    349         <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    350362        <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
    351363          <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
     
    353365          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    354366        <!--{/if}--> 
     367        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    355368          <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
    356369        </a> 
     370 
    357371        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
    358372        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
     
    361375        <p>価格<span class="mini">(税込)</span>:<span class="price"> 
    362376 
    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> 
     377         <!--{if $price02_min == $price02_max}--> 
     378           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     379         <!--{else}--> 
     380           <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     381         <!--{/if}-->円</span></p> 
    368382        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
    369383      </div> 
Note: See TracChangeset for help on using the changeset viewer.