Changeset 18508
- Timestamp:
- 05/21/09 17:00:30 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfDoctrineApplyPlugin/trunk/modules/sfApply/lib/BasesfApplyActions.class.php
r16939 r18508 87 87 $profile->setValidate('r' . self::createGuid()); 88 88 $profile->save(); 89 89 90 // Create the mailer and message objects 90 91 $mailer = $this->getMailer(); 91 $message = new Swift_Message( 92 sfConfig::get('app_sfApplyPlugin_reset_subject', 93 "Please verify your password reset request on " . 94 $this->getRequest()->getHost())); 92 $message = new Swift_Message(sfConfig::get('app_sfApplyPlugin_reset_subject', sfContext::getInstance()->getI18N()->__("Please verify your password reset request on %1%", array('%1%' => $this->getRequest()->getHost())))); 93 95 94 // Render message parts 96 95 $mailContext = array('name' => $profile->getFullname(), … … 111 110 throw new Exception('app_sfApplyPlugin_from is not set'); 112 111 } 113 $address = new Swift_Address($from['email'], $from['fullname']);112 $address = new Swift_Address($from['email'], sfContext::getInstance()->getI18N()->__($from['fullname'])); 114 113 return $address; 115 114 }