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

Revision 20475, 4.0 KB checked in by nanasess, 13 years ago (diff)

#703(URLパラメータでは実体参照を用いるべき)

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