Changeset 2146
- Timestamp:
- Mar 18, 2007, 3:45:32 AM (16 years ago)
- Location:
- OpenPNE/branches/ishida/prj_dev28/webapp
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/ishida/prj_dev28/webapp/lib/OpenPNE/Config.php
r2117 r2146 40 40 'USE_EXTRA_SERVICE', 41 41 'USE_BIZ_DIR', 42 'SEND_USER_DATA', 42 43 'LIMIT_DOMAIN1', 43 44 'LIMIT_DOMAIN2', … … 125 126 'USE_EXTRA_SERVICE' => '1', 126 127 'USE_BIZ_DIR' => '0', 128 'SEND_USER_DATA' => '1', 127 129 'LIMIT_DOMAIN1' => '', 128 130 'LIMIT_DOMAIN2' => '', -
OpenPNE/branches/ishida/prj_dev28/webapp/lib/util/mail_send.php
r1856 r2146 622 622 $params['url'] = openpne_gen_url('ktai', 'page_o_regist_pre', $p); 623 623 return fetch_send_mail($sender, 'm_ktai_regist_get', $params); 624 } 625 626 //退会完了メール(管理者宛) 627 function do_common_send_mail_taikai4admin($c_member_id, $reason) 628 { 629 630 $p_list = db_common_c_profile_list4null(); 631 $c_profile_list = array(); 632 foreach ($p_list as $key => $value) { 633 $c_profile_list[]=$p_list[$key]; 634 } 635 636 $c_member = db_common_c_member4c_member_id($c_member_id, true, true, 'private'); 637 $c_member['c_member_invite'] = db_common_c_member4c_member_id_LIGHT($c_member['c_member_id_invite']); 638 639 $params = array( 640 "c_member" => $c_member, 641 "c_profile_list" => $c_profile_list, 642 "reason" => $reason, 643 ); 644 return fetch_send_mail(ADMIN_EMAIL, 'm_pc_taikai4admin', $params); 624 645 } 625 646 -
OpenPNE/branches/ishida/prj_dev28/webapp/modules/admin/templates/edit_c_admin_config.tpl
r2117 r2146 277 277 <option value="1"({if $smarty.const.USE_BIZ_DIR}) selected="selected"({/if})>使用する</option> 278 278 <option value="0"({if !$smarty.const.USE_BIZ_DIR}) selected="selected"({/if})>使用しない</option> 279 </select></td> 280 </tr> 281 282 <tr class="cell28"> 283 <th colspan="2">退会者のデータ</th> 284 <td> 285 <span class="info">退会者のデータを管理者のメールアドレスに転送するかどうかを設定します</span><br /> 286 <select class="basic" name="SEND_USER_DATA"> 287 <option value="1"({if $smarty.const.SEND_USER_DATA}) selected="selected"({/if})>転送する</option> 288 <option value="0"({if !$smarty.const.SEND_USER_DATA}) selected="selected"({/if})>転送しない</option> 279 289 </select></td> 280 290 </tr> -
OpenPNE/branches/ishida/prj_dev28/webapp/modules/admin/validate/do/update_c_admin_config.ini
r2117 r2146 141 141 default = "0" 142 142 143 [SEND_USER_DATA] 144 type = "bool" 145 default = "1" 146 143 147 [OPENPNE_ENABLE_ROLLOVER] 144 148 type = "bool" -
OpenPNE/branches/ishida/prj_dev28/webapp/modules/pc/do/h_taikai.php
r1856 r2146 13 13 { 14 14 $password = $requests['password']; 15 $reason = $requests['reason']; 15 16 $u = $GLOBALS['AUTH']->uid(); 16 17 17 18 if ($u == 1) { 18 19 openpne_redirect('pc', 'page_h_config'); 20 } 21 22 //退会理由は必須 23 if (!$reason) { 24 $msg = "退会理由を入力して下さい"; 25 $p = array('msg' => $msg); 26 openpne_redirect('pc', 'page_h_taikai_confirm', $p); 19 27 } 20 28 … … 27 35 //退会完了メール送信 28 36 do_common_send_mail_taikai_end_pc($u); 37 38 if (SEND_USER_DATA) { 39 //退会完了メール送信(管理者宛) 40 do_common_send_mail_taikai4admin($u, $reason); 41 } 29 42 30 43 //退会処理 -
OpenPNE/branches/ishida/prj_dev28/webapp/modules/pc/templates/h_taikai_confirm.tpl
r1088 r2146 88 88 <tr> 89 89 <td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td> 90 <td style="width:180px;" class="bg_05" align="left" valign="middle"> 91 92 <div class="padding_s"> 93 94 退会理由 <span class="caution">※</span> 95 96 </div> 97 <td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td> 98 <td style="width:381px;" class="bg_02" align="left" valign="middle"> 99 100 <div class="padding_s"> 101 102 <textarea name="reason" rows="15" cols="50" style="width:415px"></textarea> 103 104 </div> 105 106 </td> 107 <td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td> 108 </tr> 109 ({*********}) 110 <tr> 111 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td> 112 </tr> 113 ({*********}) 114 <tr> 115 <td class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td> 90 116 <td class="bg_03" align="center" valign="middle" colspan="3"> 91 117 -
OpenPNE/branches/ishida/prj_dev28/webapp/modules/pc/validate/do/h_taikai.ini
r2 r2146 1 1 [password] 2 2 type = "string" 3 4 [reason] 5 type = "string"
Note: See TracChangeset
for help on using the changeset viewer.