Changeset 15656


Ignore:
Timestamp:
Jun 13, 2012, 4:32:19 PM (8 years ago)
Author:
mistic100
Message:

use Quoted-Printable for emails

Location:
extensions/Subscribe_to_comments
Files:
3 edited

Legend:

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

    r15648 r15656  
    502502  // hearders
    503503  $headers = 'From: '.$args['from']."\n"; 
    504   $headers.= 'Content-Type: text/html; charset="'.get_pwg_charset().'";'."\n";
    505   $headers.= 'Content-Transfer-Encoding: 8bit'."\n";
    506504  $headers.= 'MIME-Version: 1.0'."\n";
    507505  $headers.= 'X-Mailer: Piwigo Mailer'."\n";
     506  $headers.= 'Content-Transfer-Encoding: Quoted-Printable'."\n";
     507  $headers.= 'Content-Type: text/html; charset="'.get_pwg_charset().'";'."\n";
    508508 
    509509  // template
     
    521521 
    522522  $content = $template->parse('stc_mail_header', true) . $content . $template->parse('stc_mail_footer', true);
     523 
     524  $content = quoted_printable_encode($content);
    523525  $content = wordwrap($content, 70, "\n", true);
    524526
  • extensions/Subscribe_to_comments/template/mail/footer.tpl

    r15641 r15656  
    22  {'Sent by'|@translate} <a href="{$GALLERY_URL}">{$GALLERY_TITLE}</a>
    33  - {'Powered by'|@translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a> {$VERSION}
     4  - Subscribe to Comments
    45</div>
    56
  • extensions/Subscribe_to_comments/template/mail/style.css

    r15641 r15656  
    3737  background:#222;
    3838  border-top:1px solid #555;
    39   border-bottom:3px solid #CE2E5A;
     39  border-bottom:2px solid #CE2E5A;
    4040  font-size:10px;
    4141  padding:5px;
Note: See TracChangeset for help on using the changeset viewer.