Changeset 17536

Show
Ignore:
Timestamp:
08/28/07 17:14:48 (10 months ago)
Author:
GamerZ
Message:

WP 2.3 Update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-email/trunk/email/email.php

    r17366 r17536  
    10381038function email_orderby($content) { 
    10391039      $orderby = trim(addslashes($_GET['orderby'])); 
    1040       if(empty($orderby) && ($orderby != 'asc' || $orderby != 'desc')) { 
     1040      if(empty($orderby) || ($orderby != 'asc' && $orderby != 'desc')) { 
    10411041            $orderby = 'desc'; 
    10421042      } 
     
    10701070      $stats_display = get_option('stats_display'); 
    10711071      if($stats_display['email'] == 1) { 
    1072             $content .= '<input type="checkbox" name="stats_display[]" value="email" checked="checked" />&nbsp;&nbsp;'.__('WP-EMail', 'wp-email').'<br />'."\n"; 
    1073       } else { 
    1074             $content .= '<input type="checkbox" name="stats_display[]" value="email" />&nbsp;&nbsp;'.__('WP-EMail', 'wp-email').'<br />'."\n"; 
     1072            $content .= '<input type="checkbox" name="stats_display[]" id="wpstats_email" value="email" checked="checked" />&nbsp;&nbsp;<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" />&nbsp;&nbsp;<label for="wpstats_email">'.__('WP-EMail', 'wp-email').'</label><br />'."\n"; 
    10751075      } 
    10761076      return $content; 
     
    10831083      $stats_mostlimit = intval(get_option('stats_mostlimit')); 
    10841084      if($stats_display['emailed_most'] == 1) { 
    1085             $content .= '<input type="checkbox" name="stats_display[]" value="emailed_most" checked="checked" />&nbsp;&nbsp;'.$stats_mostlimit.' '.__('Most Emailed Posts', 'wp-email').'<br />'."\n"; 
    1086       } else { 
    1087             $content .= '<input type="checkbox" name="stats_display[]" value="emailed_most" />&nbsp;&nbsp;'.$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" />&nbsp;&nbsp;<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" />&nbsp;&nbsp;<label for="wpstats_emailed_most">'.$stats_mostlimit.' '.__('Most Emailed Posts', 'wp-email').'</label><br />'."\n"; 
    10881088      } 
    10891089      return $content; 
     
    11341134function create_email_table() { 
    11351135      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      } 
    11371143      // Create E-Mail Table 
    11381144      $create_table = "CREATE TABLE $wpdb->email (". 
  • wp-email/trunk/email/wp-email.pot

    r17366 r17536  
    33"Project-Id-Version: WP-EMail 2.20\n" 
    44"POT-Creation-Date: \n" 
    5 "PO-Revision-Date: 2007-08-25 00:07+0800\n" 
     5"PO-Revision-Date: 2007-08-29 00:47+0800\n" 
    66"Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n" 
    77"Language-Team: Lester Chan <gamerz84@hotmail.com>\n" 
     
    372372 
    373373#: email-options.php:122 
    374 #: email.php:1182 
     374#: email.php:1188 
    375375msgid "E-Mail '%EMAIL_POST_TITLE%' To A Friend" 
    376376msgstr "" 
    377377 
    378378#: email-options.php:125 
    379 #: email.php:1183 
     379#: email.php:1189 
    380380msgid "Email a copy of <strong>'%EMAIL_POST_TITLE%'</strong> to a friend" 
    381381msgstr "" 
    382382 
    383383#: email-options.php:128 
    384 #: email.php:1157 
     384#: email.php:1163 
    385385msgid "Recommended Article By %EMAIL_YOUR_NAME%: %EMAIL_POST_TITLE%" 
    386386msgstr "" 
     
    410410 
    411411#: email-options.php:137 
    412 #: email.php:1168 
     412#: email.php:1174 
    413413msgid "Back to %EMAIL_POST_TITLE%" 
    414414msgstr "" 
    415415 
    416416#: email-options.php:140 
    417 #: email.php:1169 
     417#: email.php:1175 
    418418msgid "An error has occurred when trying to send this email: " 
    419419msgstr "" 
    420420 
    421421#: email-options.php:143 
    422 #: email.php:1170 
     422#: email.php:1176 
    423423msgid "An error has occurred: " 
    424424msgstr "" 
     
    10381038msgstr "" 
    10391039 
    1040 #: email.php:1158 
     1040#: email.php:1164 
    10411041msgid "<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>" 
    10421042msgstr "" 
    10431043 
    1044 #: email.php:1159 
     1044#: email.php:1165 
    10451045msgid "Hi %EMAIL_FRIEND_NAME%," 
    10461046msgstr "" 
    10471047 
    1048 #: email.php:1159 
    1049 #: email.php:1161 
    1050 #: email.php:1163 
    1051 #: email.php:1164 
    10521048#: email.php:1165 
     1049#: email.php:1167 
     1050#: email.php:1169 
     1051#: email.php:1170 
     1052#: email.php:1171 
     1053#: email.php:1172 
     1054msgid "\n" 
     1055msgstr "" 
     1056 
    10531057#: email.php:1166 
    1054 msgid "\n" 
    1055 msgstr "" 
    1056  
    1057 #: email.php:1160 
    10581058msgid "Your friend, %EMAIL_YOUR_NAME%, has recommended this article entitled '%EMAIL_POST_TITLE%' to you." 
    10591059msgstr "" 
    10601060 
    1061 #: email.php:1160 
    1062 #: email.php:1162 
     1061#: email.php:1166 
     1062#: email.php:1168 
    10631063msgid "" 
    10641064"\n" 
     
    10661066msgstr "" 
    10671067 
    1068 #: email.php:1161 
     1068#: email.php:1167 
    10691069msgid "Here is his/her remarks:" 
    10701070msgstr "" 
    10711071 
    1072 #: email.php:1162 
     1072#: email.php:1168 
    10731073msgid "%EMAIL_YOUR_REMARKS%" 
    10741074msgstr "" 
    10751075 
    1076 #: email.php:1163 
     1076#: email.php:1169 
    10771077msgid "%EMAIL_POST_TITLE%" 
    10781078msgstr "" 
    10791079 
    1080 #: email.php:1164 
     1080#: email.php:1170 
    10811081msgid "Posted By %EMAIL_POST_AUTHOR% On %EMAIL_POST_DATE% In %EMAIL_POST_CATEGORY%" 
    10821082msgstr "" 
    10831083 
    1084 #: email.php:1165 
     1084#: email.php:1171 
    10851085msgid "%EMAIL_POST_CONTENT%" 
    10861086msgstr "" 
    10871087 
    1088 #: email.php:1166 
     1088#: email.php:1172 
    10891089msgid "Article taken from %EMAIL_BLOG_NAME% - %EMAIL_BLOG_URL%" 
    10901090msgstr "" 
    10911091 
    1092 #: email.php:1167 
     1092#: email.php:1173 
    10931093msgid "URL to article: %EMAIL_PERMALINK%" 
    10941094msgstr "" 
    10951095 
    1096 #: email.php:1168 
     1096#: email.php:1174 
    10971097msgid "Article: <strong>%EMAIL_POST_TITLE%</strong> has been sent to <strong>%EMAIL_FRIEND_NAME% (%EMAIL_FRIEND_EMAIL%)</strong></p><p>&laquo; <a href=\"%EMAIL_PERMALINK%\">" 
    10981098msgstr "" 
    10991099 
    1100 #: email.php:1168 
     1100#: email.php:1174 
    11011101msgid "</a></p>" 
    11021102msgstr "" 
    11031103 
    1104 #: email.php:1177 
     1104#: email.php:1183 
    11051105msgid "Email This Post" 
    11061106msgstr "" 
    11071107 
    1108 #: email.php:1177 
     1108#: email.php:1183 
    11091109msgid "Email This Page" 
    11101110msgstr "" 
  • wp-email/trunk/readme.html

    r16473 r17536  
    244244                  <p> 
    245245                        <strong>Download:</strong><br /> 
    246                         <strong>&raquo;</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>&raquo;</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>&raquo;</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 /> 
    247248                        <strong>&raquo;</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 /> 
    248249                        <strong>&raquo;</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> 
     
    295296                              <strong>Version 2.20 (01-10-2007)</strong> 
    296297                              <ul> 
     298                                    <li>NEW: Works For WordPress 2.3 Only</li> 
    297299                                    <li>NEW: Ability To Embed [email_link] Into Excerpt</li> 
    298300                                    <li>NEW: AJAX Used To Email The Post/Page</li> 
  • wp-email/trunk/readme.txt

    r15943 r17536  
    33Donate link: http://lesterchan.net/wordpress 
    44Tags: email, e-mail, wp-email, mail, send, recommend, ajax, friend 
    5 Requires at least: 2.1.0 
     5Requires at least: 2.3.0 
    66Stable tag: 2.11 
    77