Ignore:
Timestamp:
2011/02/25 16:46:15 (11 years ago)
Author:
kotani
Message:

#812 (トランザクションIDの自動生成/自動検証), #1053 (transactionidが埋め込まれる前にクリックされるとエラー)

  • transactionid用hiddenタグをJavaScriptで生成しないように変更
Location:
branches/version-2_5-dev/data/Smarty/templates/sphone/products
Files:
4 edited

Legend:

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

    r20366 r20407  
    208208            <!--▼買い物かご--> 
    209209            <form name="form1" id="form1" method="post" action="?"> 
     210                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    210211                <input type="hidden" name="mode" value="cart" /> 
    211212                <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/products/list.tpl

    r20116 r20407  
    3939<div id="undercolumn" class="product product_list"> 
    4040    <form name="form1" id="form1" method="get" action="?"> 
     41        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    4142        <input type="hidden" name="mode" value="<!--{$mode|h}-->" /> 
    4243        <!--{* ▼検索条件 *}--> 
     
    115116            <!--▼ページナビ(上部)--> 
    116117            <form name="page_navi_top" id="page_navi_top" action="?"> 
     118                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    117119                <!--{if $tpl_linemax > 0}--><!--{$smarty.capture.page_navi_body|smarty:nodefaults}--><!--{/if}--> 
    118120            </form> 
     
    173175            <!--▼ページナビ(下部)--> 
    174176            <form name="page_navi_bottom" id="page_navi_bottom" action="?"> 
     177                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    175178                <!--{if $tpl_linemax > 0}--><!--{$smarty.capture.page_navi_body|smarty:nodefaults}--><!--{/if}--> 
    176179            </form> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/products/review.tpl

    r20328 r20407  
    3030       ご入力後、一番下の「確認ページへ」ボタンをクリックしてください。</p> 
    3131        <form name="form1" method="post" action="?"> 
     32        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    3233        <input type="hidden" name="mode" value="confirm" /> 
    3334        <input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->" /> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/products/review_confirm.tpl

    r20328 r20407  
    2525    <h2 class="title">お客様の声書き込み</h2> 
    2626    <form name="form1" method="post" action="?"> 
     27      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    2728      <input type="hidden" name="mode" value="complete" /> 
    2829        <!--{foreach from=$arrForm key=key item=item}--> 
Note: See TracChangeset for help on using the changeset viewer.