source: branches/version-2_5-dev/data/Smarty/templates/admin/ownersstore/products_list.tpl @ 20516

Revision 20516, 4.4 KB checked in by Seasoft, 13 years ago (diff)

#627(ソース整形・ソースコメントの改善)

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