Changeset 1481
- Timestamp:
- 12/19/07 22:20:53 (8 months ago)
- Files:
-
- devel/mod/community/lib/community_member_add.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/community/lib/community_member_add.php
r1248 r1481 7 7 * Created on May 7, 2007 8 8 * 9 * @author Diego Andr és Ramírez Aragón <diego@somosmas.org>10 * @copyright Corporaci ón Somos más - 20079 * @author Diego Andrᅵs Ramᅵrez Aragᅵn <diego@somosmas.org> 10 * @copyright Corporaciᅵn Somos mᅵs - 2007 11 11 */ 12 12 global $USER; … … 29 29 if (user_flag_get("emailnotifications", $owner->ident)) { 30 30 $message_body= sprintf(__gettext("%s has joined %s!\n\nTo visit this user's profile, click on the following link:\n\n\t" . 31 "%s\n\nTo view all community members, click here:\n\n\t%s\n\nRegards,\n\nThe %s team."), $_SESSION['name'], $friend->name, $CFG->wwwroot . user_info("username", $USER->ident) . "/", $CFG->wwwroot . "_communities/members.php?owner=" . $friend_id, $CFG->sitename);31 "%s\n\nTo view all community members, click here:\n\n\t%s\n\nRegards,\n\nThe %s team."), $_SESSION['name'], $friend->name, $CFG->wwwroot . user_info("username", $USER->ident) . "/", $CFG->wwwroot . $friend->username . "/community/members", $CFG->sitename); 32 32 $title= sprintf(__gettext("New %s member"), $friend->name); 33 33 notify_user($owner->ident, $title, $message_body); … … 38 38 if (user_flag_get("emailnotifications", $owner->ident)) { 39 39 $message_body= sprintf(__gettext("%s has applied to join %s!\n\nTo visit this user's profile, click on the following link:\n\n\t" . 40 "%s\n\nTo view all membership requests and approve or deny this user, click here:\n\n\t%s\n\nRegards,\n\nThe %s team."), $_SESSION['name'], $friend->name, $CFG->wwwroot . user_info("username", $USER->ident) . "/", $CFG->wwwroot . "_communities/members.php?owner=" . $friend_id, $CFG->sitename);40 "%s\n\nTo view all membership requests and approve or deny this user, click here:\n\n\t%s\n\nRegards,\n\nThe %s team."), $_SESSION['name'], $friend->name, $CFG->wwwroot . user_info("username", $USER->ident) . "/", $CFG->wwwroot . $friend->username . "/community/members", $CFG->sitename); 41 41 $title= sprintf(__gettext("New %s member request"), $friend->name); 42 42 notify_user($owner->ident, $title, $message_body);
