Ignore:
Timestamp:
2009/02/13 21:47:04 (18 years ago)
Author:
zeniya
Message:

EC-CUBE2.4改修 #309

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4/data/Smarty/templates/default/admin/customer/index.tpl

    r16979 r17768  
    5555    } 
    5656 
     57    function fnReSendMail(customer_id) { 
     58        if (confirm('仮登録メールを再送しても宜しいですか?')) { 
     59            document.form1.mode.value = "resend_mail" 
     60            document.form1['edit_customer_id'].value = customer_id; 
     61            document.form1.submit(); 
     62            return false; 
     63        } 
     64    } 
     65 
    5766    function fnSubmit() { 
    5867        document.form1.submit(); 
     
    132141                            </tr> 
    133142                            <tr class="fs12n"> 
     143                                <td bgcolor="#f2f1ec" width="110">会員状態</td> 
     144                                <td bgcolor="#ffffff" width="499" colspan="3"><!--{html_checkboxes name="status" options=$arrStatus separator="&nbsp;" selected=$arrForm.status}--></td> 
     145                            </tr> 
     146                            <tr class="fs12n"> 
    134147                                <td bgcolor="#f2f1ec" width="110">誕生日</td> 
    135148                                <td bgcolor="#ffffff" width="499" colspan="3"> 
     
    314327<!--★★メインコンテンツ★★--> 
    315328 
    316 <!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete') }--> 
     329<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete' or $smarty.post.mode == 'resend_mail') }--> 
    317330 
    318331<!--★★検索結果一覧★★--> 
     
    320333<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 
    321334<!--{foreach from=$smarty.post key="key" item="item"}--> 
    322 <!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "search_pageno" && $key ne "csv_mode" && $key ne "job" && $key ne "sex"}--><input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}--> 
     335<!--{if $key ne "mode" && $key ne "del_mode" && $key ne "edit_customer_id" && $key ne "del_customer_id" && $key ne "search_pageno" && $key ne "csv_mode" && $key ne "job" && $key ne "sex" && $key ne "status"}--><input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}--> 
    323336<!--{/foreach}--> 
    324337<!--{foreach from=$smarty.post.job key="key" item="item"}--> 
     
    327340<!--{foreach from=$smarty.post.sex key="key" item="item"}--> 
    328341<input type="hidden" name="sex[]" value=<!--{$item}-->> 
     342<!--{/foreach}--> 
     343<!--{foreach from=$smarty.post.status key="key" item="item"}--> 
     344<input type="hidden" name="status[]" value=<!--{$item}-->> 
    329345<!--{/foreach}--> 
    330346<input type="hidden" name="mode" value="search"> 
     
    417433                            <tr bgcolor="#ffffff" class="fs12n"> 
    418434                                <td width=""><!--{assign var=pref value=$search_data[data].pref}--><!--{$arrPref[$pref]}--></td> 
    419                                 <td width=""><!--{mailto address=$search_data[data].email encode="javascript"}--></a></td> 
     435                                <td width=""><!--{mailto address=$search_data[data].email encode="javascript"}--><!--{if $search_data[data].status eq 1}--><br /><a href="#" onclick="return fnReSendMail('<!--{$search_data[data].customer_id|escape}-->');"> 仮登録メール再送</a><!--{/if}--></td> 
    420436                            </tr> 
    421437                            <!--顧客<!--{$smarty.section.data.iteration}-->--> 
Note: See TracChangeset for help on using the changeset viewer.