Ignore:
Timestamp:
Aug 3, 2012, 6:07:42 PM (12 years ago)
Author:
mistic100
Message:

remove useless Quoted-Printable-Encode for mails

Location:
extensions/Subscribe_to_comments/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/Subscribe_to_comments/include/functions.inc.php

    r16105 r17350  
    504504  $headers.= 'MIME-Version: 1.0'."\n";
    505505  $headers.= 'X-Mailer: Piwigo Mailer'."\n";
    506   $headers.= 'Content-Transfer-Encoding: Quoted-Printable'."\n";
     506  // $headers.= 'Content-Transfer-Encoding: Quoted-Printable'."\n";
     507  $headers.= 'Content-Transfer-Encoding: 8bit'."\n";
    507508  $headers.= 'Content-Type: text/html; charset="'.get_pwg_charset().'";'."\n";
    508509 
     
    522523  $content = $template->parse('stc_mail_header', true) . $content . $template->parse('stc_mail_footer', true);
    523524 
    524   $content = quoted_printable_encode($content);
     525  // $content = quoted_printable_encode($content);
    525526  $content = wordwrap($content, 70, "\n", true);
    526527
  • extensions/Subscribe_to_comments/include/subscribe_to_comments.inc.php

    r16377 r17350  
    364364 
    365365  ## subscribe while add a comment ##
    366   $search = '<p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p>';
     366  $search = '{$comment_add.CONTENT}</textarea></p>';
    367367  $replace = file_get_contents(SUBSCRIBE_TO_PATH.'template/form_comment.tpl');
    368368  $content = str_replace($search, $search.$replace, $content);
Note: See TracChangeset for help on using the changeset viewer.