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