Changeset 17536
- Timestamp:
- 08/28/07 17:14:48 (10 months ago)
- Files:
-
- wp-email/trunk/email/email.php (modified) (4 diffs)
- wp-email/trunk/email/wp-email.mo (modified) (previous)
- wp-email/trunk/email/wp-email.pot (modified) (5 diffs)
- wp-email/trunk/readme.html (modified) (2 diffs)
- wp-email/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-email/trunk/email/email.php
r17366 r17536 1038 1038 function email_orderby($content) { 1039 1039 $orderby = trim(addslashes($_GET['orderby'])); 1040 if(empty($orderby) && ($orderby != 'asc' ||$orderby != 'desc')) {1040 if(empty($orderby) || ($orderby != 'asc' && $orderby != 'desc')) { 1041 1041 $orderby = 'desc'; 1042 1042 } … … 1070 1070 $stats_display = get_option('stats_display'); 1071 1071 if($stats_display['email'] == 1) { 1072 $content .= '<input type="checkbox" name="stats_display[]" value="email" checked="checked" /> '.__('WP-EMail', 'wp-email').'<br />'."\n";1073 } else { 1074 $content .= '<input type="checkbox" name="stats_display[]" value="email" /> '.__('WP-EMail', 'wp-email').'<br />'."\n";1072 $content .= '<input type="checkbox" name="stats_display[]" id="wpstats_email" value="email" checked="checked" /> <label for="wpstats_email">'.__('WP-EMail', 'wp-email').'</label><br />'."\n"; 1073 } else { 1074 $content .= '<input type="checkbox" name="stats_display[]" id="wpstats_email" value="email" /> <label for="wpstats_email">'.__('WP-EMail', 'wp-email').'</label><br />'."\n"; 1075 1075 } 1076 1076 return $content; … … 1083 1083 $stats_mostlimit = intval(get_option('stats_mostlimit')); 1084 1084 if($stats_display['emailed_most'] == 1) { 1085 $content .= '<input type="checkbox" name="stats_display[]" value="emailed_most" checked="checked" /> '.$stats_mostlimit.' '.__('Most Emailed Posts', 'wp-email').'<br />'."\n";1086 } else { 1087 $content .= '<input type="checkbox" name="stats_display[]" value="emailed_most" /> '.$stats_mostlimit.' '.__('Most Emailed Posts', 'wp-email').'<br />'."\n";1085 $content .= '<input type="checkbox" name="stats_display[]" id="wpstats_emailed_most" value="emailed_most" checked="checked" /> <label for="wpstats_emailed_most">'.$stats_mostlimit.' '.__('Most Emailed Posts', 'wp-email').'</label><br />'."\n"; 1086 } else { 1087 $content .= '<input type="checkbox" name="stats_display[]" id="wpstats_emailed_most" value="emailed_most" /> <label for="wpstats_emailed_most">'.$stats_mostlimit.' '.__('Most Emailed Posts', 'wp-email').'</label><br />'."\n"; 1088 1088 } 1089 1089 return $content; … … 1134 1134 function create_email_table() { 1135 1135 global $wpdb; 1136 include_once(ABSPATH.'wp-admin/upgrade-functions.php'); 1136 if(@is_file(ABSPATH.'/wp-admin/upgrade-functions.php')) { 1137 include_once(ABSPATH.'/wp-admin/upgrade-functions.php'); 1138 } elseif(@is_file(ABSPATH.'/wp-admin/includes/upgrade.php')) { 1139 include_once(ABSPATH.'/wp-admin/includes/upgrade.php'); 1140 } else { 1141 die('We have problem finding your \'/wp-admin/upgrade-functions.php\' and \'/wp-admin/includes/upgrade.php\''); 1142 } 1137 1143 // Create E-Mail Table 1138 1144 $create_table = "CREATE TABLE $wpdb->email (". wp-email/trunk/email/wp-email.pot
r17366 r17536 3 3 "Project-Id-Version: WP-EMail 2.20\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-08-2 5 00:07+0800\n"5 "PO-Revision-Date: 2007-08-29 00:47+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Lester Chan <gamerz84@hotmail.com>\n" … … 372 372 373 373 #: email-options.php:122 374 #: email.php:118 2374 #: email.php:1188 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:118 3379 #: email.php:1189 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 57384 #: email.php:1163 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 68412 #: email.php:1174 413 413 msgid "Back to %EMAIL_POST_TITLE%" 414 414 msgstr "" 415 415 416 416 #: email-options.php:140 417 #: email.php:11 69417 #: email.php:1175 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:117 0422 #: email.php:1176 423 423 msgid "An error has occurred: " 424 424 msgstr "" … … 1038 1038 msgstr "" 1039 1039 1040 #: email.php:11 581040 #: email.php:1164 1041 1041 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>" 1042 1042 msgstr "" 1043 1043 1044 #: email.php:11 591044 #: email.php:1165 1045 1045 msgid "Hi %EMAIL_FRIEND_NAME%," 1046 1046 msgstr "" 1047 1047 1048 #: email.php:11591049 #: email.php:11611050 #: email.php:11631051 #: email.php:11641052 1048 #: email.php:1165 1049 #: email.php:1167 1050 #: email.php:1169 1051 #: email.php:1170 1052 #: email.php:1171 1053 #: email.php:1172 1054 msgid "\n" 1055 msgstr "" 1056 1053 1057 #: email.php:1166 1054 msgid "\n"1055 msgstr ""1056 1057 #: email.php:11601058 1058 msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you." 1059 1059 msgstr "" 1060 1060 1061 #: email.php:116 01062 #: email.php:116 21061 #: email.php:1166 1062 #: email.php:1168 1063 1063 msgid "" 1064 1064 "\n" … … 1066 1066 msgstr "" 1067 1067 1068 #: email.php:116 11068 #: email.php:1167 1069 1069 msgid "Here is his/her remarks:" 1070 1070 msgstr "" 1071 1071 1072 #: email.php:116 21072 #: email.php:1168 1073 1073 msgid "%EMAIL_YOUR_REMARKS%" 1074 1074 msgstr "" 1075 1075 1076 #: email.php:116 31076 #: email.php:1169 1077 1077 msgid "%EMAIL_POST_TITLE%" 1078 1078 msgstr "" 1079 1079 1080 #: email.php:11 641080 #: email.php:1170 1081 1081 msgid "Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%" 1082 1082 msgstr "" 1083 1083 1084 #: email.php:11 651084 #: email.php:1171 1085 1085 msgid "%EMAIL_POST_CONTENT%" 1086 1086 msgstr "" 1087 1087 1088 #: email.php:11 661088 #: email.php:1172 1089 1089 msgid "Article taken from %EMAIL_BLOG_NAME% - %EMAIL_BLOG_URL%" 1090 1090 msgstr "" 1091 1091 1092 #: email.php:11 671092 #: email.php:1173 1093 1093 msgid "URL to article: %EMAIL_PERMALINK%" 1094 1094 msgstr "" 1095 1095 1096 #: email.php:11 681096 #: email.php:1174 1097 1097 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%\">" 1098 1098 msgstr "" 1099 1099 1100 #: email.php:11 681100 #: email.php:1174 1101 1101 msgid "</a></p>" 1102 1102 msgstr "" 1103 1103 1104 #: email.php:11 771104 #: email.php:1183 1105 1105 msgid "Email This Post" 1106 1106 msgstr "" 1107 1107 1108 #: email.php:11 771108 #: email.php:1183 1109 1109 msgid "Email This Page" 1110 1110 msgstr "" wp-email/trunk/readme.html
r16473 r17536 244 244 <p> 245 245 <strong>Download:</strong><br /> 246 <strong>»</strong> <a href="http://lesterchan.net/others/downloads.php?id=13" title="http://lesterchan.net/others/downloads.php?id=13">WP-EMail 2.20 For WordPress 2.1.x And Above</a><br /> 246 <strong>»</strong> <a href="http://lesterchan.net/others/downloads.php?id=13" title="http://lesterchan.net/others/downloads.php?id=13">WP-EMail 2.20 For WordPress 2.3.x</a><br /> 247 <strong>»</strong> <a href="http://lesterchan.net/others/downloads/wp-email211.zip" title="http://lesterchan.net/others/downloads/wp-email211.zip">WP-EMail 2.11 For WordPress 2.1.x And 2.2.x</a><br /> 247 248 <strong>»</strong> <a href="http://lesterchan.net/others/downloads/wp-email207.zip" title="http://lesterchan.net/others/downloads/wp-email207.zip">WP-EMail 2.07 For WordPress 2.0.x</a><br /> 248 249 <strong>»</strong> <a href="http://lesterchan.net/others/downloads/wp-email200b.zip" title="http://lesterchan.net/others/downloads/wp-email200b.zip">WP-EMail 2.00b For WordPress 1.5.2</a> … … 295 296 <strong>Version 2.20 (01-10-2007)</strong> 296 297 <ul> 298 <li>NEW: Works For WordPress 2.3 Only</li> 297 299 <li>NEW: Ability To Embed [email_link] Into Excerpt</li> 298 300 <li>NEW: AJAX Used To Email The Post/Page</li> wp-email/trunk/readme.txt
r15943 r17536 3 3 Donate link: http://lesterchan.net/wordpress 4 4 Tags: email, e-mail, wp-email, mail, send, recommend, ajax, friend 5 Requires at least: 2. 1.05 Requires at least: 2.3.0 6 6 Stable tag: 2.11 7 7
