Changeset 13278
- Timestamp:
- 11/20/09 01:07:47 (2 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
inc/classes/BxDolEmailTemplates.php (modified) (1 diff)
-
install/sql/v70.sql (modified) (1 diff)
-
list_pop.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/classes/BxDolEmailTemplates.php
r11082 r13278 121 121 $aResultKeys = array_merge($aResultKeys, array( 122 122 'recipientID' => $aProfile['ID'], 123 'RealName' => $aProfile['NickName'], 124 'NickName' => $aProfile['NickName'], 125 'Email' => $aProfile['Email'], 126 'Password' => $aProfile['Password'] 123 'RealName' => $aProfile['NickName'], 124 'NickName' => $aProfile['NickName'], 125 'Email' => $aProfile['Email'], 126 'Password' => $aProfile['Password'], 127 'SiteName' => getParam('site_title'), 127 128 )); 128 129 } -
trunk/install/sql/v70.sql
r13259 r13278 944 944 INSERT INTO `sys_email_templates` VALUES(51, 't_sbsProfileRates', 'Profile was rated', '<html><head></head><body style="font: 12px Verdana; color:#000000"> <p><b>Dear <RealName></b>,</p><br /><p>The profile you subscribed to was rated!</p><br /> <p>Click <a href="<ViewLink>">here</a> to view it.</p><br /> <p><b>Thank you for using our services!</b></p> <p>--</p> <p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!! <br />Auto-generated e-mail, please, do not reply!!!</p></body></html>', 'New profile rates subscription.', 0); 945 945 INSERT INTO `sys_email_templates` VALUES(53, 't_sbsProfileEdit', 'Profile info was updated', '<html><head></head><body style="font: 12px Verdana; color:#000000"> <p><b>Dear <RealName></b>,</p><br /><p>The profile you subscribed to has updated profile info!</p><br /> <p>Click <a href="<ViewLink>">here</a> to view it.</p><br /> <p><b>Thank you for using our services!</b></p> <p>--</p> <p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!! <br />Auto-generated e-mail, please, do not reply!!!</p></body></html>', 'Profile info subscription.', 0); 946 INSERT INTO `sys_email_templates` VALUES(54, 't_FriendRequest', 'Friend request', '<html>\r\n<body style="font: 12px Verdana; color:#000000">\r\n <p><b>Dear <Recipient></b>,</p>\r\n <br />\r\n <p><a href="<SenderLink>"><Sender></a> is inviting you to be friends. To accept/reject his/her invitation please \r\n follow this <a href="<RequestLink>">link</a></p>\r\n <br /> \r\n <p><b>Thank you for using our services!</b></p> \r\n <p>--</p>\r\n <p style="font: bold 10px Verdana; color:red"><SiteName> mail delivery system!!! \r\n <br />Auto-generated e-mail, please, do not reply!!!</p>\r\n</html>', 'Friend request message', 0); 946 947 947 948 -- -------------------------------------------------------- -
trunk/list_pop.php
r13043 r13278 309 309 $oZ = new BxDolAlerts('friend', 'request', $targetID, $sourceID); 310 310 $oZ->alert(); 311 } 311 312 // send email notification 313 $oEmailTemplate = new BxDolEmailTemplates(); 314 $aTemplate = $oEmailTemplate -> getTemplate('t_FriendRequest') ; 315 316 $aRecipient = getProfileInfo($targetID); 317 318 $aPlus = array( 319 'Recipient' => $aRecipient['NickName'], 320 'SenderLink' => getProfileLink($sourceID), 321 'Sender' => getNickName($sourceID), 322 'RequestLink' => BX_DOL_URL_ROOT . 'communicator.php?communicator_mode=friends_requests', 323 ); 324 325 sendMail( $aRecipient['Email'], $aTemplate['Subject'], $aTemplate['Body'], '', $aPlus ); 326 } 312 327 else 313 328 $ret = _t_err('_Failed to apply changes');
Note: See TracChangeset
for help on using the changeset viewer.