Hi,

this way my email template looks like:

<?php __('New Nesletter'); ?><br />
<?=$this->data['News']['email']?><br />
<?php __('Date:'); ?> <?=date('d.m.Y H:i');?>

This email arrives in 3 lines => perfect!

But this template puts all into one line:

<?php __('Following data was sent:');?>
<?php
    foreach($this->data['Contact'] as $field => $value){
        if($field == 'captcha_hash')continue;
        if($field == 'captcha_time')continue;
        if($field == 'homepage')continue;
        if($field == 'captcha')continue;
        echo __($field, true) .' = '. $value.'<br />';
    }
?>

Why is this?
How do I make it right?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to