Tarea #1091 -> Cambiar el texto del email que se envia al usuario cuando se confirma su cuenta

Tarea #1090 -> Cambiar el texto del email que se envia al usuario para activar su cuenta

git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@17 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
This commit is contained in:
roberto 2012-09-24 10:50:32 +00:00
parent 0acc42d745
commit 4069ae9160
3 changed files with 29 additions and 29 deletions

View File

@ -150,11 +150,10 @@ class RegistroUsuarioController extends Controller {
$mensaje->setTo($usuario->email); $mensaje->setTo($usuario->email);
$mensaje->subject = Yii::t('profind', 'Complete su registro en PROFIND'); $mensaje->subject = Yii::t('profind', 'Complete su registro en PROFIND');
$mensaje->view = 'registro_usuario'; $mensaje->view = 'registro_usuario';
$mensaje->setBody( $mensaje->setBody(array(
array( 'url' => $url_activacion,
'url' => $url_activacion, 'email' => $usuario->email
'email' => $usuario->email ), 'text/html'
), 'text/html'
); );
Yii::app()->mail->send($mensaje); Yii::app()->mail->send($mensaje);
@ -173,9 +172,11 @@ class RegistroUsuarioController extends Controller {
$mensaje->setTo($usuario->email); $mensaje->setTo($usuario->email);
$mensaje->subject = Yii::t('profind', 'Gracias por registrarse en PROFIND.'); $mensaje->subject = Yii::t('profind', 'Gracias por registrarse en PROFIND.');
$mensaje->view = 'confirmacion_usuario'; $mensaje->view = 'confirmacion_usuario';
$mensaje->setBody(array(), 'text/html'); $mensaje->setBody(array(
'email' => $usuario->email
), 'text/html'
);
Yii::app()->mail->send($mensaje); Yii::app()->mail->send($mensaje);
} }
} }

View File

@ -1,11 +1,14 @@
<html> <html>
<head></head> <head>
<title>Gracias por Registrarse en PROFIND</title>
</head>
<body> <body>
<h3>Gracias por registrarse en PROFIND</h3> <h3>Gracias por Registrarse en PROFIND</h3>
<p> <p>
Gracias por registrarse en <a href="http://www.xxxxxxx.xxx/">PROFIND</a>.<br> Su cuenta <?php echo $email; ?> ha sido confirmada. Su Producto es Individual con una Publicación Gratis 1 mes.
Su cuenta ha sido confirmada. Posteriormente puede contratar otros Productos más amplios.
</p> </p>
<p>El equipo de <a href="http://www.xxxxxxx.xxx/">PROFIND</a></p> <p>Ya puede comenzar a Publicar sus Ofertas de Empleo.</p>
<p>El equipo de <a href="http://www.profindclub.com/">PROFIND</a></p>
</body> </body>
</html> </html>

View File

@ -1,24 +1,20 @@
<html> <html>
<head></head> <head>
<title>Active su cuenta en PROFIND</title>
</head>
<body> <body>
<h3>Complete su registro en PROFIND</h3> <h3>Active su cuenta en PROFIND</h3>
<p> <p>
Gracias por registrarse en <a href="http://www.xxxxxxx.xxx/">PROFIND</a>.<br> Gracias por registrarse en <a href="http://www.profindclub.com/">PROFIND</a>.<br>
Antes de poder activar su cuenta, debe completar su registro realizando un último paso. Para completar el registro, pulse en el siguiente enlace:<br>
Por favor, tenga en cuenta que debe completar este último paso para confirmar su usuario en <a href="http://www.xxxxxxx.xxx/">PROFIND</a>.
Solo necesitará pulsar en el enlace una sola vez y su cuenta quedará confirmada.
</p>
<p>
Para completar el registro de su cuenta en <a href="http://www.xxxxxxx.xxx/">PROFIND</a>, pulse en el siguiente enlace: <br>
<a href="<?php echo $url; ?>"><?php echo $url; ?></a> <a href="<?php echo $url; ?>"><?php echo $url; ?></a>
</p> </p>
<p> <p>
Este correo se ha enviado desde <a href="http://www.profindclub.com/">http://www.profindclub.com</a>.
Este correo se ha enviado desde <a href="http://www.xxxxxxx.xxx/">http://www.xxxxxxx.xxx/</a> Usted ha recibido este correo porque ha utilizado la dirección <?php echo $email; ?> para registrarse en <a href="http://www.profindclub.com/">PROFIND</a>.
Usted ha recibido este correo porque se ha utilizado la dirección <?php echo $email; ?> para registrarse en <a href="http://www.xxxxxxx.xxx/">PROFIND</a>.<br> Si usted no ha realizado el registro en <a href="http://www.profindclub.com/">PROFIND</a> únicamente tiene que ignorar este correo.
Si usted no ha realizado el registro en <a href="http://www.xxxxxxx.xxx/">PROFIND</a> únicamente tiene que ignorar este correo.
</p> </p>
<p>El equipo de <a href="http://www.xxxxxxx.xxx/">PROFIND</a></p> <p>No responda a este correo ya que ha sido generado automáticamente para su información.</p>
<p>El equipo de <a href="http://www.profindclub.com/">PROFIND</a></p>
</body> </body>
</html> </html>