Changeset 20266


Ignore:
Timestamp:
2011/02/20 20:28:18 (13 years ago)
Author:
shutta
Message:

refs #985
登録完了画面の「検索へ戻る」「続けて登録を行う」ボタンが動作するように修正。

Location:
branches/version-2_5-dev/data/Smarty/templates/admin/customer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit_complete.tpl

    r20116 r20266  
    2222 */ 
    2323*}--> 
     24 
     25<script type="text/javascript"> 
     26<!-- 
     27 
     28    function fnReturn() { 
     29        document.search_form.action = './<!--{$smarty.const.DIR_INDEX_PATH}-->'; 
     30        document.search_form.submit(); 
     31        return false; 
     32    } 
     33//--> 
     34</script> 
     35 
     36<form name="search_form" method="post" action=""> 
     37    <input type="hidden" name="mode" value="search" /> 
     38    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     39    <!--{foreach from=$arrSearchData key="key" item="item"}--> 
     40        <!--{if $key ne "customer_id" && $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "csv_mode" && $key ne "job" && $key ne "sex"}--><input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->"><!--{/if}--> 
     41    <!--{/foreach}--> 
     42 
     43    <!--{foreach from=$arrSearchData.job key="key" item="item"}--> 
     44        <input type="hidden" name="job[]" value="<!--{$item}-->" /> 
     45    <!--{/foreach}--> 
     46    <!--{foreach from=$arrSearchData.sex key="key" item="item"}--> 
     47        <input type="hidden" name="sex[]" value="<!--{$item}-->" /> 
     48    <!--{/foreach}--> 
     49</form> 
     50 
    2451<form name="form1" id="form1" method="post" action="?"> 
    2552<input type="hidden" name="mode" value="complete" /> 
     
    4067            <ul> 
    4168                <li><!--{* TODO *}--><a class="btn-action" href="javascript:;" onclick="return fnReturn();"><span class="btn-prev">検索結果へ戻る</span></a></li> 
    42                 <li><a class="btn-action" href="./customer.php"><span class="btn-next">続けて登録を行う</span></a></li> 
     69                <li><a class="btn-action" href="./edit.php"><span class="btn-next">続けて登録を行う</span></a></li> 
    4370            </ul> 
    4471        </div> 
  • branches/version-2_5-dev/data/Smarty/templates/admin/customer/edit_confirm.tpl

    r20232 r20266  
    4747    <!--{/foreach}--> 
    4848    <!--{foreach from=$arrSearchData.job key="key" item="item"}--> 
    49         <input type="hidden" name="search_data[job][]" value=<!--{$item}--> /> 
     49        <input type="hidden" name="search_data[job][]" value="<!--{$item}-->" /> 
    5050    <!--{/foreach}--> 
    5151    <!--{foreach from=$arrSearchData.sex key="key" item="item"}--> 
    52         <input type="hidden" name="search_data[sex][]" value=<!--{$item}--> /> 
     52        <input type="hidden" name="search_data[sex][]" value="<!--{$item}-->" /> 
    5353    <!--{/foreach}--> 
    5454    <div id="customer" class="contents-main"> 
Note: See TracChangeset for help on using the changeset viewer.