  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: email.php 368 2005-12-22 16:27:23Z hpdl $ |
| |
| 3 | + | $Id: email.php 410 2006-01-26 09:17:09Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
|
|
 |
… |
|
29 | 29 | | var $headers; |
| |
30 | 30 | | |
| |
31 | 31 | | function email($headers = '') { |
  |
| 32 | + | global $osC_Language; |
| |
| 33 | + | |
|
32 | 34 | | if ($headers == '') $headers = array(); |
| |
33 | 35 | | |
| |
34 | 36 | | $this->html_images = array(); |
| |
|
|
 |
… |
|
58 | 60 | | |
| |
59 | 61 | | $this->build_params['html_encoding'] = 'quoted-printable'; |
| |
60 | 62 | | $this->build_params['text_encoding'] = '7bit'; |
  |
61 | | - | $this->build_params['html_charset'] = constant('CHARSET'); |
| |
62 | | - | $this->build_params['text_charset'] = constant('CHARSET'); |
| |
| 63 | + | $this->build_params['html_charset'] = $osC_Language->getCharacterSet(); |
| |
| 64 | + | $this->build_params['text_charset'] = $osC_Language->getCharacterSet(); |
  |
63 | 65 | | $this->build_params['text_wrap'] = 998; |
| |
64 | 66 | | |
| |
65 | 67 | | /** |