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

Revision 17193, 3.6 KB checked in by adachi, 16 years ago (diff)

merge r17159 version-2 branch r17159 - r17192

Line 
1<table width="678" border="0" cellspacing="1" cellpadding="4" summary=" ">
2    <tr bgcolor="#f2f1ec" align="center" class="fs12n">
3        <td width="">ロゴ</td>
4        <td width="">商品名</td>
5        <td width="">導入バージョン</td>
6        <td width="">インストール</td>
7        <td width="">設定</td>
8        <td width="">購入ステータス</td>
9    </tr>
10<!--{foreach from=$arrProducts item=product name=products_list_loop}-->
11    <tr bgcolor="#ffffff" class="fs12">
12        <td align="center">
13            <a href="<!--{$smarty.const.OSTORE_URL}-->products/detail.php?product_id=<!--{$product.product_id|escape}-->"
14               target="_blank">
15                <img src="<!--{$smarty.const.OSTORE_SSLURL}-->resize.php?image=<!--{$product.main_list_image|escape}-->&width=50&height=50">
16            </a>
17        </td>
18        <td align="center">
19            <p>
20                <a href="<!--{$smarty.const.OSTORE_URL}-->products/detail.php?product_id=<!--{$product.product_id|escape}-->" target="_blank">
21                    <!--{$product.name}-->
22                </a>
23            </p>
24            <p>Version.<!--{$product.version|default:"--"}--> <!--{$product.last_update_date|sfDispDBDate:false|escape}--></p>
25        </td>
26        <td align="center">
27            <div id="ownersstore_version<!--{$product.product_id|escape}-->">
28            <!--{$product.installed_version|default:"--"|escape}-->
29            </div>
30        </td>
31       
32        <!--{* ダウンロード対象商品なら各種ボタンを表示する *}-->
33        <!--{if $product.download_flg}-->
34       
35        <td align="center">
36            <div id="ownersstore_download<!--{$product.product_id|escape}-->">
37            <!--{*  新バージョンが公開している場合 はアップデートボタン表示 *}-->
38            <!--{if $product.version_up_flg}-->
39                <span class="icon_confirm">
40                <a href="" onclick="OwnersStore.download(<!--{$product.product_id|escape}-->);return false;">アップデート</a>
41                </span>
42            <!--{* それ以外はならダウンロードボタン表示 *}-->
43            <!--{else}-->
44                <span class="icon_confirm">
45                <a href="" onclick="OwnersStore.download(<!--{$product.product_id|escape}-->);return false;">ダウンロード</a>
46                </span>
47            <!--{/if}-->
48            </div>
49        </td>
50           
51        <td align="center">
52            <!--{* インストール済みなら設定ボタン表示 *}-->
53            <!--{if $product.installed_flg}-->
54                <span class="icon_confirm">
55                <a href="" onclick="win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 600, 400);return false;">
56                   設定
57                </a>
58                </span>
59            <!--{else}-->
60                <div id='ownersstore_settings<!--{$product.product_id|escape}-->' style="display:none">
61                <span class="icon_confirm">
62                <a href="" onclick="win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 600, 400);return false;">
63                   設定
64                </a>
65                </span>
66                </div>
67                <div id='ownersstore_settings_default<!--{$product.product_id|escape}-->' style="display:bloc">--</div>
68            <!--{/if}-->
69        </td>
70
71        <!--{else}-->
72       
73        <td align="center">--</td>
74        <td align="center">--</td>
75        <!--{/if}-->
76       
77        <td align="center"><!--{$product.status|escape|nl2br}--></td>
78    </tr>
79<!--{/foreach}-->
80</table>
Note: See TracBrowser for help on using the repository browser.