source: branches/feature-module-update/data/Smarty/templates/default/admin/ownersstore/products_list.tpl @ 16857

Revision 16857, 3.0 KB checked in by adachi, 16 years ago (diff)

テンプレート追加

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}-->"
14               target="_blank">
15                <img src="<!--{$smarty.const.OSTORE_SSLURL}-->upload/save_image/<!--{$product.main_list_image}-->">
16            </a>
17        </td>
18        <td align="center">
19            <p>
20                <a href="<!--{$smarty.const.SITE_URL}-->products/detail.php?product_id=<!--{$product.product_id}-->" target="_blank">
21                    <!--{$product.name}-->
22                </a>
23            </p>
24            <p>(Version.<!--{$product.version|default:"--"}--> <!--{$product.last_update_date|sfDispDBDate:false}-->)</p>
25        </td>
26        <td align="center"><!--{$product.installed_version|default:"--"}--></td>
27       
28        <!--{* ダウンロード対象商品 かつ 受注ステータスが「入金済み」なら各種ボタンを表示する *}-->
29        <!--{if $product.download_flg}-->
30       
31        <td align="center">
32            <!--{* インストール済み かつ 新バージョンが公開している場合 はアップデートボタン表示 *}-->
33            <!--{if $product.installed_flg && $product.version_up_flg}-->
34                <span class="icon_confirm">
35                <a href="" onclick="OwnersStore.download(<!--{$product.product_id}-->);return false;">アップデート</a>
36                </span>
37            <!--{* 未インストールならインストールボタン表示 *}-->
38            <!--{elseif !$product.installed_flg}-->
39                <span class="icon_confirm">
40                <a href="" onclick="OwnersStore.download(<!--{$product.product_id}-->);return false;">インストール</a>
41                </span>
42            <!--{else}-->
43                --
44            <!--{/if}-->
45        </td>
46           
47        <td align="center">
48            <!--{* インストール済みなら設定ボタン表示 *}-->
49            <!--{if $product.installed_flg}-->
50                <span class="icon_confirm">
51                <a href="" onclick="win02('../load_module_config.php?module_id=<!--{$product.product_id}-->', 'load', 600, 400);return false;">
52                   設定
53                </a>
54                </span>
55            <!--{else}-->
56                --
57            <!--{/if}-->
58        </td>
59
60        <!--{else}-->
61       
62        <td align="center">--</td>
63        <td align="center">--</td>
64        <!--{/if}-->
65       
66        <td align="center"><!--{$product.status}--></td>
67    </tr>
68<!--{/foreach}-->
69</table>
Note: See TracBrowser for help on using the repository browser.