ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 4661


Ignore:
Timestamp:
Dec 10, 2007, 1:40:06 PM (13 years ago)
Author:
yamaji
Message:

#1150

Location:
OpenPNE/branches/work/yamaji/OpenPNE-2.10.1/webapp
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/yamaji/OpenPNE-2.10.1/webapp/lib/util/mail_send.php

    r4443 r4661  
    596596    );
    597597    return fetch_send_mail($pc_address, 'm_pc_message_syoukai_commu', $params, $is_receive_mail);
     598}
     599
     600// コミュニティ参加者全員にメール
     601function do_common_send_message_commu_send_msg($c_member_id_to, $c_member_id_from, $c_commu_id)
     602{
     603    //メール
     604    $c_member_to = db_common_c_member4c_member_id($c_member_id_to, true);
     605    $c_commu = db_commu_c_commu4c_commu_id($c_commu_id);
     606    $pc_address = $c_member_to['secure']['pc_address'];
     607    $is_receive_mail = $c_member_to['is_receive_mail'];
     608
     609    $params = array(
     610        "c_member_to"   =>db_common_c_member4c_member_id($c_member_id_to),
     611        "c_member_from" =>db_common_c_member4c_member_id($c_member_id_from),
     612        'c_commu' => $c_commu,
     613    );
     614    return fetch_send_mail($pc_address, 'm_pc_message_commu_send_msg', $params, $is_receive_mail);
    598615}
    599616
     
    843860    if (!empty($c_member_to['secure']['pc_address'])) {
    844861        $to_address = $c_member_to['secure']['pc_address'];
    845         return fetch_send_mail($to_address, 'm_pc_c_commu_admin_change', $params);
     862        return fetch_send_mail($to_address, 'm_pc_c_ppcommu_admin_change', $params);
    846863    } else {
    847864        $p = array('kad' => t_encrypt(db_member_username4c_member_id($c_member['c_member_id'], true)));
  • OpenPNE/branches/work/yamaji/OpenPNE-2.10.1/webapp/modules/pc/do/c_invite_insert_c_message_commu_invite.php

    r1856 r4661  
    4545        list($msg_subject, $msg_body) =
    4646            create_message_commu_invite($u, $body, $target_c_commu_id);
    47 
    4847        $commu = db_commu_c_commu4c_commu_id($target_c_commu_id);
    4948        $c_member_id_admin = $commu['c_member_id_admin'];
  • OpenPNE/branches/work/yamaji/OpenPNE-2.10.1/webapp/modules/pc/do/c_send_message.php

    r2662 r4661  
    4444        }
    4545
     46        $c_commu = db_commu_c_commu4c_commu_id($target_c_commu_id);
    4647        foreach ($c_member_id_list as $c_member_id) {
    4748            if ($c_member_id == $u)continue;
    48             db_message_send_message_syoukai_commu($u, $c_member_id, $subject, $body);
     49            db_message_send_message_commu_send_msg($u, $c_member_id, $subject, $body, $target_c_commu_id);
    4950        }
    5051        $p = array('target_c_commu_id' => $target_c_commu_id);
Note: See TracChangeset for help on using the changeset viewer.