Changeset 13474
- Timestamp:
- 05/31/07 11:37:28 (1 year ago)
- Files:
-
- wp-email/i18n/wp-email-de_DE.mo (deleted)
- wp-email/i18n/wp-email-de_DE.po (deleted)
- wp-email/i18n/wp-email-it_IT.mo (deleted)
- wp-email/i18n/wp-email-it_IT.po (deleted)
- wp-email/i18n/wp-email-nl_NL.mo (deleted)
- wp-email/i18n/wp-email-nl_NL.po (deleted)
- wp-email/tags/2.11 (added)
- wp-email/tags/2.11/email (added)
- wp-email/tags/2.11/email/class-phpmailer.php (added)
- wp-email/tags/2.11/email/class-smtp.php (added)
- wp-email/tags/2.11/email/email-css.css (added)
- wp-email/tags/2.11/email/email-image-verify.php (added)
- wp-email/tags/2.11/email/email-manager.php (added)
- wp-email/tags/2.11/email/email-options.php (added)
- wp-email/tags/2.11/email/email.php (added)
- wp-email/tags/2.11/email/images (added)
- wp-email/tags/2.11/email/images/email.gif (added)
- wp-email/tags/2.11/email/images/email_famfamfam.gif (added)
- wp-email/tags/2.11/email/wp-email-popup.php (added)
- wp-email/tags/2.11/email/wp-email.mo (added)
- wp-email/tags/2.11/email/wp-email.php (added)
- wp-email/tags/2.11/email/wp-email.pot (added)
- wp-email/tags/2.11/readme.html (added)
- wp-email/tags/2.11/readme.txt (added)
- wp-email/trunk/email/email.php (modified) (2 diffs)
- wp-email/trunk/email/wp-email-popup.php (modified) (1 diff)
- wp-email/trunk/email/wp-email.mo (modified) (previous)
- wp-email/trunk/email/wp-email.pot (modified) (6 diffs)
- wp-email/trunk/readme.html (modified) (3 diffs)
- wp-email/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-email/trunk/email/email.php
r13117 r13474 5 5 Description: Allows people to recommand/send your WordPress blog's post/page to a friend. 6 6 Version: 2.11 7 Author: GaMerZ7 Author: Lester 'GaMerZ' Chan 8 8 Author URI: http://www.lesterchan.net 9 9 */ … … 257 257 258 258 ### Function: E-Mail Title 259 function email_title() { 260 $post_title = get_the_title(); 261 $post_author = the_author('', false); 262 $post_date = get_the_time(get_option('date_format').' ('.get_option('time_format').')', '', '', false); 263 $post_category = email_category(); 264 $post_category_alt = strip_tags($post_category); 265 $template_title = stripslashes(get_option('email_template_title')); 266 $template_title = str_replace("%EMAIL_POST_TITLE%", $post_title, $template_title); 267 $template_title = str_replace("%EMAIL_POST_AUTHOR%", $post_author, $template_title); 268 $template_title = str_replace("%EMAIL_POST_DATE%", $post_date, $template_title); 269 $template_title = str_replace("%EMAIL_POST_CATEGORY%", $post_category, $template_title); 270 $template_title = str_replace("%EMAIL_BLOG_NAME%", get_bloginfo('name'), $template_title); 271 $template_title = str_replace("%EMAIL_BLOG_URL%", get_bloginfo('url'), $template_title); 272 $template_title = str_replace("%EMAIL_PERMALINK%", get_permalink(), $template_title); 273 return $template_title; 259 function email_title($page_title) { 260 global $email_title_once; 261 if(in_the_loop()) { 262 $post_title = get_the_title(); 263 $post_author = the_author('', false); 264 $post_date = get_the_time(get_option('date_format').' ('.get_option('time_format').')', '', '', false); 265 $post_category = email_category(); 266 $post_category_alt = strip_tags($post_category); 267 $template_title = stripslashes(get_option('email_template_title')); 268 $template_title = str_replace("%EMAIL_POST_TITLE%", $post_title, $template_title); 269 $template_title = str_replace("%EMAIL_POST_AUTHOR%", $post_author, $template_title); 270 $template_title = str_replace("%EMAIL_POST_DATE%", $post_date, $template_title); 271 $template_title = str_replace("%EMAIL_POST_CATEGORY%", $post_category, $template_title); 272 $template_title = str_replace("%EMAIL_BLOG_NAME%", get_bloginfo('name'), $template_title); 273 $template_title = str_replace("%EMAIL_BLOG_URL%", get_bloginfo('url'), $template_title); 274 $template_title = str_replace("%EMAIL_PERMALINK%", get_permalink(), $template_title); 275 return $template_title; 276 } else { 277 return $page_title; 278 } 274 279 } 275 280 wp-email/trunk/email/wp-email-popup.php
r7946 r13474 56 56 <body> 57 57 <?php email_form(true); ?> 58 < p style="text-align: center; padding-top: 20px;"><a href="#" onclick="window.close();"><?php _e('Close This Window', 'wp-email'); ?></a></p>58 </p><p style="text-align: center; padding-top: 20px;"><a href="#" onclick="window.close();"><?php _e('Close This Window', 'wp-email'); ?></a></p> 59 59 <?php wp_footer(); ?> 60 60 </body> wp-email/trunk/email/wp-email.pot
r13117 r13474 3 3 "Project-Id-Version: WP-EMail 2.10\n" 4 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: 2007-05- 23 15:11+0800\n"5 "PO-Revision-Date: 2007-05-31 19:37+0800\n" 6 6 "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 7 7 "Language-Team: Lester Chan <gamerz84@hotmail.com>\n" … … 92 92 93 93 #: email-manager.php:126 94 #: email.php:40 095 #: email.php:5 2896 #: email.php:80 397 #: email.php:85 194 #: email.php:405 95 #: email.php:533 96 #: email.php:808 97 #: email.php:856 98 98 msgid "Success" 99 99 msgstr "" 100 100 101 101 #: email-manager.php:127 102 #: email.php:54 2103 #: email.php:8 15102 #: email.php:547 103 #: email.php:820 104 104 msgid "Failed" 105 105 msgstr "" … … 298 298 299 299 #: email-options.php:121 300 #: email.php:10 09300 #: email.php:1014 301 301 msgid "E-Mail '%EMAIL_POST_TITLE%' To A Friend" 302 302 msgstr "" 303 303 304 304 #: email-options.php:124 305 #: email.php:101 0305 #: email.php:1015 306 306 msgid "Email a copy of <strong>'%EMAIL_POST_TITLE%'</strong> to a friend" 307 307 msgstr "" 308 308 309 309 #: email-options.php:127 310 #: email.php:98 4310 #: email.php:989 311 311 msgid "Recommended Article By %EMAIL_YOUR_NAME%: %EMAIL_POST_TITLE%" 312 312 msgstr "" … … 336 336 337 337 #: email-options.php:139 338 #: email.php: 996338 #: email.php:1001 339 339 msgid "An Error Has Occured When Trying To Send The E-Mail" 340 340 msgstr "" 341 341 342 342 #: email-options.php:142 343 #: email.php: 997343 #: email.php:1002 344 344 msgid "An Error Has Occured" 345 345 msgstr "" … … 702 702 msgstr "" 703 703 704 #: email.php:3 16704 #: email.php:321 705 705 msgid "Password Protected Post" 706 706 msgstr "" 707 707 708 #: email.php:50 0708 #: email.php:505 709 709 #, php-format 710 710 msgid "Separate multiple entries with a comma. Maximum %s entries." 711 711 msgstr "" 712 712 713 #: email.php:5 69714 #: email.php:5 75713 #: email.php:574 714 #: email.php:580 715 715 msgid "Emails" 716 716 msgstr "" 717 717 718 #: email.php:5 79719 #: email.php:7 38720 #: email.php:81 4718 #: email.php:584 719 #: email.php:743 720 #: email.php:819 721 721 msgid "N/A" 722 722 msgstr "" 723 723 724 #: email.php:66 4724 #: email.php:669 725 725 msgid "Your name is empty." 726 726 msgstr "" 727 727 728 #: email.php:67 0728 #: email.php:675 729 729 msgid "Your email is invalid or is empty." 730 730 msgstr "" 731 731 732 #: email.php:6 76732 #: email.php:681 733 733 msgid "Your remark is invalid." 734 734 msgstr "" 735 735 736 #: email.php:6 85736 #: email.php:690 737 737 #, php-format 738 738 msgid "Friend's name (%s) is empty." 739 739 msgstr "" 740 740 741 #: email.php:70 2741 #: email.php:707 742 742 #, php-format 743 743 msgid "Friend's email (%s) is invalid or is empty." 744 744 msgstr "" 745 745 746 #: email.php:7 16746 #: email.php:721 747 747 #, php-format 748 748 msgid "Maximum %s entries allowed" 749 749 msgstr "" 750 750 751 #: email.php:72 1751 #: email.php:726 752 752 msgid "Friends' name count does not tally with friends' email count." 753 753 msgstr "" 754 754 755 #: email.php:7 28755 #: email.php:733 756 756 msgid "Image verification is empty." 757 757 msgstr "" 758 758 759 #: email.php:73 1759 #: email.php:736 760 760 msgid "Image verification failed." 761 761 msgstr "" 762 762 763 #: email.php:8 66763 #: email.php:871 764 764 msgid "* Required Field" 765 765 msgstr "" 766 766 767 #: email.php:8 69767 #: email.php:874 768 768 msgid "Your Name: *" 769 769 msgstr "" 770 770 771 #: email.php:8 75771 #: email.php:880 772 772 msgid "Your E-Mail: *" 773 773 msgstr "" 774 774 775 #: email.php:88 1775 #: email.php:886 776 776 msgid "Your Remark:" 777 777 msgstr "" 778 778 779 #: email.php:8 87779 #: email.php:892 780 780 msgid "Friend's Name: *" 781 781 msgstr "" 782 782 783 #: email.php:89 3783 #: email.php:898 784 784 msgid "Friend's E-Mail: *" 785 785 msgstr "" 786 786 787 #: email.php: 899787 #: email.php:904 788 788 msgid "Image Verification: *" 789 789 msgstr "" 790 790 791 #: email.php:90 0791 #: email.php:905 792 792 msgid "E-Mail Image Verification" 793 793 msgstr "" 794 794 795 #: email.php:90 3795 #: email.php:908 796 796 msgid " Mail It! " 797 797 msgstr "" 798 798 799 #: email.php:9 09799 #: email.php:914 800 800 #, php-format 801 801 msgid "Please wait for <strong>%s Minutes</strong> before sending the next article." 802 802 msgstr "" 803 803 804 #: email.php:9 85804 #: email.php:990 805 805 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>" 806 806 msgstr "" 807 807 808 #: email.php:9 86808 #: email.php:991 809 809 msgid "Hi %EMAIL_FRIEND_NAME%," 810 810 msgstr "" 811 811 812 #: email.php:986813 #: email.php:988814 #: email.php:990815 812 #: email.php:991 813 #: email.php:993 814 #: email.php:995 815 #: email.php:996 816 #: email.php:997 817 #: email.php:998 818 msgid "\n" 819 msgstr "" 820 816 821 #: email.php:992 817 #: email.php:993818 msgid "\n"819 msgstr ""820 821 #: email.php:987822 822 msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you." 823 823 msgstr "" 824 824 825 #: email.php:9 87826 #: email.php:9 89825 #: email.php:992 826 #: email.php:994 827 827 msgid "" 828 828 "\n" … … 830 830 msgstr "" 831 831 832 #: email.php:9 88832 #: email.php:993 833 833 msgid "Here is his/her remarks:" 834 834 msgstr "" 835 835 836 #: email.php:9 89836 #: email.php:994 837 837 msgid "%EMAIL_YOUR_REMARKS%" 838 838 msgstr "" 839 839 840 #: email.php:99 0840 #: email.php:995 841 841 msgid "%EMAIL_POST_TITLE%" 842 842 msgstr "" 843 843 844 #: email.php:99 1844 #: email.php:996 845 845 msgid "Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%" 846 846 msgstr "" 847 847 848 #: email.php:99 2848 #: email.php:997 849 849 msgid "%EMAIL_POST_CONTENT%" 850 850 msgstr "" 851 851 852 #: email.php:99 3852 #: email.php:998 853 853 msgid "Article taken from %EMAIL_BLOG_NAME% - %EMAIL_BLOG_URL%" 854 854 msgstr "" 855 855 856 #: email.php:99 4856 #: email.php:999 857 857 msgid "URL to article: %EMAIL_PERMALINK%" 858 858 msgstr "" 859 859 860 #: email.php: 995860 #: email.php:1000 861 861 msgid "Article: <strong>%EMAIL_POST_TITLE%</strong> Has Been Sent To <strong>%EMAIL_FRIEND_NAME% (%EMAIL_FRIEND_EMAIL%)</strong></p>" 862 862 msgstr "" 863 863 864 #: email.php:100 4864 #: email.php:1009 865 865 msgid "Email This Post" 866 866 msgstr "" 867 867 868 #: email.php:100 4868 #: email.php:1009 869 869 msgid "Email This Page" 870 870 msgstr "" wp-email/trunk/readme.html
r13117 r13474 244 244 <p> 245 245 <strong>Download:</strong><br /> 246 <strong>»</strong> <a href="http://www.lesterchan.net/others/downloads.php?id=13" title="http://www.lesterchan.net/others/downloads.php?id=13">WP-EMail 2.11 For WordPress 2.1.x </a><br />246 <strong>»</strong> <a href="http://www.lesterchan.net/others/downloads.php?id=13" title="http://www.lesterchan.net/others/downloads.php?id=13">WP-EMail 2.11 For WordPress 2.1.x And Above</a><br /> 247 247 <strong>»</strong> <a href="http://www.lesterchan.net/others/downloads/wp-email207.zip" title="http://www.lesterchan.net/others/downloads/wp-email207.zip">WP-EMail 2.07 For WordPress 2.0.x</a><br /> 248 248 <strong>»</strong> <a href="http://www.lesterchan.net/others/downloads/wp-email200b.zip" title="http://www.lesterchan.net/others/downloads/wp-email200b.zip">WP-EMail 2.00b For WordPress 1.5.2</a> … … 454 454 </li> 455 455 <li> 456 You Need To Re-Generate The Permalink (<strong> Options -> Permalinks Options -> Update Permalink Structure</strong>)456 You Need To Re-Generate The Permalink (<strong>WP-Admin -> Options -> Permalinks -> Update Permalink Structure</strong>) 457 457 </li> 458 458 <li> … … 481 481 </li> 482 482 <li> 483 Go to ' WP-Admin -> EMail -> EMail Options' and restore all the template variables to <strong>Default</strong>484 </li> 485 <li> 486 You Need To Re-Generate The Permalink (<strong> Options -> Permalinks Options -> Update Permalink Structure</strong>)483 Go to '<strong>WP-Admin -> EMail -> EMail Options</strong>' and restore all the template variables to <strong>Default</strong> 484 </li> 485 <li> 486 You Need To Re-Generate The Permalink (<strong>WP-Admin -> Options -> Permalinks -> Update Permalink Structure</strong>) 487 487 </li> 488 488 <li> wp-email/trunk/readme.txt
r8565 r13474 4 4 Tags: email, e-mail, wp-email, mail, send, recommend 5 5 Requires at least: 2.1.0 6 Stable tag: 2.1 06 Stable tag: 2.11 7 7 8 8 Allows people to recommand/send your WordPress blog's post/page to a friend.
