Ignore:
Timestamp:
2010/12/29 13:10:01 (13 years ago)
Author:
Seasoft
Message:

#862(テンプレート上のエスケープを簡単に)
#628(未使用処理・定義などの削除)

  • Smarty 変数 tpl_start

#879(jQuery の ready イベントと競合する body の onload イベントを使用している)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/sphone/bloc/news.tpl

    r19714 r19785  
    3030<div class="anews"> 
    3131<span><!--{$arrNews[data].news_date_disp|date_format:"%m.%d"}--></span>&nbsp; 
    32 <!--{if $arrNews[data].news_url}--><a href="<!--{$arrNews[data].news_url|escape}-->"><!--{/if}--> 
    33 <!--{$arrNews[data].news_title|escape}--> 
     32<!--{if $arrNews[data].news_url}--><a href="<!--{$arrNews[data].news_url|h}-->"><!--{/if}--> 
     33<!--{$arrNews[data].news_title|h}--> 
    3434<!--{if $arrNews[data].news_url}--></a><!--{/if}--> 
    3535</div> 
     
    5656<div class=" "> 
    5757<span><!--{$arrMemberNews[data].news_date_disp|date_format:"%m.%d"}--></span>&nbsp; 
    58 <!--{if $arrMemberNews[data].news_url}--><a href="<!--{$arrMemberNews[data].news_url|escape}-->"><!--{/if}--> 
    59 <!--{$arrMemberNews[data].news_title|escape}--> 
     58<!--{if $arrMemberNews[data].news_url}--><a href="<!--{$arrMemberNews[data].news_url|h}-->"><!--{/if}--> 
     59<!--{$arrMemberNews[data].news_title|h}--> 
    6060<!--{if $arrMemberNews[data].news_url}--></a><!--{/if}--> 
    6161</div> 
Note: See TracChangeset for help on using the changeset viewer.