[ Index ] |
|
Code source de XOOPS 2.0.17.1 |
1 <?php 2 /** 3 * Localize the mail functions 4 * 5 * The English localization is solely for demonstration 6 */ 7 // Do not change the class name 8 class XoopsMailerLocal extends XoopsMailer { 9 10 function XoopsMailerLocal(){ 11 $this->XoopsMailer(); 12 // It is supposed no need to change the charset 13 $this->charSet = strtolower( _CHARSET ); 14 // You MUST specify the language code value so that the file exists: XOOPS_ROOT_PAT/class/mail/phpmailer/language/lang-["your-language-code"].php 15 $this->multimailer->SetLanguage("en"); 16 } 17 18 // Multibyte languages are encouraged to make their proper method for encoding FromName 19 function encodeFromName($text) 20 { 21 // Activate the following line if needed 22 // $text = "=?{$this->charSet}?B?".base64_encode($text)."?="; 23 return $text; 24 } 25 26 // Multibyte languages are encouraged to make their proper method for encoding Subject 27 function encodeSubject($text) 28 { 29 // Activate the following line if needed 30 // $text = "=?{$this->charSet}?B?".base64_encode($text)."?="; 31 return $text; 32 } 33 } 34 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Nov 25 11:44:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |