Commit f5262feb f5262feb76878decc88a33512a104a189d707451 by Maulyanda

First commit

1 parent db955a23
Showing 1000 changed files with 4131 additions and 0 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

1 /db/db.php
2 /berkas
...\ No newline at end of file ...\ No newline at end of file
1 <IfModule mod_rewrite.c>
2 RewriteEngine on
3 RewriteRule ^tracking$ index.php?op=tracking [L]
4 RewriteRule ^keluar$ index.php?op=out [L]
5 RewriteRule ^login$ index.php?op=login [L]
6
7 # serve custom error pages
8 ErrorDocument 400 /404.php
9 ErrorDocument 401 /404.php
10 ErrorDocument 403 /404.php
11 ErrorDocument 404 /404.php
12 ErrorDocument 500 /404.php
13
14 </IfModule>
...\ No newline at end of file ...\ No newline at end of file
1 <html>
2 <head>
3 <title>Error 404 | SIAS</title>
4 </head>
5 <body>
6 <center>
7 <hr style="width: 450px;" width="650" />
8 <h2 style="text-align: center;" align="center">
9 <span style="font-size: 18px;">Maaf, Halaman Tidak di Temukan. Terima Kasih Banyak Atas Kunjungan Anda</span>
10 </h2>
11 <p style="text-align: center;" align="”center”">
12 <span style="font-family: courier new,courier; font-size: 12px;">copyright <?php echo date("Y");?> <span style="font-size: 14px; font-family: arial,helvetica,sans-serif;">&copy;</span> &nbsp;<a href="#" target="_blank">SIAS</a></span>
13 </p>
14 </center>
15 </body>
16 </html>
...\ No newline at end of file ...\ No newline at end of file
1 <?php
2 /**
3 * PHPMailer SPL autoloader.
4 * PHP Version 5
5 * @package PHPMailer
6 * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
8 * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
9 * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
10 * @author Brent R. Matzelle (original founder)
11 * @copyright 2012 - 2014 Marcus Bointon
12 * @copyright 2010 - 2012 Jim Jagielski
13 * @copyright 2004 - 2009 Andy Prevost
14 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
15 * @note This program is distributed in the hope that it will be useful - WITHOUT
16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE.
18 */
19
20 /**
21 * PHPMailer SPL autoloader.
22 * @param string $classname The name of the class to load
23 */
24 function PHPMailerAutoload($classname)
25 {
26 //Can't use __DIR__ as it's only in PHP 5.3+
27 $filename = dirname(__FILE__).DIRECTORY_SEPARATOR.'class.'.strtolower($classname).'.php';
28 if (is_readable($filename)) {
29 require $filename;
30 }
31 }
32
33 if (version_compare(PHP_VERSION, '5.1.2', '>=')) {
34 //SPL autoloading was introduced in PHP 5.1.2
35 if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
36 spl_autoload_register('PHPMailerAutoload', true, true);
37 } else {
38 spl_autoload_register('PHPMailerAutoload');
39 }
40 } else {
41 /**
42 * Fall back to traditional autoload for old PHP versions
43 * @param string $classname The name of the class to load
44 */
45 function __autoload($classname)
46 {
47 PHPMailerAutoload($classname);
48 }
49 }
This diff could not be displayed because it is too large.
1 <?php
2 /**
3 * PHPMailer - PHP email creation and transport class.
4 * PHP Version 5.4
5 * @package PHPMailer
6 * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
8 * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
9 * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
10 * @author Brent R. Matzelle (original founder)
11 * @copyright 2012 - 2014 Marcus Bointon
12 * @copyright 2010 - 2012 Jim Jagielski
13 * @copyright 2004 - 2009 Andy Prevost
14 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
15 * @note This program is distributed in the hope that it will be useful - WITHOUT
16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE.
18 */
19
20 /**
21 * PHPMailerOAuth - PHPMailer subclass adding OAuth support.
22 * @package PHPMailer
23 * @author @sherryl4george
24 * @author Marcus Bointon (@Synchro) <phpmailer@synchromedia.co.uk>
25 */
26 class PHPMailerOAuth extends PHPMailer
27 {
28 /**
29 * The OAuth user's email address
30 * @var string
31 */
32 public $oauthUserEmail = '';
33
34 /**
35 * The OAuth refresh token
36 * @var string
37 */
38 public $oauthRefreshToken = '';
39
40 /**
41 * The OAuth client ID
42 * @var string
43 */
44 public $oauthClientId = '';
45
46 /**
47 * The OAuth client secret
48 * @var string
49 */
50 public $oauthClientSecret = '';
51
52 /**
53 * An instance of the PHPMailerOAuthGoogle class.
54 * @var PHPMailerOAuthGoogle
55 * @access protected
56 */
57 protected $oauth = null;
58
59 /**
60 * Get a PHPMailerOAuthGoogle instance to use.
61 * @return PHPMailerOAuthGoogle
62 */
63 public function getOAUTHInstance()
64 {
65 if (!is_object($this->oauth)) {
66 $this->oauth = new PHPMailerOAuthGoogle(
67 $this->oauthUserEmail,
68 $this->oauthClientSecret,
69 $this->oauthClientId,
70 $this->oauthRefreshToken
71 );
72 }
73 return $this->oauth;
74 }
75
76 /**
77 * Initiate a connection to an SMTP server.
78 * Overrides the original smtpConnect method to add support for OAuth.
79 * @param array $options An array of options compatible with stream_context_create()
80 * @uses SMTP
81 * @access public
82 * @return bool
83 * @throws phpmailerException
84 */
85 public function smtpConnect($options = array())
86 {
87 if (is_null($this->smtp)) {
88 $this->smtp = $this->getSMTPInstance();
89 }
90
91 if (is_null($this->oauth)) {
92 $this->oauth = $this->getOAUTHInstance();
93 }
94
95 // Already connected?
96 if ($this->smtp->connected()) {
97 return true;
98 }
99
100 $this->smtp->setTimeout($this->Timeout);
101 $this->smtp->setDebugLevel($this->SMTPDebug);
102 $this->smtp->setDebugOutput($this->Debugoutput);
103 $this->smtp->setVerp($this->do_verp);
104 $hosts = explode(';', $this->Host);
105 $lastexception = null;
106
107 foreach ($hosts as $hostentry) {
108 $hostinfo = array();
109 if (!preg_match('/^((ssl|tls):\/\/)*([a-zA-Z0-9\.-]*):?([0-9]*)$/', trim($hostentry), $hostinfo)) {
110 // Not a valid host entry
111 continue;
112 }
113 // $hostinfo[2]: optional ssl or tls prefix
114 // $hostinfo[3]: the hostname
115 // $hostinfo[4]: optional port number
116 // The host string prefix can temporarily override the current setting for SMTPSecure
117 // If it's not specified, the default value is used
118 $prefix = '';
119 $secure = $this->SMTPSecure;
120 $tls = ($this->SMTPSecure == 'tls');
121 if ('ssl' == $hostinfo[2] or ('' == $hostinfo[2] and 'ssl' == $this->SMTPSecure)) {
122 $prefix = 'ssl://';
123 $tls = false; // Can't have SSL and TLS at the same time
124 $secure = 'ssl';
125 } elseif ($hostinfo[2] == 'tls') {
126 $tls = true;
127 // tls doesn't use a prefix
128 $secure = 'tls';
129 }
130 //Do we need the OpenSSL extension?
131 $sslext = defined('OPENSSL_ALGO_SHA1');
132 if ('tls' === $secure or 'ssl' === $secure) {
133 //Check for an OpenSSL constant rather than using extension_loaded, which is sometimes disabled
134 if (!$sslext) {
135 throw new phpmailerException($this->lang('extension_missing').'openssl', self::STOP_CRITICAL);
136 }
137 }
138 $host = $hostinfo[3];
139 $port = $this->Port;
140 $tport = (integer)$hostinfo[4];
141 if ($tport > 0 and $tport < 65536) {
142 $port = $tport;
143 }
144 if ($this->smtp->connect($prefix . $host, $port, $this->Timeout, $options)) {
145 try {
146 if ($this->Helo) {
147 $hello = $this->Helo;
148 } else {
149 $hello = $this->serverHostname();
150 }
151 $this->smtp->hello($hello);
152 //Automatically enable TLS encryption if:
153 // * it's not disabled
154 // * we have openssl extension
155 // * we are not already using SSL
156 // * the server offers STARTTLS
157 if ($this->SMTPAutoTLS and $sslext and $secure != 'ssl' and $this->smtp->getServerExt('STARTTLS')) {
158 $tls = true;
159 }
160 if ($tls) {
161 if (!$this->smtp->startTLS()) {
162 throw new phpmailerException($this->lang('connect_host'));
163 }
164 // We must resend HELO after tls negotiation
165 $this->smtp->hello($hello);
166 }
167 if ($this->SMTPAuth) {
168 if (!$this->smtp->authenticate(
169 $this->Username,
170 $this->Password,
171 $this->AuthType,
172 $this->Realm,
173 $this->Workstation,
174 $this->oauth
175 )
176 ) {
177 throw new phpmailerException($this->lang('authenticate'));
178 }
179 }
180 return true;
181 } catch (phpmailerException $exc) {
182 $lastexception = $exc;
183 $this->edebug($exc->getMessage());
184 // We must have connected, but then failed TLS or Auth, so close connection nicely
185 $this->smtp->quit();
186 }
187 }
188 }
189 // If we get here, all connection attempts have failed, so close connection hard
190 $this->smtp->close();
191 // As we've caught all exceptions, just report whatever the last one was
192 if ($this->exceptions and !is_null($lastexception)) {
193 throw $lastexception;
194 }
195 return false;
196 }
197 }
1 <?php
2 /**
3 * PHPMailer - PHP email creation and transport class.
4 * PHP Version 5.4
5 * @package PHPMailer
6 * @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
7 * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
8 * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
9 * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
10 * @author Brent R. Matzelle (original founder)
11 * @copyright 2012 - 2014 Marcus Bointon
12 * @copyright 2010 - 2012 Jim Jagielski
13 * @copyright 2004 - 2009 Andy Prevost
14 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
15 * @note This program is distributed in the hope that it will be useful - WITHOUT
16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE.
18 */
19
20 /**
21 * PHPMailerOAuthGoogle - Wrapper for League OAuth2 Google provider.
22 * @package PHPMailer
23 * @author @sherryl4george
24 * @author Marcus Bointon (@Synchro) <phpmailer@synchromedia.co.uk>
25 * @link https://github.com/thephpleague/oauth2-client
26 */
27 class PHPMailerOAuthGoogle
28 {
29 private $oauthUserEmail = '';
30 private $oauthRefreshToken = '';
31 private $oauthClientId = '';
32 private $oauthClientSecret = '';
33
34 /**
35 * @param string $UserEmail
36 * @param string $ClientSecret
37 * @param string $ClientId
38 * @param string $RefreshToken
39 */
40 public function __construct(
41 $UserEmail,
42 $ClientSecret,
43 $ClientId,
44 $RefreshToken
45 ) {
46 $this->oauthClientId = $ClientId;
47 $this->oauthClientSecret = $ClientSecret;
48 $this->oauthRefreshToken = $RefreshToken;
49 $this->oauthUserEmail = $UserEmail;
50 }
51
52 private function getProvider()
53 {
54 return new League\OAuth2\Client\Provider\Google([
55 'clientId' => $this->oauthClientId,
56 'clientSecret' => $this->oauthClientSecret
57 ]);
58 }
59
60 private function getGrant()
61 {
62 return new \League\OAuth2\Client\Grant\RefreshToken();
63 }
64
65 private function getToken()
66 {
67 $provider = $this->getProvider();
68 $grant = $this->getGrant();
69 return $provider->getAccessToken($grant, ['refresh_token' => $this->oauthRefreshToken]);
70 }
71
72 public function getOauth64()
73 {
74 $token = $this->getToken();
75 return base64_encode("user=" . $this->oauthUserEmail . "\001auth=Bearer " . $token . "\001\001");
76 }
77 }
1 {
2 "name": "phpmailer/phpmailer",
3 "type": "library",
4 "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
5 "authors": [
6 {
7 "name": "Marcus Bointon",
8 "email": "phpmailer@synchromedia.co.uk"
9 },
10 {
11 "name": "Jim Jagielski",
12 "email": "jimjag@gmail.com"
13 },
14 {
15 "name": "Andy Prevost",
16 "email": "codeworxtech@users.sourceforge.net"
17 },
18 {
19 "name": "Brent R. Matzelle"
20 }
21 ],
22 "require": {
23 "ext-ctype": "*",
24 "php": ">=5.0.0"
25 },
26 "require-dev": {
27 "doctrine/annotations": "1.2.*",
28 "jms/serializer": "0.16.*",
29 "phpdocumentor/phpdocumentor": "2.*",
30 "phpunit/phpunit": "4.8.*",
31 "symfony/debug": "2.8.*",
32 "symfony/filesystem": "2.8.*",
33 "symfony/translation": "2.8.*",
34 "symfony/yaml": "2.8.*",
35 "zendframework/zend-cache": "2.5.1",
36 "zendframework/zend-config": "2.5.1",
37 "zendframework/zend-eventmanager": "2.5.1",
38 "zendframework/zend-filter": "2.5.1",
39 "zendframework/zend-i18n": "2.5.1",
40 "zendframework/zend-json": "2.5.1",
41 "zendframework/zend-math": "2.5.1",
42 "zendframework/zend-serializer": "2.5.*",
43 "zendframework/zend-servicemanager": "2.5.*",
44 "zendframework/zend-stdlib": "2.5.1"
45 },
46 "suggest": {
47 "league/oauth2-google": "Needed for Google XOAUTH2 authentication"
48 },
49 "autoload": {
50 "classmap": [
51 "class.phpmailer.php",
52 "class.phpmaileroauth.php",
53 "class.phpmaileroauthgoogle.php",
54 "class.smtp.php",
55 "class.pop3.php",
56 "extras/EasyPeasyICS.php",
57 "extras/ntlm_sasl_client.php"
58 ]
59 },
60 "license": "LGPL-2.1"
61 }
This diff could not be displayed because it is too large.
1 <?php
2 /**
3 * This example shows how to use DKIM message authentication with PHPMailer.
4 * There's more to using DKIM than just this code - check out this article:
5 * @link https://yomotherboard.com/how-to-setup-email-server-dkim-keys/
6 * See also the DKIM code in the PHPMailer unit tests,
7 * which shows how to make a key pair from PHP.
8 */
9
10 require '../PHPMailerAutoload.php';
11
12 //Create a new PHPMailer instance
13 $mail = new PHPMailer;
14 //Set who the message is to be sent from
15 $mail->setFrom('from@example.com', 'First Last');
16 //Set an alternative reply-to address
17 $mail->addReplyTo('replyto@example.com', 'First Last');
18 //Set who the message is to be sent to
19 $mail->addAddress('whoto@example.com', 'John Doe');
20 //Set the subject line
21 $mail->Subject = 'PHPMailer DKIM test';
22 //This should be the same as the domain of your From address
23 $mail->DKIM_domain = 'example.com';
24 //Path to your private key file
25 $mail->DKIM_private = 'dkim_private.pem';
26 //Set this to your own selector
27 $mail->DKIM_selector = 'phpmailer';
28 //If your private key has a passphrase, set it here
29 $mail->DKIM_passphrase = '';
30 //The identity you're signing as - usually your From address
31 $mail->DKIM_identity = $mail->From;
32
33 //send the message, check for errors
34 if (!$mail->send()) {
35 echo "Mailer Error: " . $mail->ErrorInfo;
36 } else {
37 echo "Message sent!";
38 }
1 <?php
2 /**
3 * This example shows how to handle a simple contact form.
4 */
5
6 $msg = '';
7 //Don't run this unless we're handling a form submission
8 if (array_key_exists('email', $_POST)) {
9 date_default_timezone_set('Etc/UTC');
10
11 require '../PHPMailerAutoload.php';
12
13 //Create a new PHPMailer instance
14 $mail = new PHPMailer;
15 //Tell PHPMailer to use SMTP - requires a local mail server
16 //Faster and safer than using mail()
17 $mail->isSMTP();
18 $mail->Host = 'localhost';
19 $mail->Port = 25;
20
21 //Use a fixed address in your own domain as the from address
22 //**DO NOT** use the submitter's address here as it will be forgery
23 //and will cause your messages to fail SPF checks
24 $mail->setFrom('from@example.com', 'First Last');
25 //Send the message to yourself, or whoever should receive contact for submissions
26 $mail->addAddress('whoto@example.com', 'John Doe');
27 //Put the submitter's address in a reply-to header
28 //This will fail if the address provided is invalid,
29 //in which case we should ignore the whole request
30 if ($mail->addReplyTo($_POST['email'], $_POST['name'])) {
31 $mail->Subject = 'PHPMailer contact form';
32 //Keep it simple - don't use HTML
33 $mail->isHTML(false);
34 //Build a simple message body
35 $mail->Body = <<<EOT
36 Email: {$_POST['email']}
37 Name: {$_POST['name']}
38 Message: {$_POST['message']}
39 EOT;
40 //Send the message, check for errors
41 if (!$mail->send()) {
42 //The reason for failing to send will be in $mail->ErrorInfo
43 //but you shouldn't display errors to users - process the error, log it on your server.
44 $msg = 'Sorry, something went wrong. Please try again later.';
45 } else {
46 $msg = 'Message sent! Thanks for contacting us.';
47 }
48 } else {
49 $msg = 'Invalid email address, message ignored.';
50 }
51 }
52 ?>
53 <!DOCTYPE html>
54 <html lang="en">
55 <head>
56 <meta charset="UTF-8">
57 <title>Contact form</title>
58 </head>
59 <body>
60 <h1>Contact us</h1>
61 <?php if (!empty($msg)) {
62 echo "<h2>$msg</h2>";
63 } ?>
64 <form method="POST">
65 <label for="name">Name: <input type="text" name="name" id="name"></label><br>
66 <label for="email">Email address: <input type="email" name="email" id="email"></label><br>
67 <label for="message">Message: <textarea name="message" id="message" rows="8" cols="20"></textarea></label><br>
68 <input type="submit" value="Send">
69 </form>
70 </body>
71 </html>
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <title>PHPMailer Test</title>
6 </head>
7 <body>
8 <div style="width: 640px; font-family: Arial, Helvetica, sans-serif; font-size: 11px;">
9 <h1>This is a test of PHPMailer.</h1>
10 <div align="center">
11 <a href="https://github.com/PHPMailer/PHPMailer/"><img src="images/phpmailer.png" height="90" width="340" alt="PHPMailer rocks"></a>
12 </div>
13 <p>This example uses <strong>HTML</strong>.</p>
14 <p>ISO-8859-1 text: </p>
15 </div>
16 </body>
17 </html>
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title>PHPMailer Test</title>
6 </head>
7 <body>
8 <div style="width: 640px; font-family: Arial, Helvetica, sans-serif; font-size: 11px;">
9 <h1>This is a test of PHPMailer.</h1>
10 <div align="center">
11 <a href="https://github.com/PHPMailer/PHPMailer/"><img src="images/phpmailer.png" height="90" width="340" alt="PHPMailer rocks"></a>
12 </div>
13 <p>This example uses <strong>HTML</strong>.</p>
14 <p>Chinese text: 郵件內容為空</p>
15 <p>Russian text: Пустое тело сообщения</p>
16 <p>Armenian text: Հաղորդագրությունը դատարկ է</p>
17 <p>Czech text: Prázdné tělo zprávy</p>
18 <p>Emoji: <span style="font-size: 48px">😂 🦄 💥 📤 📧</span></p>
19 </div>
20 </body>
21 </html>
1 <?php
2 /**
3 * This example shows how to make use of PHPMailer's exceptions for error handling.
4 */
5
6 require '../PHPMailerAutoload.php';
7
8 //Create a new PHPMailer instance
9 //Passing true to the constructor enables the use of exceptions for error handling
10 $mail = new PHPMailer(true);
11 try {
12 //Set who the message is to be sent from
13 $mail->setFrom('from@example.com', 'First Last');
14 //Set an alternative reply-to address
15 $mail->addReplyTo('replyto@example.com', 'First Last');
16 //Set who the message is to be sent to
17 $mail->addAddress('whoto@example.com', 'John Doe');
18 //Set the subject line
19 $mail->Subject = 'PHPMailer Exceptions test';
20 //Read an HTML message body from an external file, convert referenced images to embedded,
21 //and convert the HTML into a basic plain-text alternative body
22 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
23 //Replace the plain text body with one created manually
24 $mail->AltBody = 'This is a plain-text message body';
25 //Attach an image file
26 $mail->addAttachment('images/phpmailer_mini.png');
27 //send the message
28 //Note that we don't need check the response from this because it will throw an exception if it has trouble
29 $mail->send();
30 echo "Message sent!";
31 } catch (phpmailerException $e) {
32 echo $e->errorMessage(); //Pretty error messages from PHPMailer
33 } catch (Exception $e) {
34 echo $e->getMessage(); //Boring error messages from anything else!
35 }
1 <?php
2 /**
3 * This example shows settings to use when sending via Google's Gmail servers.
4 */
5
6 //SMTP needs accurate times, and the PHP time zone MUST be set
7 //This should be done in your php.ini, but this is how to do it if you don't have access to that
8 date_default_timezone_set('Etc/UTC');
9
10 require '../PHPMailerAutoload.php';
11
12 //Create a new PHPMailer instance
13 $mail = new PHPMailer;
14
15 //Tell PHPMailer to use SMTP
16 $mail->isSMTP();
17
18 //Enable SMTP debugging
19 // 0 = off (for production use)
20 // 1 = client messages
21 // 2 = client and server messages
22 $mail->SMTPDebug = 2;
23
24 //Ask for HTML-friendly debug output
25 $mail->Debugoutput = 'html';
26
27 //Set the hostname of the mail server
28 $mail->Host = 'smtp.gmail.com';
29 // use
30 // $mail->Host = gethostbyname('smtp.gmail.com');
31 // if your network does not support SMTP over IPv6
32
33 //Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
34 $mail->Port = 587;
35
36 //Set the encryption system to use - ssl (deprecated) or tls
37 $mail->SMTPSecure = 'tls';
38
39 //Whether to use SMTP authentication
40 $mail->SMTPAuth = true;
41
42 //Username to use for SMTP authentication - use full email address for gmail
43 $mail->Username = "username@gmail.com";
44
45 //Password to use for SMTP authentication
46 $mail->Password = "yourpassword";
47
48 //Set who the message is to be sent from
49 $mail->setFrom('from@example.com', 'First Last');
50
51 //Set an alternative reply-to address
52 $mail->addReplyTo('replyto@example.com', 'First Last');
53
54 //Set who the message is to be sent to
55 $mail->addAddress('whoto@example.com', 'John Doe');
56
57 //Set the subject line
58 $mail->Subject = 'PHPMailer GMail SMTP test';
59
60 //Read an HTML message body from an external file, convert referenced images to embedded,
61 //convert HTML into a basic plain-text alternative body
62 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
63
64 //Replace the plain text body with one created manually
65 $mail->AltBody = 'This is a plain-text message body';
66
67 //Attach an image file
68 $mail->addAttachment('images/phpmailer_mini.png');
69
70 //send the message, check for errors
71 if (!$mail->send()) {
72 echo "Mailer Error: " . $mail->ErrorInfo;
73 } else {
74 echo "Message sent!";
75 }
1 <?php
2 /**
3 * This example shows settings to use when sending via Google's Gmail servers.
4 */
5
6 //SMTP needs accurate times, and the PHP time zone MUST be set
7 //This should be done in your php.ini, but this is how to do it if you don't have access to that
8 date_default_timezone_set('Etc/UTC');
9
10 require '../PHPMailerAutoload.php';
11
12 //Load dependencies from composer
13 //If this causes an error, run 'composer install'
14 require '../vendor/autoload.php';
15
16 //Create a new PHPMailer instance
17 $mail = new PHPMailerOAuth;
18
19 //Tell PHPMailer to use SMTP
20 $mail->isSMTP();
21
22 //Enable SMTP debugging
23 // 0 = off (for production use)
24 // 1 = client messages
25 // 2 = client and server messages
26 $mail->SMTPDebug = 0;
27
28 //Ask for HTML-friendly debug output
29 $mail->Debugoutput = 'html';
30
31 //Set the hostname of the mail server
32 $mail->Host = 'smtp.gmail.com';
33
34 //Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
35 $mail->Port = 587;
36
37 //Set the encryption system to use - ssl (deprecated) or tls
38 $mail->SMTPSecure = 'tls';
39
40 //Whether to use SMTP authentication
41 $mail->SMTPAuth = true;
42
43 //Set AuthType
44 $mail->AuthType = 'XOAUTH2';
45
46 //User Email to use for SMTP authentication - user who gave consent to our app
47 $mail->oauthUserEmail = "from@gmail.com";
48
49 //Obtained From Google Developer Console
50 $mail->oauthClientId = "RANDOMCHARS-----duv1n2.apps.googleusercontent.com";
51
52 //Obtained From Google Developer Console
53 $mail->oauthClientSecret = "RANDOMCHARS-----lGyjPcRtvP";
54
55 //Obtained By running get_oauth_token.php after setting up APP in Google Developer Console.
56 //Set Redirect URI in Developer Console as [https/http]://<yourdomain>/<folder>/get_oauth_token.php
57 // eg: http://localhost/phpmail/get_oauth_token.php
58 $mail->oauthRefreshToken = "RANDOMCHARS-----DWxgOvPT003r-yFUV49TQYag7_Aod7y0";
59
60 //Set who the message is to be sent from
61 //For gmail, this generally needs to be the same as the user you logged in as
62 $mail->setFrom('from@example.com', 'First Last');
63
64 //Set who the message is to be sent to
65 $mail->addAddress('whoto@example.com', 'John Doe');
66
67 //Set the subject line
68 $mail->Subject = 'PHPMailer GMail SMTP test';
69
70 //Read an HTML message body from an external file, convert referenced images to embedded,
71 //convert HTML into a basic plain-text alternative body
72 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
73
74 //Replace the plain text body with one created manually
75 $mail->AltBody = 'This is a plain-text message body';
76
77 //Attach an image file
78 $mail->addAttachment('images/phpmailer_mini.png');
79
80 //send the message, check for errors
81 if (!$mail->send()) {
82 echo "Mailer Error: " . $mail->ErrorInfo;
83 } else {
84 echo "Message sent!";
85 }
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <title>PHPMailer Examples</title>
6 </head>
7 <body>
8 <h1>PHPMailer code examples<a href="https://github.com/PHPMailer/PHPMailer"><img src="images/phpmailer.png" style="float:right; border:0;" alt="PHPMailer logo"></a></h1>
9 <p>This folder contains a collection of examples of using <a href="https://github.com/PHPMailer/PHPMailer">PHPMailer</a>.</p>
10 <h2>About testing email sending</h2>
11 <p>When working on email sending code you'll find yourself worrying about what might happen if all these test emails got sent to your mailing list. The solution is to use a fake mail server, one that acts just like the real thing, but just doesn't actually send anything out. Some offer web interfaces, feedback, logging, the ability to return specific error codes, all things that are useful for testing error handling, authentication etc. Here's a selection of mail testing tools you might like to try:</p>
12 <ul>
13 <li><a href="https://github.com/Nilhcem/FakeSMTP">FakeSMTP</a>, a Java desktop app with the ability to show an SMTP log and save messages to a folder. </li>
14 <li><a href="https://github.com/isotoma/FakeEmail">FakeEmail</a>, a Python-based fake mail server with a web interface.</li>
15 <li><a href="http://www.postfix.org/smtp-sink.1.html">smtp-sink</a>, part of the Postfix mail server, so you probably already have this installed. This is used in the Travis-CI configuration to run PHPMailer's unit tests.</li>
16 <li><a href="http://smtp4dev.codeplex.com">smtp4dev</a>, a dummy SMTP server for Windows.</li>
17 <li><a href="https://github.com/PHPMailer/PHPMailer/blob/master/test/fakesendmail.sh">fakesendmail.sh</a>, part of PHPMailer's test setup, this is a shell script that emulates sendmail for testing 'mail' or 'sendmail' methods in PHPMailer.</li>
18 <li><a href="http://tools.ietf.org/tools/msglint/">msglint</a>, not a mail server, the IETF's MIME structure analyser checks the formatting of your messages.</li>
19 </ul>
20 <div style="padding: 8px; color: #333333; background-color: #dc8b92">
21 <h2>Security note</h2>
22 <p>Before running these examples you'll need to rename them with '.php' extensions. They are supplied as '.phps' files which will usually be displayed with syntax highlighting by PHP instead of running them. This prevents potential security issues with running potential spam-gateway code if you happen to deploy these code examples on a live site - <em>please don't do that!</em> Similarly, don't leave your passwords in these files as they will be visible to the world!</p>
23 </div>
24 <h2><a href="code_generator.phps">code_generator.phps</a></h2>
25 <p>This script is a simple code generator - fill in the form and hit submit, and it will use when you entered to email you a message, and will also generate PHP code using your settings that you can copy and paste to use in your own apps. If you need to get going quickly, this is probably the best place to start.</p>
26 <h2><a href="mail.phps">mail.phps</a></h2>
27 <p>This script is a basic example which creates an email message from an external HTML file, creates a plain text body, sets various addresses, adds an attachment and sends the message. It uses PHP's built-in mail() function which is the simplest to use, but relies on the presence of a local mail server, something which is not usually available on Windows. If you find yourself in that situation, either install a local mail server, or use a remote one and send using SMTP instead.</p>
28 <h2><a href="exceptions.phps">exceptions.phps</a></h2>
29 <p>The same as the mail example, but shows how to use PHPMailer's optional exceptions for error handling.</p>
30 <h2><a href="smtp.phps">smtp.phps</a></h2>
31 <p>A simple example sending using SMTP with authentication.</p>
32 <h2><a href="smtp_no_auth.phps">smtp_no_auth.phps</a></h2>
33 <p>A simple example sending using SMTP without authentication.</p>
34 <h2><a href="sendmail.phps">sendmail.phps</a></h2>
35 <p>A simple example using sendmail. Sendmail is a program (usually found on Linux/BSD, OS X and other UNIX-alikes) that can be used to submit messages to a local mail server without a lengthy SMTP conversation. It's probably the fastest sending mechanism, but lacks some error reporting features. There are sendmail emulators for most popular mail servers including postfix, qmail, exim etc.</p>
36 <h2><a href="gmail.phps">gmail.phps</a></h2>
37 <p>Submitting email via Google's Gmail service is a popular use of PHPMailer. It's much the same as normal SMTP sending, just with some specific settings, namely using TLS encryption, authentication is enabled, and it connects to the SMTP submission port 587 on the smtp.gmail.com host. This example does all that.</p>
38 <h2><a href="pop_before_smtp.phps">pop_before_smtp.phps</a></h2>
39 <p>Before effective SMTP authentication mechanisms were available, it was common for ISPs to use POP-before-SMTP authentication. As it implies, you authenticate using the POP3 protocol (an older protocol now mostly replaced by the far superior IMAP), and then the SMTP server will allow send access from your IP address for a short while, usually 5-15 minutes. PHPMailer includes a POP3 protocol client, so it can carry out this sequence - it's just like a normal SMTP conversation (without authentication), but connects via POP first.</p>
40 <h2><a href="mailing_list.phps">mailing_list.phps</a></h2>
41 <p>This is a somewhat naïve example of sending similar emails to a list of different addresses. It sets up a PHPMailer instance using SMTP, then connects to a MySQL database to retrieve a list of recipients. The code loops over this list, sending email to each person using their info and marks them as sent in the database. It makes use of SMTP keepalive which saves reconnecting and re-authenticating between each message.</p>
42 <hr>
43 <h2><a href="smtp_check.phps">smtp_check.phps</a></h2>
44 <p>This is an example showing how to use the SMTP class by itself (without PHPMailer) to check an SMTP connection.</p>
45 <hr>
46 <p>Most of these examples use the 'example.com' domain. This domain is reserved by IANA for illustrative purposes, as documented in <a href="http://tools.ietf.org/html/rfc2606">RFC 2606</a>. Don't use made-up domains like 'mydomain.com' or 'somedomain.com' in examples as someone, somewhere, probably owns them!</p>
47 </body>
48 </html>
1 <?php
2 /**
3 * This example shows sending a message using PHP's mail() function.
4 */
5
6 require '../PHPMailerAutoload.php';
7
8 //Create a new PHPMailer instance
9 $mail = new PHPMailer;
10 //Set who the message is to be sent from
11 $mail->setFrom('from@example.com', 'First Last');
12 //Set an alternative reply-to address
13 $mail->addReplyTo('replyto@example.com', 'First Last');
14 //Set who the message is to be sent to
15 $mail->addAddress('whoto@example.com', 'John Doe');
16 //Set the subject line
17 $mail->Subject = 'PHPMailer mail() test';
18 //Read an HTML message body from an external file, convert referenced images to embedded,
19 //convert HTML into a basic plain-text alternative body
20 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
21 //Replace the plain text body with one created manually
22 $mail->AltBody = 'This is a plain-text message body';
23 //Attach an image file
24 $mail->addAttachment('images/phpmailer_mini.png');
25
26 //send the message, check for errors
27 if (!$mail->send()) {
28 echo "Mailer Error: " . $mail->ErrorInfo;
29 } else {
30 echo "Message sent!";
31 }
1 <?php
2
3 error_reporting(E_STRICT | E_ALL);
4
5 date_default_timezone_set('Etc/UTC');
6
7 require '../PHPMailerAutoload.php';
8
9 $mail = new PHPMailer;
10
11 $body = file_get_contents('contents.html');
12
13 $mail->isSMTP();
14 $mail->Host = 'smtp.example.com';
15 $mail->SMTPAuth = true;
16 $mail->SMTPKeepAlive = true; // SMTP connection will not close after each email sent, reduces SMTP overhead
17 $mail->Port = 25;
18 $mail->Username = 'yourname@example.com';
19 $mail->Password = 'yourpassword';
20 $mail->setFrom('list@example.com', 'List manager');
21 $mail->addReplyTo('list@example.com', 'List manager');
22
23 $mail->Subject = "PHPMailer Simple database mailing list test";
24
25 //Same body for all messages, so set this before the sending loop
26 //If you generate a different body for each recipient (e.g. you're using a templating system),
27 //set it inside the loop
28 $mail->msgHTML($body);
29 //msgHTML also sets AltBody, but if you want a custom one, set it afterwards
30 $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!';
31
32 //Connect to the database and select the recipients from your mailing list that have not yet been sent to
33 //You'll need to alter this to match your database
34 $mysql = mysqli_connect('localhost', 'username', 'password');
35 mysqli_select_db($mysql, 'mydb');
36 $result = mysqli_query($mysql, 'SELECT full_name, email, photo FROM mailinglist WHERE sent = false');
37
38 foreach ($result as $row) { //This iterator syntax only works in PHP 5.4+
39 $mail->addAddress($row['email'], $row['full_name']);
40 if (!empty($row['photo'])) {
41 $mail->addStringAttachment($row['photo'], 'YourPhoto.jpg'); //Assumes the image data is stored in the DB
42 }
43
44 if (!$mail->send()) {
45 echo "Mailer Error (" . str_replace("@", "&#64;", $row["email"]) . ') ' . $mail->ErrorInfo . '<br />';
46 break; //Abandon sending
47 } else {
48 echo "Message sent to :" . $row['full_name'] . ' (' . str_replace("@", "&#64;", $row['email']) . ')<br />';
49 //Mark it as sent in the DB
50 mysqli_query(
51 $mysql,
52 "UPDATE mailinglist SET sent = true WHERE email = '" .
53 mysqli_real_escape_string($mysql, $row['email']) . "'"
54 );
55 }
56 // Clear all addresses and attachments for next loop
57 $mail->clearAddresses();
58 $mail->clearAttachments();
59 }
1 <?php
2 /**
3 * This example shows how to use POP-before-SMTP for authentication.
4 */
5
6 require '../PHPMailerAutoload.php';
7
8 //Authenticate via POP3.
9 //After this you should be allowed to submit messages over SMTP for a while.
10 //Only applies if your host supports POP-before-SMTP.
11 $pop = POP3::popBeforeSmtp('pop3.example.com', 110, 30, 'username', 'password', 1);
12
13 //Create a new PHPMailer instance
14 //Passing true to the constructor enables the use of exceptions for error handling
15 $mail = new PHPMailer(true);
16 try {
17 $mail->isSMTP();
18 //Enable SMTP debugging
19 // 0 = off (for production use)
20 // 1 = client messages
21 // 2 = client and server messages
22 $mail->SMTPDebug = 2;
23 //Ask for HTML-friendly debug output
24 $mail->Debugoutput = 'html';
25 //Set the hostname of the mail server
26 $mail->Host = "mail.example.com";
27 //Set the SMTP port number - likely to be 25, 465 or 587
28 $mail->Port = 25;
29 //Whether to use SMTP authentication
30 $mail->SMTPAuth = false;
31 //Set who the message is to be sent from
32 $mail->setFrom('from@example.com', 'First Last');
33 //Set an alternative reply-to address
34 $mail->addReplyTo('replyto@example.com', 'First Last');
35 //Set who the message is to be sent to
36 $mail->addAddress('whoto@example.com', 'John Doe');
37 //Set the subject line
38 $mail->Subject = 'PHPMailer POP-before-SMTP test';
39 //Read an HTML message body from an external file, convert referenced images to embedded,
40 //and convert the HTML into a basic plain-text alternative body
41 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
42 //Replace the plain text body with one created manually
43 $mail->AltBody = 'This is a plain-text message body';
44 //Attach an image file
45 $mail->addAttachment('images/phpmailer_mini.png');
46 //send the message
47 //Note that we don't need check the response from this because it will throw an exception if it has trouble
48 $mail->send();
49 echo "Message sent!";
50 } catch (phpmailerException $e) {
51 echo $e->errorMessage(); //Pretty error messages from PHPMailer
52 } catch (Exception $e) {
53 echo $e->getMessage(); //Boring error messages from anything else!
54 }
1 (function() {
2
3 var sh = SyntaxHighlighter;
4
5 /**
6 * Provides functionality to dynamically load only the brushes that a needed to render the current page.
7 *
8 * There are two syntaxes that autoload understands. For example:
9 *
10 * SyntaxHighlighter.autoloader(
11 * [ 'applescript', 'Scripts/shBrushAppleScript.js' ],
12 * [ 'actionscript3', 'as3', 'Scripts/shBrushAS3.js' ]
13 * );
14 *
15 * or a more easily comprehendable one:
16 *
17 * SyntaxHighlighter.autoloader(
18 * 'applescript Scripts/shBrushAppleScript.js',
19 * 'actionscript3 as3 Scripts/shBrushAS3.js'
20 * );
21 */
22 sh.autoloader = function()
23 {
24 var list = arguments,
25 elements = sh.findElements(),
26 brushes = {},
27 scripts = {},
28 all = SyntaxHighlighter.all,
29 allCalled = false,
30 allParams = null,
31 i
32 ;
33
34 SyntaxHighlighter.all = function(params)
35 {
36 allParams = params;
37 allCalled = true;
38 };
39
40 function addBrush(aliases, url)
41 {
42 for (var i = 0; i < aliases.length; i++)
43 brushes[aliases[i]] = url;
44 };
45
46 function getAliases(item)
47 {
48 return item.pop
49 ? item
50 : item.split(/\s+/)
51 ;
52 }
53
54 // create table of aliases and script urls
55 for (i = 0; i < list.length; i++)
56 {
57 var aliases = getAliases(list[i]),
58 url = aliases.pop()
59 ;
60
61 addBrush(aliases, url);
62 }
63
64 // dynamically add <script /> tags to the document body
65 for (i = 0; i < elements.length; i++)
66 {
67 var url = brushes[elements[i].params.brush];
68
69 if(url && scripts[url] === undefined)
70 {
71 if(elements[i].params['html-script'] === 'true')
72 {
73 if(scripts[brushes['xml']] === undefined) {
74 loadScript(brushes['xml']);
75 scripts[url] = false;
76 }
77 }
78
79 scripts[url] = false;
80 loadScript(url);
81 }
82 }
83
84 function loadScript(url)
85 {
86 var script = document.createElement('script'),
87 done = false
88 ;
89
90 script.src = url;
91 script.type = 'text/javascript';
92 script.language = 'javascript';
93 script.onload = script.onreadystatechange = function()
94 {
95 if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete'))
96 {
97 done = true;
98 scripts[url] = true;
99 checkAll();
100
101 // Handle memory leak in IE
102 script.onload = script.onreadystatechange = null;
103 script.parentNode.removeChild(script);
104 }
105 };
106
107 // sync way of adding script tags to the page
108 document.body.appendChild(script);
109 };
110
111 function checkAll()
112 {
113 for(var url in scripts)
114 if (scripts[url] == false)
115 return;
116
117 if (allCalled)
118 SyntaxHighlighter.highlight(allParams);
119 };
120 };
121
122 })();
1 ;(function()
2 {
3 // CommonJS
4 SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
5
6 function Brush()
7 {
8 var funcs = 'abs acos acosh addcslashes addslashes ' +
9 'array_change_key_case array_chunk array_combine array_count_values array_diff '+
10 'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
11 'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
12 'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
13 'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
14 'array_push array_rand array_reduce array_reverse array_search array_shift '+
15 'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
16 'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
17 'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
18 'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
19 'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
20 'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
21 'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
22 'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
23 'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
24 'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
25 'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
26 'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
27 'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
28 'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
29 'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
30 'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
31 'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
32 'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
33 'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
34 'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
35 'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
36 'parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir '+
37 'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
38 'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
39 'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
40 'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
41 'strtoupper strtr strval substr substr_compare';
42
43 var keywords = 'abstract and array as break case catch cfunction class clone const continue declare default die do ' +
44 'else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach ' +
45 'function global goto if implements include include_once interface instanceof insteadof namespace new ' +
46 'old_function or private protected public return require require_once static switch ' +
47 'trait throw try use var while xor ';
48
49 var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
50
51 this.regexList = [
52 { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
53 { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
54 { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
55 { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
56 { regex: /\$\w+/g, css: 'variable' }, // variables
57 { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
58 { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
59 { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
60 ];
61
62 this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
63 };
64
65 Brush.prototype = new SyntaxHighlighter.Highlighter();
66 Brush.aliases = ['php'];
67
68 SyntaxHighlighter.brushes.Php = Brush;
69
70 // CommonJS
71 typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
72 })();
1 var dp = {
2 SyntaxHighlighter : {}
3 };
4
5 dp.SyntaxHighlighter = {
6 parseParams: function(
7 input,
8 showGutter,
9 showControls,
10 collapseAll,
11 firstLine,
12 showColumns
13 )
14 {
15 function getValue(list, name)
16 {
17 var regex = new XRegExp('^' + name + '\\[(?<value>\\w+)\\]$', 'gi'),
18 match = null
19 ;
20
21 for (var i = 0; i < list.length; i++)
22 if ((match = regex.exec(list[i])) != null)
23 return match.value;
24
25 return null;
26 }
27
28 function defaultValue(value, def)
29 {
30 return value != null ? value : def;
31 }
32
33 function asString(value)
34 {
35 return value != null ? value.toString() : null;
36 }
37
38 var parts = input.split(':'),
39 brushName = parts[0],
40 options = {},
41 straight = { 'true' : true },
42 reverse = { 'true' : false },
43 defaults = SyntaxHighlighter.defaults
44 ;
45
46 for (var i in parts)
47 options[parts[i]] = 'true';
48
49 showGutter = asString(defaultValue(showGutter, defaults.gutter));
50 showControls = asString(defaultValue(showControls, defaults.toolbar));
51 collapseAll = asString(defaultValue(collapseAll, defaults.collapse));
52 showColumns = asString(defaultValue(showColumns, defaults.ruler));
53 firstLine = asString(defaultValue(firstLine, defaults['first-line']));
54
55 return {
56 brush : brushName,
57 gutter : defaultValue(reverse[options.nogutter], showGutter),
58 toolbar : defaultValue(reverse[options.nocontrols], showControls),
59 collapse : defaultValue(straight[options.collapse], collapseAll),
60 // ruler : defaultValue(straight[options.showcolumns], showColumns),
61 'first-line' : defaultValue(getValue(parts, 'firstline'), firstLine)
62 };
63 },
64
65 HighlightAll: function(
66 name,
67 showGutter /* optional */,
68 showControls /* optional */,
69 collapseAll /* optional */,
70 firstLine /* optional */,
71 showColumns /* optional */
72 )
73 {
74 function findValue()
75 {
76 var a = arguments;
77
78 for (var i = 0; i < a.length; i++)
79 {
80 if (a[i] === null)
81 continue;
82
83 if (typeof(a[i]) == 'string' && a[i] != '')
84 return a[i] + '';
85
86 if (typeof(a[i]) == 'object' && a[i].value != '')
87 return a[i].value + '';
88 }
89
90 return null;
91 }
92
93 function findTagsByName(list, name, tagName)
94 {
95 var tags = document.getElementsByTagName(tagName);
96
97 for (var i = 0; i < tags.length; i++)
98 if (tags[i].getAttribute('name') == name)
99 list.push(tags[i]);
100 }
101
102 var elements = [],
103 highlighter = null,
104 registered = {},
105 propertyName = 'innerHTML'
106 ;
107
108 // for some reason IE doesn't find <pre/> by name, however it does see them just fine by tag name...
109 findTagsByName(elements, name, 'pre');
110 findTagsByName(elements, name, 'textarea');
111
112 if (elements.length === 0)
113 return;
114
115 for (var i = 0; i < elements.length; i++)
116 {
117 var element = elements[i],
118 params = findValue(
119 element.attributes['class'], element.className,
120 element.attributes['language'], element.language
121 ),
122 language = ''
123 ;
124
125 if (params === null)
126 continue;
127
128 params = dp.SyntaxHighlighter.parseParams(
129 params,
130 showGutter,
131 showControls,
132 collapseAll,
133 firstLine,
134 showColumns
135 );
136
137 SyntaxHighlighter.highlight(params, element);
138 }
139 }
140 };
1 <?php
2 /**
3 * PHPMailer simple file upload and send example
4 */
5 $msg = '';
6 if (array_key_exists('userfile', $_FILES)) {
7 // First handle the upload
8 // Don't trust provided filename - same goes for MIME types
9 // See http://php.net/manual/en/features.file-upload.php#114004 for more thorough upload validation
10 $uploadfile = tempnam(sys_get_temp_dir(), sha1($_FILES['userfile']['name']));
11 if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
12 // Upload handled successfully
13 // Now create a message
14 // This should be somewhere in your include_path
15 require '../PHPMailerAutoload.php';
16 $mail = new PHPMailer;
17 $mail->setFrom('from@example.com', 'First Last');
18 $mail->addAddress('whoto@example.com', 'John Doe');
19 $mail->Subject = 'PHPMailer file sender';
20 $mail->Body = 'My message body';
21 // Attach the uploaded file
22 $mail->addAttachment($uploadfile, 'My uploaded file');
23 if (!$mail->send()) {
24 $msg .= "Mailer Error: " . $mail->ErrorInfo;
25 } else {
26 $msg .= "Message sent!";
27 }
28 } else {
29 $msg .= 'Failed to move file to ' . $uploadfile;
30 }
31 }
32 ?>
33 <!DOCTYPE html>
34 <html>
35 <head>
36 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
37 <title>PHPMailer Upload</title>
38 </head>
39 <body>
40 <?php if (empty($msg)) { ?>
41 <form method="post" enctype="multipart/form-data">
42 <input type="hidden" name="MAX_FILE_SIZE" value="100000"> Send this file: <input name="userfile" type="file">
43 <input type="submit" value="Send File">
44 </form>
45 <?php } else {
46 echo $msg;
47 } ?>
48 </body>
49 </html>
...\ No newline at end of file ...\ No newline at end of file
1 <?php
2 /**
3 * PHPMailer multiple files upload and send example
4 */
5 $msg = '';
6 if (array_key_exists('userfile', $_FILES)) {
7
8 // Create a message
9 // This should be somewhere in your include_path
10 require '../PHPMailerAutoload.php';
11 $mail = new PHPMailer;
12 $mail->setFrom('from@example.com', 'First Last');
13 $mail->addAddress('whoto@example.com', 'John Doe');
14 $mail->Subject = 'PHPMailer file sender';
15 $mail->Body = 'My message body';
16 //Attach multiple files one by one
17 for ($ct = 0; $ct < count($_FILES['userfile']['tmp_name']); $ct++) {
18 $uploadfile = tempnam(sys_get_temp_dir(), sha1($_FILES['userfile']['name'][$ct]));
19 $filename = $_FILES['userfile']['name'][$ct];
20 if (move_uploaded_file($_FILES['userfile']['tmp_name'][$ct], $uploadfile)) {
21 $mail->addAttachment($uploadfile, $filename);
22 } else {
23 $msg .= 'Failed to move file to ' . $uploadfile;
24 }
25 }
26 if (!$mail->send()) {
27 $msg .= "Mailer Error: " . $mail->ErrorInfo;
28 } else {
29 $msg .= "Message sent!";
30 }
31 }
32 ?>
33 <!DOCTYPE html>
34 <html>
35 <head>
36 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
37 <title>PHPMailer Upload</title>
38 </head>
39 <body>
40 <?php if (empty($msg)) { ?>
41 <form method="post" enctype="multipart/form-data">
42 <input type="hidden" name="MAX_FILE_SIZE" value="100000">
43 Select one or more files:
44 <input name="userfile[]" type="file" multiple="multiple">
45 <input type="submit" value="Send Files">
46 </form>
47 <?php } else {
48 echo $msg;
49 } ?>
50 </body>
51 </html>
1 <?php
2 /**
3 * This example shows sending a message using a local sendmail binary.
4 */
5
6 require '../PHPMailerAutoload.php';
7
8 //Create a new PHPMailer instance
9 $mail = new PHPMailer;
10 // Set PHPMailer to use the sendmail transport
11 $mail->isSendmail();
12 //Set who the message is to be sent from
13 $mail->setFrom('from@example.com', 'First Last');
14 //Set an alternative reply-to address
15 $mail->addReplyTo('replyto@example.com', 'First Last');
16 //Set who the message is to be sent to
17 $mail->addAddress('whoto@example.com', 'John Doe');
18 //Set the subject line
19 $mail->Subject = 'PHPMailer sendmail test';
20 //Read an HTML message body from an external file, convert referenced images to embedded,
21 //convert HTML into a basic plain-text alternative body
22 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
23 //Replace the plain text body with one created manually
24 $mail->AltBody = 'This is a plain-text message body';
25 //Attach an image file
26 $mail->addAttachment('images/phpmailer_mini.png');
27
28 //send the message, check for errors
29 if (!$mail->send()) {
30 echo "Mailer Error: " . $mail->ErrorInfo;
31 } else {
32 echo "Message sent!";
33 }
1 <?php
2 /**
3 * This example shows signing a message and then sending it via the mail() function of PHP.
4 *
5 * Before you can sign the mail certificates are needed.
6 *
7 *
8 * STEP 1 - Creating a certificate:
9 * You can either use a self signed certificate, pay for a signed one or use free alternatives such as StartSSL/Comodo etc.
10 * Check out this link for more providers: http://kb.mozillazine.org/Getting_an_SMIME_certificate
11 * In this example I am using Comodo.
12 * The form is directly available via https://secure.comodo.com/products/frontpage?area=SecureEmailCertificate
13 * Fill it out and you'll get an email with a link to download your certificate.
14 * Usually the certificate will be directly installed into your browser (FireFox/Chrome).
15 *
16 *
17 * STEP 2 - Exporting the certificate
18 * This is specific to your browser, however, most browsers will give you the option to export your recently added certificate in PKCS12 (.pfx)
19 * Include your private key if you are asked for it.
20 * Set up a password to protect your exported file.
21 *
22 * STEP 3 - Splitting the .pfx into a private key and the certificate.
23 * I use openssl for this. You only need two commands. In my case the certificate file is called 'exported-cert.pfx'
24 * To create the private key do the following:
25 *
26 * openssl pkcs12 -in exported-cert.pfx -nocerts -out cert.key
27 *
28 * Of course the way you name your file (-out) is up to you.
29 * You will be asked for a password for the Import password. This is the password you just set while exporting the certificate into the pfx file.
30 * Afterwards, you can password protect your private key (recommended)
31 * Also make sure to set the permissions to a minimum level and suitable for your application.
32 * To create the certificate file use the following command:
33 *
34 * openssl pkcs12 -in exported-cert.pfx -clcerts -nokeys -out cert.crt
35 *
36 * Again, the way you name your certificate is up to you. You will be also asked for the Import Password.
37 * To create the certificate-chain file use the following command:
38 *
39 * openssl pkcs12 -in exported-cert.pfx -cacerts -out certchain.pem
40 *
41 * Again, the way you name your chain file is up to you. You will be also asked for the Import Password.
42 *
43 *
44 * STEP 3 - Code
45 */
46
47 require '../PHPMailerAutoload.php';
48
49 //Create a new PHPMailer instance
50 $mail = new PHPMailer();
51 //Set who the message is to be sent from
52 //IMPORTANT: This must match the email address of your certificate.
53 //Although the certificate will be valid, an error will be thrown since it cannot be verified that the sender and the signer are the same person.
54 $mail->setFrom('from@example.com', 'First Last');
55 //Set an alternative reply-to address
56 $mail->addReplyTo('replyto@example.com', 'First Last');
57 //Set who the message is to be sent to
58 $mail->addAddress('whoto@example.com', 'John Doe');
59 //Set the subject line
60 $mail->Subject = 'PHPMailer mail() test';
61 //Read an HTML message body from an external file, convert referenced images to embedded,
62 //Convert HTML into a basic plain-text alternative body
63 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
64 //Replace the plain text body with one created manually
65 $mail->AltBody = 'This is a plain-text message body';
66 //Attach an image file
67 $mail->addAttachment('images/phpmailer_mini.png');
68
69 //Configure message signing (the actual signing does not occur until sending)
70 $mail->sign(
71 '/path/to/cert.crt', //The location of your certificate file
72 '/path/to/cert.key', //The location of your private key file
73 'yourSecretPrivateKeyPassword', //The password you protected your private key with (not the Import Password! may be empty but parameter must not be omitted!)
74 '/path/to/certchain.pem' //The location of your chain file
75 );
76
77 //Send the message, check for errors
78 if (!$mail->send()) {
79 echo "Mailer Error: " . $mail->ErrorInfo;
80 } else {
81 echo "Message sent!";
82 }
83
84 /**
85 * REMARKS:
86 * If your email client does not support S/MIME it will most likely just show an attachment smime.p7s which is the signature contained in the email.
87 * Other clients, such as Thunderbird support S/MIME natively and will validate the signature automatically and report the result in some way.
88 */
89 ?>
1 <?php
2 /**
3 * This example shows making an SMTP connection with authentication.
4 */
5
6 //SMTP needs accurate times, and the PHP time zone MUST be set
7 //This should be done in your php.ini, but this is how to do it if you don't have access to that
8 date_default_timezone_set('Etc/UTC');
9
10 require '../PHPMailerAutoload.php';
11
12 //Create a new PHPMailer instance
13 $mail = new PHPMailer;
14 //Tell PHPMailer to use SMTP
15 $mail->isSMTP();
16 //Enable SMTP debugging
17 // 0 = off (for production use)
18 // 1 = client messages
19 // 2 = client and server messages
20 $mail->SMTPDebug = 2;
21 //Ask for HTML-friendly debug output
22 $mail->Debugoutput = 'html';
23 //Set the hostname of the mail server
24 $mail->Host = "mail.example.com";
25 //Set the SMTP port number - likely to be 25, 465 or 587
26 $mail->Port = 25;
27 //Whether to use SMTP authentication
28 $mail->SMTPAuth = true;
29 //Username to use for SMTP authentication
30 $mail->Username = "yourname@example.com";
31 //Password to use for SMTP authentication
32 $mail->Password = "yourpassword";
33 //Set who the message is to be sent from
34 $mail->setFrom('from@example.com', 'First Last');
35 //Set an alternative reply-to address
36 $mail->addReplyTo('replyto@example.com', 'First Last');
37 //Set who the message is to be sent to
38 $mail->addAddress('whoto@example.com', 'John Doe');
39 //Set the subject line
40 $mail->Subject = 'PHPMailer SMTP test';
41 //Read an HTML message body from an external file, convert referenced images to embedded,
42 //convert HTML into a basic plain-text alternative body
43 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
44 //Replace the plain text body with one created manually
45 $mail->AltBody = 'This is a plain-text message body';
46 //Attach an image file
47 $mail->addAttachment('images/phpmailer_mini.png');
48
49 //send the message, check for errors
50 if (!$mail->send()) {
51 echo "Mailer Error: " . $mail->ErrorInfo;
52 } else {
53 echo "Message sent!";
54 }
1 <?php
2 /**
3 * This uses the SMTP class alone to check that a connection can be made to an SMTP server,
4 * authenticate, then disconnect
5 */
6
7 //SMTP needs accurate times, and the PHP time zone MUST be set
8 //This should be done in your php.ini, but this is how to do it if you don't have access to that
9 date_default_timezone_set('Etc/UTC');
10
11 require '../PHPMailerAutoload.php';
12
13 //Create a new SMTP instance
14 $smtp = new SMTP;
15
16 //Enable connection-level debug output
17 $smtp->do_debug = SMTP::DEBUG_CONNECTION;
18
19 try {
20 //Connect to an SMTP server
21 if (!$smtp->connect('mail.example.com', 25)) {
22 throw new Exception('Connect failed');
23 }
24 //Say hello
25 if (!$smtp->hello(gethostname())) {
26 throw new Exception('EHLO failed: ' . $smtp->getError()['error']);
27 }
28 //Get the list of ESMTP services the server offers
29 $e = $smtp->getServerExtList();
30 //If server can do TLS encryption, use it
31 if (is_array($e) && array_key_exists('STARTTLS', $e)) {
32 $tlsok = $smtp->startTLS();
33 if (!$tlsok) {
34 throw new Exception('Failed to start encryption: ' . $smtp->getError()['error']);
35 }
36 //Repeat EHLO after STARTTLS
37 if (!$smtp->hello(gethostname())) {
38 throw new Exception('EHLO (2) failed: ' . $smtp->getError()['error']);
39 }
40 //Get new capabilities list, which will usually now include AUTH if it didn't before
41 $e = $smtp->getServerExtList();
42 }
43 //If server supports authentication, do it (even if no encryption)
44 if (is_array($e) && array_key_exists('AUTH', $e)) {
45 if ($smtp->authenticate('username', 'password')) {
46 echo "Connected ok!";
47 } else {
48 throw new Exception('Authentication failed: ' . $smtp->getError()['error']);
49 }
50 }
51 } catch (Exception $e) {
52 echo 'SMTP error: ' . $e->getMessage(), "\n";
53 }
54 //Whatever happened, close the connection.
55 $smtp->quit(true);
1 <?php
2 /**
3 * This example shows making an SMTP connection without using authentication.
4 */
5
6 //SMTP needs accurate times, and the PHP time zone MUST be set
7 //This should be done in your php.ini, but this is how to do it if you don't have access to that
8 date_default_timezone_set('Etc/UTC');
9
10 require_once '../PHPMailerAutoload.php';
11
12 //Create a new PHPMailer instance
13 $mail = new PHPMailer;
14 //Tell PHPMailer to use SMTP
15 $mail->isSMTP();
16 //Enable SMTP debugging
17 // 0 = off (for production use)
18 // 1 = client messages
19 // 2 = client and server messages
20 $mail->SMTPDebug = 2;
21 //Ask for HTML-friendly debug output
22 $mail->Debugoutput = 'html';
23 //Set the hostname of the mail server
24 $mail->Host = "mail.example.com";
25 //Set the SMTP port number - likely to be 25, 465 or 587
26 $mail->Port = 25;
27 //Whether to use SMTP authentication
28 $mail->SMTPAuth = false;
29 //Set who the message is to be sent from
30 $mail->setFrom('from@example.com', 'First Last');
31 //Set an alternative reply-to address
32 $mail->addReplyTo('replyto@example.com', 'First Last');
33 //Set who the message is to be sent to
34 $mail->addAddress('whoto@example.com', 'John Doe');
35 //Set the subject line
36 $mail->Subject = 'PHPMailer SMTP without auth test';
37 //Read an HTML message body from an external file, convert referenced images to embedded,
38 //convert HTML into a basic plain-text alternative body
39 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
40 //Replace the plain text body with one created manually
41 $mail->AltBody = 'This is a plain-text message body';
42 //Attach an image file
43 $mail->addAttachment('images/phpmailer_mini.png');
44
45 //send the message, check for errors
46 if (!$mail->send()) {
47 echo "Mailer Error: " . $mail->ErrorInfo;
48 } else {
49 echo "Message sent!";
50 }
1 <?php
2 /**
3 * This example shows settings to use when sending over SMTP with TLS and custom connection options.
4 */
5
6 //SMTP needs accurate times, and the PHP time zone MUST be set
7 //This should be done in your php.ini, but this is how to do it if you don't have access to that
8 date_default_timezone_set('Etc/UTC');
9
10 require '../PHPMailerAutoload.php';
11
12 //Create a new PHPMailer instance
13 $mail = new PHPMailer;
14
15 //Tell PHPMailer to use SMTP
16 $mail->isSMTP();
17
18 //Enable SMTP debugging
19 // 0 = off (for production use)
20 // 1 = client messages
21 // 2 = client and server messages
22 $mail->SMTPDebug = 2;
23
24 //Ask for HTML-friendly debug output
25 $mail->Debugoutput = 'html';
26
27 //Set the hostname of the mail server
28 $mail->Host = 'smtp.example.com';
29
30 //Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission
31 $mail->Port = 587;
32
33 //Set the encryption system to use - ssl (deprecated) or tls
34 $mail->SMTPSecure = 'tls';
35
36 //Custom connection options
37 $mail->SMTPOptions = array (
38 'ssl' => array(
39 'verify_peer' => true,
40 'verify_depth' => 3,
41 'allow_self_signed' => true,
42 'peer_name' => 'smtp.example.com',
43 'cafile' => '/etc/ssl/ca_cert.pem',
44 )
45 );
46
47 //Whether to use SMTP authentication
48 $mail->SMTPAuth = true;
49
50 //Username to use for SMTP authentication - use full email address for gmail
51 $mail->Username = "username@example.com";
52
53 //Password to use for SMTP authentication
54 $mail->Password = "yourpassword";
55
56 //Set who the message is to be sent from
57 $mail->setFrom('from@example.com', 'First Last');
58
59 //Set who the message is to be sent to
60 $mail->addAddress('whoto@example.com', 'John Doe');
61
62 //Set the subject line
63 $mail->Subject = 'PHPMailer SMTP options test';
64
65 //Read an HTML message body from an external file, convert referenced images to embedded,
66 //convert HTML into a basic plain-text alternative body
67 $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
68
69 //send the message, check for errors
70 if (!$mail->send()) {
71 echo "Mailer Error: " . $mail->ErrorInfo;
72 } else {
73 echo "Message sent!";
74 }
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 .syntaxhighlighter{background-color:white !important;}
48 .syntaxhighlighter .line.alt1{background-color:white !important;}
49 .syntaxhighlighter .line.alt2{background-color:white !important;}
50 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;}
51 .syntaxhighlighter .line.highlighted.number{color:black !important;}
52 .syntaxhighlighter table caption{color:black !important;}
53 .syntaxhighlighter .gutter{color:#afafaf !important;}
54 .syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;}
55 .syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;}
56 .syntaxhighlighter.printing .line .content{border:none !important;}
57 .syntaxhighlighter.collapsed{overflow:visible !important;}
58 .syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;}
59 .syntaxhighlighter.collapsed .toolbar a{color:blue !important;}
60 .syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;}
61 .syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;}
62 .syntaxhighlighter .toolbar a{color:white !important;}
63 .syntaxhighlighter .toolbar a:hover{color:black !important;}
64 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}
65 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;}
66 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue !important;}
67 .syntaxhighlighter .keyword{color:#006699 !important;}
68 .syntaxhighlighter .preprocessor{color:gray !important;}
69 .syntaxhighlighter .variable{color:#aa7700 !important;}
70 .syntaxhighlighter .value{color:#009900 !important;}
71 .syntaxhighlighter .functions{color:#ff1493 !important;}
72 .syntaxhighlighter .constants{color:#0066cc !important;}
73 .syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;}
74 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray !important;}
75 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493 !important;}
76 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}
77 .syntaxhighlighter .keyword{font-weight:bold !important;}
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 .syntaxhighlighter{background-color:#0a2b1d !important;}
48 .syntaxhighlighter .line.alt1{background-color:#0a2b1d !important;}
49 .syntaxhighlighter .line.alt2{background-color:#0a2b1d !important;}
50 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#233729 !important;}
51 .syntaxhighlighter .line.highlighted.number{color:white !important;}
52 .syntaxhighlighter table caption{color:#f8f8f8 !important;}
53 .syntaxhighlighter .gutter{color:#497958 !important;}
54 .syntaxhighlighter .gutter .line{border-right:3px solid #41a83e !important;}
55 .syntaxhighlighter .gutter .line.highlighted{background-color:#41a83e !important;color:#0a2b1d !important;}
56 .syntaxhighlighter.printing .line .content{border:none !important;}
57 .syntaxhighlighter.collapsed{overflow:visible !important;}
58 .syntaxhighlighter.collapsed .toolbar{color:#96dd3b !important;background:black !important;border:1px solid #41a83e !important;}
59 .syntaxhighlighter.collapsed .toolbar a{color:#96dd3b !important;}
60 .syntaxhighlighter.collapsed .toolbar a:hover{color:white !important;}
61 .syntaxhighlighter .toolbar{color:white !important;background:#41a83e !important;border:none !important;}
62 .syntaxhighlighter .toolbar a{color:white !important;}
63 .syntaxhighlighter .toolbar a:hover{color:#ffe862 !important;}
64 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#f8f8f8 !important;}
65 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#336442 !important;}
66 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#9df39f !important;}
67 .syntaxhighlighter .keyword{color:#96dd3b !important;}
68 .syntaxhighlighter .preprocessor{color:#91bb9e !important;}
69 .syntaxhighlighter .variable{color:#ffaa3e !important;}
70 .syntaxhighlighter .value{color:#f7e741 !important;}
71 .syntaxhighlighter .functions{color:#ffaa3e !important;}
72 .syntaxhighlighter .constants{color:#e0e8ff !important;}
73 .syntaxhighlighter .script{font-weight:bold !important;color:#96dd3b !important;background-color:none !important;}
74 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#eb939a !important;}
75 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#91bb9e !important;}
76 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#edef7d !important;}
77 .syntaxhighlighter .comments{font-style:italic !important;}
78 .syntaxhighlighter .keyword{font-weight:bold !important;}
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 .syntaxhighlighter{background-color:white !important;}
48 .syntaxhighlighter .line.alt1{background-color:white !important;}
49 .syntaxhighlighter .line.alt2{background-color:white !important;}
50 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#c3defe !important;}
51 .syntaxhighlighter .line.highlighted.number{color:white !important;}
52 .syntaxhighlighter table caption{color:black !important;}
53 .syntaxhighlighter .gutter{color:#787878 !important;}
54 .syntaxhighlighter .gutter .line{border-right:3px solid #d4d0c8 !important;}
55 .syntaxhighlighter .gutter .line.highlighted{background-color:#d4d0c8 !important;color:white !important;}
56 .syntaxhighlighter.printing .line .content{border:none !important;}
57 .syntaxhighlighter.collapsed{overflow:visible !important;}
58 .syntaxhighlighter.collapsed .toolbar{color:#3f5fbf !important;background:white !important;border:1px solid #d4d0c8 !important;}
59 .syntaxhighlighter.collapsed .toolbar a{color:#3f5fbf !important;}
60 .syntaxhighlighter.collapsed .toolbar a:hover{color:#aa7700 !important;}
61 .syntaxhighlighter .toolbar{color:#a0a0a0 !important;background:#d4d0c8 !important;border:none !important;}
62 .syntaxhighlighter .toolbar a{color:#a0a0a0 !important;}
63 .syntaxhighlighter .toolbar a:hover{color:red !important;}
64 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}
65 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#3f5fbf !important;}
66 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#2a00ff !important;}
67 .syntaxhighlighter .keyword{color:#7f0055 !important;}
68 .syntaxhighlighter .preprocessor{color:#646464 !important;}
69 .syntaxhighlighter .variable{color:#aa7700 !important;}
70 .syntaxhighlighter .value{color:#009900 !important;}
71 .syntaxhighlighter .functions{color:#ff1493 !important;}
72 .syntaxhighlighter .constants{color:#0066cc !important;}
73 .syntaxhighlighter .script{font-weight:bold !important;color:#7f0055 !important;background-color:none !important;}
74 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray !important;}
75 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493 !important;}
76 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}
77 .syntaxhighlighter .keyword{font-weight:bold !important;}
78 .syntaxhighlighter .xml .keyword{color:#3f7f7f !important;font-weight:normal !important;}
79 .syntaxhighlighter .xml .color1,.syntaxhighlighter .xml .color1 a{color:#7f007f !important;}
80 .syntaxhighlighter .xml .string{font-style:italic !important;color:#2a00ff !important;}
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 .syntaxhighlighter{background-color:black !important;}
48 .syntaxhighlighter .line.alt1{background-color:black !important;}
49 .syntaxhighlighter .line.alt2{background-color:black !important;}
50 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#2a3133 !important;}
51 .syntaxhighlighter .line.highlighted.number{color:white !important;}
52 .syntaxhighlighter table caption{color:#d3d3d3 !important;}
53 .syntaxhighlighter .gutter{color:#d3d3d3 !important;}
54 .syntaxhighlighter .gutter .line{border-right:3px solid #990000 !important;}
55 .syntaxhighlighter .gutter .line.highlighted{background-color:#990000 !important;color:black !important;}
56 .syntaxhighlighter.printing .line .content{border:none !important;}
57 .syntaxhighlighter.collapsed{overflow:visible !important;}
58 .syntaxhighlighter.collapsed .toolbar{color:#ebdb8d !important;background:black !important;border:1px solid #990000 !important;}
59 .syntaxhighlighter.collapsed .toolbar a{color:#ebdb8d !important;}
60 .syntaxhighlighter.collapsed .toolbar a:hover{color:#ff7d27 !important;}
61 .syntaxhighlighter .toolbar{color:white !important;background:#990000 !important;border:none !important;}
62 .syntaxhighlighter .toolbar a{color:white !important;}
63 .syntaxhighlighter .toolbar a:hover{color:#9ccff4 !important;}
64 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#d3d3d3 !important;}
65 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#ff7d27 !important;}
66 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#ff9e7b !important;}
67 .syntaxhighlighter .keyword{color:aqua !important;}
68 .syntaxhighlighter .preprocessor{color:#aec4de !important;}
69 .syntaxhighlighter .variable{color:#ffaa3e !important;}
70 .syntaxhighlighter .value{color:#009900 !important;}
71 .syntaxhighlighter .functions{color:#81cef9 !important;}
72 .syntaxhighlighter .constants{color:#ff9e7b !important;}
73 .syntaxhighlighter .script{font-weight:bold !important;color:aqua !important;background-color:none !important;}
74 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#ebdb8d !important;}
75 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff7d27 !important;}
76 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#aec4de !important;}
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 .syntaxhighlighter{background-color:#121212 !important;}
48 .syntaxhighlighter .line.alt1{background-color:#121212 !important;}
49 .syntaxhighlighter .line.alt2{background-color:#121212 !important;}
50 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#2c2c29 !important;}
51 .syntaxhighlighter .line.highlighted.number{color:white !important;}
52 .syntaxhighlighter table caption{color:white !important;}
53 .syntaxhighlighter .gutter{color:#afafaf !important;}
54 .syntaxhighlighter .gutter .line{border-right:3px solid #3185b9 !important;}
55 .syntaxhighlighter .gutter .line.highlighted{background-color:#3185b9 !important;color:#121212 !important;}
56 .syntaxhighlighter.printing .line .content{border:none !important;}
57 .syntaxhighlighter.collapsed{overflow:visible !important;}
58 .syntaxhighlighter.collapsed .toolbar{color:#3185b9 !important;background:black !important;border:1px solid #3185b9 !important;}
59 .syntaxhighlighter.collapsed .toolbar a{color:#3185b9 !important;}
60 .syntaxhighlighter.collapsed .toolbar a:hover{color:#d01d33 !important;}
61 .syntaxhighlighter .toolbar{color:white !important;background:#3185b9 !important;border:none !important;}
62 .syntaxhighlighter .toolbar a{color:white !important;}
63 .syntaxhighlighter .toolbar a:hover{color:#96daff !important;}
64 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:white !important;}
65 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#696854 !important;}
66 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#e3e658 !important;}
67 .syntaxhighlighter .keyword{color:#d01d33 !important;}
68 .syntaxhighlighter .preprocessor{color:#435a5f !important;}
69 .syntaxhighlighter .variable{color:#898989 !important;}
70 .syntaxhighlighter .value{color:#009900 !important;}
71 .syntaxhighlighter .functions{color:#aaaaaa !important;}
72 .syntaxhighlighter .constants{color:#96daff !important;}
73 .syntaxhighlighter .script{font-weight:bold !important;color:#d01d33 !important;background-color:none !important;}
74 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#ffc074 !important;}
75 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#4a8cdb !important;}
76 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#96daff !important;}
77 .syntaxhighlighter .functions{font-weight:bold !important;}
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 .syntaxhighlighter{background-color:#222222 !important;}
48 .syntaxhighlighter .line.alt1{background-color:#222222 !important;}
49 .syntaxhighlighter .line.alt2{background-color:#222222 !important;}
50 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#253e5a !important;}
51 .syntaxhighlighter .line.highlighted.number{color:white !important;}
52 .syntaxhighlighter table caption{color:lime !important;}
53 .syntaxhighlighter .gutter{color:#38566f !important;}
54 .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
55 .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#222222 !important;}
56 .syntaxhighlighter.printing .line .content{border:none !important;}
57 .syntaxhighlighter.collapsed{overflow:visible !important;}
58 .syntaxhighlighter.collapsed .toolbar{color:#428bdd !important;background:black !important;border:1px solid #435a5f !important;}
59 .syntaxhighlighter.collapsed .toolbar a{color:#428bdd !important;}
60 .syntaxhighlighter.collapsed .toolbar a:hover{color:lime !important;}
61 .syntaxhighlighter .toolbar{color:#aaaaff !important;background:#435a5f !important;border:none !important;}
62 .syntaxhighlighter .toolbar a{color:#aaaaff !important;}
63 .syntaxhighlighter .toolbar a:hover{color:#9ccff4 !important;}
64 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:lime !important;}
65 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#428bdd !important;}
66 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:lime !important;}
67 .syntaxhighlighter .keyword{color:#aaaaff !important;}
68 .syntaxhighlighter .preprocessor{color:#8aa6c1 !important;}
69 .syntaxhighlighter .variable{color:aqua !important;}
70 .syntaxhighlighter .value{color:#f7e741 !important;}
71 .syntaxhighlighter .functions{color:#ff8000 !important;}
72 .syntaxhighlighter .constants{color:yellow !important;}
73 .syntaxhighlighter .script{font-weight:bold !important;color:#aaaaff !important;background-color:none !important;}
74 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:red !important;}
75 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:yellow !important;}
76 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 .syntaxhighlighter{background-color:#0f192a !important;}
48 .syntaxhighlighter .line.alt1{background-color:#0f192a !important;}
49 .syntaxhighlighter .line.alt2{background-color:#0f192a !important;}
50 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#253e5a !important;}
51 .syntaxhighlighter .line.highlighted.number{color:#38566f !important;}
52 .syntaxhighlighter table caption{color:#d1edff !important;}
53 .syntaxhighlighter .gutter{color:#afafaf !important;}
54 .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
55 .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#0f192a !important;}
56 .syntaxhighlighter.printing .line .content{border:none !important;}
57 .syntaxhighlighter.collapsed{overflow:visible !important;}
58 .syntaxhighlighter.collapsed .toolbar{color:#428bdd !important;background:black !important;border:1px solid #435a5f !important;}
59 .syntaxhighlighter.collapsed .toolbar a{color:#428bdd !important;}
60 .syntaxhighlighter.collapsed .toolbar a:hover{color:#1dc116 !important;}
61 .syntaxhighlighter .toolbar{color:#d1edff !important;background:#435a5f !important;border:none !important;}
62 .syntaxhighlighter .toolbar a{color:#d1edff !important;}
63 .syntaxhighlighter .toolbar a:hover{color:#8aa6c1 !important;}
64 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#d1edff !important;}
65 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#428bdd !important;}
66 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#1dc116 !important;}
67 .syntaxhighlighter .keyword{color:#b43d3d !important;}
68 .syntaxhighlighter .preprocessor{color:#8aa6c1 !important;}
69 .syntaxhighlighter .variable{color:#ffaa3e !important;}
70 .syntaxhighlighter .value{color:#f7e741 !important;}
71 .syntaxhighlighter .functions{color:#ffaa3e !important;}
72 .syntaxhighlighter .constants{color:#e0e8ff !important;}
73 .syntaxhighlighter .script{font-weight:bold !important;color:#b43d3d !important;background-color:none !important;}
74 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#f8bb00 !important;}
75 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:white !important;}
76 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
1 .syntaxhighlighter a,.syntaxhighlighter div,.syntaxhighlighter code,.syntaxhighlighter table,.syntaxhighlighter table td,.syntaxhighlighter table tr,.syntaxhighlighter table tbody,.syntaxhighlighter table thead,.syntaxhighlighter table caption,.syntaxhighlighter textarea{-moz-border-radius:0 0 0 0 !important;-webkit-border-radius:0 0 0 0 !important;background:none !important;border:0 !important;bottom:auto !important;float:none !important;height:auto !important;left:auto !important;line-height:1.1em !important;margin:0 !important;outline:0 !important;overflow:visible !important;padding:0 !important;position:static !important;right:auto !important;text-align:left !important;top:auto !important;vertical-align:baseline !important;width:auto !important;box-sizing:content-box !important;font-family:"Consolas","Bitstream Vera Sans Mono","Courier New",Courier,monospace !important;font-weight:normal !important;font-style:normal !important;font-size:1em !important;min-height:inherit !important;min-height:auto !important;}
2 .syntaxhighlighter{width:100% !important;margin:1em 0 1em 0 !important;position:relative !important;overflow:auto !important;font-size:1em !important;}
3 .syntaxhighlighter.source{overflow:hidden !important;}
4 .syntaxhighlighter .bold{font-weight:bold !important;}
5 .syntaxhighlighter .italic{font-style:italic !important;}
6 .syntaxhighlighter .line{white-space:pre !important;}
7 .syntaxhighlighter table{width:100% !important;}
8 .syntaxhighlighter table caption{text-align:left !important;padding:.5em 0 0.5em 1em !important;}
9 .syntaxhighlighter table td.code{width:100% !important;}
10 .syntaxhighlighter table td.code .container{position:relative !important;}
11 .syntaxhighlighter table td.code .container textarea{box-sizing:border-box !important;position:absolute !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;border:none !important;background:white !important;padding-left:1em !important;overflow:hidden !important;white-space:pre !important;}
12 .syntaxhighlighter table td.gutter .line{text-align:right !important;padding:0 0.5em 0 1em !important;}
13 .syntaxhighlighter table td.code .line{padding:0 1em !important;}
14 .syntaxhighlighter.nogutter td.code .container textarea,.syntaxhighlighter.nogutter td.code .line{padding-left:0em !important;}
15 .syntaxhighlighter.show{display:block !important;}
16 .syntaxhighlighter.collapsed table{display:none !important;}
17 .syntaxhighlighter.collapsed .toolbar{padding:0.1em 0.8em 0em 0.8em !important;font-size:1em !important;position:static !important;width:auto !important;height:auto !important;}
18 .syntaxhighlighter.collapsed .toolbar span{display:inline !important;margin-right:1em !important;}
19 .syntaxhighlighter.collapsed .toolbar span a{padding:0 !important;display:none !important;}
20 .syntaxhighlighter.collapsed .toolbar span a.expandSource{display:inline !important;}
21 .syntaxhighlighter .toolbar{position:absolute !important;right:1px !important;top:1px !important;width:11px !important;height:11px !important;font-size:10px !important;z-index:10 !important;}
22 .syntaxhighlighter .toolbar span.title{display:inline !important;}
23 .syntaxhighlighter .toolbar a{display:block !important;text-align:center !important;text-decoration:none !important;padding-top:1px !important;}
24 .syntaxhighlighter .toolbar a.expandSource{display:none !important;}
25 .syntaxhighlighter.ie{font-size:.9em !important;padding:1px 0 1px 0 !important;}
26 .syntaxhighlighter.ie .toolbar{line-height:8px !important;}
27 .syntaxhighlighter.ie .toolbar a{padding-top:0px !important;}
28 .syntaxhighlighter.printing .line.alt1 .content,.syntaxhighlighter.printing .line.alt2 .content,.syntaxhighlighter.printing .line.highlighted .number,.syntaxhighlighter.printing .line.highlighted.alt1 .content,.syntaxhighlighter.printing .line.highlighted.alt2 .content{background:none !important;}
29 .syntaxhighlighter.printing .line .number{color:#bbbbbb !important;}
30 .syntaxhighlighter.printing .line .content{color:black !important;}
31 .syntaxhighlighter.printing .toolbar{display:none !important;}
32 .syntaxhighlighter.printing a{text-decoration:none !important;}
33 .syntaxhighlighter.printing .plain,.syntaxhighlighter.printing .plain a{color:black !important;}
34 .syntaxhighlighter.printing .comments,.syntaxhighlighter.printing .comments a{color:#008200 !important;}
35 .syntaxhighlighter.printing .string,.syntaxhighlighter.printing .string a{color:blue !important;}
36 .syntaxhighlighter.printing .keyword{color:#006699 !important;font-weight:bold !important;}
37 .syntaxhighlighter.printing .preprocessor{color:gray !important;}
38 .syntaxhighlighter.printing .variable{color:#aa7700 !important;}
39 .syntaxhighlighter.printing .value{color:#009900 !important;}
40 .syntaxhighlighter.printing .functions{color:#ff1493 !important;}
41 .syntaxhighlighter.printing .constants{color:#0066cc !important;}
42 .syntaxhighlighter.printing .script{font-weight:bold !important;}
43 .syntaxhighlighter.printing .color1,.syntaxhighlighter.printing .color1 a{color:gray !important;}
44 .syntaxhighlighter.printing .color2,.syntaxhighlighter.printing .color2 a{color:#ff1493 !important;}
45 .syntaxhighlighter.printing .color3,.syntaxhighlighter.printing .color3 a{color:red !important;}
46 .syntaxhighlighter.printing .break,.syntaxhighlighter.printing .break a{color:black !important;}
47 .syntaxhighlighter{background-color:#1b2426 !important;}
48 .syntaxhighlighter .line.alt1{background-color:#1b2426 !important;}
49 .syntaxhighlighter .line.alt2{background-color:#1b2426 !important;}
50 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#323e41 !important;}
51 .syntaxhighlighter .line.highlighted.number{color:#b9bdb6 !important;}
52 .syntaxhighlighter table caption{color:#b9bdb6 !important;}
53 .syntaxhighlighter .gutter{color:#afafaf !important;}
54 .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
55 .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#1b2426 !important;}
56 .syntaxhighlighter.printing .line .content{border:none !important;}
57 .syntaxhighlighter.collapsed{overflow:visible !important;}
58 .syntaxhighlighter.collapsed .toolbar{color:#5ba1cf !important;background:black !important;border:1px solid #435a5f !important;}
59 .syntaxhighlighter.collapsed .toolbar a{color:#5ba1cf !important;}
60 .syntaxhighlighter.collapsed .toolbar a:hover{color:#5ce638 !important;}
61 .syntaxhighlighter .toolbar{color:white !important;background:#435a5f !important;border:none !important;}
62 .syntaxhighlighter .toolbar a{color:white !important;}
63 .syntaxhighlighter .toolbar a:hover{color:#e0e8ff !important;}
64 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#b9bdb6 !important;}
65 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#878a85 !important;}
66 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#5ce638 !important;}
67 .syntaxhighlighter .keyword{color:#5ba1cf !important;}
68 .syntaxhighlighter .preprocessor{color:#435a5f !important;}
69 .syntaxhighlighter .variable{color:#ffaa3e !important;}
70 .syntaxhighlighter .value{color:#009900 !important;}
71 .syntaxhighlighter .functions{color:#ffaa3e !important;}
72 .syntaxhighlighter .constants{color:#e0e8ff !important;}
73 .syntaxhighlighter .script{font-weight:bold !important;color:#5ba1cf !important;background-color:none !important;}
74 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#e0e8ff !important;}
75 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:white !important;}
76 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
1 .syntaxhighlighter.applescript{background:white;font-size:1em;color:black;}
2 .syntaxhighlighter.applescript div,.syntaxhighlighter.applescript code{font:1em/1.25 Verdana,sans-serif !important;}
3 .syntaxhighlighter.applescript .code .line{overflow:hidden !important;}
4 .syntaxhighlighter.applescript .code .line.highlighted{background:#b5d5ff !important;}
5 .syntaxhighlighter.applescript .color1{color:#000000 !important;}
6 .syntaxhighlighter.applescript .color2{color:#000000 !important;}
7 .syntaxhighlighter.applescript .color3{color:#000000 !important;font-weight:bold !important;}
8 .syntaxhighlighter.applescript .keyword{color:#000000 !important;font-weight:bold !important;}
9 .syntaxhighlighter.applescript .color4{color:#0000ff !important;font-style:italic !important;}
10 .syntaxhighlighter.applescript .comments{color:#4c4d4d !important;}
11 .syntaxhighlighter.applescript .plain{color:#408000 !important;}
12 .syntaxhighlighter.applescript .string{color:#000000 !important;}
13 .syntaxhighlighter.applescript .commandNames{color:#0000ff !important;font-weight:bold !important;}
14 .syntaxhighlighter.applescript .parameterNames{color:#0000ff !important;}
15 .syntaxhighlighter.applescript .classes{color:#0000ff !important;font-style:italic !important;}
16 .syntaxhighlighter.applescript .properties{color:#6c04d4 !important;}
17 .syntaxhighlighter.applescript .enumeratedValues{color:#4a1e7f !important;}
18 .syntaxhighlighter.applescript .additionCommandNames{color:#0016b0 !important;font-weight:bold !important;}
19 .syntaxhighlighter.applescript .additionParameterNames{color:#0016b0 !important;}
20 .syntaxhighlighter.applescript .additionClasses{color:#0016b0 !important;font-style:italic !important;}
21 .syntaxhighlighter.applescript .spaces{display:inline-block;height:0 !important;font-size:1.75em !important;line-height:0 !important;}
1 .syntaxhighlighter{background-color:white !important;}
2 .syntaxhighlighter .line.alt1{background-color:white !important;}
3 .syntaxhighlighter .line.alt2{background-color:white !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;}
5 .syntaxhighlighter .line.highlighted.number{color:black !important;}
6 .syntaxhighlighter table caption{color:black !important;}
7 .syntaxhighlighter .gutter{color:#afafaf !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:blue !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;}
15 .syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:white !important;}
17 .syntaxhighlighter .toolbar a:hover{color:black !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:blue !important;}
21 .syntaxhighlighter .keyword{color:#006699 !important;}
22 .syntaxhighlighter .preprocessor{color:gray !important;}
23 .syntaxhighlighter .variable{color:#aa7700 !important;}
24 .syntaxhighlighter .value{color:#009900 !important;}
25 .syntaxhighlighter .functions{color:#ff1493 !important;}
26 .syntaxhighlighter .constants{color:#0066cc !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493 !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}
31 .syntaxhighlighter .keyword{font-weight:bold !important;}
1 .syntaxhighlighter{background-color:#0a2b1d !important;}
2 .syntaxhighlighter .line.alt1{background-color:#0a2b1d !important;}
3 .syntaxhighlighter .line.alt2{background-color:#0a2b1d !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#233729 !important;}
5 .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 .syntaxhighlighter table caption{color:#f8f8f8 !important;}
7 .syntaxhighlighter .gutter{color:#497958 !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #41a83e !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#41a83e !important;color:#0a2b1d !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:#96dd3b !important;background:black !important;border:1px solid #41a83e !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:#96dd3b !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:white !important;}
15 .syntaxhighlighter .toolbar{color:white !important;background:#41a83e !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:white !important;}
17 .syntaxhighlighter .toolbar a:hover{color:#ffe862 !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#f8f8f8 !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#336442 !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#9df39f !important;}
21 .syntaxhighlighter .keyword{color:#96dd3b !important;}
22 .syntaxhighlighter .preprocessor{color:#91bb9e !important;}
23 .syntaxhighlighter .variable{color:#ffaa3e !important;}
24 .syntaxhighlighter .value{color:#f7e741 !important;}
25 .syntaxhighlighter .functions{color:#ffaa3e !important;}
26 .syntaxhighlighter .constants{color:#e0e8ff !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:#96dd3b !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#eb939a !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#91bb9e !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#edef7d !important;}
31 .syntaxhighlighter .comments{font-style:italic !important;}
32 .syntaxhighlighter .keyword{font-weight:bold !important;}
1 .syntaxhighlighter{background-color:white !important;}
2 .syntaxhighlighter .line.alt1{background-color:white !important;}
3 .syntaxhighlighter .line.alt2{background-color:white !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#c3defe !important;}
5 .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 .syntaxhighlighter table caption{color:black !important;}
7 .syntaxhighlighter .gutter{color:#787878 !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #d4d0c8 !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#d4d0c8 !important;color:white !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:#3f5fbf !important;background:white !important;border:1px solid #d4d0c8 !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:#3f5fbf !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:#aa7700 !important;}
15 .syntaxhighlighter .toolbar{color:#a0a0a0 !important;background:#d4d0c8 !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:#a0a0a0 !important;}
17 .syntaxhighlighter .toolbar a:hover{color:red !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#3f5fbf !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#2a00ff !important;}
21 .syntaxhighlighter .keyword{color:#7f0055 !important;}
22 .syntaxhighlighter .preprocessor{color:#646464 !important;}
23 .syntaxhighlighter .variable{color:#aa7700 !important;}
24 .syntaxhighlighter .value{color:#009900 !important;}
25 .syntaxhighlighter .functions{color:#ff1493 !important;}
26 .syntaxhighlighter .constants{color:#0066cc !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:#7f0055 !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493 !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}
31 .syntaxhighlighter .keyword{font-weight:bold !important;}
32 .syntaxhighlighter .xml .keyword{color:#3f7f7f !important;font-weight:normal !important;}
33 .syntaxhighlighter .xml .color1,.syntaxhighlighter .xml .color1 a{color:#7f007f !important;}
34 .syntaxhighlighter .xml .string{font-style:italic !important;color:#2a00ff !important;}
1 .syntaxhighlighter{background-color:black !important;}
2 .syntaxhighlighter .line.alt1{background-color:black !important;}
3 .syntaxhighlighter .line.alt2{background-color:black !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#2a3133 !important;}
5 .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 .syntaxhighlighter table caption{color:#d3d3d3 !important;}
7 .syntaxhighlighter .gutter{color:#d3d3d3 !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #990000 !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#990000 !important;color:black !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:#ebdb8d !important;background:black !important;border:1px solid #990000 !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:#ebdb8d !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:#ff7d27 !important;}
15 .syntaxhighlighter .toolbar{color:white !important;background:#990000 !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:white !important;}
17 .syntaxhighlighter .toolbar a:hover{color:#9ccff4 !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#d3d3d3 !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#ff7d27 !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#ff9e7b !important;}
21 .syntaxhighlighter .keyword{color:aqua !important;}
22 .syntaxhighlighter .preprocessor{color:#aec4de !important;}
23 .syntaxhighlighter .variable{color:#ffaa3e !important;}
24 .syntaxhighlighter .value{color:#009900 !important;}
25 .syntaxhighlighter .functions{color:#81cef9 !important;}
26 .syntaxhighlighter .constants{color:#ff9e7b !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:aqua !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#ebdb8d !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff7d27 !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#aec4de !important;}
1 .syntaxhighlighter{background-color:#121212 !important;}
2 .syntaxhighlighter .line.alt1{background-color:#121212 !important;}
3 .syntaxhighlighter .line.alt2{background-color:#121212 !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#2c2c29 !important;}
5 .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 .syntaxhighlighter table caption{color:white !important;}
7 .syntaxhighlighter .gutter{color:#afafaf !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #3185b9 !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#3185b9 !important;color:#121212 !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:#3185b9 !important;background:black !important;border:1px solid #3185b9 !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:#3185b9 !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:#d01d33 !important;}
15 .syntaxhighlighter .toolbar{color:white !important;background:#3185b9 !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:white !important;}
17 .syntaxhighlighter .toolbar a:hover{color:#96daff !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:white !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#696854 !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#e3e658 !important;}
21 .syntaxhighlighter .keyword{color:#d01d33 !important;}
22 .syntaxhighlighter .preprocessor{color:#435a5f !important;}
23 .syntaxhighlighter .variable{color:#898989 !important;}
24 .syntaxhighlighter .value{color:#009900 !important;}
25 .syntaxhighlighter .functions{color:#aaaaaa !important;}
26 .syntaxhighlighter .constants{color:#96daff !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:#d01d33 !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#ffc074 !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#4a8cdb !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#96daff !important;}
31 .syntaxhighlighter .functions{font-weight:bold !important;}
1 .syntaxhighlighter{background-color:#222222 !important;}
2 .syntaxhighlighter .line.alt1{background-color:#222222 !important;}
3 .syntaxhighlighter .line.alt2{background-color:#222222 !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#253e5a !important;}
5 .syntaxhighlighter .line.highlighted.number{color:white !important;}
6 .syntaxhighlighter table caption{color:lime !important;}
7 .syntaxhighlighter .gutter{color:#38566f !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#222222 !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:#428bdd !important;background:black !important;border:1px solid #435a5f !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:#428bdd !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:lime !important;}
15 .syntaxhighlighter .toolbar{color:#aaaaff !important;background:#435a5f !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:#aaaaff !important;}
17 .syntaxhighlighter .toolbar a:hover{color:#9ccff4 !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:lime !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#428bdd !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:lime !important;}
21 .syntaxhighlighter .keyword{color:#aaaaff !important;}
22 .syntaxhighlighter .preprocessor{color:#8aa6c1 !important;}
23 .syntaxhighlighter .variable{color:aqua !important;}
24 .syntaxhighlighter .value{color:#f7e741 !important;}
25 .syntaxhighlighter .functions{color:#ff8000 !important;}
26 .syntaxhighlighter .constants{color:yellow !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:#aaaaff !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:red !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:yellow !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
1 .syntaxhighlighter{background-color:#0f192a !important;}
2 .syntaxhighlighter .line.alt1{background-color:#0f192a !important;}
3 .syntaxhighlighter .line.alt2{background-color:#0f192a !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#253e5a !important;}
5 .syntaxhighlighter .line.highlighted.number{color:#38566f !important;}
6 .syntaxhighlighter table caption{color:#d1edff !important;}
7 .syntaxhighlighter .gutter{color:#afafaf !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#0f192a !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:#428bdd !important;background:black !important;border:1px solid #435a5f !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:#428bdd !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:#1dc116 !important;}
15 .syntaxhighlighter .toolbar{color:#d1edff !important;background:#435a5f !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:#d1edff !important;}
17 .syntaxhighlighter .toolbar a:hover{color:#8aa6c1 !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#d1edff !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#428bdd !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#1dc116 !important;}
21 .syntaxhighlighter .keyword{color:#b43d3d !important;}
22 .syntaxhighlighter .preprocessor{color:#8aa6c1 !important;}
23 .syntaxhighlighter .variable{color:#ffaa3e !important;}
24 .syntaxhighlighter .value{color:#f7e741 !important;}
25 .syntaxhighlighter .functions{color:#ffaa3e !important;}
26 .syntaxhighlighter .constants{color:#e0e8ff !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:#b43d3d !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#f8bb00 !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:white !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
1 .syntaxhighlighter{background-color:#1b2426 !important;}
2 .syntaxhighlighter .line.alt1{background-color:#1b2426 !important;}
3 .syntaxhighlighter .line.alt2{background-color:#1b2426 !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#323e41 !important;}
5 .syntaxhighlighter .line.highlighted.number{color:#b9bdb6 !important;}
6 .syntaxhighlighter table caption{color:#b9bdb6 !important;}
7 .syntaxhighlighter .gutter{color:#afafaf !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #435a5f !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#435a5f !important;color:#1b2426 !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:#5ba1cf !important;background:black !important;border:1px solid #435a5f !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:#5ba1cf !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:#5ce638 !important;}
15 .syntaxhighlighter .toolbar{color:white !important;background:#435a5f !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:white !important;}
17 .syntaxhighlighter .toolbar a:hover{color:#e0e8ff !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:#b9bdb6 !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#878a85 !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#5ce638 !important;}
21 .syntaxhighlighter .keyword{color:#5ba1cf !important;}
22 .syntaxhighlighter .preprocessor{color:#435a5f !important;}
23 .syntaxhighlighter .variable{color:#ffaa3e !important;}
24 .syntaxhighlighter .value{color:#009900 !important;}
25 .syntaxhighlighter .functions{color:#ffaa3e !important;}
26 .syntaxhighlighter .constants{color:#e0e8ff !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:#5ba1cf !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:#e0e8ff !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:white !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:#ffaa3e !important;}
1 .syntaxhighlighter{background-color:white !important;}
2 .syntaxhighlighter .line.alt1{background-color:white !important;}
3 .syntaxhighlighter .line.alt2{background-color:white !important;}
4 .syntaxhighlighter .line.highlighted.alt1,.syntaxhighlighter .line.highlighted.alt2{background-color:#e0e0e0 !important;}
5 .syntaxhighlighter .line.highlighted.number{color:black !important;}
6 .syntaxhighlighter table caption{color:black !important;}
7 .syntaxhighlighter .gutter{color:#afafaf !important;}
8 .syntaxhighlighter .gutter .line{border-right:3px solid #6ce26c !important;}
9 .syntaxhighlighter .gutter .line.highlighted{background-color:#6ce26c !important;color:white !important;}
10 .syntaxhighlighter.printing .line .content{border:none !important;}
11 .syntaxhighlighter.collapsed{overflow:visible !important;}
12 .syntaxhighlighter.collapsed .toolbar{color:blue !important;background:white !important;border:1px solid #6ce26c !important;}
13 .syntaxhighlighter.collapsed .toolbar a{color:blue !important;}
14 .syntaxhighlighter.collapsed .toolbar a:hover{color:red !important;}
15 .syntaxhighlighter .toolbar{color:white !important;background:#6ce26c !important;border:none !important;}
16 .syntaxhighlighter .toolbar a{color:white !important;}
17 .syntaxhighlighter .toolbar a:hover{color:black !important;}
18 .syntaxhighlighter .plain,.syntaxhighlighter .plain a{color:black !important;}
19 .syntaxhighlighter .comments,.syntaxhighlighter .comments a{color:#008200 !important;}
20 .syntaxhighlighter .string,.syntaxhighlighter .string a{color:#d11010 !important;}
21 .syntaxhighlighter .keyword{color:#006699 !important;}
22 .syntaxhighlighter .preprocessor{color:gray !important;}
23 .syntaxhighlighter .variable{color:#aa7700 !important;}
24 .syntaxhighlighter .value{color:#009900 !important;}
25 .syntaxhighlighter .functions{color:#ff1493 !important;}
26 .syntaxhighlighter .constants{color:#0066cc !important;}
27 .syntaxhighlighter .script{font-weight:bold !important;color:#006699 !important;background-color:none !important;}
28 .syntaxhighlighter .color1,.syntaxhighlighter .color1 a{color:gray !important;}
29 .syntaxhighlighter .color2,.syntaxhighlighter .color2 a{color:#ff1493 !important;}
30 .syntaxhighlighter .color3,.syntaxhighlighter .color3 a{color:red !important;}
31 .syntaxhighlighter .keyword{font-weight:bold !important;}
1 <?php
2 /**
3 * EasyPeasyICS Simple ICS/vCal data generator.
4 * @author Marcus Bointon <phpmailer@synchromedia.co.uk>
5 * @author Manuel Reinhard <manu@sprain.ch>
6 *
7 * Built with inspiration from
8 * http://stackoverflow.com/questions/1463480/how-can-i-use-php-to-dynamically-publish-an-ical-file-to-be-read-by-google-calend/1464355#1464355
9 * History:
10 * 2010/12/17 - Manuel Reinhard - when it all started
11 * 2014 PHPMailer project becomes maintainer
12 */
13
14 /**
15 * Class EasyPeasyICS.
16 * Simple ICS data generator
17 * @package phpmailer
18 * @subpackage easypeasyics
19 */
20 class EasyPeasyICS
21 {
22 /**
23 * The name of the calendar
24 * @var string
25 */
26 protected $calendarName;
27 /**
28 * The array of events to add to this calendar
29 * @var array
30 */
31 protected $events = array();
32
33 /**
34 * Constructor
35 * @param string $calendarName
36 */
37 public function __construct($calendarName = "")
38 {
39 $this->calendarName = $calendarName;
40 }
41
42 /**
43 * Add an event to this calendar.
44 * @param string $start The start date and time as a unix timestamp
45 * @param string $end The end date and time as a unix timestamp
46 * @param string $summary A summary or title for the event
47 * @param string $description A description of the event
48 * @param string $url A URL for the event
49 * @param string $uid A unique identifier for the event - generated automatically if not provided
50 * @return array An array of event details, including any generated UID
51 */
52 public function addEvent($start, $end, $summary = '', $description = '', $url = '', $uid = '')
53 {
54 if (empty($uid)) {
55 $uid = md5(uniqid(mt_rand(), true)) . '@EasyPeasyICS';
56 }
57 $event = array(
58 'start' => gmdate('Ymd', $start) . 'T' . gmdate('His', $start) . 'Z',
59 'end' => gmdate('Ymd', $end) . 'T' . gmdate('His', $end) . 'Z',
60 'summary' => $summary,
61 'description' => $description,
62 'url' => $url,
63 'uid' => $uid
64 );
65 $this->events[] = $event;
66 return $event;
67 }
68
69 /**
70 * @return array Get the array of events.
71 */
72 public function getEvents()
73 {
74 return $this->events;
75 }
76
77 /**
78 * Clear all events.
79 */
80 public function clearEvents()
81 {
82 $this->events = array();
83 }
84
85 /**
86 * Get the name of the calendar.
87 * @return string
88 */
89 public function getName()
90 {
91 return $this->calendarName;
92 }
93
94 /**
95 * Set the name of the calendar.
96 * @param $name
97 */
98 public function setName($name)
99 {
100 $this->calendarName = $name;
101 }
102
103 /**
104 * Render and optionally output a vcal string.
105 * @param bool $output Whether to output the calendar data directly (the default).
106 * @return string The complete rendered vlal
107 */
108 public function render($output = true)
109 {
110 //Add header
111 $ics = 'BEGIN:VCALENDAR
112 METHOD:PUBLISH
113 VERSION:2.0
114 X-WR-CALNAME:' . $this->calendarName . '
115 PRODID:-//hacksw/handcal//NONSGML v1.0//EN';
116
117 //Add events
118 foreach ($this->events as $event) {
119 $ics .= '
120 BEGIN:VEVENT
121 UID:' . $event['uid'] . '
122 DTSTAMP:' . gmdate('Ymd') . 'T' . gmdate('His') . 'Z
123 DTSTART:' . $event['start'] . '
124 DTEND:' . $event['end'] . '
125 SUMMARY:' . str_replace("\n", "\\n", $event['summary']) . '
126 DESCRIPTION:' . str_replace("\n", "\\n", $event['description']) . '
127 URL;VALUE=URI:' . $event['url'] . '
128 END:VEVENT';
129 }
130
131 //Add footer
132 $ics .= '
133 END:VCALENDAR';
134
135 if ($output) {
136 //Output
137 $filename = $this->calendarName;
138 //Filename needs quoting if it contains spaces
139 if (strpos($filename, ' ') !== false) {
140 $filename = '"'.$filename.'"';
141 }
142 header('Content-type: text/calendar; charset=utf-8');
143 header('Content-Disposition: inline; filename=' . $filename . '.ics');
144 echo $ics;
145 }
146 return $ics;
147 }
148 }
1 # PHPMailer Extras
2
3 These classes provide optional additional functions to PHPMailer.
4
5 These are not loaded by the PHPMailer autoloader, so in some cases you may need to `require` them yourself before using them.
6
7 ## EasyPeasyICS
8
9 This class was originally written by Manuel Reinhard and provides a simple means of generating ICS/vCal files that are used in sending calendar events. PHPMailer does not use it directly, but you can use it to generate content appropriate for placing in the `Ical` property of PHPMailer. The PHPMailer project is now its official home as Manuel has given permission for that and is no longer maintaining it himself.
10
11 ## htmlfilter
12
13 This class by Konstantin Riabitsev and Jim Jagielski implements HTML filtering to remove potentially malicious tags, such as `<script>` or `onclick=` attributes that can result in XSS attacks. This is a simple filter and is not as comprehensive as [HTMLawed](http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/) or [HTMLPurifier](http://htmlpurifier.org), but it's easier to use and considerably better than nothing! PHPMailer does not use it directly, but you may want to apply it to user-supplied HTML before using it as a message body.
14
15 ## NTLM_SASL_client
16
17 This class by Manuel Lemos (bundled with permission) adds the ability to authenticate with Microsoft Windows mail servers that use NTLM-based authentication. It is used by PHPMailer if you send via SMTP and set the `AuthType` property to `NTLM`; you will also need to use the `Realm` and `Workstation` properties. The original source is [here](http://www.phpclasses.org/browse/file/7495.html).
1 <?php
2 /*
3 * ntlm_sasl_client.php
4 *
5 * @(#) $Id: ntlm_sasl_client.php,v 1.3 2004/11/17 08:00:37 mlemos Exp $
6 *
7 */
8
9 define("SASL_NTLM_STATE_START", 0);
10 define("SASL_NTLM_STATE_IDENTIFY_DOMAIN", 1);
11 define("SASL_NTLM_STATE_RESPOND_CHALLENGE", 2);
12 define("SASL_NTLM_STATE_DONE", 3);
13 define("SASL_FAIL", -1);
14 define("SASL_CONTINUE", 1);
15
16 class ntlm_sasl_client_class
17 {
18 public $credentials = array();
19 public $state = SASL_NTLM_STATE_START;
20
21 public function initialize(&$client)
22 {
23 if (!function_exists($function = "mcrypt_encrypt")
24 || !function_exists($function = "mhash")
25 ) {
26 $extensions = array(
27 "mcrypt_encrypt" => "mcrypt",
28 "mhash" => "mhash"
29 );
30 $client->error = "the extension " . $extensions[$function] .
31 " required by the NTLM SASL client class is not available in this PHP configuration";
32 return (0);
33 }
34 return (1);
35 }
36
37 public function ASCIIToUnicode($ascii)
38 {
39 for ($unicode = "", $a = 0; $a < strlen($ascii); $a++) {
40 $unicode .= substr($ascii, $a, 1) . chr(0);
41 }
42 return ($unicode);
43 }
44
45 public function typeMsg1($domain, $workstation)
46 {
47 $domain_length = strlen($domain);
48 $workstation_length = strlen($workstation);
49 $workstation_offset = 32;
50 $domain_offset = $workstation_offset + $workstation_length;
51 return (
52 "NTLMSSP\0" .
53 "\x01\x00\x00\x00" .
54 "\x07\x32\x00\x00" .
55 pack("v", $domain_length) .
56 pack("v", $domain_length) .
57 pack("V", $domain_offset) .
58 pack("v", $workstation_length) .
59 pack("v", $workstation_length) .
60 pack("V", $workstation_offset) .
61 $workstation .
62 $domain
63 );
64 }
65
66 public function NTLMResponse($challenge, $password)
67 {
68 $unicode = $this->ASCIIToUnicode($password);
69 $md4 = mhash(MHASH_MD4, $unicode);
70 $padded = $md4 . str_repeat(chr(0), 21 - strlen($md4));
71 $iv_size = mcrypt_get_iv_size(MCRYPT_DES, MCRYPT_MODE_ECB);
72 $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
73 for ($response = "", $third = 0; $third < 21; $third += 7) {
74 for ($packed = "", $p = $third; $p < $third + 7; $p++) {
75 $packed .= str_pad(decbin(ord(substr($padded, $p, 1))), 8, "0", STR_PAD_LEFT);
76 }
77 for ($key = "", $p = 0; $p < strlen($packed); $p += 7) {
78 $s = substr($packed, $p, 7);
79 $b = $s . ((substr_count($s, "1") % 2) ? "0" : "1");
80 $key .= chr(bindec($b));
81 }
82 $ciphertext = mcrypt_encrypt(MCRYPT_DES, $key, $challenge, MCRYPT_MODE_ECB, $iv);
83 $response .= $ciphertext;
84 }
85 return $response;
86 }
87
88 public function typeMsg3($ntlm_response, $user, $domain, $workstation)
89 {
90 $domain_unicode = $this->ASCIIToUnicode($domain);
91 $domain_length = strlen($domain_unicode);
92 $domain_offset = 64;
93 $user_unicode = $this->ASCIIToUnicode($user);
94 $user_length = strlen($user_unicode);
95 $user_offset = $domain_offset + $domain_length;
96 $workstation_unicode = $this->ASCIIToUnicode($workstation);
97 $workstation_length = strlen($workstation_unicode);
98 $workstation_offset = $user_offset + $user_length;
99 $lm = "";
100 $lm_length = strlen($lm);
101 $lm_offset = $workstation_offset + $workstation_length;
102 $ntlm = $ntlm_response;
103 $ntlm_length = strlen($ntlm);
104 $ntlm_offset = $lm_offset + $lm_length;
105 $session = "";
106 $session_length = strlen($session);
107 $session_offset = $ntlm_offset + $ntlm_length;
108 return (
109 "NTLMSSP\0" .
110 "\x03\x00\x00\x00" .
111 pack("v", $lm_length) .
112 pack("v", $lm_length) .
113 pack("V", $lm_offset) .
114 pack("v", $ntlm_length) .
115 pack("v", $ntlm_length) .
116 pack("V", $ntlm_offset) .
117 pack("v", $domain_length) .
118 pack("v", $domain_length) .
119 pack("V", $domain_offset) .
120 pack("v", $user_length) .
121 pack("v", $user_length) .
122 pack("V", $user_offset) .
123 pack("v", $workstation_length) .
124 pack("v", $workstation_length) .
125 pack("V", $workstation_offset) .
126 pack("v", $session_length) .
127 pack("v", $session_length) .
128 pack("V", $session_offset) .
129 "\x01\x02\x00\x00" .
130 $domain_unicode .
131 $user_unicode .
132 $workstation_unicode .
133 $lm .
134 $ntlm
135 );
136 }
137
138 public function start(&$client, &$message, &$interactions)
139 {
140 if ($this->state != SASL_NTLM_STATE_START) {
141 $client->error = "NTLM authentication state is not at the start";
142 return (SASL_FAIL);
143 }
144 $this->credentials = array(
145 "user" => "",
146 "password" => "",
147 "realm" => "",
148 "workstation" => ""
149 );
150 $defaults = array();
151 $status = $client->GetCredentials($this->credentials, $defaults, $interactions);
152 if ($status == SASL_CONTINUE) {
153 $this->state = SASL_NTLM_STATE_IDENTIFY_DOMAIN;
154 }
155 unset($message);
156 return ($status);
157 }
158
159 public function step(&$client, $response, &$message, &$interactions)
160 {
161 switch ($this->state) {
162 case SASL_NTLM_STATE_IDENTIFY_DOMAIN:
163 $message = $this->typeMsg1($this->credentials["realm"], $this->credentials["workstation"]);
164 $this->state = SASL_NTLM_STATE_RESPOND_CHALLENGE;
165 break;
166 case SASL_NTLM_STATE_RESPOND_CHALLENGE:
167 $ntlm_response = $this->NTLMResponse(substr($response, 24, 8), $this->credentials["password"]);
168 $message = $this->typeMsg3(
169 $ntlm_response,
170 $this->credentials["user"],
171 $this->credentials["realm"],
172 $this->credentials["workstation"]
173 );
174 $this->state = SASL_NTLM_STATE_DONE;
175 break;
176 case SASL_NTLM_STATE_DONE:
177 $client->error = "NTLM authentication was finished without success";
178 return (SASL_FAIL);
179 default:
180 $client->error = "invalid NTLM authentication step state";
181 return (SASL_FAIL);
182 }
183 return (SASL_CONTINUE);
184 }
185 }
1 <?php
2 /**
3 * Get an OAuth2 token from Google.
4 * * Install this script on your server so that it's accessible
5 * as [https/http]://<yourdomain>/<folder>/get_oauth_token.php
6 * e.g.: http://localhost/phpmail/get_oauth_token.php
7 * * Ensure dependencies are installed with 'composer install'
8 * * Set up an app in your Google developer console
9 * * Set the script address as the app's redirect URL
10 * If no refresh token is obtained when running this file, revoke access to your app
11 * using link: https://accounts.google.com/b/0/IssuedAuthSubTokens and run the script again.
12 * This script requires PHP 5.4 or later
13 * PHP Version 5.4
14 */
15
16 namespace League\OAuth2\Client\Provider;
17
18 require 'vendor/autoload.php';
19
20 use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
21 use League\OAuth2\Client\Token\AccessToken;
22 use League\OAuth2\Client\Tool\BearerAuthorizationTrait;
23 use Psr\Http\Message\ResponseInterface;
24
25 session_start();
26
27 //If this automatic URL doesn't work, set it yourself manually
28 $redirectUri = isset($_SERVER['HTTPS']) ? 'https://' : 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
29 //$redirectUri = 'http://localhost/phpmailer/get_oauth_token.php';
30
31 //These details obtained are by setting up app in Google developer console.
32 $clientId = 'RANDOMCHARS-----duv1n2.apps.googleusercontent.com';
33 $clientSecret = 'RANDOMCHARS-----lGyjPcRtvP';
34
35 class Google extends AbstractProvider
36 {
37 use BearerAuthorizationTrait;
38
39 const ACCESS_TOKEN_RESOURCE_OWNER_ID = 'id';
40
41 /**
42 * @var string If set, this will be sent to google as the "access_type" parameter.
43 * @link https://developers.google.com/accounts/docs/OAuth2WebServer#offline
44 */
45 protected $accessType;
46
47 /**
48 * @var string If set, this will be sent to google as the "hd" parameter.
49 * @link https://developers.google.com/accounts/docs/OAuth2Login#hd-param
50 */
51 protected $hostedDomain;
52
53 /**
54 * @var string If set, this will be sent to google as the "scope" parameter.
55 * @link https://developers.google.com/gmail/api/auth/scopes
56 */
57 protected $scope;
58
59 public function getBaseAuthorizationUrl()
60 {
61 return 'https://accounts.google.com/o/oauth2/auth';
62 }
63
64 public function getBaseAccessTokenUrl(array $params)
65 {
66 return 'https://accounts.google.com/o/oauth2/token';
67 }
68
69 public function getResourceOwnerDetailsUrl(AccessToken $token)
70 {
71 return ' ';
72 }
73
74 protected function getAuthorizationParameters(array $options)
75 {
76 if (is_array($this->scope)) {
77 $separator = $this->getScopeSeparator();
78 $this->scope = implode($separator, $this->scope);
79 }
80
81 $params = array_merge(
82 parent::getAuthorizationParameters($options),
83 array_filter([
84 'hd' => $this->hostedDomain,
85 'access_type' => $this->accessType,
86 'scope' => $this->scope,
87 // if the user is logged in with more than one account ask which one to use for the login!
88 'authuser' => '-1'
89 ])
90 );
91 return $params;
92 }
93
94 protected function getDefaultScopes()
95 {
96 return [
97 'email',
98 'openid',
99 'profile',
100 ];
101 }
102
103 protected function getScopeSeparator()
104 {
105 return ' ';
106 }
107
108 protected function checkResponse(ResponseInterface $response, $data)
109 {
110 if (!empty($data['error'])) {
111 $code = 0;
112 $error = $data['error'];
113
114 if (is_array($error)) {
115 $code = $error['code'];
116 $error = $error['message'];
117 }
118
119 throw new IdentityProviderException($error, $code, $data);
120 }
121 }
122
123 protected function createResourceOwner(array $response, AccessToken $token)
124 {
125 return new GoogleUser($response);
126 }
127 }
128
129
130 //Set Redirect URI in Developer Console as [https/http]://<yourdomain>/<folder>/get_oauth_token.php
131 $provider = new Google(
132 array(
133 'clientId' => $clientId,
134 'clientSecret' => $clientSecret,
135 'redirectUri' => $redirectUri,
136 'scope' => array('https://mail.google.com/'),
137 'accessType' => 'offline'
138 )
139 );
140
141 if (!isset($_GET['code'])) {
142 // If we don't have an authorization code then get one
143 $authUrl = $provider->getAuthorizationUrl();
144 $_SESSION['oauth2state'] = $provider->getState();
145 header('Location: ' . $authUrl);
146 exit;
147 // Check given state against previously stored one to mitigate CSRF attack
148 } elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
149 unset($_SESSION['oauth2state']);
150 exit('Invalid state');
151 } else {
152 // Try to get an access token (using the authorization code grant)
153 $token = $provider->getAccessToken(
154 'authorization_code',
155 array(
156 'code' => $_GET['code']
157 )
158 );
159
160 // Use this to get a new access token if the old one expires
161 echo 'Refresh Token: ' . $token->getRefreshToken();
162 }
1 <?php
2 /**
3 * Armenian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Hrayr Grigoryan <hrayr@bits.am>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP -ի սխալ: չհաջողվեց ստուգել իսկությունը.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP -ի սխալ: չհաջողվեց կապ հաստատել SMTP սերվերի հետ.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP -ի սխալ: տվյալները ընդունված չեն.';
11 $PHPMAILER_LANG['empty_message'] = 'Հաղորդագրությունը դատարկ է';
12 $PHPMAILER_LANG['encoding'] = 'Կոդավորման անհայտ տեսակ: ';
13 $PHPMAILER_LANG['execute'] = 'Չհաջողվեց իրականացնել հրամանը: ';
14 $PHPMAILER_LANG['file_access'] = 'Ֆայլը հասանելի չէ: ';
15 $PHPMAILER_LANG['file_open'] = 'Ֆայլի սխալ: ֆայլը չհաջողվեց բացել: ';
16 $PHPMAILER_LANG['from_failed'] = 'Ուղարկողի հետևյալ հասցեն սխալ է: ';
17 $PHPMAILER_LANG['instantiate'] = 'Հնարավոր չէ կանչել mail ֆունկցիան.';
18 $PHPMAILER_LANG['invalid_address'] = 'Հասցեն սխալ է: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' փոստային սերվերի հետ չի աշխատում.';
20 $PHPMAILER_LANG['provide_address'] = 'Անհրաժեշտ է տրամադրել գոնե մեկ ստացողի e-mail հասցե.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP -ի սխալ: չի հաջողվել ուղարկել հետևյալ ստացողների հասցեներին: ';
22 $PHPMAILER_LANG['signing'] = 'Ստորագրման սխալ: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP -ի connect() ֆունկցիան չի հաջողվել';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP սերվերի սխալ: ';
25 $PHPMAILER_LANG['variable_set'] = 'Չի հաջողվում ստեղծել կամ վերափոխել փոփոխականը: ';
26 $PHPMAILER_LANG['extension_missing'] = 'Հավելվածը բացակայում է: ';
1 <?php
2 /**
3 * Arabic PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author bahjat al mostafa <bahjat983@hotmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'خطأ SMTP : لا يمكن تأكيد الهوية.';
9 $PHPMAILER_LANG['connect_host'] = 'خطأ SMTP: لا يمكن الاتصال بالخادم SMTP.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'خطأ SMTP: لم يتم قبول المعلومات .';
11 $PHPMAILER_LANG['empty_message'] = 'نص الرسالة فارغ';
12 $PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: ';
13 $PHPMAILER_LANG['execute'] = 'لا يمكن تنفيذ : ';
14 $PHPMAILER_LANG['file_access'] = 'لا يمكن الوصول للملف: ';
15 $PHPMAILER_LANG['file_open'] = 'خطأ في الملف: لا يمكن فتحه: ';
16 $PHPMAILER_LANG['from_failed'] = 'خطأ على مستوى عنوان المرسل : ';
17 $PHPMAILER_LANG['instantiate'] = 'لا يمكن توفير خدمة البريد.';
18 $PHPMAILER_LANG['invalid_address'] = 'الإرسال غير ممكن لأن عنوان البريد الإلكتروني غير صالح: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' برنامج الإرسال غير مدعوم.';
20 $PHPMAILER_LANG['provide_address'] = 'يجب توفير عنوان البريد الإلكتروني لمستلم واحد على الأقل.';
21 $PHPMAILER_LANG['recipients_failed'] = 'خطأ SMTP: الأخطاء التالية ' .
22 'فشل في الارسال لكل من : ';
23 $PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: ';
24 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() غير ممكن.';
25 $PHPMAILER_LANG['smtp_error'] = 'خطأ على مستوى الخادم SMTP: ';
26 $PHPMAILER_LANG['variable_set'] = 'لا يمكن تعيين أو إعادة تعيين متغير: ';
27 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Azerbaijani PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author @mirjalal
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP xətası: Giriş uğursuz oldu.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP xətası: SMTP serverinə qoşulma uğursuz oldu.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP xətası: Verilənlər qəbul edilməyib.';
11 $PHPMAILER_LANG['empty_message'] = 'Boş mesaj göndərilə bilməz.';
12 $PHPMAILER_LANG['encoding'] = 'Qeyri-müəyyən kodlaşdırma: ';
13 $PHPMAILER_LANG['execute'] = 'Əmr yerinə yetirilmədi: ';
14 $PHPMAILER_LANG['file_access'] = 'Fayla giriş yoxdur: ';
15 $PHPMAILER_LANG['file_open'] = 'Fayl xətası: Fayl açıla bilmədi: ';
16 $PHPMAILER_LANG['from_failed'] = 'Göstərilən poçtlara göndərmə uğursuz oldu: ';
17 $PHPMAILER_LANG['instantiate'] = 'Mail funksiyası işə salına bilmədi.';
18 $PHPMAILER_LANG['invalid_address'] = 'Düzgün olmayan e-mail adresi: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' - e-mail kitabxanası dəstəklənmir.';
20 $PHPMAILER_LANG['provide_address'] = 'Ən azı bir e-mail adresi daxil edilməlidir.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP xətası: Aşağıdakı ünvanlar üzrə alıcılara göndərmə uğursuzdur: ';
22 $PHPMAILER_LANG['signing'] = 'İmzalama xətası: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP serverinə qoşulma uğursuz oldu.';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP serveri xətası: ';
25 $PHPMAILER_LANG['variable_set'] = 'Dəyişənin quraşdırılması uğursuz oldu: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Belarusian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Aleksander Maksymiuk <info@setpro.pl>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'Памылка SMTP: памылка ідэнтыфікацыі.';
9 $PHPMAILER_LANG['connect_host'] = 'Памылка SMTP: нельга ўстанавіць сувязь з SMTP-серверам.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'Памылка SMTP: звесткі непрынятыя.';
11 $PHPMAILER_LANG['empty_message'] = 'Пустое паведамленне.';
12 $PHPMAILER_LANG['encoding'] = 'Невядомая кадыроўка тэксту: ';
13 $PHPMAILER_LANG['execute'] = 'Нельга выканаць каманду: ';
14 $PHPMAILER_LANG['file_access'] = 'Няма доступу да файла: ';
15 $PHPMAILER_LANG['file_open'] = 'Нельга адкрыць файл: ';
16 $PHPMAILER_LANG['from_failed'] = 'Няправільны адрас адпраўніка: ';
17 $PHPMAILER_LANG['instantiate'] = 'Нельга прымяніць функцыю mail().';
18 $PHPMAILER_LANG['invalid_address'] = 'Нельга даслаць паведамленне, няправільны email атрымальніка: ';
19 $PHPMAILER_LANG['provide_address'] = 'Запоўніце, калі ласка, правільны email атрымальніка.';
20 $PHPMAILER_LANG['mailer_not_supported'] = ' - паштовы сервер не падтрымліваецца.';
21 $PHPMAILER_LANG['recipients_failed'] = 'Памылка SMTP: няправільныя атрымальнікі: ';
22 $PHPMAILER_LANG['signing'] = 'Памылка подпісу паведамлення: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'Памылка сувязі з SMTP-серверам.';
24 $PHPMAILER_LANG['smtp_error'] = 'Памылка SMTP: ';
25 $PHPMAILER_LANG['variable_set'] = 'Нельга ўстанавіць або перамяніць значэнне пераменнай: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Bulgarian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Mikhail Kyosev <mialygk@gmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP грешка: Не може да се удостовери пред сървъра.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP грешка: Не може да се свърже с SMTP хоста.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: данните не са приети.';
11 $PHPMAILER_LANG['empty_message'] = 'Съдържанието на съобщението е празно';
12 $PHPMAILER_LANG['encoding'] = 'Неизвестно кодиране: ';
13 $PHPMAILER_LANG['execute'] = 'Не може да се изпълни: ';
14 $PHPMAILER_LANG['file_access'] = 'Няма достъп до файл: ';
15 $PHPMAILER_LANG['file_open'] = 'Файлова грешка: Не може да се отвори файл: ';
16 $PHPMAILER_LANG['from_failed'] = 'Следните адреси за подател са невалидни: ';
17 $PHPMAILER_LANG['instantiate'] = 'Не може да се инстанцира функцията mail.';
18 $PHPMAILER_LANG['invalid_address'] = 'Невалиден адрес: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' - пощенски сървър не се поддържа.';
20 $PHPMAILER_LANG['provide_address'] = 'Трябва да предоставите поне един email адрес за получател.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: Следните адреси за Получател са невалидни: ';
22 $PHPMAILER_LANG['signing'] = 'Грешка при подписване: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP провален connect().';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP сървърна грешка: ';
25 $PHPMAILER_LANG['variable_set'] = 'Не може да се установи или възстанови променлива: ';
26 $PHPMAILER_LANG['extension_missing'] = 'Липсва разширение: ';
1 <?php
2 /**
3 * Catalan PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Ivan <web AT microstudi DOT com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'Error SMTP: No s’ha pogut autenticar.';
9 $PHPMAILER_LANG['connect_host'] = 'Error SMTP: No es pot connectar al servidor SMTP.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Dades no acceptades.';
11 $PHPMAILER_LANG['empty_message'] = 'El cos del missatge està buit.';
12 $PHPMAILER_LANG['encoding'] = 'Codificació desconeguda: ';
13 $PHPMAILER_LANG['execute'] = 'No es pot executar: ';
14 $PHPMAILER_LANG['file_access'] = 'No es pot accedir a l’arxiu: ';
15 $PHPMAILER_LANG['file_open'] = 'Error d’Arxiu: No es pot obrir l’arxiu: ';
16 $PHPMAILER_LANG['from_failed'] = 'La(s) següent(s) adreces de remitent han fallat: ';
17 $PHPMAILER_LANG['instantiate'] = 'No s’ha pogut crear una instància de la funció Mail.';
18 $PHPMAILER_LANG['invalid_address'] = 'Adreça d’email invalida: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer no està suportat';
20 $PHPMAILER_LANG['provide_address'] = 'S’ha de proveir almenys una adreça d’email com a destinatari.';
21 $PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Els següents destinataris han fallat: ';
22 $PHPMAILER_LANG['signing'] = 'Error al signar: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'Ha fallat el SMTP Connect().';
24 $PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: ';
25 $PHPMAILER_LANG['variable_set'] = 'No s’ha pogut establir o restablir la variable: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Chinese PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author LiuXin <http://www.80x86.cn/blog/>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP 错误:身份验证失败。';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP 错误: 不能连接SMTP主机。';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误: 数据不可接受。';
11 //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12 $PHPMAILER_LANG['encoding'] = '未知编码:';
13 $PHPMAILER_LANG['execute'] = '不能执行: ';
14 $PHPMAILER_LANG['file_access'] = '不能访问文件:';
15 $PHPMAILER_LANG['file_open'] = '文件错误:不能打开文件:';
16 $PHPMAILER_LANG['from_failed'] = '下面的发送地址邮件发送失败了: ';
17 $PHPMAILER_LANG['instantiate'] = '不能实现mail方法。';
18 //$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' 您所选择的发送邮件的方法并不支持。';
20 $PHPMAILER_LANG['provide_address'] = '您必须提供至少一个 收信人的email地址。';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误: 下面的 收件人失败了: ';
22 //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23 //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24 //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25 //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Czech PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 */
6
7 $PHPMAILER_LANG['authenticate'] = 'Chyba SMTP: Autentizace selhala.';
8 $PHPMAILER_LANG['connect_host'] = 'Chyba SMTP: Nelze navázat spojení se SMTP serverem.';
9 $PHPMAILER_LANG['data_not_accepted'] = 'Chyba SMTP: Data nebyla přijata.';
10 $PHPMAILER_LANG['empty_message'] = 'Prázdné tělo zprávy';
11 $PHPMAILER_LANG['encoding'] = 'Neznámé kódování: ';
12 $PHPMAILER_LANG['execute'] = 'Nelze provést: ';
13 $PHPMAILER_LANG['file_access'] = 'Nelze získat přístup k souboru: ';
14 $PHPMAILER_LANG['file_open'] = 'Chyba souboru: Nelze otevřít soubor pro čtení: ';
15 $PHPMAILER_LANG['from_failed'] = 'Následující adresa odesílatele je nesprávná: ';
16 $PHPMAILER_LANG['instantiate'] = 'Nelze vytvořit instanci emailové funkce.';
17 $PHPMAILER_LANG['invalid_address'] = 'Neplatná adresa: ';
18 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer není podporován.';
19 $PHPMAILER_LANG['provide_address'] = 'Musíte zadat alespoň jednu emailovou adresu příjemce.';
20 $PHPMAILER_LANG['recipients_failed'] = 'Chyba SMTP: Následující adresy příjemců nejsou správně: ';
21 $PHPMAILER_LANG['signing'] = 'Chyba přihlašování: ';
22 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() selhal.';
23 $PHPMAILER_LANG['smtp_error'] = 'Chyba SMTP serveru: ';
24 $PHPMAILER_LANG['variable_set'] = 'Nelze nastavit nebo změnit proměnnou: ';
25 $PHPMAILER_LANG['extension_missing'] = 'Chybí rozšíření: ';
1 <?php
2 /**
3 * Danish PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Mikael Stokkebro <info@stokkebro.dk>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge på.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.';
11 //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12 $PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: ';
13 $PHPMAILER_LANG['execute'] = 'Kunne ikke køre: ';
14 $PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: ';
15 $PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: ';
16 $PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: ';
17 $PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.';
18 //$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.';
20 $PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere er forkerte: ';
22 //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23 //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24 //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25 //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * German PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 */
6
7 $PHPMAILER_LANG['authenticate'] = 'SMTP-Fehler: Authentifizierung fehlgeschlagen.';
8 $PHPMAILER_LANG['connect_host'] = 'SMTP-Fehler: Konnte keine Verbindung zum SMTP-Host herstellen.';
9 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP-Fehler: Daten werden nicht akzeptiert.';
10 $PHPMAILER_LANG['empty_message'] = 'E-Mail-Inhalt ist leer.';
11 $PHPMAILER_LANG['encoding'] = 'Unbekannte Kodierung: ';
12 $PHPMAILER_LANG['execute'] = 'Konnte folgenden Befehl nicht ausführen: ';
13 $PHPMAILER_LANG['file_access'] = 'Zugriff auf folgende Datei fehlgeschlagen: ';
14 $PHPMAILER_LANG['file_open'] = 'Dateifehler: Konnte folgende Datei nicht öffnen: ';
15 $PHPMAILER_LANG['from_failed'] = 'Die folgende Absenderadresse ist nicht korrekt: ';
16 $PHPMAILER_LANG['instantiate'] = 'Mail-Funktion konnte nicht initialisiert werden.';
17 $PHPMAILER_LANG['invalid_address'] = 'Die Adresse ist ungültig: ';
18 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer wird nicht unterstützt.';
19 $PHPMAILER_LANG['provide_address'] = 'Bitte geben Sie mindestens eine Empfängeradresse an.';
20 $PHPMAILER_LANG['recipients_failed'] = 'SMTP-Fehler: Die folgenden Empfänger sind nicht korrekt: ';
21 $PHPMAILER_LANG['signing'] = 'Fehler beim Signieren: ';
22 $PHPMAILER_LANG['smtp_connect_failed'] = 'Verbindung zum SMTP-Server fehlgeschlagen.';
23 $PHPMAILER_LANG['smtp_error'] = 'Fehler vom SMTP-Server: ';
24 $PHPMAILER_LANG['variable_set'] = 'Kann Variable nicht setzen oder zurücksetzen: ';
25 $PHPMAILER_LANG['extension_missing'] = 'Fehlende Erweiterung: ';
1 <?php
2 /**
3 * Greek PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 */
6
7 $PHPMAILER_LANG['authenticate'] = 'SMTP Σφάλμα: Αδυναμία πιστοποίησης (authentication).';
8 $PHPMAILER_LANG['connect_host'] = 'SMTP Σφάλμα: Αδυναμία σύνδεσης στον SMTP-Host.';
9 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Σφάλμα: Τα δεδομένα δεν έγιναν αποδεκτά.';
10 $PHPMAILER_LANG['empty_message'] = 'Το E-Mail δεν έχει περιεχόμενο .';
11 $PHPMAILER_LANG['encoding'] = 'Αγνωστο Encoding-Format: ';
12 $PHPMAILER_LANG['execute'] = 'Αδυναμία εκτέλεσης ακόλουθης εντολής: ';
13 $PHPMAILER_LANG['file_access'] = 'Αδυναμία προσπέλασης του αρχείου: ';
14 $PHPMAILER_LANG['file_open'] = 'Σφάλμα Αρχείου: Δεν είναι δυνατό το άνοιγμα του ακόλουθου αρχείου: ';
15 $PHPMAILER_LANG['from_failed'] = 'Η παρακάτω διεύθυνση αποστολέα δεν είναι σωστή: ';
16 $PHPMAILER_LANG['instantiate'] = 'Αδυναμία εκκίνησης Mail function.';
17 $PHPMAILER_LANG['invalid_address'] = 'Το μήνυμα δεν εστάλη, η διεύθυνση δεν είναι έγκυρη: ';
18 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer δεν υποστηρίζεται.';
19 $PHPMAILER_LANG['provide_address'] = 'Παρακαλούμε δώστε τουλάχιστον μια e-mail διεύθυνση παραλήπτη.';
20 $PHPMAILER_LANG['recipients_failed'] = 'SMTP Σφάλμα: Οι παρακάτω διευθύνσεις παραλήπτη δεν είναι έγκυρες: ';
21 $PHPMAILER_LANG['signing'] = 'Σφάλμα υπογραφής: ';
22 $PHPMAILER_LANG['smtp_connect_failed'] = 'Αποτυχία σύνδεσης στον SMTP Server.';
23 $PHPMAILER_LANG['smtp_error'] = 'Σφάλμα από τον SMTP Server: ';
24 $PHPMAILER_LANG['variable_set'] = 'Αδυναμία ορισμού ή αρχικοποίησης μεταβλητής: ';
25 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Esperanto PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 */
6
7 $PHPMAILER_LANG['authenticate'] = 'Eraro de servilo SMTP : aŭtentigo malsukcesis.';
8 $PHPMAILER_LANG['connect_host'] = 'Eraro de servilo SMTP : konektado al servilo malsukcesis.';
9 $PHPMAILER_LANG['data_not_accepted'] = 'Eraro de servilo SMTP : neĝustaj datumoj.';
10 $PHPMAILER_LANG['empty_message'] = 'Teksto de mesaĝo mankas.';
11 $PHPMAILER_LANG['encoding'] = 'Nekonata kodoprezento: ';
12 $PHPMAILER_LANG['execute'] = 'Lanĉi rulumadon ne eblis: ';
13 $PHPMAILER_LANG['file_access'] = 'Aliro al dosiero ne sukcesis: ';
14 $PHPMAILER_LANG['file_open'] = 'Eraro de dosiero: malfermo neeblas: ';
15 $PHPMAILER_LANG['from_failed'] = 'Jena adreso de sendinto malsukcesis: ';
16 $PHPMAILER_LANG['instantiate'] = 'Genero de retmesaĝa funkcio neeblis.';
17 $PHPMAILER_LANG['invalid_address'] = 'Retadreso ne validas: ';
18 $PHPMAILER_LANG['mailer_not_supported'] = ' mesaĝilo ne subtenata.';
19 $PHPMAILER_LANG['provide_address'] = 'Vi devas tajpi almenaŭ unu recevontan retadreson.';
20 $PHPMAILER_LANG['recipients_failed'] = 'Eraro de servilo SMTP : la jenaj poŝtrecivuloj kaŭzis eraron: ';
21 $PHPMAILER_LANG['signing'] = 'Eraro de subskribo: ';
22 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP konektado malsukcesis.';
23 $PHPMAILER_LANG['smtp_error'] = 'Eraro de servilo SMTP : ';
24 $PHPMAILER_LANG['variable_set'] = 'Variablo ne pravalorizeblas aŭ ne repravalorizeblas: ';
25 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Spanish PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Matt Sturdy <matt.sturdy@gmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'Error SMTP: Imposible autentificar.';
9 $PHPMAILER_LANG['connect_host'] = 'Error SMTP: Imposible conectar al servidor SMTP.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Datos no aceptados.';
11 $PHPMAILER_LANG['empty_message'] = 'El cuerpo del mensaje está vacío';
12 $PHPMAILER_LANG['encoding'] = 'Codificación desconocida: ';
13 $PHPMAILER_LANG['execute'] = 'Imposible ejecutar: ';
14 $PHPMAILER_LANG['file_access'] = 'Imposible acceder al archivo: ';
15 $PHPMAILER_LANG['file_open'] = 'Error de Archivo: Imposible abrir el archivo: ';
16 $PHPMAILER_LANG['from_failed'] = 'La(s) siguiente(s) direcciones de remitente fallaron: ';
17 $PHPMAILER_LANG['instantiate'] = 'Imposible crear una instancia de la función Mail.';
18 $PHPMAILER_LANG['invalid_address'] = 'Imposible enviar: dirección de email inválido: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer no está soportado.';
20 $PHPMAILER_LANG['provide_address'] = 'Debe proporcionar al menos una dirección de email de destino.';
21 $PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Los siguientes destinos fallaron: ';
22 $PHPMAILER_LANG['signing'] = 'Error al firmar: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falló.';
24 $PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: ';
25 $PHPMAILER_LANG['variable_set'] = 'No se pudo configurar la variable: ';
26 $PHPMAILER_LANG['extension_missing'] = 'Extensión faltante: ';
1 <?php
2 /**
3 * Estonian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Indrek Päri
6 * @author Elan Ruusamäe <glen@delfi.ee>
7 */
8
9 $PHPMAILER_LANG['authenticate'] = 'SMTP Viga: Autoriseerimise viga.';
10 $PHPMAILER_LANG['connect_host'] = 'SMTP Viga: Ei õnnestunud luua ühendust SMTP serveriga.';
11 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Viga: Vigased andmed.';
12 $PHPMAILER_LANG['empty_message'] = 'Tühi kirja sisu';
13 $PHPMAILER_LANG["encoding"] = 'Tundmatu kodeering: ';
14 $PHPMAILER_LANG['execute'] = 'Tegevus ebaõnnestus: ';
15 $PHPMAILER_LANG['file_access'] = 'Pole piisavalt õiguseid järgneva faili avamiseks: ';
16 $PHPMAILER_LANG['file_open'] = 'Faili Viga: Faili avamine ebaõnnestus: ';
17 $PHPMAILER_LANG['from_failed'] = 'Järgnev saatja e-posti aadress on vigane: ';
18 $PHPMAILER_LANG['instantiate'] = 'mail funktiooni käivitamine ebaõnnestus.';
19 $PHPMAILER_LANG['invalid_address'] = 'Saatmine peatatud, e-posti address vigane: ';
20 $PHPMAILER_LANG['provide_address'] = 'Te peate määrama vähemalt ühe saaja e-posti aadressi.';
21 $PHPMAILER_LANG['mailer_not_supported'] = ' maileri tugi puudub.';
22 $PHPMAILER_LANG['recipients_failed'] = 'SMTP Viga: Järgnevate saajate e-posti aadressid on vigased: ';
23 $PHPMAILER_LANG["signing"] = 'Viga allkirjastamisel: ';
24 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() ebaõnnestus.';
25 $PHPMAILER_LANG['smtp_error'] = 'SMTP serveri viga: ';
26 $PHPMAILER_LANG['variable_set'] = 'Ei õnnestunud määrata või lähtestada muutujat: ';
27 $PHPMAILER_LANG['extension_missing'] = 'Nõutud laiendus on puudu: ';
1 <?php
2 /**
3 * Persian/Farsi PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Ali Jazayeri <jaza.ali@gmail.com>
6 * @author Mohammad Hossein Mojtahedi <mhm5000@gmail.com>
7 */
8
9 $PHPMAILER_LANG['authenticate'] = 'خطای SMTP: احراز هویت با شکست مواجه شد.';
10 $PHPMAILER_LANG['connect_host'] = 'خطای SMTP: اتصال به سرور SMTP برقرار نشد.';
11 $PHPMAILER_LANG['data_not_accepted'] = 'خطای SMTP: داده‌ها نا‌درست هستند.';
12 $PHPMAILER_LANG['empty_message'] = 'بخش متن پیام خالی است.';
13 $PHPMAILER_LANG['encoding'] = 'کد‌گذاری نا‌شناخته: ';
14 $PHPMAILER_LANG['execute'] = 'امکان اجرا وجود ندارد: ';
15 $PHPMAILER_LANG['file_access'] = 'امکان دسترسی به فایل وجود ندارد: ';
16 $PHPMAILER_LANG['file_open'] = 'خطای File: امکان بازکردن فایل وجود ندارد: ';
17 $PHPMAILER_LANG['from_failed'] = 'آدرس فرستنده اشتباه است: ';
18 $PHPMAILER_LANG['instantiate'] = 'امکان معرفی تابع ایمیل وجود ندارد.';
19 $PHPMAILER_LANG['invalid_address'] = 'آدرس ایمیل معتبر نیست: ';
20 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer پشتیبانی نمی‌شود.';
21 $PHPMAILER_LANG['provide_address'] = 'باید حداقل یک آدرس گیرنده وارد کنید.';
22 $PHPMAILER_LANG['recipients_failed'] = 'خطای SMTP: ارسال به آدرس گیرنده با خطا مواجه شد: ';
23 $PHPMAILER_LANG['signing'] = 'خطا در امضا: ';
24 $PHPMAILER_LANG['smtp_connect_failed'] = 'خطا در اتصال به SMTP.';
25 $PHPMAILER_LANG['smtp_error'] = 'خطا در SMTP Server: ';
26 $PHPMAILER_LANG['variable_set'] = 'امکان ارسال یا ارسال مجدد متغیر‌ها وجود ندارد: ';
27 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Finnish PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Jyry Kuukanen
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP-virhe: käyttäjätunnistus epäonnistui.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP-virhe: yhteys palvelimeen ei onnistu.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP-virhe: data on virheellinen.';
11 //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12 $PHPMAILER_LANG['encoding'] = 'Tuntematon koodaustyyppi: ';
13 $PHPMAILER_LANG['execute'] = 'Suoritus epäonnistui: ';
14 $PHPMAILER_LANG['file_access'] = 'Seuraavaan tiedostoon ei ole oikeuksia: ';
15 $PHPMAILER_LANG['file_open'] = 'Tiedostovirhe: Ei voida avata tiedostoa: ';
16 $PHPMAILER_LANG['from_failed'] = 'Seuraava lähettäjän osoite on virheellinen: ';
17 $PHPMAILER_LANG['instantiate'] = 'mail-funktion luonti epäonnistui.';
18 //$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = 'postivälitintyyppiä ei tueta.';
20 $PHPMAILER_LANG['provide_address'] = 'Aseta vähintään yksi vastaanottajan sähk&ouml;postiosoite.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP-virhe: seuraava vastaanottaja osoite on virheellinen.';
22 $PHPMAILER_LANG['encoding'] = 'Tuntematon koodaustyyppi: ';
23 //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
24 //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
25 //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
26 //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
27 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Faroese PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Dávur Sørensen <http://www.profo-webdesign.dk>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP feilur: Kundi ikki góðkenna.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP feilur: Data ikki góðkent.';
11 //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
12 $PHPMAILER_LANG['encoding'] = 'Ókend encoding: ';
13 $PHPMAILER_LANG['execute'] = 'Kundi ikki útføra: ';
14 $PHPMAILER_LANG['file_access'] = 'Kundi ikki tilganga fílu: ';
15 $PHPMAILER_LANG['file_open'] = 'Fílu feilur: Kundi ikki opna fílu: ';
16 $PHPMAILER_LANG['from_failed'] = 'fylgjandi Frá/From adressa miseydnaðist: ';
17 $PHPMAILER_LANG['instantiate'] = 'Kuni ikki instantiera mail funktión.';
18 //$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' er ikki supporterað.';
20 $PHPMAILER_LANG['provide_address'] = 'Tú skal uppgeva minst móttakara-emailadressu(r).';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP Feilur: Fylgjandi móttakarar miseydnaðust: ';
22 //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
23 //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24 //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
25 //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * French PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * Some French punctuation requires a thin non-breaking space (U+202F) character before it,
6 * for example before a colon or exclamation mark.
7 * There is one of these characters between these quotes: " "
8 * @link http://unicode.org/udhr/n/notes_fra.html
9 */
10
11 $PHPMAILER_LANG['authenticate'] = 'Erreur SMTP : échec de l\'authentification.';
12 $PHPMAILER_LANG['connect_host'] = 'Erreur SMTP : impossible de se connecter au serveur SMTP.';
13 $PHPMAILER_LANG['data_not_accepted'] = 'Erreur SMTP : données incorrectes.';
14 $PHPMAILER_LANG['empty_message'] = 'Corps du message vide.';
15 $PHPMAILER_LANG['encoding'] = 'Encodage inconnu : ';
16 $PHPMAILER_LANG['execute'] = 'Impossible de lancer l\'exécution : ';
17 $PHPMAILER_LANG['file_access'] = 'Impossible d\'accéder au fichier : ';
18 $PHPMAILER_LANG['file_open'] = 'Ouverture du fichier impossible : ';
19 $PHPMAILER_LANG['from_failed'] = 'L\'adresse d\'expéditeur suivante a échoué : ';
20 $PHPMAILER_LANG['instantiate'] = 'Impossible d\'instancier la fonction mail.';
21 $PHPMAILER_LANG['invalid_address'] = 'L\'adresse courriel n\'est pas valide : ';
22 $PHPMAILER_LANG['mailer_not_supported'] = ' client de messagerie non supporté.';
23 $PHPMAILER_LANG['provide_address'] = 'Vous devez fournir au moins une adresse de destinataire.';
24 $PHPMAILER_LANG['recipients_failed'] = 'Erreur SMTP : les destinataires suivants sont en erreur : ';
25 $PHPMAILER_LANG['signing'] = 'Erreur de signature : ';
26 $PHPMAILER_LANG['smtp_connect_failed'] = 'Échec de la connexion SMTP.';
27 $PHPMAILER_LANG['smtp_error'] = 'Erreur du serveur SMTP : ';
28 $PHPMAILER_LANG['variable_set'] = 'Impossible d\'initialiser ou de réinitialiser une variable : ';
29 $PHPMAILER_LANG['extension_missing'] = 'Extension manquante : ';
1 <?php
2 /**
3 * Galician PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author by Donato Rouco <donatorouco@gmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'Erro SMTP: Non puido ser autentificado.';
9 $PHPMAILER_LANG['connect_host'] = 'Erro SMTP: Non puido conectar co servidor SMTP.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'Erro SMTP: Datos non aceptados.';
11 $PHPMAILER_LANG['empty_message'] = 'Corpo da mensaxe vacía';
12 $PHPMAILER_LANG['encoding'] = 'Codificación descoñecida: ';
13 $PHPMAILER_LANG['execute'] = 'Non puido ser executado: ';
14 $PHPMAILER_LANG['file_access'] = 'Nob puido acceder ó arquivo: ';
15 $PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: No puido abrir o arquivo: ';
16 $PHPMAILER_LANG['from_failed'] = 'A(s) seguinte(s) dirección(s) de remitente(s) deron erro: ';
17 $PHPMAILER_LANG['instantiate'] = 'Non puido crear unha instancia da función Mail.';
18 $PHPMAILER_LANG['invalid_address'] = 'Non puido envia-lo correo: dirección de email inválida: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer non está soportado.';
20 $PHPMAILER_LANG['provide_address'] = 'Debe engadir polo menos unha dirección de email coma destino.';
21 $PHPMAILER_LANG['recipients_failed'] = 'Erro SMTP: Os seguintes destinos fallaron: ';
22 $PHPMAILER_LANG['signing'] = 'Erro ó firmar: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallou.';
24 $PHPMAILER_LANG['smtp_error'] = 'Erro do servidor SMTP: ';
25 $PHPMAILER_LANG['variable_set'] = 'Non puidemos axustar ou reaxustar a variábel: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Hebrew PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Ronny Sherer <ronny@hoojima.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'שגיאת SMTP: פעולת האימות נכשלה.';
9 $PHPMAILER_LANG['connect_host'] = 'שגיאת SMTP: לא הצלחתי להתחבר לשרת SMTP.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'שגיאת SMTP: מידע לא התקבל.';
11 $PHPMAILER_LANG['empty_message'] = 'גוף ההודעה ריק';
12 $PHPMAILER_LANG['invalid_address'] = 'כתובת שגויה: ';
13 $PHPMAILER_LANG['encoding'] = 'קידוד לא מוכר: ';
14 $PHPMAILER_LANG['execute'] = 'לא הצלחתי להפעיל את: ';
15 $PHPMAILER_LANG['file_access'] = 'לא ניתן לגשת לקובץ: ';
16 $PHPMAILER_LANG['file_open'] = 'שגיאת קובץ: לא ניתן לגשת לקובץ: ';
17 $PHPMAILER_LANG['from_failed'] = 'כתובות הנמענים הבאות נכשלו: ';
18 $PHPMAILER_LANG['instantiate'] = 'לא הצלחתי להפעיל את פונקציית המייל.';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' אינה נתמכת.';
20 $PHPMAILER_LANG['provide_address'] = 'חובה לספק לפחות כתובת אחת של מקבל המייל.';
21 $PHPMAILER_LANG['recipients_failed'] = 'שגיאת SMTP: הנמענים הבאים נכשלו: ';
22 $PHPMAILER_LANG['signing'] = 'שגיאת חתימה: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
24 $PHPMAILER_LANG['smtp_error'] = 'שגיאת שרת SMTP: ';
25 $PHPMAILER_LANG['variable_set'] = 'לא ניתן לקבוע או לשנות את המשתנה: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Croatian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Hrvoj3e <hrvoj3e@gmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela autentikacija.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Ne mogu se spojiti na SMTP poslužitelj.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.';
11 $PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.';
12 $PHPMAILER_LANG['encoding'] = 'Nepoznati encoding: ';
13 $PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: ';
14 $PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: ';
15 $PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: ';
16 $PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje s navedenih e-mail adresa nije uspjelo: ';
17 $PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedenih e-mail adresa nije uspjelo: ';
18 $PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.';
19 $PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: ';
20 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.';
21 $PHPMAILER_LANG['provide_address'] = 'Definirajte barem jednu adresu primatelja.';
22 $PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP poslužitelj nije uspjelo.';
24 $PHPMAILER_LANG['smtp_error'] = 'Greška SMTP poslužitelja: ';
25 $PHPMAILER_LANG['variable_set'] = 'Ne mogu postaviti varijablu niti ju vratiti nazad: ';
26 $PHPMAILER_LANG['extension_missing'] = 'Nedostaje proširenje: ';
1 <?php
2 /**
3 * Hungarian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author @dominicus-75
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP hiba: az azonosítás sikertelen.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP hiba: nem lehet kapcsolódni az SMTP-szerverhez.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP hiba: adatok visszautasítva.';
11 $PHPMAILER_LANG['empty_message'] = 'Üres az üzenettörzs.';
12 $PHPMAILER_LANG['encoding'] = 'Ismeretlen kódolás: ';
13 $PHPMAILER_LANG['execute'] = 'Nem lehet végrehajtani: ';
14 $PHPMAILER_LANG['file_access'] = 'A következő fájl nem elérhető: ';
15 $PHPMAILER_LANG['file_open'] = 'Fájl hiba: a következő fájlt nem lehet megnyitni: ';
16 $PHPMAILER_LANG['from_failed'] = 'A feladóként megadott következő cím hibás: ';
17 $PHPMAILER_LANG['instantiate'] = 'A PHP mail() függvényt nem sikerült végrehajtani.';
18 $PHPMAILER_LANG['invalid_address'] = 'Érvénytelen cím: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' a mailer-osztály nem támogatott.';
20 $PHPMAILER_LANG['provide_address'] = 'Legalább egy címzettet fel kell tüntetni.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP hiba: a címzettként megadott következő címek hibásak: ';
22 $PHPMAILER_LANG['signing'] = 'Hibás aláírás: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'Hiba az SMTP-kapcsolatban.';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP-szerver hiba: ';
25 $PHPMAILER_LANG['variable_set'] = 'A következő változók beállítása nem sikerült: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Indonesian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Cecep Prawiro <cecep.prawiro@gmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'Kesalahan SMTP: Tidak dapat mengautentikasi.';
9 $PHPMAILER_LANG['connect_host'] = 'Kesalahan SMTP: Tidak dapat terhubung ke host SMTP.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'Kesalahan SMTP: Data tidak diterima peladen.';
11 $PHPMAILER_LANG['empty_message'] = 'Isi pesan kosong';
12 $PHPMAILER_LANG['encoding'] = 'Pengkodean karakter tidak dikenali: ';
13 $PHPMAILER_LANG['execute'] = 'Tidak dapat menjalankan proses : ';
14 $PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses berkas : ';
15 $PHPMAILER_LANG['file_open'] = 'Kesalahan File: Berkas tidak bisa dibuka : ';
16 $PHPMAILER_LANG['from_failed'] = 'Alamat pengirim berikut mengakibatkan error : ';
17 $PHPMAILER_LANG['instantiate'] = 'Tidak dapat menginisialisasi fungsi email';
18 $PHPMAILER_LANG['invalid_address'] = 'Gagal terkirim, alamat email tidak valid : ';
19 $PHPMAILER_LANG['provide_address'] = 'Harus disediakan minimal satu alamat tujuan';
20 $PHPMAILER_LANG['mailer_not_supported'] = 'Mailer tidak didukung';
21 $PHPMAILER_LANG['recipients_failed'] = 'Kesalahan SMTP: Alamat tujuan berikut menghasilkan error : ';
22 $PHPMAILER_LANG['signing'] = 'Kesalahan dalam tanda tangan : ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() gagal.';
24 $PHPMAILER_LANG['smtp_error'] = 'Kesalahan peladen SMTP : ';
25 $PHPMAILER_LANG['variable_set'] = 'Tidak berhasil mengatur atau mengatur ulang variable : ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Italian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Ilias Bartolini <brain79@inwind.it>
6 * @author Stefano Sabatini <sabas88@gmail.com>
7 */
8
9 $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.';
10 $PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.';
11 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dati non accettati dal server.';
12 $PHPMAILER_LANG['empty_message'] = 'Il corpo del messaggio è vuoto';
13 $PHPMAILER_LANG['encoding'] = 'Codifica dei caratteri sconosciuta: ';
14 $PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: ';
15 $PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: ';
16 $PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: ';
17 $PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: ';
18 $PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail';
19 $PHPMAILER_LANG['invalid_address'] = 'Impossibile inviare, l\'indirizzo email non è valido: ';
20 $PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente';
21 $PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato';
22 $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato un errore: ';
23 $PHPMAILER_LANG['signing'] = 'Errore nella firma: ';
24 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallita.';
25 $PHPMAILER_LANG['smtp_error'] = 'Errore del server SMTP: ';
26 $PHPMAILER_LANG['variable_set'] = 'Impossibile impostare o resettare la variabile: ';
27 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Japanese PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Mitsuhiro Yoshida <http://mitstek.com/>
6 * @author Yoshi Sakai <http://bluemooninc.jp/>
7 */
8
9 $PHPMAILER_LANG['authenticate'] = 'SMTPエラー: 認証できませんでした。';
10 $PHPMAILER_LANG['connect_host'] = 'SMTPエラー: SMTPホストに接続できませんでした。';
11 $PHPMAILER_LANG['data_not_accepted'] = 'SMTPエラー: データが受け付けられませんでした。';
12 //$PHPMAILER_LANG['empty_message'] = 'Message body empty';
13 $PHPMAILER_LANG['encoding'] = '不明なエンコーディング: ';
14 $PHPMAILER_LANG['execute'] = '実行できませんでした: ';
15 $PHPMAILER_LANG['file_access'] = 'ファイルにアクセスできません: ';
16 $PHPMAILER_LANG['file_open'] = 'ファイルエラー: ファイルを開けません: ';
17 $PHPMAILER_LANG['from_failed'] = 'Fromアドレスを登録する際にエラーが発生しました: ';
18 $PHPMAILER_LANG['instantiate'] = 'メール関数が正常に動作しませんでした。';
19 //$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
20 $PHPMAILER_LANG['provide_address'] = '少なくとも1つメールアドレスを 指定する必要があります。';
21 $PHPMAILER_LANG['mailer_not_supported'] = ' メーラーがサポートされていません。';
22 $PHPMAILER_LANG['recipients_failed'] = 'SMTPエラー: 次の受信者アドレスに 間違いがあります: ';
23 //$PHPMAILER_LANG['signing'] = 'Signing Error: ';
24 //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
25 //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
26 //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
27 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Georgian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP შეცდომა: ავტორიზაცია შეუძლებელია.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP შეცდომა: SMTP სერვერთან დაკავშირება შეუძლებელია.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP შეცდომა: მონაცემები არ იქნა მიღებული.';
11 $PHPMAILER_LANG['encoding'] = 'კოდირების უცნობი ტიპი: ';
12 $PHPMAILER_LANG['execute'] = 'შეუძლებელია შემდეგი ბრძანების შესრულება: ';
13 $PHPMAILER_LANG['file_access'] = 'შეუძლებელია წვდომა ფაილთან: ';
14 $PHPMAILER_LANG['file_open'] = 'ფაილური სისტემის შეცდომა: არ იხსნება ფაილი: ';
15 $PHPMAILER_LANG['from_failed'] = 'გამგზავნის არასწორი მისამართი: ';
16 $PHPMAILER_LANG['instantiate'] = 'mail ფუნქციის გაშვება ვერ ხერხდება.';
17 $PHPMAILER_LANG['provide_address'] = 'გთხოვთ მიუთითოთ ერთი ადრესატის e-mail მისამართი მაინც.';
18 $PHPMAILER_LANG['mailer_not_supported'] = ' - საფოსტო სერვერის მხარდაჭერა არ არის.';
19 $PHPMAILER_LANG['recipients_failed'] = 'SMTP შეცდომა: შემდეგ მისამართებზე გაგზავნა ვერ მოხერხდა: ';
20 $PHPMAILER_LANG['empty_message'] = 'შეტყობინება ცარიელია';
21 $PHPMAILER_LANG['invalid_address'] = 'არ გაიგზავნა, e-mail მისამართის არასწორი ფორმატი: ';
22 $PHPMAILER_LANG['signing'] = 'ხელმოწერის შეცდომა: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'შეცდომა SMTP სერვერთან დაკავშირებისას';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP სერვერის შეცდომა: ';
25 $PHPMAILER_LANG['variable_set'] = 'შეუძლებელია შემდეგი ცვლადის შექმნა ან შეცვლა: ';
26 $PHPMAILER_LANG['extension_missing'] = 'ბიბლიოთეკა არ არსებობს: ';
1 <?php
2 /**
3 * Korean PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author ChalkPE <amato0617@gmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP 오류: 인증할 수 없습니다.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP 오류: SMTP 호스트에 접속할 수 없습니다.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 오류: 데이터가 받아들여지지 않았습니다.';
11 $PHPMAILER_LANG['empty_message'] = '메세지 내용이 없습니다';
12 $PHPMAILER_LANG['encoding'] = '알 수 없는 인코딩: ';
13 $PHPMAILER_LANG['execute'] = '실행 불가: ';
14 $PHPMAILER_LANG['file_access'] = '파일 접근 불가: ';
15 $PHPMAILER_LANG['file_open'] = '파일 오류: 파일을 열 수 없습니다: ';
16 $PHPMAILER_LANG['from_failed'] = '다음 From 주소에서 오류가 발생했습니다: ';
17 $PHPMAILER_LANG['instantiate'] = 'mail 함수를 인스턴스화할 수 없습니다';
18 $PHPMAILER_LANG['invalid_address'] = '잘못된 주소: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' 메일러는 지원되지 않습니다.';
20 $PHPMAILER_LANG['provide_address'] = '적어도 한 개 이상의 수신자 메일 주소를 제공해야 합니다.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP 오류: 다음 수신자에서 오류가 발생했습니다: ';
22 $PHPMAILER_LANG['signing'] = '서명 오류: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP 연결을 실패하였습니다.';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP 서버 오류: ';
25 $PHPMAILER_LANG['variable_set'] = '변수 설정 및 초기화 불가: ';
26 $PHPMAILER_LANG['extension_missing'] = '확장자 없음: ';
1 <?php
2 /**
3 * Lithuanian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Dainius Kaupaitis <dk@sum.lt>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP klaida: autentifikacija nepavyko.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP klaida: nepavyksta prisijungti prie SMTP stoties.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP klaida: duomenys nepriimti.';
11 $PHPMAILER_LANG['empty_message'] = 'Laiško turinys tuščias';
12 $PHPMAILER_LANG['encoding'] = 'Neatpažinta koduotė: ';
13 $PHPMAILER_LANG['execute'] = 'Nepavyko įvykdyti komandos: ';
14 $PHPMAILER_LANG['file_access'] = 'Byla nepasiekiama: ';
15 $PHPMAILER_LANG['file_open'] = 'Bylos klaida: Nepavyksta atidaryti: ';
16 $PHPMAILER_LANG['from_failed'] = 'Neteisingas siuntėjo adresas: ';
17 $PHPMAILER_LANG['instantiate'] = 'Nepavyko paleisti mail funkcijos.';
18 $PHPMAILER_LANG['invalid_address'] = 'Neteisingas adresas: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' pašto stotis nepalaikoma.';
20 $PHPMAILER_LANG['provide_address'] = 'Nurodykite bent vieną gavėjo adresą.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP klaida: nepavyko išsiųsti šiems gavėjams: ';
22 $PHPMAILER_LANG['signing'] = 'Prisijungimo klaida: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP susijungimo klaida';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP stoties klaida: ';
25 $PHPMAILER_LANG['variable_set'] = 'Nepavyko priskirti reikšmės kintamajam: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Latvian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Eduards M. <e@npd.lv>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP kļūda: Autorizācija neizdevās.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP Kļūda: Nevar izveidot savienojumu ar SMTP serveri.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Kļūda: Nepieņem informāciju.';
11 $PHPMAILER_LANG['empty_message'] = 'Ziņojuma teksts ir tukšs';
12 $PHPMAILER_LANG['encoding'] = 'Neatpazīts kodējums: ';
13 $PHPMAILER_LANG['execute'] = 'Neizdevās izpildīt komandu: ';
14 $PHPMAILER_LANG['file_access'] = 'Fails nav pieejams: ';
15 $PHPMAILER_LANG['file_open'] = 'Faila kļūda: Nevar atvērt failu: ';
16 $PHPMAILER_LANG['from_failed'] = 'Nepareiza sūtītāja adrese: ';
17 $PHPMAILER_LANG['instantiate'] = 'Nevar palaist sūtīšanas funkciju.';
18 $PHPMAILER_LANG['invalid_address'] = 'Nepareiza adrese: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' sūtītājs netiek atbalstīts.';
20 $PHPMAILER_LANG['provide_address'] = 'Lūdzu, norādiet vismaz vienu adresātu.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP kļūda: neizdevās nosūtīt šādiem saņēmējiem: ';
22 $PHPMAILER_LANG['signing'] = 'Autorizācijas kļūda: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP savienojuma kļūda';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP servera kļūda: ';
25 $PHPMAILER_LANG['variable_set'] = 'Nevar piešķirt mainīgā vērtību: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Malaysian PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Nawawi Jamili <nawawi@rutweb.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'Ralat SMTP: Tidak dapat pengesahan.';
9 $PHPMAILER_LANG['connect_host'] = 'Ralat SMTP: Tidak dapat menghubungi hos pelayan SMTP.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'Ralat SMTP: Data tidak diterima oleh pelayan.';
11 $PHPMAILER_LANG['empty_message'] = 'Tiada isi untuk mesej';
12 $PHPMAILER_LANG['encoding'] = 'Pengekodan tidak diketahui: ';
13 $PHPMAILER_LANG['execute'] = 'Tidak dapat melaksanakan: ';
14 $PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses fail: ';
15 $PHPMAILER_LANG['file_open'] = 'Ralat Fail: Tidak dapat membuka fail: ';
16 $PHPMAILER_LANG['from_failed'] = 'Berikut merupakan ralat dari alamat e-mel: ';
17 $PHPMAILER_LANG['instantiate'] = 'Tidak dapat memberi contoh fungsi e-mel.';
18 $PHPMAILER_LANG['invalid_address'] = 'Alamat emel tidak sah: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' jenis penghantar emel tidak disokong.';
20 $PHPMAILER_LANG['provide_address'] = 'Anda perlu menyediakan sekurang-kurangnya satu alamat e-mel penerima.';
21 $PHPMAILER_LANG['recipients_failed'] = 'Ralat SMTP: Penerima e-mel berikut telah gagal: ';
22 $PHPMAILER_LANG['signing'] = 'Ralat pada tanda tangan: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() telah gagal.';
24 $PHPMAILER_LANG['smtp_error'] = 'Ralat pada pelayan SMTP: ';
25 $PHPMAILER_LANG['variable_set'] = 'Tidak boleh menetapkan atau menetapkan semula pembolehubah: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Norwegian Bokmål PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 */
6
7 $PHPMAILER_LANG['authenticate'] = 'SMTP Feil: Kunne ikke autentisere.';
8 $PHPMAILER_LANG['connect_host'] = 'SMTP Feil: Kunne ikke koble til SMTP tjener.';
9 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Feil: Datainnhold ikke akseptert.';
10 $PHPMAILER_LANG['empty_message'] = 'Melding kropp tomt';
11 $PHPMAILER_LANG['encoding'] = 'Ukjent koding: ';
12 $PHPMAILER_LANG['execute'] = 'Kunne ikke utføre: ';
13 $PHPMAILER_LANG['file_access'] = 'Får ikke tilgang til filen: ';
14 $PHPMAILER_LANG['file_open'] = 'Fil Feil: Kunne ikke åpne filen: ';
15 $PHPMAILER_LANG['from_failed'] = 'Følgende Frå adresse feilet: ';
16 $PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere post funksjon.';
17 $PHPMAILER_LANG['invalid_address'] = 'Ugyldig adresse: ';
18 $PHPMAILER_LANG['mailer_not_supported'] = ' sender er ikke støttet.';
19 $PHPMAILER_LANG['provide_address'] = 'Du må opppgi minst en mottakeradresse.';
20 $PHPMAILER_LANG['recipients_failed'] = 'SMTP Feil: Følgende mottakeradresse feilet: ';
21 $PHPMAILER_LANG['signing'] = 'Signering Feil: ';
22 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP connect() feilet.';
23 $PHPMAILER_LANG['smtp_error'] = 'SMTP server feil: ';
24 $PHPMAILER_LANG['variable_set'] = 'Kan ikke skrive eller omskrive variabel: ';
25 $PHPMAILER_LANG['extension_missing'] = 'Utvidelse mangler: ';
1 <?php
2 /**
3 * Dutch PHPMailer language file: refer to class.phpmailer.php for definitive list.
4 * @package PHPMailer
5 * @author Tuxion <team@tuxion.nl>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'SMTP-fout: authenticatie mislukt.';
9 $PHPMAILER_LANG['connect_host'] = 'SMTP-fout: kon niet verbinden met SMTP-host.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'SMTP-fout: data niet geaccepteerd.';
11 $PHPMAILER_LANG['empty_message'] = 'Berichttekst is leeg';
12 $PHPMAILER_LANG['encoding'] = 'Onbekende codering: ';
13 $PHPMAILER_LANG['execute'] = 'Kon niet uitvoeren: ';
14 $PHPMAILER_LANG['file_access'] = 'Kreeg geen toegang tot bestand: ';
15 $PHPMAILER_LANG['file_open'] = 'Bestandsfout: kon bestand niet openen: ';
16 $PHPMAILER_LANG['from_failed'] = 'Het volgende afzendersadres is mislukt: ';
17 $PHPMAILER_LANG['instantiate'] = 'Kon mailfunctie niet initialiseren.';
18 $PHPMAILER_LANG['invalid_address'] = 'Ongeldig adres: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer wordt niet ondersteund.';
20 $PHPMAILER_LANG['provide_address'] = 'Er moet minstens één ontvanger worden opgegeven.';
21 $PHPMAILER_LANG['recipients_failed'] = 'SMTP-fout: de volgende ontvangers zijn mislukt: ';
22 $PHPMAILER_LANG['signing'] = 'Signeerfout: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Verbinding mislukt.';
24 $PHPMAILER_LANG['smtp_error'] = 'SMTP-serverfout: ';
25 $PHPMAILER_LANG['variable_set'] = 'Kan de volgende variabele niet instellen of resetten: ';
26 //$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
1 <?php
2 /**
3 * Polish PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 */
6
7 $PHPMAILER_LANG['authenticate'] = 'Błąd SMTP: Nie można przeprowadzić uwierzytelnienia.';
8 $PHPMAILER_LANG['connect_host'] = 'Błąd SMTP: Nie można połączyć się z wybranym hostem.';
9 $PHPMAILER_LANG['data_not_accepted'] = 'Błąd SMTP: Dane nie zostały przyjęte.';
10 $PHPMAILER_LANG['empty_message'] = 'Wiadomość jest pusta.';
11 $PHPMAILER_LANG['encoding'] = 'Nieznany sposób kodowania znaków: ';
12 $PHPMAILER_LANG['execute'] = 'Nie można uruchomić: ';
13 $PHPMAILER_LANG['file_access'] = 'Brak dostępu do pliku: ';
14 $PHPMAILER_LANG['file_open'] = 'Nie można otworzyć pliku: ';
15 $PHPMAILER_LANG['from_failed'] = 'Następujący adres Nadawcy jest nieprawidłowy: ';
16 $PHPMAILER_LANG['instantiate'] = 'Nie można wywołać funkcji mail(). Sprawdź konfigurację serwera.';
17 $PHPMAILER_LANG['invalid_address'] = 'Nie można wysłać wiadomości, '.
18 'następujący adres Odbiorcy jest nieprawidłowy: ';
19 $PHPMAILER_LANG['provide_address'] = 'Należy podać prawidłowy adres email Odbiorcy.';
20 $PHPMAILER_LANG['mailer_not_supported'] = 'Wybrana metoda wysyłki wiadomości nie jest obsługiwana.';
21 $PHPMAILER_LANG['recipients_failed'] = 'Błąd SMTP: Następujący odbiorcy są nieprawidłowi: ';
22 $PHPMAILER_LANG['signing'] = 'Błąd podpisywania wiadomości: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() zakończone niepowodzeniem.';
24 $PHPMAILER_LANG['smtp_error'] = 'Błąd SMTP: ';
25 $PHPMAILER_LANG['variable_set'] = 'Nie można ustawić lub zmodyfikować zmiennej: ';
26 $PHPMAILER_LANG['extension_missing'] = 'Brakujące rozszerzenie: ';
1 <?php
2 /**
3 * Portuguese (European) PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Jonadabe <jonadabe@hotmail.com>
6 */
7
8 $PHPMAILER_LANG['authenticate'] = 'Erro do SMTP: Não foi possível realizar a autenticação.';
9 $PHPMAILER_LANG['connect_host'] = 'Erro do SMTP: Não foi possível realizar ligação com o servidor SMTP.';
10 $PHPMAILER_LANG['data_not_accepted'] = 'Erro do SMTP: Os dados foram rejeitados.';
11 $PHPMAILER_LANG['empty_message'] = 'A mensagem no e-mail está vazia.';
12 $PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: ';
13 $PHPMAILER_LANG['execute'] = 'Não foi possível executar: ';
14 $PHPMAILER_LANG['file_access'] = 'Não foi possível aceder o ficheiro: ';
15 $PHPMAILER_LANG['file_open'] = 'Abertura do ficheiro: Não foi possível abrir o ficheiro: ';
16 $PHPMAILER_LANG['from_failed'] = 'Ocorreram falhas nos endereços dos seguintes remententes: ';
17 $PHPMAILER_LANG['instantiate'] = 'Não foi possível iniciar uma instância da função mail.';
18 $PHPMAILER_LANG['invalid_address'] = 'Não foi enviado nenhum e-mail para o endereço de e-mail inválido: ';
19 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.';
20 $PHPMAILER_LANG['provide_address'] = 'Tem de fornecer pelo menos um endereço como destinatário do e-mail.';
21 $PHPMAILER_LANG['recipients_failed'] = 'Erro do SMTP: O endereço do seguinte destinatário falhou: ';
22 $PHPMAILER_LANG['signing'] = 'Erro ao assinar: ';
23 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.';
24 $PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: ';
25 $PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: ';
26 $PHPMAILER_LANG['extension_missing'] = 'Extensão em falta: ';
1 <?php
2 /**
3 * Brazilian Portuguese PHPMailer language file: refer to English translation for definitive list
4 * @package PHPMailer
5 * @author Paulo Henrique Garcia <paulo@controllerweb.com.br>
6 * @author Lucas Guimarães <lucas@lucasguimaraes.com>
7 * @author Phelipe Alves <phelipealvesdesouza@gmail.com>
8 * @author Fabio Beneditto <fabiobeneditto@gmail.com>
9 */
10
11 $PHPMAILER_LANG['authenticate'] = 'Erro de SMTP: Não foi possível autenticar.';
12 $PHPMAILER_LANG['connect_host'] = 'Erro de SMTP: Não foi possível conectar ao servidor SMTP.';
13 $PHPMAILER_LANG['data_not_accepted'] = 'Erro de SMTP: Dados rejeitados.';
14 $PHPMAILER_LANG['empty_message'] = 'Mensagem vazia';
15 $PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: ';
16 $PHPMAILER_LANG['execute'] = 'Não foi possível executar: ';
17 $PHPMAILER_LANG['file_access'] = 'Não foi possível acessar o arquivo: ';
18 $PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: Não foi possível abrir o arquivo: ';
19 $PHPMAILER_LANG['from_failed'] = 'Os seguintes remetentes falharam: ';
20 $PHPMAILER_LANG['instantiate'] = 'Não foi possível instanciar a função mail.';
21 $PHPMAILER_LANG['invalid_address'] = 'Endereço de e-mail inválido: ';
22 $PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.';
23 $PHPMAILER_LANG['provide_address'] = 'Você deve informar pelo menos um destinatário.';
24 $PHPMAILER_LANG['recipients_failed'] = 'Erro de SMTP: Os seguintes destinatários falharam: ';
25 $PHPMAILER_LANG['signing'] = 'Erro de Assinatura: ';
26 $PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.';
27 $PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: ';
28 $PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: ';
29 $PHPMAILER_LANG['extension_missing'] = 'Extensão ausente: ';
No preview for this file type

2.77 KB

This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
No preview for this file type
This diff could not be displayed because it is too large.