source: branches/version-2_5-dev/data/Smarty/templates/mobile/products/list.tpl @ 20571

Revision 20571, 2.1 KB checked in by Seasoft, 11 years ago (diff)

#628(未使用処理・定義などの削除)

  • 未定義 Smarty 変数を使用した分岐。分岐を行わず、汎用的な文とした。
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<!--{if $tpl_strnavi != "&nbsp;"}-->
25<!--{$tpl_strnavi}-->
26<br><br>
27<!--{/if}-->
28
29<!--{foreach from=$arrProducts key=i item=arrProduct}-->
30<!-- ▼商品 ここから -->
31<!--{if $i+1<9}--><!--{$i+1|numeric_emoji}--><!--{else}-->[<!--{$i+1}-->]<!--{/if}-->
32<!-- 商品名 --><!--{$arrProduct.name|h}--><br>
33
34<!--{$smarty.const.SALE_PRICE_TITLE}-->:
35<!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
36¥<!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
37<!--{else}-->
38¥<!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~¥<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
39<!--{/if}-->
40<br>
41
42<div align="right">
43<!--{if $i+1<9}-->
44<a href="<!--{$smarty.const.MOBILE_P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" accesskey="<!--{$i+1}-->">商品詳細へ→</a>
45<!--{else}-->
46<a href="<!--{$smarty.const.MOBILE_P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->">商品詳細へ→</a>
47<!--{/if}-->
48</div>
49
50<br>
51<!-- ▲商品 ここまで -->
52<!--{foreachelse}-->
53該当商品がありません。<br>
54<!--{/foreach}-->
55
56<!--{if $tpl_strnavi != "&nbsp;"}-->
57<!--{$tpl_strnavi}-->
58<br><br>
59<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.