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

Revision 20522, 3.2 KB checked in by Seasoft, 13 years ago (diff)

#627(ソース整形・ソースコメントの改善)
#624(軽微な表示乱れを修正)

  • HTML 構文誤り
  • 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-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<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
24<channel>
25<title><!--{$arrSiteInfo.shop_name|sfMbConvertEncoding:$encode}--> : <!--{$title|sfMbConvertEncoding:$encode}--></title>
26<link><!--{$smarty.const.HTTP_URL}--></link>
27<description><!--{$arrSiteInfo.message|sfMbConvertEncoding:$encode}--></description>
28<language>ja</language>
29<!--{section name=cnt loop=$arrProduct}-->
30    <item>
31        <title><!--{$arrProduct[cnt].name|h|sfMbConvertEncoding:$encode}--></title>
32        <link><!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct[cnt].product_id}--></link>
33        <description><![CDATA[
34            <div class="hproduct">
35                <a href="<!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct[cnt].product_id}-->" rel="product">
36                    <img src="<!--{$arrProduct[cnt].main_list_image}-->" alt="<!--{$arrProduct[cnt].product_name|h|sfMbConvertEncoding:$encode}-->" class="product-thumb" />
37                </a>
38                <div class="product-title"><a href="<!--{$smarty.const.HTTP_URL}-->products/detail.php?product_id=<!--{$arrProduct[cnt].product_id}-->" rel="product"><!--{$arrProduct[cnt].product_name|h|sfMbConvertEncoding:$encode}--></a></div>
39                商品コード:<!--{$arrProduct[cnt].product_code_max|h|sfMbConvertEncoding:$encode}-->
40                <div><!--{$smarty.const.SALE_PRICE_TITLE}-->:
41                    <span class="price">
42                        <!--{if $arrProduct[cnt].price02_min == $arrProduct[cnt].price02_max}-->
43                            <!--{$arrProduct[cnt].price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
44                        <!--{else}-->
45                            <!--{$arrProduct[cnt].price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProduct[cnt].price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
46                        <!--{/if}-->円</span>
47                </div>
48                <div class="description">
49                    <!--{$arrProduct[cnt].main_list_comment|h|sfMbConvertEncoding:$encode|nl2br}-->
50                </div>
51            </div>
52        ]]></description>
53        <pubDate><!--{$arrProduct[cnt].update_date|date_format:"%Y-%m-%dT%T+09:00"}--></pubDate>
54    </item>
55<!--{/section}-->
56</channel>
57</rss >
Note: See TracBrowser for help on using the repository browser.