From ccdaee2437be23e86a1418ad0922db15904d5a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20M=C3=BCller?= Date: Fri, 11 Apr 2014 17:20:41 +0200 Subject: [PATCH] mail url --- .gitignore | 1 + app/View/Emails/html/registration.ctp | 2 +- app/View/Emails/text/registration.ctp | 2 +- app/View/User/test.ctp | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e48481d..18815d1 100755 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # User specific & automatically generated files # ################################################# /app/Config/database.php +/app/Config/email.php /app/webroot/uploads/ /app/webroot/avatar/ /app/webroot/dreamjob/ diff --git a/app/View/Emails/html/registration.ctp b/app/View/Emails/html/registration.ctp index ddaab86..b467d64 100644 --- a/app/View/Emails/html/registration.ctp +++ b/app/View/Emails/html/registration.ctp @@ -1,4 +1,4 @@ Html->link(__('dreamjob.regisration.active.link'),array('controller' => 'registration', 'action' => 'active','code'=>$key, - '?'=>array('mail'=>$data['User']['mail']))); + '?'=>array('mail'=>$data['User']['mail'])),true); ?> diff --git a/app/View/Emails/text/registration.ctp b/app/View/Emails/text/registration.ctp index 57f9499..66b9ea8 100644 --- a/app/View/Emails/text/registration.ctp +++ b/app/View/Emails/text/registration.ctp @@ -1,4 +1,4 @@ Html->url(array('controller'=>'registration','action'=>'active','code'=>$key, - '?'=>array('mail'=>$data['User']['mail']))); + '?'=>array('mail'=>$data['User']['mail'])),true); ?> diff --git a/app/View/User/test.ctp b/app/View/User/test.ctp index b19c319..62fd8bc 100755 --- a/app/View/User/test.ctp +++ b/app/View/User/test.ctp @@ -9,8 +9,8 @@ $key = "af4oi";
Html->link(__('dreamjob.regisration.active.link'),array('controller'=>'registration','action'=>'active','code'=>$key,'?'=>array('mail'=>'mueller@miconware.de'))); - echo $this->Html->url(array('controller'=>'registration','action'=>'active','code'=>$key,'?'=>array('mail'=>'asda@de.de'))); + echo $this->Html->link(__('dreamjob.regisration.active.link'),array('controller'=>'registration','action'=>'active','code'=>$key,'?'=>array('mail'=>'mueller@miconware.de')),true); + echo $this->Html->url(array('controller'=>'registration','action'=>'active','code'=>$key,'?'=>array('mail'=>'asda@de.de')),true); ?>