Ignore:
Timestamp:
2011/07/04 13:14:35 (13 years ago)
Author:
habu
Message:

#1320(携帯から、お届け先の削除・編集ができる様にしたい)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/Smarty/templates/mobile/shopping/deliv.tpl

    r20989 r21009  
    5050<center><input type="submit" value="ここに送る"></center> 
    5151</form> 
     52<!--{if !$smarty.section.cnt.first}--> 
     53    <!--{* リンクにした方がすっきりしますが、お届け先削除処理がother_deliv_idをPOSTしか受け付けていないので、ボタンで統一しています *}--> 
     54    <!--{* <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->&amp;uniqid=<!--{$tpl_uniqid}-->">変更</a> *}--> 
     55    <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php"> 
     56    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     57    <input type="hidden" name="page" value="<!--{$smarty.server.PHP_SELF|h}-->"> 
     58    <input type="hidden" name="other_deliv_id" value="<!--{$arrAddr[cnt].other_deliv_id}-->"> 
     59    <center><input type="submit" value="お届け先情報変更"></center> 
     60    </form> 
     61     
     62    <form method="post" action="?"> 
     63    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     64    <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->"> 
     65    <input type="hidden" name="mode" value="delete"> 
     66    <input type="hidden" name="other_deliv_id" value="<!--{$arrAddr[cnt].other_deliv_id}-->"> 
     67    <center><input type="submit" value="お届け先を削除"></center> 
     68    </form> 
     69<!--{/if}--> 
     70 
    5271<!--{/section}--> 
    5372 
Note: See TracChangeset for help on using the changeset viewer.