source: branches/version-2_13-dev/data/Smarty/templates/default/rss/products.tpl @ 23494

Revision 23494, 3.0 KB checked in by pineray, 7 years ago (diff)

#2386 PHP 警告撲滅 for 2.13.3

ロケール処理も考慮に入れて、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<?xml version="1.0" encoding="<!--{$encode}-->"?>
2<!--{*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2013 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<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
25<channel>
26<title><!--{$arrSiteInfo.shop_name|sfMbConvertEncoding:$encode}--> : <!--{$title|sfMbConvertEncoding:$encode}--></title>
27<link><!--{$smarty.const.HTTP_URL}--></link>
28<description><!--{$arrSiteInfo.message|sfMbConvertEncoding:$encode}--></description>
29<language>ja</language>
30<!--{foreach from=$arrProducts item=arrProduct}-->
31    <item>
32        <title><!--{$arrProduct.name|h|sfMbConvertEncoding:$encode}--></title>
33        <link><!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct.product_id}--></link>
34        <description><![CDATA[
35            <div class="hproduct">
36                <a href="<!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct.product_id}-->" rel="product">
37                    <img src="<!--{$arrProduct.main_list_image}-->" alt="<!--{$arrProduct.product_name|h|sfMbConvertEncoding:$encode}-->" class="product-thumb" />
38                </a>
39                <div class="product-title"><a href="<!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct.product_id}-->" rel="product"><!--{$arrProduct.product_name|h|sfMbConvertEncoding:$encode}--></a></div>
40                商品コード:<!--{$arrProduct.product_code_max|h|sfMbConvertEncoding:$encode}-->
41                <div><!--{$smarty.const.SALE_PRICE_TITLE}-->:
42                    <span class="price">
43                        <!--{if $arrProduct.price02_min_inctax == $arrProduct.price02_max_inctax}-->
44                            <!--{$arrProduct.price02_min_inctax|n2s}-->
45                        <!--{else}-->
46                            <!--{$arrProduct.price02_min_inctax|n2s}-->〜<!--{$arrProduct.price02_max_inctax|n2s}-->
47                        <!--{/if}-->円</span>
48                </div>
49                <div class="description">
50                    <!--{$arrProduct.main_list_comment|h|sfMbConvertEncoding:$encode|nl2br}-->
51                </div>
52            </div>
53        ]]></description>
54        <pubDate><!--{$arrProduct.update_date|date_format:"%Y-%m-%dT%T+09:00"}--></pubDate>
55    </item>
56<!--{/foreach}-->
57</channel>
58</rss >
Note: See TracBrowser for help on using the repository browser.