source: branches/comu-ver2/data/Smarty/templates/default/admin/ownersstore/products_list.tpl @ 17997

Revision 17997, 4.3 KB checked in by Seasoft, 15 years ago (diff)

BOMによりレンダリングが乱れる不具合を修正。
・テンプレートのBOMを削除

Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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<table id="ownersstore-products-list" class="list center">
25    <tr>
26        <th>ロゴ</th>
27        <th>商品名</th>
28        <th>導入バージョン</th>
29        <th>インストール</th>
30        <th>設定</th>
31        <th>購入ステータス</th>
32    </tr>
33<!--{foreach from=$arrProducts item=product name=products_list_loop}-->
34    <tr>
35        <td>
36            <a href="<!--{$smarty.const.OSTORE_URL}-->products/detail.php?product_id=<!--{$product.product_id|escape}-->" target="_blank">
37                <img src="<!--{$smarty.const.OSTORE_SSLURL}-->resize.php?image=<!--{$product.main_list_image|escape}-->&width=50&height=50" />
38            </a>
39        </td>
40        <td>
41            <p>
42                <a href="<!--{$smarty.const.OSTORE_URL}-->products/detail.php?product_id=<!--{$product.product_id|escape}-->" target="_blank">
43                    <!--{$product.name}-->
44                </a>
45            </p>
46            <p>Version.<!--{$product.version|default:"--"}--> <!--{$product.last_update_date|sfDispDBDate:false|escape}--></p>
47        </td>
48        <td>
49          <div id="ownersstore_version<!--{$product.product_id|escape}-->">
50            <!--{$product.installed_version|default:"--"|escape}-->
51          </div>
52        </td>
53       
54        <!--{* ダウンロード対象商品なら各種ボタンを表示する *}-->
55        <!--{if $product.download_flg}-->
56       
57        <td>
58            <div id="ownersstore_download<!--{$product.product_id|escape}-->">
59            <!--{* 新バージョンが公開している場合 はアップデートボタン表示 *}-->
60            <!--{if $product.version_up_flg}-->
61                <span class="icon_confirm">
62                <a href="#" onclick="OwnersStore.download(<!--{$product.product_id|escape}-->);return false;">アップデート</a>
63                </span>
64            <!--{* それ以外ならダウンロードボタン表示 *}-->
65            <!--{else}-->
66                <span class="icon_confirm">
67                <a href="#" onclick="OwnersStore.download(<!--{$product.product_id|escape}-->);return false;">ダウンロード</a>
68                </span>
69            <!--{/if}-->
70            </div>
71        </td>
72           
73        <td>
74            <!--{* インストール済みなら設定ボタン表示 *}-->
75            <!--{if $product.installed_flg}-->
76                <span class="icon_confirm">
77                <a href="#" onclick="win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 600, 400);return false;">
78                   設定
79                </a>
80                </span>
81            <!--{else}-->
82                <div id='ownersstore_settings<!--{$product.product_id|escape}-->' style="display:none">
83                <span class="icon_confirm">
84                <a href="#" onclick="win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 600, 400);return false;">
85                   設定
86                </a>
87                </span>
88                </div>
89                <div id='ownersstore_settings_default<!--{$product.product_id|escape}-->' style="display:bloc">--</div>
90            <!--{/if}-->
91        </td>
92
93        <!--{else}-->
94       
95        <td>--</td>
96        <td>--</td>
97        <!--{/if}-->
98       
99        <td><!--{$product.status|escape|nl2br}--></td>
100    </tr>
101<!--{/foreach}-->
102</table>
Note: See TracBrowser for help on using the repository browser.