Files
Phraseanet/lib/Alchemy/Phrasea/Notification/Mail/MailSuccessEmailUpdate.php
2013-01-29 09:34:18 +01:00

31 lines
727 B
PHP

<?php
namespace Alchemy\Phrasea\Notification\Mail;
class MailSuccessEmailUpdate extends AbstractMail
{
public function subject()
{
return sprintf(_('Update of your email address on %s'), $this->app['phraseanet.registry']->get('GV_homeTitle'));
}
public function message()
{
return sprintf("%s\n%s\n%s",
sprintf(_('Dear %s,'), $this->receiver->name()),
_('Your contact email address has been updated'),
$this->message
);
}
public function buttonText()
{
return $this->app['phraseanet.registry']->get('GV_homeTitle');
}
public function buttonURL()
{
return $this->registry->get('GV_ServerName');
}
}