Changeset 18658
- Timestamp:
- 09/13/07 07:43:51 (10 months ago)
- Files:
-
- wp-email/trunk/email/class-phpmailer.php (deleted)
- wp-email/trunk/email/class-smtp.php (deleted)
- wp-email/trunk/email/email-options.php (modified) (1 diff)
- wp-email/trunk/email/email.php (modified) (3 diffs)
- wp-email/trunk/email/wp-email.mo (modified) (previous)
- wp-email/trunk/email/wp-email.pot (modified) (8 diffs)
- wp-email/trunk/readme.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-email/trunk/email/email-options.php
r15943 r18658 285 285 <td align="left"> 286 286 <select name="email_mailer" size="1"> 287 <option value=" php"<?php selected('php', get_option('email_mailer')); ?>><?php _e('PHP', 'wp-email'); ?></option>287 <option value="mail"<?php selected('mail', get_option('email_mailer')); ?>><?php _e('PHP', 'wp-email'); ?></option> 288 288 <option value="sendmail"<?php selected('sendmail', get_option('email_mailer')); ?>><?php _e('SendMail', 'wp-email'); ?></option> 289 289 <option value="smtp"<?php selected('smtp', get_option('email_mailer')); ?>><?php _e('SMTP', 'wp-email'); ?></option> wp-email/trunk/email/email.php
r17967 r18658 851 851 $template_email_bodyalt = str_replace("%EMAIL_PERMALINK%", get_permalink(), $template_email_bodyalt); 852 852 // PHP Mailer Variables 853 require(ABSPATH.'wp-content/plugins/email/class-phpmailer.php'); 853 if (!class_exists("phpmailer")) { 854 require_once(ABSPATH.'wp-includes/class-phpmailer.php'); 855 } 854 856 $mail = new PHPMailer(); 855 857 $mail->From = $youremail; … … 862 864 $mail->Host = $email_smtp['server']; 863 865 $mail->Mailer = get_option('email_mailer'); 866 if($mail->IsSMTP()) { 867 $mail->SMTPAuth = true; 868 } 864 869 $mail->ContentType = get_option('email_contenttype'); 865 870 $mail->Subject = $template_email_subject; … … 1201 1206 add_option('email_template_title', __('E-Mail \'%EMAIL_POST_TITLE%\' To A Friend', 'wp-email'), 'Template For E-Mail Page Title'); 1202 1207 add_option('email_template_subtitle', '<p style="text-align: center;">'.__('Email a copy of <strong>\'%EMAIL_POST_TITLE%\'</strong> to a friend', 'wp-email').'</p>', 'Template For E-Mail Page SubTitle'); 1208 // Version 2.20 Upgrade 1209 $email_mailer = get_option('email_mailer'); 1210 if($email_mailer == 'php') { 1211 update_option('email_mailer', 'mail'); 1212 } 1203 1213 // Set 'manage_email' Capabilities To Administrator 1204 1214 $role = get_role('administrator'); wp-email/trunk/email/wp-email.pot
r17967 r18658 3 3 "Project-Id-Version: WP-EMail 2.20\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-09- 06 22:49+0800\n"5 "PO-Revision-Date: 2007-09-13 15:42+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Lester Chan <gamerz84@hotmail.com>\n" … … 160 160 #: email.php:450 161 161 #: email.php:587 162 #: email.php:87 4163 #: email.php:91 1164 #: email.php:112 3162 #: email.php:879 163 #: email.php:916 164 #: email.php:1128 165 165 msgid "Success" 166 166 msgstr "" … … 168 168 #: email-manager.php:127 169 169 #: email.php:601 170 #: email.php:8 86171 #: email.php:112 4170 #: email.php:891 171 #: email.php:1129 172 172 msgid "Failed" 173 173 msgstr "" … … 372 372 373 373 #: email-options.php:122 374 #: email.php:120 1374 #: email.php:1206 375 375 msgid "E-Mail '%EMAIL_POST_TITLE%' To A Friend" 376 376 msgstr "" 377 377 378 378 #: email-options.php:125 379 #: email.php:120 2379 #: email.php:1207 380 380 msgid "Email a copy of <strong>'%EMAIL_POST_TITLE%'</strong> to a friend" 381 381 msgstr "" 382 382 383 383 #: email-options.php:128 384 #: email.php:11 76384 #: email.php:1181 385 385 msgid "Recommended Article By %EMAIL_YOUR_NAME%: %EMAIL_POST_TITLE%" 386 386 msgstr "" … … 410 410 411 411 #: email-options.php:137 412 #: email.php:11 87412 #: email.php:1192 413 413 msgid "Back to %EMAIL_POST_TITLE%" 414 414 msgstr "" 415 415 416 416 #: email-options.php:140 417 #: email.php:11 88417 #: email.php:1193 418 418 msgid "An error has occurred when trying to send this email: " 419 419 msgstr "" 420 420 421 421 #: email-options.php:143 422 #: email.php:11 89422 #: email.php:1194 423 423 msgid "An error has occurred: " 424 424 msgstr "" … … 907 907 #: email.php:638 908 908 #: email.php:808 909 #: email.php:8 85909 #: email.php:890 910 910 msgid "N/A" 911 911 msgstr "" … … 976 976 msgstr "" 977 977 978 #: email.php:9 78978 #: email.php:983 979 979 msgid "* Required Field" 980 980 msgstr "" 981 981 982 #: email.php:98 1982 #: email.php:986 983 983 msgid "Your Name: *" 984 984 msgstr "" 985 985 986 #: email.php:9 87986 #: email.php:992 987 987 msgid "Your E-Mail: *" 988 988 msgstr "" 989 989 990 #: email.php:99 3990 #: email.php:998 991 991 msgid "Your Remark:" 992 992 msgstr "" 993 993 994 #: email.php: 999994 #: email.php:1004 995 995 msgid "Friend's Name: *" 996 996 msgstr "" 997 997 998 #: email.php:100 4998 #: email.php:1009 999 999 msgid "Friend's E-Mail: *" 1000 1000 msgstr "" 1001 1001 1002 #: email.php:10 091002 #: email.php:1014 1003 1003 msgid "Image Verification: *" 1004 1004 msgstr "" 1005 1005 1006 #: email.php:101 01006 #: email.php:1015 1007 1007 msgid "E-Mail Image Verification" 1008 1008 msgstr "" 1009 1009 1010 #: email.php:101 31010 #: email.php:1018 1011 1011 msgid " Mail It! " 1012 1012 msgstr "" 1013 1013 1014 #: email.php:10 191014 #: email.php:1024 1015 1015 #, php-format 1016 1016 msgid "Please wait for <strong>%s Minutes</strong> before sending the next article." 1017 1017 msgstr "" 1018 1018 1019 #: email.php:102 11019 #: email.php:1026 1020 1020 msgid "Loading" 1021 1021 msgstr "" 1022 1022 1023 #: email.php:10 851024 #: email.php:10 871025 #: email.php:112 01023 #: email.php:1090 1024 #: email.php:1092 1025 #: email.php:1125 1026 1026 msgid "WP-EMail" 1027 1027 msgstr "" 1028 1028 1029 #: email.php:1 0981030 #: email.php:110 01029 #: email.php:1103 1030 #: email.php:1105 1031 1031 msgid "Most Emailed Posts" 1032 1032 msgstr "" 1033 1033 1034 #: email.php:112 21034 #: email.php:1127 1035 1035 msgid "emails were sent." 1036 1036 msgstr "" 1037 1037 1038 #: email.php:112 31038 #: email.php:1128 1039 1039 msgid "emails were sent successfully." 1040 1040 msgstr "" 1041 1041 1042 #: email.php:112 41042 #: email.php:1129 1043 1043 msgid "emails failed to send." 1044 1044 msgstr "" 1045 1045 1046 #: email.php:11 361046 #: email.php:1141 1047 1047 msgid "Most Emailed Post" 1048 1048 msgstr "" 1049 1049 1050 #: email.php:11 771050 #: email.php:1182 1051 1051 msgid "<p>Hi <strong>%EMAIL_FRIEND_NAME%</strong>,<br />Your friend, <strong>%EMAIL_YOUR_NAME%</strong>, has recommended this article entitled '<strong>%EMAIL_POST_TITLE%</strong>' to you.</p><p><strong>Here is his/her remark:</strong><br />%EMAIL_YOUR_REMARKS%</p><p><strong>%EMAIL_POST_TITLE%</strong><br />Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%</p>%EMAIL_POST_CONTENT%<p>Article taken from %EMAIL_BLOG_NAME% - <a href=\"%EMAIL_BLOG_URL%\">%EMAIL_BLOG_URL%</a><br />URL to article: <a href=\"%EMAIL_PERMALINK%\">%EMAIL_PERMALINK%</a></p>" 1052 1052 msgstr "" 1053 1053 1054 #: email.php:11 781054 #: email.php:1183 1055 1055 msgid "Hi %EMAIL_FRIEND_NAME%," 1056 1056 msgstr "" 1057 1057 1058 #: email.php:11781059 #: email.php:11801060 #: email.php:11821061 1058 #: email.php:1183 1059 #: email.php:1185 1060 #: email.php:1187 1061 #: email.php:1188 1062 #: email.php:1189 1063 #: email.php:1190 1064 msgid "\n" 1065 msgstr "" 1066 1062 1067 #: email.php:1184 1063 #: email.php:11851064 msgid "\n"1065 msgstr ""1066 1067 #: email.php:11791068 1068 msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you." 1069 1069 msgstr "" 1070 1070 1071 #: email.php:11 791072 #: email.php:118 11071 #: email.php:1184 1072 #: email.php:1186 1073 1073 msgid "" 1074 1074 "\n" … … 1076 1076 msgstr "" 1077 1077 1078 #: email.php:118 01078 #: email.php:1185 1079 1079 msgid "Here is his/her remarks:" 1080 1080 msgstr "" 1081 1081 1082 #: email.php:118 11082 #: email.php:1186 1083 1083 msgid "%EMAIL_YOUR_REMARKS%" 1084 1084 msgstr "" 1085 1085 1086 #: email.php:118 21086 #: email.php:1187 1087 1087 msgid "%EMAIL_POST_TITLE%" 1088 1088 msgstr "" 1089 1089 1090 #: email.php:118 31090 #: email.php:1188 1091 1091 msgid "Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%" 1092 1092 msgstr "" 1093 1093 1094 #: email.php:118 41094 #: email.php:1189 1095 1095 msgid "%EMAIL_POST_CONTENT%" 1096 1096 msgstr "" 1097 1097 1098 #: email.php:11 851098 #: email.php:1190 1099 1099 msgid "Article taken from %EMAIL_BLOG_NAME% - %EMAIL_BLOG_URL%" 1100 1100 msgstr "" 1101 1101 1102 #: email.php:11 861102 #: email.php:1191 1103 1103 msgid "URL to article: %EMAIL_PERMALINK%" 1104 1104 msgstr "" 1105 1105 1106 #: email.php:11 871106 #: email.php:1192 1107 1107 msgid "Article: <strong>%EMAIL_POST_TITLE%</strong> has been sent to <strong>%EMAIL_FRIEND_NAME% (%EMAIL_FRIEND_EMAIL%)</strong></p><p>« <a href=\"%EMAIL_PERMALINK%\">" 1108 1108 msgstr "" 1109 1109 1110 #: email.php:11 871110 #: email.php:1192 1111 1111 msgid "</a></p>" 1112 1112 msgstr "" 1113 1113 1114 #: email.php:1 1961114 #: email.php:1201 1115 1115 msgid "Email This Post" 1116 1116 msgstr "" 1117 1117 1118 #: email.php:1 1961118 #: email.php:1201 1119 1119 msgid "Email This Page" 1120 1120 msgstr "" wp-email/trunk/readme.html
r17536 r18658 297 297 <ul> 298 298 <li>NEW: Works For WordPress 2.3 Only</li> 299 <li>NEW: Removed PHPMailer Files From The Zip As It Is Included In WordPress</li> 299 300 <li>NEW: Ability To Embed [email_link] Into Excerpt</li> 300 301 <li>NEW: AJAX Used To Email The Post/Page</li>
