[Svn-src-all:1507] [version-2_5-dev 20403] #1035 .tplファイルの名前修正
yomoro
admin @ mail.ec-cube.net
2011年 2月 25日 (金) 10:59:20 JST
Subversion committed to /home/svn/open 20403
http://svn.ec-cube.net/open_trac/changeset/20403
┌────────────────────────────┐
│更新者 : yomoro │
│更新日時: 2011-02-25 10:59:19 +0900 (金, 25 2月 2011)│
└────────────────────────────┘
Log:
--------------------------------------------------------
#1035 .tplファイルの名前修正
Changed: [U:修正,A:追加,D:削除]
--------------------------------------------------------
A branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/recommend.tpl
A branches/version-2_5-dev/data/Smarty/templates/mobile/frontparts/bloc/recommend.tpl
A branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl
コピーによる追加: branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/recommend.tpl (コピー元: リビジョン 20393, branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/best5.tpl)
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/recommend.tpl (rev 0)
+++ branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/recommend.tpl 2011-02-25 01:59:19 UTC (rev 20403)
@@ -0,0 +1,74 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *}-->
+<!--{if count($arrBestProducts) > 0}-->
+<div class="bloc_outer" class="clearfix">
+ <div id="recomend_area">
+ <h2><img src="<!--{$TPL_URLPATH}-->img/title/tit_bloc_recommend.jpg" alt="*" class="title_icon" /></h2>
+ <!--{section name=cnt loop=$arrBestProducts step=2}-->
+ <div class="bloc_body clearfix">
+ <div class="recomendleft clearfix">
+ <div class="productImage">
+ <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->">
+ <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[cnt].main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrBestProducts[cnt].name|h}-->" /></a>
+ </div>
+ <div class="productContents">
+ <h3>
+ <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->"><!--{$arrBestProducts[cnt].name|h}--></a>
+ </h3>
+ <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
+ <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->
+ <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):
+ <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
+ </p>
+ <p class="mini comment"><!--{$arrBestProducts[cnt].comment|h|nl2br}--></p>
+ </div>
+ </div>
+
+ <div class="recomendright clearfix">
+ <div class="productImage">
+ <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1`}-->
+ <!--{if $arrBestProducts[$cnt2]|count > 0}-->
+
+ <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->">
+ <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[$cnt2].main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrBestProducts[$cnt2].name|h}-->" /></a>
+ </div>
+ <div class="productContents">
+ <h3>
+ <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->"><!--{$arrBestProducts[$cnt2].name|h}--></a>
+ </h3>
+
+ <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}-->
+ <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}-->
+
+ <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):
+ <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
+ </p>
+ <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|h|nl2br}--></p>
+ <!--{/if}-->
+ </div>
+ </div>
+
+ </div>
+ <!--{/section}-->
+ </div>
+</div>
+<!--{/if}-->
コピーによる追加: branches/version-2_5-dev/data/Smarty/templates/mobile/frontparts/bloc/recommend.tpl (コピー元: リビジョン 20393, branches/version-2_5-dev/data/Smarty/templates/mobile/frontparts/bloc/best5.tpl)
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/mobile/frontparts/bloc/recommend.tpl (rev 0)
+++ branches/version-2_5-dev/data/Smarty/templates/mobile/frontparts/bloc/recommend.tpl 2011-02-25 01:59:19 UTC (rev 20403)
@@ -0,0 +1,38 @@
+<!--{*
+/*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+*}-->
+<!--{if count($arrBestProducts) > 0}-->
+<center>
+<!--{foreach from=$arrBestProducts item=arrProduct name=best_products}-->
+
+<!-- ▼おすすめ商品コメント ここから -->
+<a href="<!--{$smarty.const.MOBILE_P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->">
+<!--{$arrProduct.comment|h|nl2br}--></a>
+<!-- ▲おすすめ商品コメント ここまで -->
+
+<!--{if !$smarty.foreach.best_products.last}--><br><br><!--{/if}-->
+<!--{/foreach}-->
+</center>
+<hr>
+<br>
+<!--{/if}-->
コピーによる追加: branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl (コピー元: リビジョン 20393, branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/best5.tpl)
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl (rev 0)
+++ branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/recommend.tpl 2011-02-25 01:59:19 UTC (rev 20403)
@@ -0,0 +1,74 @@
+<!--{*
+ * This file is part of EC-CUBE
+ *
+ * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *}-->
+<!--{if count($arrBestProducts) > 0}-->
+<div id="recomendarea" class="bloc_outer">
+ <h2><img src="<!--{$TPL_URLPATH}-->img/bloc/best5/title_icon.gif" width="20" height="20" alt="*" class="title_icon" />
+ おすすめ商品</h2>
+ <!--{section name=cnt loop=$arrBestProducts step=2}-->
+ <div class="recomendblock">
+ <div class="recomendleft">
+
+ <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->">
+ <img src="<!--{$smarty.const.SMARTPHONE_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[cnt].main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrBestProducts[cnt].name|h}-->" /></a>
+
+ <div class="recomendrightblock">
+ <h3>
+ <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[cnt].product_id|u}-->"><!--{$arrBestProducts[cnt].name|h}--></a>
+ </h3>
+
+ <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}-->
+ <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}-->
+
+ <p class="sale_price"><span class="mini">(税込)</span>:
+ <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
+ </p>
+
+ <p class="mini comment"><!--{$arrBestProducts[cnt].comment|h|nl2br}--></p>
+ </div>
+ </div>
+
+ <!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1`}-->
+ <!--{if $arrBestProducts[$cnt2]|count > 0}-->
+ <div class="recomendright">
+ <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->">
+ <img src="<!--{$smarty.const.SMARTPHONE_URLPATH}-->resize_image.php?image=<!--{$arrBestProducts[$cnt2].main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrBestProducts[$cnt2].name|h}-->" /></a>
+
+ <div class="recomendrightblock">
+ <h3>
+ <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrBestProducts[$cnt2].product_id|u}-->"><!--{$arrBestProducts[$cnt2].name|h}--></a>
+ </h3>
+
+ <!--{assign var=price01 value=`$arrBestProducts[$cnt2].price01_min`}-->
+ <!--{assign var=price02 value=`$arrBestProducts[$cnt2].price02_min`}-->
+
+ <p class="sale_price"><span class="mini">(税込)</span>:
+ <span class="price"><!--{$price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> 円</span>
+ </p>
+
+ <p class="mini comment"><!--{$arrBestProducts[$cnt2].comment|h|nl2br}--></p>
+ </div>
+ </div>
+ <!--{/if}-->
+ </div>
+ <!--{/section}-->
+</div>
+<!--{/if}-->
Svn-src-all メーリングリストの案内