[ Index ] |
|
Code source de CMS made simple 1.0.5 |
1 <?php 2 $lang['password'] = 'Heslo'; 3 $lang['username'] = 'Užívateľské meno'; 4 $lang['smtpauth'] = 'SMTP Authentifikácia'; 5 $lang['mailer'] = 'Mailer metoda'; 6 $lang['host'] = 'Názov SMTP hostu<br/><i>(alebo IP adresa)</i>'; 7 $lang['port'] = 'Port SMTP serveru'; 8 $lang['from'] = 'Z adresy'; 9 $lang['fromuser'] = 'Z užívateľského mena'; 10 $lang['sendmail'] = 'Sendmail umiestnenie'; 11 $lang['timeout'] = 'SMTP timeout'; 12 $lang['submit'] = 'Poslať'; 13 $lang['cancel'] = 'Zrušiť'; 14 $lang['info_mailer'] = 'Spôsob odoslania emailu (sendmail, smtp, mail). Bežne smtp, ak je dostupné.'; 15 $lang['info_host'] = 'Názov SMTP hostu(platí iba pri použití smtp)'; 16 $lang['info_port'] = 'Číslo SMTP portu (bežne 25) (platí iba pri použití smtp)'; 17 $lang['info_from'] = 'Adresa pužita, ako odosielateľ vo všetkých emailoch'; 18 $lang['info_fromuser'] = 'Priateľské meno použité ako odosielateľ vo všetkých emailoch'; 19 $lang['info_sendmail'] = 'Kompletný adresár k sendmail inštalácii (platí iba pri použití sendmail)'; 20 $lang['info_timeout'] = 'Počet sekúnd pri SMTP konverzácií pred ohlásením chyby (platí iba pri použití smtp)'; 21 $lang['info_smtpauth'] = 'Vyžaduje Váš SMTP server authentifikáciu (platí iba pri použití smtp)'; 22 $lang['info_username'] = 'SMTP meno (platí iba pri použití smtp, ak je vyžiadaná authentifikácia)'; 23 $lang['info_password'] = 'SMTP heslo (platí iba pri použití smtp, ak je vyžiadaná authentifikácia)'; 24 $lang['friendlyname'] = 'CMSMailer Modul'; 25 $lang['postinstall'] = 'CMSMailer modul bol vporiadku nainštalovaný'; 26 $lang['postuninstall'] = 'CMSMailer modul bol odinštalovnaý... ľutujeme, že Vás opúštame'; 27 $lang['uninstalled'] = 'Modul odinštalovaný.'; 28 $lang['installed'] = 'Modul verzie %s nainštalovaný.'; 29 $lang['accessdenied'] = 'Nedovolený prístup. Prosím skontrolujte si oprávnenia.'; 30 $lang['error'] = 'Chyba!'; 31 $lang['upgraded'] = 'Module upgradovaný na verziu %s.'; 32 $lang['title_mod_prefs'] = 'Predvoľby modulu'; 33 $lang['title_mod_admin'] = 'Administrácia modulu'; 34 $lang['title_admin_panel'] = 'CMSMailer Modul'; 35 $lang['moddescription'] = 'toto je jednoduchá nadstavba PHPMailer triedy, je to equivalent API (funkcia pre funkciu) a jednoduché rozhranie pre základné operácie.'; 36 $lang['welcome_text'] = '<p>Vitajte v administrácii CMSMailer modulu'; 37 $lang['changelog'] = '<ul> 38 <li>Version 1.73.1. October, 2005. Prvá verzia.</li> 39 <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> 40 <li>Version 1.73.3. October, 2005. Minor bug fix with sending html email</li> 41 <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> 42 <li>Version 1.73.5. November, 2005. Added the form fields and functionality for SMTP authentication.</li> 43 <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> 44 <li>Version 1.73.7. January, 2006. Increased field lengths in most fields</li> 45 <li>Version 1.73.8. January, 2006. Changed the preferences panel to be a bit more descriptive.</li> 46 </ul>'; 47 $lang['help'] = '<h3>What Does This Do?</h3> 48 <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> 49 <h3>How Do I Use It</h3> 50 <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> 51 <h3>An Example</h3> 52 <pre> 53 $cmsmailer = $this->GetModuleInstance(\'CMSMailer\'); 54 $cmsmailer->AddAddress(\'calguy1000@hotmail.com\',\'calguy\'); 55 $cmsmailer->SetBody(\'<h1>This is a test message<h1>\'); 56 $cmsmailer->IsHTML(true); 57 $cmsmailer->SetSubject(\'Test message\'); 58 $cmsmailer->Send(); 59 </pre> 60 <h3>API</h3> 61 <ul> 62 <li><p><b>void reset()</b></p> 63 <p>Reset the object back to the values specified in the admin panel</p> 64 </li> 65 <li><p><b>string GetAltBody()</b></p> 66 <p>Return the alternate body of the email</p> 67 </li> 68 <li><p><b>void SetAltBody( $string )</b></p> 69 <p>Set the alternate body of the email</p> 70 </li> 71 <li><p><b>string GetBody()</b></p> 72 <p>Return the primary body of the email</p> 73 </li> 74 <li><p><b>void SetBody( $string )</b></p> 75 <p>Set the primary body of the email</p> 76 </li> 77 <li><p><b>string GetCharSet()</b></p> 78 <p>Default: iso-8859-1</p> 79 <p>Return the mailer character set</p> 80 </li> 81 <li><p><b>void SetCharSet( $string )</b></p> 82 <p>Set the mailer character set</p> 83 </li> 84 <li><p><b>string GetConfirmReadingTo()</b></p> 85 <p>Return the address confirmed reading email flag</p> 86 </li> 87 <li><p><b>void SetConfirmReadingTo( $address )</b></p> 88 <p>Set or unset the confirm reading address</p> 89 </li> 90 <li><p><b>string GetContentType()</b></p> 91 <p>Default: text/plain</p> 92 <p>Return the content type</p> 93 </li> 94 <li><p><b>void SetContentType()</b></p> 95 <p>Set the content type</p> 96 </li> 97 <li><p><b>string GetEncoding()</b></p> 98 <p>Return the encoding</p> 99 </li> 100 <li><p><b>void SetEncoding( $encoding )</b></p> 101 <p>Set the encoding</p> 102 <p>Options are: 8bit, 7bit, binary, base64, quoted-printable</p> 103 </li> 104 <li><p><b>string GetErrorInfo()</b></p> 105 <p>Return any error information</p> 106 </li> 107 <li><p><b>string GetFrom()</b></p> 108 <p>Return the current originating address</p> 109 </li> 110 <li><p><b>void SetFrom( $address )</b></p> 111 <p>Set the originating address</p> 112 </li> 113 <li><p><b>string GetFromName()</b></p> 114 <p>Return the current originating name</p> 115 </li> 116 <li><p><b>SetFromName( $name )</b></p> 117 <p>Set the originating name</p> 118 </li> 119 <li><p><b>string GetHelo()</b></p> 120 <p>Return the HELO string</p> 121 </li> 122 <li><p><b>SetHelo( $string )</b></p> 123 <p>Set the HELO string</p> 124 <p>Default value: $hostname</p> 125 </li> 126 <li><p><b>string GetHost()</b></p> 127 <p>Return the SMTPs host separated by semicolon</p> 128 </li> 129 <li><p><b>void SetHost( $string )</b></p> 130 <p>Set the hosts</p> 131 </li> 132 <li><p><b>string GetHostName()</b></p> 133 <p>Return the hostname used for SMTP Helo</p> 134 </li> 135 <li><p><b>void SetHostName( $hostname )</b></p> 136 <p>Set the hostname used for SMTP Helo</p> 137 </li> 138 <li><p><b>string GetMailer()</b></p> 139 <p>Return the mailer</p> 140 </li> 141 <li><p><b>void SetMailer( $mailer )</b></p> 142 <p>Set the mailer, either sendmail,mail, or smtp</p> 143 </li> 144 <li><p><b>string GetPassword()</b></p> 145 <p>Return the password for smtp auth</p> 146 </li> 147 <li><p><b>void SetPassword( $string )</b></p> 148 <p>Set the password for smtp auth</p> 149 </li> 150 <li><p><b>int GetPort()</b></p> 151 <p>Return the port number for smtp connections</p> 152 </li> 153 <li><p><b>void SetPort( $int )</b></p> 154 <p>Set the port for smtp connections</p> 155 </li> 156 <li><p><b>int GetPriority()</b></p> 157 <p>Return the message priority</p> 158 </li> 159 <li><p><b>void SetPriority( int )</b></p> 160 <p>Set the message priority</p> 161 <p>Values are 1=High, 3 = Normal, 5 = Low</p> 162 </li> 163 <li><p><b>string GetSender()</b></p> 164 <p>Return the sender email (return path) string</p> 165 </li> 166 <li><p><b>void SetSender( $address )</b></p> 167 <p>Set the sender string</p> 168 </li> 169 <li><p><b>string GetSendmail()</b></p> 170 <p>Return the sendmail path</p> 171 </li> 172 <li><p><b>void SetSendmail( $path )</b></p> 173 <p>Set the sendmail path</p> 174 </li> 175 <li><p><b>bool GetSMTPAuth()</b></p> 176 <p>Return the current value of the smtp auth flag</p> 177 </li> 178 <li><p><b>SetSMTPAuth( $bool )</b></p> 179 <p>Set the smtp auth flag</p> 180 </li> 181 <li><p><b>bool GetSMTPDebug()</b></p> 182 <p>Return the value of the SMTP debug flag</p> 183 </li> 184 <li><p><b>void SetSMTPDebug( $bool )</b></p> 185 <p>Set the SMTP debug flag</p> 186 </li> 187 <li><p><b>bool GetSMTPKeepAlive()</b></p> 188 <p>Return the value of the SMTP keep alive flag</p> 189 </li> 190 <li><p><b>SetSMTPKeepAlive( $bool )</b></p> 191 <p>Set the SMTP keep alive flag</p> 192 </li> 193 <li><p><b>string GetSubject()</b></p> 194 <p>Return the current subject string</p> 195 </li> 196 <li><p><b>void SetSubject( $string )</b></p> 197 <p>Set the subject string</p> 198 </li> 199 <li><p><b>int GetTimeout()</b></p> 200 <p>Return the timeout value</p> 201 </li> 202 <li><p><b>void SetTimeout( $seconds )</b></p> 203 <p>Set the timeout value</p> 204 </li> 205 <li><p><b>string GetUsername()</b></p> 206 <p>Return the smtp auth username</p> 207 </li> 208 <li><p><b>void SetUsername( $string )</b></p> 209 <p>Set the smtp auth username</p> 210 </li> 211 <li><p><b>int GetWordWrap()</b></p> 212 <p>Return the wordwrap value</p> 213 </li> 214 <li><p><b>void SetWordWrap( $int )</b></p> 215 <p>Return the wordwrap value</p> 216 </li> 217 <li><p><b>AddAddress( $address, $name = \'\' )</b></p> 218 <p>Add a destination address</p> 219 </li> 220 <li><p><b>AddAttachment( $path, $name = \'\', $encoding = \'base64\', $type = \'application/octent-stream\' )</b></p> 221 <p>Add a file attachment</p> 222 </li> 223 <li><p><b>AddBCC( $address, $name = \'\' )</b></p> 224 <p>Add a BCC\'d destination address</p> 225 </li> 226 <li><p><b>AddCC( $address, $name = \'\' )</b></p> 227 <p>Add a CC\'d destination address</p> 228 </li> 229 <li><p><b>AddCustomHeader( $txt )</b></p> 230 <p>Add a custom header to the email</p> 231 </li> 232 <li><p><b>AddEmbeddedImage( $path, $cid, $name = \'\', $encoding = \'base64\', $type = \'application/octent-stream\' )</b></p> 233 <p>Add an embedded image</p> 234 </li> 235 <li><p><b>AddReplyTo( $address, $name = \'\' )</b></p> 236 <p>Add a reply to address</p> 237 </li> 238 <li><p><b>AddStringAttachment( $string, $filename, $encoding = \'base64\', $type = \'application/octent-stream\' )</b></p> 239 <p>Add a file attachment</p> 240 </li> 241 <li><p><b>ClearAddresses()</b></p> 242 <p>Clear all addresses</p> 243 </li> 244 <li><p><b>ClearAllRecipients()</b></p> 245 <p>Clear all recipients</p> 246 </li> 247 <li><p><b>ClearAttachments()</b></p> 248 <p>Clear all attachments</p> 249 </li> 250 <li><p><b>ClearBCCs()</b></p> 251 <p>Clear all BCC addresses</p> 252 </li> 253 <li><p><b>ClearCCs()</b></p> 254 <p>Clear all CC addresses</p> 255 </li> 256 <li><p><b>ClearCustomHeaders()</b></p> 257 <p>Clear all custom headers</p> 258 </li> 259 <li><p><b>ClearReplyto()</b></p> 260 <p>Clear reply to address</p> 261 </li> 262 <li><p><b>IsError()</b></p> 263 <p>Check for an error condition</p> 264 </li> 265 <li><p><b>bool IsHTML( $bool )</b></p> 266 <p>Set the html flag</p> 267 <p><i>Note</i> possibly this should be a get and set method</p> 268 </li> 269 <li><p><b>bool IsMail()</b></p> 270 <p>Check wether we are using mail</p> 271 </li> 272 <li><p><b>bool IsQmail()</b></p> 273 <p>Check wether we are using qmail</p> 274 </li> 275 <li><p><b>IsSendmail()</b></p> 276 <p>Check wether we are using sendmail</p> 277 </li> 278 <li><p><b>IsSMTP()</b></p> 279 <p>Check wether we are using smtp</p> 280 </li> 281 <li><p><b>Send()</b></p> 282 <p>Send the currently prepared email</p> 283 </li> 284 <li><p><b>SetLanguage( $lang_type, $lang_path = \'\' )</b></p> 285 <p>Set the current language and <em>(optional)</em> language path</p> 286 </li> 287 <li><p><b>SmtpClose()</b></p> 288 <p>Close the smtp connection</p> 289 </li> 290 </ul> 291 <h3>Support</h3> 292 <p>This module does not include commercial support. However, there are a number of resources available to help you with it:</p> 293 <ul> 294 <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> 295 <li>Additional discussion of this module may also be found in the <a href="http://forum.cmsmadesimple.org">CMS Made Simple Forums</a>.</li> 296 <li>The author, calguy1000, can often be found in the <a href="irc://irc.freenode.net/#cms">CMS IRC Channel</a>.</li> 297 <li>Lastly, you may have some success emailing the author directly.</li> 298 </ul> 299 <p>As per the GPL, this software is provided as-is. Please read the text 300 of the license for the full disclaimer.</p> 301 302 <h3>Copyright and License</h3> 303 <p>Copyright © 2005, Robert Campbell <a href="mailto:calguy1000@hotmail.com"><calguy1000@hotmail.com></a>. All Rights Are Reserved.</p> 304 <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> 305 '; 306 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Gnr le : Tue Apr 3 18:50:37 2007 | par Balluche grce PHPXref 0.7 |