Changeset 16875


Ignore:
Timestamp:
2007/12/03 03:04:00 (16 years ago)
Author:
adachi
Message:

escape追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/Smarty/templates/default/admin/ownersstore/products_list.tpl

    r16864 r16875  
    1111    <tr bgcolor="#ffffff" class="fs12"> 
    1212        <td align="center"> 
    13             <a href="<!--{$smarty.const.OSTORE_URL}-->products/detail.php?product_id=<!--{$product.product_id}-->" 
     13            <a href="<!--{$smarty.const.OSTORE_URL}-->products/detail.php?product_id=<!--{$product.product_id|escape}-->" 
    1414               target="_blank"> 
    15                 <img src="<!--{$smarty.const.OSTORE_SSLURL}-->upload/save_image/<!--{$product.main_list_image}-->" width="50" height="50"> 
     15                <img src="<!--{$smarty.const.OSTORE_SSLURL}-->upload/save_image/<!--{$product.main_list_image|escape}-->" width="50" height="50"> 
    1616            </a> 
    1717        </td> 
    1818        <td align="center"> 
    1919            <p> 
    20                 <a href="<!--{$smarty.const.SITE_URL}-->products/detail.php?product_id=<!--{$product.product_id}-->" target="_blank"> 
     20                <a href="<!--{$smarty.const.SITE_URL}-->products/detail.php?product_id=<!--{$product.product_id|escape}-->" target="_blank"> 
    2121                    <!--{$product.name}--> 
    2222                </a> 
    2323            </p> 
    24             <p>Version.<!--{$product.version|default:"--"}--> <!--{$product.last_update_date|sfDispDBDate:false}--></p> 
     24            <p>Version.<!--{$product.version|default:"--"}--> <!--{$product.last_update_date|sfDispDBDate:false|escape}--></p> 
    2525        </td> 
    26         <td align="center"><!--{$product.installed_version|default:"--"}--></td> 
     26        <td align="center"><!--{$product.installed_version|default:"--"|escape}--></td> 
    2727         
    2828        <!--{* ダウンロード対象商品 かつ 受注ステータスが「入金済み」なら各種ボタンを表示する *}--> 
     
    3333            <!--{if $product.installed_flg && $product.version_up_flg}--> 
    3434                <span class="icon_confirm"> 
    35                 <a href="" onclick="OwnersStore.download(<!--{$product.product_id}-->);return false;">アップデート</a> 
     35                <a href="" onclick="OwnersStore.download(<!--{$product.product_id|escape}-->);return false;">アップデート</a> 
    3636                </span> 
    3737            <!--{* 未インストールならインストールボタン表示 *}--> 
    3838            <!--{elseif !$product.installed_flg}--> 
    3939                <span class="icon_confirm"> 
    40                 <a href="" onclick="OwnersStore.download(<!--{$product.product_id}-->);return false;">インストール</a> 
     40                <a href="" onclick="OwnersStore.download(<!--{$product.product_id|escape}-->);return false;">インストール</a> 
    4141                </span> 
    4242            <!--{else}--> 
     
    6464        <!--{/if}--> 
    6565         
    66         <td align="center"><!--{$product.status}--></td> 
     66        <td align="center"><!--{$product.status|escape|nl2br}--></td> 
    6767    </tr> 
    6868<!--{/foreach}--> 
Note: See TracChangeset for help on using the changeset viewer.