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/shopping
Files:
8 edited

Legend:

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

    r20116 r20407  
    5555                入力後、一番下の「ご注文完了ページへ」ボタンをクリックしてください。</div> 
    5656                <form name="form1" id="form1" method="post" action="?"> 
     57                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    5758                <input type="hidden" name="mode" value="regist"> 
    5859                <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->"> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/confirm.tpl

    r20290 r20407  
    5050 
    5151        <form name="form1" id="form1" method="post" action="?"> 
     52            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    5253            <input type="hidden" name="mode" value="confirm" /> 
    5354            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" /> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/convenience.tpl

    r20116 r20407  
    5555                選択後、一番下の「ご注文完了ページへ」ボタンをクリックしてください。</div> 
    5656                <form name="form1" id="form1" method="post" action="?"> 
     57                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    5758                <input type="hidden" name="mode" value="complete"> 
    5859                <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->"> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/deliv.tpl

    r20116 r20407  
    3737        <!--{/if}--> 
    3838        <form name="form1" id="form1" method="post" action="?"> 
     39            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    3940            <input type="hidden" name="mode" value="customer_addr" /> 
    4041            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" /> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/index.tpl

    r20328 r20407  
    2525    <h2 class="title"><!--{$tpl_title|h}--></h2> 
    2626    <form name="member_form" id="member_form" method="post" action="?" onsubmit="return fnCheckLogin('member_form')"> 
     27    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    2728   <div class="loginarea"> 
    2829     <h3>会員登録がお済みのお客様</h3> 
     
    5859    </form> 
    5960    <form name="member_form2" id="member_form2" method="post" action="?"> 
     61      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    6062      <input type="hidden" name="mode" value="nonmember" /> 
    6163    <div class="loginarea"> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/multiple.tpl

    r20328 r20407  
    4646        <!--{/if}--> 
    4747        <form name="form1" id="form1" method="post" action="?"> 
     48            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    4849            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" /> 
    4950            <input type="hidden" name="mode" value="confirm" /> 
     
    9798                    戻る</a>&nbsp; 
    9899                 <input type="submit" value="選択したお届け先に送る" class="spbtn spbtn-shopping" width="130" height="30" alt="選択したお届け先に送る" name="send_button" id="next" /> 
    99 </div> 
    100  
     100            </div> 
     101        </form> 
    101102    </div> 
    102103</div> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/nonmember_input.tpl

    r20328 r20407  
    2727      入力後、一番下の「確認ページへ」ボタンをクリックしてください。</p> 
    2828    <form name="form1" id="form1" method="post" action="?"> 
     29      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    2930      <input type="hidden" name="mode" value="nonmember_confirm" /> 
    3031      <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" /> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/payment.tpl

    r20377 r20407  
    125125 
    126126        <form name="form1" id="form1" method="post" action="?"> 
     127            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    127128            <input type="hidden" name="mode" value="confirm" /> 
    128129            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" /> 
Note: See TracChangeset for help on using the changeset viewer.