[ Index ] |
|
Code source de CMS made simple 1.0.5 |
1 <?php 2 $lang['sendtestmailconfirm'] = 'Això enviarà un missatge de prova a l'adreça indicada. Si el procés d'enviar té èxit, tornaràs a aquesta pàgina. Vols continuar?'; 3 $lang['settingsconfirm'] = 'Vols escriure els valors actuals a la configuració del CMS Mailer?'; 4 $lang['testsubject'] = 'Missatge de prova del CMSMailer'; 5 $lang['testbody'] = 'Aquest missatge només pretén verificar la validesa de la configuració del mòdul CMS MAiler. 6 Si el reps, és que tot funciona correctament.'; 7 $lang['error_notestaddress'] = 'Error: adreça de prova no especificada'; 8 $lang['prompt_testaddress'] = 'Adreça de correu electrònic de prova'; 9 $lang['sendtest'] = 'Enviar missatge de prova'; 10 $lang['password'] = 'Password'; 11 $lang['username'] = 'Usuari'; 12 $lang['smtpauth'] = 'Autentificació SMTP'; 13 $lang['mailer'] = 'Mètode d'enviament'; 14 $lang['host'] = 'Nom de servidor SMTP<br/><i>(o adreça IP)</i>'; 15 $lang['port'] = 'Port del servidor SMTP'; 16 $lang['from'] = 'Adreça d'origen'; 17 $lang['fromuser'] = 'Usuari remitent'; 18 $lang['sendmail'] = 'Localització d'enviament'; 19 $lang['timeout'] = 'temps de connexió SMTP excedit'; 20 $lang['submit'] = 'Enviar'; 21 $lang['cancel'] = 'Cancel.lar'; 22 $lang['info_mailer'] = 'Mètode de correu a utilitzar (sendmail, smtp, mail). Habitualment smtp és el més fiable.'; 23 $lang['info_host'] = 'Nom de servidor SMTP (només vàlid per mètode smtp)'; 24 $lang['info_port'] = 'Nº de port SMTP (en general, el 25) (només vàlid pel mètode smtp)'; 25 $lang['info_from'] = 'Adreça utilitzada com a remitent en tots els correus'; 26 $lang['info_fromuser'] = 'Nom utilitzat per enviar tots els correus'; 27 $lang['info_sendmail'] = 'Camí complet fins a l'executable sendmail (només vàlid pel mètode sendmail d'enviament)'; 28 $lang['info_timeout'] = 'Nombre de segons en una conversa SMTP abans de generar un error (vàlid pel mètode smtp d'enviament)'; 29 $lang['info_smtpauth'] = 'Necessita el teu servidor smtp autenticació (vàlid només pel mètode smtp)?'; 30 $lang['info_username'] = 'Usuari per l'autenticació SMTP (vàlid només pel mètode smtp, amb l'autenticació smtp activada)'; 31 $lang['info_password'] = 'Password d'autenticació SMTP (vàlid només pel mètode smtp d'enviament, amb autenticació activada)'; 32 $lang['friendlyname'] = 'Mòdul CMSMailer'; 33 $lang['postinstall'] = 'El mòdul CMSMailer s'ha instal.lat correctament'; 34 $lang['postuninstall'] = 'Mòdul CMSMailer desinstal.lat...trist de veure't marxar'; 35 $lang['uninstalled'] = 'Mòdul desinstal.lat'; 36 $lang['installed'] = 'Versió %s del mòdul instal.lada'; 37 $lang['accessdenied'] = 'Accés denegat. Verifica els permisos'; 38 $lang['error'] = 'Error...'; 39 $lang['upgraded'] = 'Mòdul actualitzat a la versió %s.'; 40 $lang['title_mod_prefs'] = 'Preferències del mòdul'; 41 $lang['title_mod_admin'] = 'Module Admin Panel'; 42 $lang['title_admin_panel'] = 'Mòdul CMSMailer'; 43 $lang['moddescription'] = 'This is a simple wrapper around PHPMailer, it has an equivalent API (function for function) and a simple interface for some defaults.'; 44 $lang['welcome_text'] = '<p>Welcome to the CMSMailer module admin section'; 45 $lang['changelog'] = '<ul> 46 <li>Version 1.73.1. October, 2005. Initial Release.</li> 47 <li>Version 1.73.2. October, 2005. Minor bug fix with the admin panel. The dropdown was not representing the current value from the preferences database</li> 48 <li>Version 1.73.3. October, 2005. Minor bug fix with sending html email</li> 49 <li>Version 1.73.4. November, 2005. Form fields in preferences are larger, fixed a problem with the fromuser, and called reset within the constructor</li> 50 <li>Version 1.73.5. November, 2005. Added the form fields and functionality for SMTP authentication.</li> 51 <li>Version 1.73.6. December, 2005. Default mailer method is SMTP on install, and improved documentation, and now I clear all the attachments, and addresses, etc. on reset.</li> 52 <li>Version 1.73.7. January, 2006. Increased field lengths in most fields</li> 53 <li>Version 1.73.8. January, 2006. Changed the preferences panel to be a bit more descriptive.</li> 54 <li>Version 1.73.9. January, 2006. Added test email capability, and confirmation on each button (except cancel)</li> 55 <li>Version 1.73.10. August, 2006. Modified to use lazy loading to minimize memory footprint when CMSMailer is not being used.</li> 56 </ul>'; 57 $lang['help'] = '<h3>What Does This Do?</h3> 58 <p>This module provides no end user functionality. It is designed to be integrated into other modules to provide email capabilities. Thats it, nothing more.</p> 59 <h3>How Do I Use It</h3> 60 <p>This module provides a simple wrapper around all of the methods and variables of phpmailer. It is designed for use by other module developers, below is an example, and a brief API reference. Please read the PHPMailer documentation included for more information.</p> 61 <h3>An Example</h3> 62 <pre> 63 $cmsmailer = $this->GetModuleInstance('CMSMailer'); 64 $cmsmailer->AddAddress('calguy1000@hotmail.com','calguy'); 65 $cmsmailer->SetBody('<h4>This is a test message</h4>'); 66 $cmsmailer->IsHTML(true); 67 $cmsmailer->SetSubject('Test message'); 68 $cmsmailer->Send(); 69 </pre> 70 <h3>API</h3> 71 <ul> 72 <li><p><b>void reset()</b></p> 73 <p>Reset the object back to the values specified in the admin panel</p> 74 </li> 75 <li><p><b>string GetAltBody()</b></p> 76 <p>Return the alternate body of the email</p> 77 </li> 78 <li><p><b>void SetAltBody( $string )</b></p> 79 <p>Set the alternate body of the email</p> 80 </li> 81 <li><p><b>string GetBody()</b></p> 82 <p>Return the primary body of the email</p> 83 </li> 84 <li><p><b>void SetBody( $string )</b></p> 85 <p>Set the primary body of the email</p> 86 </li> 87 <li><p><b>string GetCharSet()</b></p> 88 <p>Default: iso-8859-1</p> 89 <p>Return the mailer character set</p> 90 </li> 91 <li><p><b>void SetCharSet( $string )</b></p> 92 <p>Set the mailer character set</p> 93 </li> 94 <li><p><b>string GetConfirmReadingTo()</b></p> 95 <p>Return the address confirmed reading email flag</p> 96 </li> 97 <li><p><b>void SetConfirmReadingTo( $address )</b></p> 98 <p>Set or unset the confirm reading address</p> 99 </li> 100 <li><p><b>string GetContentType()</b></p> 101 <p>Default: text/plain</p> 102 <p>Return the content type</p> 103 </li> 104 <li><p><b>void SetContentType()</b></p> 105 <p>Set the content type</p> 106 </li> 107 <li><p><b>string GetEncoding()</b></p> 108 <p>Return the encoding</p> 109 </li> 110 <li><p><b>void SetEncoding( $encoding )</b></p> 111 <p>Set the encoding</p> 112 <p>Options are: 8bit, 7bit, binary, base64, quoted-printable</p> 113 </li> 114 <li><p><b>string GetErrorInfo()</b></p> 115 <p>Return any error information</p> 116 </li> 117 <li><p><b>string GetFrom()</b></p> 118 <p>Return the current originating address</p> 119 </li> 120 <li><p><b>void SetFrom( $address )</b></p> 121 <p>Set the originating address</p> 122 </li> 123 <li><p><b>string GetFromName()</b></p> 124 <p>Return the current originating name</p> 125 </li> 126 <li><p><b>SetFromName( $name )</b></p> 127 <p>Set the originating name</p> 128 </li> 129 <li><p><b>string GetHelo()</b></p> 130 <p>Return the HELO string</p> 131 </li> 132 <li><p><b>SetHelo( $string )</b></p> 133 <p>Set the HELO string</p> 134 <p>Default value: $hostname</p> 135 </li> 136 <li><p><b>string GetHost()</b></p> 137 <p>Return the SMTPs host separated by semicolon</p> 138 </li> 139 <li><p><b>void SetHost( $string )</b></p> 140 <p>Set the hosts</p> 141 </li> 142 <li><p><b>string GetHostName()</b></p> 143 <p>Return the hostname used for SMTP Helo</p> 144 </li> 145 <li><p><b>void SetHostName( $hostname )</b></p> 146 <p>Set the hostname used for SMTP Helo</p> 147 </li> 148 <li><p><b>string GetMailer()</b></p> 149 <p>Return the mailer</p> 150 </li> 151 <li><p><b>void SetMailer( $mailer )</b></p> 152 <p>Set the mailer, either sendmail,mail, or smtp</p> 153 </li> 154 <li><p><b>string GetPassword()</b></p> 155 <p>Return the password for smtp auth</p> 156 </li> 157 <li><p><b>void SetPassword( $string )</b></p> 158 <p>Set the password for smtp auth</p> 159 </li> 160 <li><p><b>int GetPort()</b></p> 161 <p>Return the port number for smtp connections</p> 162 </li> 163 <li><p><b>void SetPort( $int )</b></p> 164 <p>Set the port for smtp connections</p> 165 </li> 166 <li><p><b>int GetPriority()</b></p> 167 <p>Return the message priority</p> 168 </li> 169 <li><p><b>void SetPriority( int )</b></p> 170 <p>Set the message priority</p> 171 <p>Values are 1=High, 3 = Normal, 5 = Low</p> 172 </li> 173 <li><p><b>string GetSender()</b></p> 174 <p>Return the sender email (return path) string</p> 175 </li> 176 <li><p><b>void SetSender( $address )</b></p> 177 <p>Set the sender string</p> 178 </li> 179 <li><p><b>string GetSendmail()</b></p> 180 <p>Return the sendmail path</p> 181 </li> 182 <li><p><b>void SetSendmail( $path )</b></p> 183 <p>Set the sendmail path</p> 184 </li> 185 <li><p><b>bool GetSMTPAuth()</b></p> 186 <p>Return the current value of the smtp auth flag</p> 187 </li> 188 <li><p><b>SetSMTPAuth( $bool )</b></p> 189 <p>Set the smtp auth flag</p> 190 </li> 191 <li><p><b>bool GetSMTPDebug()</b></p> 192 <p>Return the value of the SMTP debug flag</p> 193 </li> 194 <li><p><b>void SetSMTPDebug( $bool )</b></p> 195 <p>Set the SMTP debug flag</p> 196 </li> 197 <li><p><b>bool GetSMTPKeepAlive()</b></p> 198 <p>Return the value of the SMTP keep alive flag</p> 199 </li> 200 <li><p><b>SetSMTPKeepAlive( $bool )</b></p> 201 <p>Set the SMTP keep alive flag</p> 202 </li> 203 <li><p><b>string GetSubject()</b></p> 204 <p>Return the current subject string</p> 205 </li> 206 <li><p><b>void SetSubject( $string )</b></p> 207 <p>Set the subject string</p> 208 </li> 209 <li><p><b>int GetTimeout()</b></p> 210 <p>Return the timeout value</p> 211 </li> 212 <li><p><b>void SetTimeout( $seconds )</b></p> 213 <p>Set the timeout value</p> 214 </li> 215 <li><p><b>string GetUsername()</b></p> 216 <p>Return the smtp auth username</p> 217 </li> 218 <li><p><b>void SetUsername( $string )</b></p> 219 <p>Set the smtp auth username</p> 220 </li> 221 <li><p><b>int GetWordWrap()</b></p> 222 <p>Return the wordwrap value</p> 223 </li> 224 <li><p><b>void SetWordWrap( $int )</b></p> 225 <p>Return the wordwrap value</p> 226 </li> 227 <li><p><b>AddAddress( $address, $name = '' )</b></p> 228 <p>Add a destination address</p> 229 </li> 230 <li><p><b>AddAttachment( $path, $name = '', $encoding = 'base64', $type = 'application/octent-stream' )</b></p> 231 <p>Add a file attachment</p> 232 </li> 233 <li><p><b>AddBCC( $address, $name = '' )</b></p> 234 <p>Add a BCC'd destination address</p> 235 </li> 236 <li><p><b>AddCC( $address, $name = '' )</b></p> 237 <p>Add a CC'd destination address</p> 238 </li> 239 <li><p><b>AddCustomHeader( $txt )</b></p> 240 <p>Add a custom header to the email</p> 241 </li> 242 <li><p><b>AddEmbeddedImage( $path, $cid, $name = '', $encoding = 'base64', $type = 'application/octent-stream' )</b></p> 243 <p>Add an embedded image</p> 244 </li> 245 <li><p><b>AddReplyTo( $address, $name = '' )</b></p> 246 <p>Add a reply to address</p> 247 </li> 248 <li><p><b>AddStringAttachment( $string, $filename, $encoding = 'base64', $type = 'application/octent-stream' )</b></p> 249 <p>Add a file attachment</p> 250 </li> 251 <li><p><b>ClearAddresses()</b></p> 252 <p>Clear all addresses</p> 253 </li> 254 <li><p><b>ClearAllRecipients()</b></p> 255 <p>Clear all recipients</p> 256 </li> 257 <li><p><b>ClearAttachments()</b></p> 258 <p>Clear all attachments</p> 259 </li> 260 <li><p><b>ClearBCCs()</b></p> 261 <p>Clear all BCC addresses</p> 262 </li> 263 <li><p><b>ClearCCs()</b></p> 264 <p>Clear all CC addresses</p> 265 </li> 266 <li><p><b>ClearCustomHeaders()</b></p> 267 <p>Clear all custom headers</p> 268 </li> 269 <li><p><b>ClearReplyto()</b></p> 270 <p>Clear reply to address</p> 271 </li> 272 <li><p><b>IsError()</b></p> 273 <p>Check for an error condition</p> 274 </li> 275 <li><p><b>bool IsHTML( $bool )</b></p> 276 <p>Set the html flag</p> 277 <p><i>Note</i> possibly this should be a get and set method</p> 278 </li> 279 <li><p><b>bool IsMail()</b></p> 280 <p>Check wether we are using mail</p> 281 </li> 282 <li><p><b>bool IsQmail()</b></p> 283 <p>Check wether we are using qmail</p> 284 </li> 285 <li><p><b>IsSendmail()</b></p> 286 <p>Check wether we are using sendmail</p> 287 </li> 288 <li><p><b>IsSMTP()</b></p> 289 <p>Check wether we are using smtp</p> 290 </li> 291 <li><p><b>Send()</b></p> 292 <p>Send the currently prepared email</p> 293 </li> 294 <li><p><b>SetLanguage( $lang_type, $lang_path = '' )</b></p> 295 <p>Set the current language and <em>(optional)</em> language path</p> 296 </li> 297 <li><p><b>SmtpClose()</b></p> 298 <p>Close the smtp connection</p> 299 </li> 300 </ul> 301 <h3>Support</h3> 302 <p>This module does not include commercial support. However, there are a number of resources available to help you with it:</p> 303 <ul> 304 <li>For the latest version of this module, FAQs, or to file a Bug Report or buy commercial support, please visit calguys homepage at <a href='http://techcom.dyndns.org'>techcom.dyndns.org</a>.</li> 305 <li>Additional discussion of this module may also be found in the <a href='http://forum.cmsmadesimple.org'>CMS Made Simple Forums</a>.</li> 306 <li>The author, calguy1000, can often be found in the <a href='irc://irc.freenode.net/#cms'>CMS IRC Channel</a>.</li> 307 <li>Lastly, you may have some success emailing the author directly.</li> 308 </ul> 309 <p>As per the GPL, this software is provided as-is. Please read the text 310 of the license for the full disclaimer.</p> 311 312 <h3>Copyright and License</h3> 313 <p>Copyright © 2005, Robert Campbell <a href='mailto:calguy1000@hotmail.com'><calguy1000@hotmail.com></a>. All Rights Are Reserved.</p> 314 <p>This module has been released under the <a href='http://www.gnu.org/licenses/licenses.html#GPL'>GNU Public License</a>. You must agree to this license before using the module.</p> 315 '; 316 $lang['utmz'] = '156861353.1160781014.16.4.utmccn=(referral)|utmcsr=dev.cmsmadesimple.org|utmcct=/frs/admin/qrs.php|utmcmd=referral'; 317 $lang['utma'] = '156861353.1491487560.1147701002.1160781014.1161116932.17'; 318 $lang['utmc'] = '156861353'; 319 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |