Changeset 1644


Ignore:
Timestamp:
Dec 8, 2006, 7:05:01 AM (17 years ago)
Author:
rub
Message:

Feature Issue ID 0000598:

Possibility to send HTML mail

Fixed: $template_mail created only when it's necessary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_mail.inc.php

    r1642 r1644  
    148148
    149149  list($tmpl, $thm) = explode('/', $conf['default_template']);
    150   $template_mail = new Template(PHPWG_ROOT_PATH.'template/'.$tmpl, $thm);
    151150
    152151  $content = '';
     
    154153  if ($email_format == 'text/html')
    155154  {
     155    $template_mail = new Template(PHPWG_ROOT_PATH.'template/'.$tmpl, $thm);
     156
    156157    $template_mail->set_filenames(array('mail_header'=>'mail/header.tpl'));
    157158
Note: See TracChangeset for help on using the changeset viewer.