[ Index ] |
|
Code source de CMS made simple 1.0.5 |
1 <?php 2 $lang['sendtestmailconfirm'] = 'Tämä lähettää testiviestin määrittämääsi osoitteeseen. Mikäli lähettäminen onnistuu, ohjaudut takaisin tälle sivulle. Haluatko jatkaa?'; 3 $lang['settingsconfirm'] = 'Tallennatko nykyiset asetukset CMSMailerin asetuksiksi?'; 4 $lang['testsubject'] = 'CMSMailer-testiviesti'; 5 $lang['testbody'] = 'Tämän viestin tarkoitus on varmistaa CMSMailer-moduulin asetusten oikeellisuus. 6 Jos saat tämän viestin, niin kaikki on toimii oikein.'; 7 $lang['error_notestaddress'] = 'Virhe: Testiosoitetta ei ole annettu'; 8 $lang['prompt_testaddress'] = 'Testiviestin email-osoite'; 9 $lang['sendtest'] = 'Testiviestin sisältö'; 10 $lang['password'] = 'Salasana'; 11 $lang['username'] = 'Käyttäjänimi'; 12 $lang['smtpauth'] = 'SMTP-autentikointi'; 13 $lang['mailer'] = 'Postitusmetodi'; 14 $lang['host'] = 'SMTP-palvelimen nimi<br/><i>(tai IP-osoite)</i>'; 15 $lang['port'] = 'SMTP-palvelimen portti'; 16 $lang['from'] = 'Lähettäjän osoite'; 17 $lang['fromuser'] = 'Lähettäjän nimi'; 18 $lang['sendmail'] = 'Sendmail-sijainti'; 19 $lang['timeout'] = 'SMTP-aikakatkaisu'; 20 $lang['submit'] = 'Lähetä'; 21 $lang['cancel'] = 'Peruuta'; 22 $lang['info_mailer'] = 'Postitusmetodi (sendmail, smtp, mail). Yleensä SMTP on luotettavin.'; 23 $lang['info_host'] = 'SMTP-palvelimen nimi (vain SMTP postitusmetodissa)'; 24 $lang['info_port'] = 'SMTP-portin numero (yleensä 25) (vain SMTP postitusmetodissa)'; 25 $lang['info_from'] = 'Lähettäjän osoite kaikissa viesteissä'; 26 $lang['info_fromuser'] = 'Lähettäjän nimi kaikissa viesteissä'; 27 $lang['info_sendmail'] = 'Täydellinen polku Sendmail-ohjelmaan (vain sendmail-postitusmetodissa)'; 28 $lang['info_timeout'] = 'Aika sekunteina ennen kuin tapahtuu virhe SMTP-keskustelussa (SMTP-postitusmetodissa)'; 29 $lang['info_smtpauth'] = 'Vaatiiko SMTP-palvelin autentikoinnin (vain SMTP-postitusmetodissa)'; 30 $lang['info_username'] = 'Käyttäjänimi SMTP-autentikointiin (vain SMTP-postitusmetodissa kun autentikointi on valittuna)'; 31 $lang['info_password'] = 'Salasana SMTP-autentikointiin (vain SMTP postitusmetodissa kun autentikointi on valittuna)'; 32 $lang['friendlyname'] = 'CMSMailer-moduuli'; 33 $lang['postinstall'] = 'CMSMailer-moduuli on asennettu onnistuneesti'; 34 $lang['postuninstall'] = 'CMSMailer-moduuli poistettu'; 35 $lang['uninstalled'] = 'Moduuli poistettu.'; 36 $lang['installed'] = 'Moduuliversio %s asennettu.'; 37 $lang['accessdenied'] = 'Pääsy estetty. Tarkasta oikeudet.'; 38 $lang['error'] = 'Virhe!'; 39 $lang['upgraded'] = 'Moduuli päivitetty versioon %s.'; 40 $lang['title_mod_prefs'] = 'Moduulin asetukset'; 41 $lang['title_mod_admin'] = 'Moduulin hallintapaneli'; 42 $lang['title_admin_panel'] = 'CMSMailer-moduuli'; 43 $lang['moddescription'] = 'Tämä on yksinkertainen kääreohjelma PHPMailerin ympärille. Tässä on samanlainen API (funktiokohtaisesti) ja yksinkertainen käyttöliittymä joidenkin oletusvalintojen asettamiseksi.'; 44 $lang['welcome_text'] = '<p>Tervetuloa CMSMailer-moduulin hallintaosioon'; 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 </ul>'; 55 $lang['help'] = '<h3>Mitä tämä moduuli tekee?</h3> 56 <p>Tällä moduulilla ei ole ollenkaan loppukäyttäjän käyttöliittymää. Tämä on suunniteltu integroitavaksi muihin moduuleihin sähköpostiominaisuuksien lisäämiseksi.</p> 57 <h3>Kuinka sitä käytetään</h3> 58 <p>Tämä moduuli toimii yksinkertaisena kääreenä phpmailerin muuttujille ja metodeille. Moduuli on tarkoitettu toisten moduulikehittäjien käytettäväksi. Alla on esimerkki ja lyhyt API-kuvaus. Moduulin mukana toimitetaan PHPMailer-dokumentaatio, josta saa lisätietoja.</p> 59 <h3>Esimerkki</h3> 60 <pre> 61 $cmsmailer = $this->GetModuleInstance('CMSMailer'); 62 $cmsmailer->AddAddress('calguy1000@hotmail.com','calguy'); 63 $cmsmailer->SetBody('<h1>Tämä on testiviesti<h1>'); 64 $cmsmailer->IsHTML(true); 65 $cmsmailer->SetSubject('Testiviesti'); 66 $cmsmailer->Send(); 67 </pre> 68 <h3>API</h3> 69 <ul> 70 <li><p><b>void reset()</b></p> 71 <p>Reset the object back to the values specified in the admin panel</p> 72 </li> 73 <li><p><b>string GetAltBody()</b></p> 74 <p>Return the alternate body of the email</p> 75 </li> 76 <li><p><b>void SetAltBody( $string )</b></p> 77 <p>Set the alternate body of the email</p> 78 </li> 79 <li><p><b>string GetBody()</b></p> 80 <p>Return the primary body of the email</p> 81 </li> 82 <li><p><b>void SetBody( $string )</b></p> 83 <p>Set the primary body of the email</p> 84 </li> 85 <li><p><b>string GetCharSet()</b></p> 86 <p>Default: iso-8859-1</p> 87 <p>Return the mailer character set</p> 88 </li> 89 <li><p><b>void SetCharSet( $string )</b></p> 90 <p>Set the mailer character set</p> 91 </li> 92 <li><p><b>string GetConfirmReadingTo()</b></p> 93 <p>Return the address confirmed reading email flag</p> 94 </li> 95 <li><p><b>void SetConfirmReadingTo( $address )</b></p> 96 <p>Set or unset the confirm reading address</p> 97 </li> 98 <li><p><b>string GetContentType()</b></p> 99 <p>Default: text/plain</p> 100 <p>Return the content type</p> 101 </li> 102 <li><p><b>void SetContentType()</b></p> 103 <p>Set the content type</p> 104 </li> 105 <li><p><b>string GetEncoding()</b></p> 106 <p>Return the encoding</p> 107 </li> 108 <li><p><b>void SetEncoding( $encoding )</b></p> 109 <p>Set the encoding</p> 110 <p>Options are: 8bit, 7bit, binary, base64, quoted-printable</p> 111 </li> 112 <li><p><b>string GetErrorInfo()</b></p> 113 <p>Return any error information</p> 114 </li> 115 <li><p><b>string GetFrom()</b></p> 116 <p>Return the current originating address</p> 117 </li> 118 <li><p><b>void SetFrom( $address )</b></p> 119 <p>Set the originating address</p> 120 </li> 121 <li><p><b>string GetFromName()</b></p> 122 <p>Return the current originating name</p> 123 </li> 124 <li><p><b>SetFromName( $name )</b></p> 125 <p>Set the originating name</p> 126 </li> 127 <li><p><b>string GetHelo()</b></p> 128 <p>Return the HELO string</p> 129 </li> 130 <li><p><b>SetHelo( $string )</b></p> 131 <p>Set the HELO string</p> 132 <p>Default value: $hostname</p> 133 </li> 134 <li><p><b>string GetHost()</b></p> 135 <p>Return the SMTPs host separated by semicolon</p> 136 </li> 137 <li><p><b>void SetHost( $string )</b></p> 138 <p>Set the hosts</p> 139 </li> 140 <li><p><b>string GetHostName()</b></p> 141 <p>Return the hostname used for SMTP Helo</p> 142 </li> 143 <li><p><b>void SetHostName( $hostname )</b></p> 144 <p>Set the hostname used for SMTP Helo</p> 145 </li> 146 <li><p><b>string GetMailer()</b></p> 147 <p>Return the mailer</p> 148 </li> 149 <li><p><b>void SetMailer( $mailer )</b></p> 150 <p>Set the mailer, either sendmail,mail, or smtp</p> 151 </li> 152 <li><p><b>string GetPassword()</b></p> 153 <p>Return the password for smtp auth</p> 154 </li> 155 <li><p><b>void SetPassword( $string )</b></p> 156 <p>Set the password for smtp auth</p> 157 </li> 158 <li><p><b>int GetPort()</b></p> 159 <p>Return the port number for smtp connections</p> 160 </li> 161 <li><p><b>void SetPort( $int )</b></p> 162 <p>Set the port for smtp connections</p> 163 </li> 164 <li><p><b>int GetPriority()</b></p> 165 <p>Return the message priority</p> 166 </li> 167 <li><p><b>void SetPriority( int )</b></p> 168 <p>Set the message priority</p> 169 <p>Values are 1=High, 3 = Normal, 5 = Low</p> 170 </li> 171 <li><p><b>string GetSender()</b></p> 172 <p>Return the sender email (return path) string</p> 173 </li> 174 <li><p><b>void SetSender( $address )</b></p> 175 <p>Set the sender string</p> 176 </li> 177 <li><p><b>string GetSendmail()</b></p> 178 <p>Return the sendmail path</p> 179 </li> 180 <li><p><b>void SetSendmail( $path )</b></p> 181 <p>Set the sendmail path</p> 182 </li> 183 <li><p><b>bool GetSMTPAuth()</b></p> 184 <p>Return the current value of the smtp auth flag</p> 185 </li> 186 <li><p><b>SetSMTPAuth( $bool )</b></p> 187 <p>Set the smtp auth flag</p> 188 </li> 189 <li><p><b>bool GetSMTPDebug()</b></p> 190 <p>Return the value of the SMTP debug flag</p> 191 </li> 192 <li><p><b>void SetSMTPDebug( $bool )</b></p> 193 <p>Set the SMTP debug flag</p> 194 </li> 195 <li><p><b>bool GetSMTPKeepAlive()</b></p> 196 <p>Return the value of the SMTP keep alive flag</p> 197 </li> 198 <li><p><b>SetSMTPKeepAlive( $bool )</b></p> 199 <p>Set the SMTP keep alive flag</p> 200 </li> 201 <li><p><b>string GetSubject()</b></p> 202 <p>Return the current subject string</p> 203 </li> 204 <li><p><b>void SetSubject( $string )</b></p> 205 <p>Set the subject string</p> 206 </li> 207 <li><p><b>int GetTimeout()</b></p> 208 <p>Return the timeout value</p> 209 </li> 210 <li><p><b>void SetTimeout( $seconds )</b></p> 211 <p>Set the timeout value</p> 212 </li> 213 <li><p><b>string GetUsername()</b></p> 214 <p>Return the smtp auth username</p> 215 </li> 216 <li><p><b>void SetUsername( $string )</b></p> 217 <p>Set the smtp auth username</p> 218 </li> 219 <li><p><b>int GetWordWrap()</b></p> 220 <p>Return the wordwrap value</p> 221 </li> 222 <li><p><b>void SetWordWrap( $int )</b></p> 223 <p>Return the wordwrap value</p> 224 </li> 225 <li><p><b>AddAddress( $address, $name = '' )</b></p> 226 <p>Add a destination address</p> 227 </li> 228 <li><p><b>AddAttachment( $path, $name = '', $encoding = 'base64', $type = 'application/octent-stream' )</b></p> 229 <p>Add a file attachment</p> 230 </li> 231 <li><p><b>AddBCC( $address, $name = '' )</b></p> 232 <p>Add a BCC'd destination address</p> 233 </li> 234 <li><p><b>AddCC( $address, $name = '' )</b></p> 235 <p>Add a CC'd destination address</p> 236 </li> 237 <li><p><b>AddCustomHeader( $txt )</b></p> 238 <p>Add a custom header to the email</p> 239 </li> 240 <li><p><b>AddEmbeddedImage( $path, $cid, $name = '', $encoding = 'base64', $type = 'application/octent-stream' )</b></p> 241 <p>Add an embedded image</p> 242 </li> 243 <li><p><b>AddReplyTo( $address, $name = '' )</b></p> 244 <p>Add a reply to address</p> 245 </li> 246 <li><p><b>AddStringAttachment( $string, $filename, $encoding = 'base64', $type = 'application/octent-stream' )</b></p> 247 <p>Add a file attachment</p> 248 </li> 249 <li><p><b>ClearAddresses()</b></p> 250 <p>Clear all addresses</p> 251 </li> 252 <li><p><b>ClearAllRecipients()</b></p> 253 <p>Clear all recipients</p> 254 </li> 255 <li><p><b>ClearAttachments()</b></p> 256 <p>Clear all attachments</p> 257 </li> 258 <li><p><b>ClearBCCs()</b></p> 259 <p>Clear all BCC addresses</p> 260 </li> 261 <li><p><b>ClearCCs()</b></p> 262 <p>Clear all CC addresses</p> 263 </li> 264 <li><p><b>ClearCustomHeaders()</b></p> 265 <p>Clear all custom headers</p> 266 </li> 267 <li><p><b>ClearReplyto()</b></p> 268 <p>Clear reply to address</p> 269 </li> 270 <li><p><b>IsError()</b></p> 271 <p>Check for an error condition</p> 272 </li> 273 <li><p><b>bool IsHTML( $bool )</b></p> 274 <p>Set the html flag</p> 275 <p><i>Note</i> possibly this should be a get and set method</p> 276 </li> 277 <li><p><b>bool IsMail()</b></p> 278 <p>Check wether we are using mail</p> 279 </li> 280 <li><p><b>bool IsQmail()</b></p> 281 <p>Check wether we are using qmail</p> 282 </li> 283 <li><p><b>IsSendmail()</b></p> 284 <p>Check wether we are using sendmail</p> 285 </li> 286 <li><p><b>IsSMTP()</b></p> 287 <p>Check wether we are using smtp</p> 288 </li> 289 <li><p><b>Send()</b></p> 290 <p>Send the currently prepared email</p> 291 </li> 292 <li><p><b>SetLanguage( $lang_type, $lang_path = '' )</b></p> 293 <p>Set the current language and <em>(optional)</em> language path</p> 294 </li> 295 <li><p><b>SmtpClose()</b></p> 296 <p>Close the smtp connection</p> 297 </li> 298 </ul> 299 <h3>Tuki</h3> 300 <p>Tämän moduulin mukana ei tule kaupallista tukea. Muutamista paikoista voit kuitenkin saada apua:</p> 301 <ul> 302 <li>Uusin versio, FAQ ja bugiraportin jättäminen sekä kaupallisen tuen ostomahdollisuus ovat calguyn kotisivulla osoitteessa <a href=&quot;http://techcom.dyndns.org&quot;>techcom.dyndns.org</a>.</li> 303 <li>Keskustelua moduulista on <a href=&quot;http://forum.cmsmadesimple.org&quot;>CMS Made Simple -foorumilla</a>.</li> 304 <li>Moduulin tekijä, calguy1000 on usein tavoitettavissa <a href=&quot;irc://irc.freenode.net/#cms&quot;>CMS IRC-kanavalla</a>.</li> 305 <li>Saatat myös saada jonkin verran apua moduulin tekijältä sähköpostitse.</li> 306 </ul> 307 <p>GPL:n mukaisesti, tämä ohjelma toimitetaan sellaisena kuin se on (as-is). Täydellinen vastuuvapauslauseke on lisenssissä.</p> 308 309 <h3>Copyright ja lisenssi</h3> 310 <p>Copyright © 2005, Robert Campbell <a href=&quot;mailto:calguy1000@hotmail.com&quot;><calguy1000@hotmail.com></a>. All Rights Are Reserved.</p> 311 <p>Tämä moduuli on julkaistu <a href=&quot;http://www.gnu.org/licenses/licenses.html#GPL&quot;>GNU Public License</a> -lisenssillä. Lisenssin ehdot on hyväksyttävä ennen moduulin käyttöä.</p> 312 '; 313 $lang['utma'] = '156861353.2106463552.1148024391.1154112793.1154167845.6'; 314 $lang['utmz'] = '156861353.1148024391.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)'; 315 $lang['utmc'] = '156861353'; 316 ?>
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 |