RCS file: /cvsroot/cafelog/wordpress/index.php,v
retrieving revision 1.75
diff -u -r1.75 index.php
|
|
|
100 | 100 | <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> 2.0'); ?></a></li> |
101 | 101 | <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr> 2.0'); ?></a></li> |
102 | 102 | <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li> |
103 | | <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress; state-of-the-art semantic personal publishing platform.'); ?>">WP</a></li> |
| 103 | <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WP</a></li> |
104 | 104 | </ul> |
105 | 105 | </li> |
106 | 106 | |
… |
… |
|
110 | 110 | |
111 | 111 | </div> |
112 | 112 | |
113 | | <p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform")); ?></cite></p> |
| 113 | <p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></cite></p> |
114 | 114 | </body> |
115 | 115 | </html> |
RCS file: /cvsroot/cafelog/wordpress/wp-comments-popup.php,v
retrieving revision 1.12
diff -u -r1.12 wp-comments-popup.php
|
|
|
100 | 100 | |
101 | 101 | <!-- // this is just the end of the motor - don't touch that line either :) --> |
102 | 102 | <?php //} ?> |
103 | | <p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>Wordpress</strong></a></cite>"),__("Powered by WordPress; state-of-the-art semantic personal publishing platform.")); ?></p> |
| 103 | <p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>Wordpress</strong></a></cite>"),__("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></p> |
104 | 104 | <?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?> |
105 | 105 | <script type="text/javascript"> |
106 | 106 | <!-- |
RCS file: /cvsroot/cafelog/wordpress/wp-comments.php,v
retrieving revision 1.20
diff -u -r1.20 wp-comments.php
|
|
|
45 | 45 | <?php if ( comments_open() ) : ?> |
46 | 46 | <h2 id="postcomment"><?php _e('Leave a comment'); ?></h2> |
47 | 47 | |
48 | | <p><?php _e('Line and paragraph breaks automatic. E-mail address never displayed. <abbr title="HyperText Markup Language">HTML</abbr> allowed:'); ?> <code><?php echo allowed_tags(); ?></code></p> |
| 48 | <p><?php _e("Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?> <code><?php echo allowed_tags(); ?></code></p> |
49 | 49 | |
50 | 50 | <form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> |
51 | 51 | <p> |
RCS file: /cvsroot/cafelog/wordpress/wp-login.php,v
retrieving revision 1.24
diff -u -r1.24 wp-login.php
|
|
|
182 | 182 | <form name="" action="wp-login.php" method="post" id="lostpass"> |
183 | 183 | <input type="hidden" name="action" value="retrievepassword" /> |
184 | 184 | <label><?php _e('Login:') ?> <input type="text" name="user_login" id="user_login" value="" size="12" /></label><br /> |
185 | | <label><?php _e('Email:') ?> <input type="text" name="email" id="email" value="" size="12" /></label><br /> |
| 185 | <label><?php _e('E-mail:') ?> <input type="text" name="email" id="email" value="" size="12" /></label><br /> |
186 | 186 | <input type="submit" name="Submit2" value="OK" class="search"> |
187 | 187 | |
188 | 188 | </form> |
… |
… |
|
203 | 203 | $user_login = $user_data->user_login; |
204 | 204 | $user_email = $user_data->user_email; |
205 | 205 | |
206 | | if (!$user_email || $user_email != $_POST['email']) die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or email address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword')); |
| 206 | if (!$user_email || $user_email != $_POST['email']) die(sprintf(__('Sorry, that user does not seem to exist in our database. Perhaps you have the wrong username or e-mail address? <a href="%s">Try again</a>.'), 'wp-login.php?action=lostpassword')); |
207 | 207 | // Generate something random for a password... md5'ing current time with a rand salt |
208 | 208 | $user_pass = substr((MD5("time" . rand(1,16000))), 0, 6); |
209 | 209 | // now insert the new pass md5'd into the db |
… |
… |
|
215 | 215 | $m = mail($user_email, '[' . get_settings('blogname') . "] Your weblog's login/password", $message); |
216 | 216 | |
217 | 217 | if ($m == false) { |
218 | | echo "<p>The email could not be sent.<br />\n"; |
219 | | echo "Possible reason: your host may have disabled the mail() function...</p>"; |
| 218 | echo "<p><?php _e('The e-mail could not be sent.') ?><br />\n"; |
| 219 | echo "<?php _e('Possible reason: your host may have disabled the mail() function...') ?></p>"; |
220 | 220 | die(); |
221 | 221 | } else { |
222 | | echo "<p>The email was sent successfully to $user_login's email address.<br /> |
223 | | <a href='wp-login.php' title='Check your email first, of course'>Click here to login!</a></p>"; |
| 222 | echo "<p><?php _e('The e-mail was sent successfully to $user_login's e-mail address.') ?><br /> |
| 223 | <?php _e('<a href='wp-login.php' title=\'Check your e-mail first, of course\'>Click here to login!</a> |
| 224 | ') ?></p>"; |
224 | 225 | // send a copy of password change notification to the admin |
225 | 226 | mail(get_settings('admin_email'), '[' . get_settings('blogname') . "] Password Lost/Change", "Password Lost and Changed for user: $user_login"); |
226 | 227 | die(); |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/edit-comments.php,v
retrieving revision 1.25
diff -u -r1.25 edit-comments.php
|
|
|
34 | 34 | <input type="text" name="s" value="<?php if (isset($s)) echo $s; ?>" size="17" /> |
35 | 35 | <input type="submit" name="submit" value="<?php _e('Search') ?>" /> |
36 | 36 | <input type="hidden" name="mode" value="<?php echo $mode; ?>" /> |
37 | | <?php _e('(Searches within comment text, email, URI, and IP address.)') ?> |
| 37 | <?php _e('(Searches within comment text, e-mail, URI, and IP address.)') ?> |
38 | 38 | </fieldset> |
39 | 39 | </form> |
40 | 40 | <p><a href="?mode=view"><?php _e('View Mode') ?></a> | <a href="?mode=edit"><?php _e('Mass Edit Mode') ?></a></p> |
… |
… |
|
79 | 79 | echo '<li style="border-bottom: 1px solid #ccc;">'; |
80 | 80 | } |
81 | 81 | ?> |
82 | | <p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('Email:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p> |
| 82 | <p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p> |
83 | 83 | |
84 | 84 | <?php comment_text() ?> |
85 | 85 | |
… |
… |
|
113 | 113 | <tr> |
114 | 114 | <th scope="col">*</th> |
115 | 115 | <th scope="col">' . __('Name') . '</th> |
116 | | <th scope="col">' . __('Email') . '</th> |
| 116 | <th scope="col">' . __('E-mail') . '</th> |
117 | 117 | <th scope="col">' . __('IP') . '</th> |
118 | 118 | <th scope="col">' . __('Comment Excerpt') . '</th> |
119 | 119 | <th scope="col" colspan="3">' . __('Actions') . '</th> |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/moderation.php,v
retrieving revision 1.11
diff -u -r1.11 moderation.php
|
|
|
151 | 151 | |
152 | 152 | echo "\n\t<li id='comment-$comment->comment_ID'>"; |
153 | 153 | ?> |
154 | | <p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('Email:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p> |
| 154 | <p><strong><?php _e('Name:') ?></strong> <?php comment_author() ?> <?php if ($comment->comment_author_email) { ?>| <strong><?php _e('E-mail:') ?></strong> <?php comment_author_email_link() ?> <?php } if ($comment->comment_author_email) { ?> | <strong><?php _e('URI:') ?></strong> <?php comment_author_url_link() ?> <?php } ?>| <strong><?php _e('IP:') ?></strong> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP() ?>"><?php comment_author_IP() ?></a></p> |
155 | 155 | <?php comment_text() ?> |
156 | 156 | <p><?php |
157 | 157 | echo "<a href=\"post.php?action=editcomment&comment=".$comment->comment_ID."\">" . __('Edit') . "</a>"; |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-discussion.php,v
retrieving revision 1.16
diff -u -r1.16 options-discussion.php
|
|
|
1 | 1 | <?php |
2 | 2 | require_once('../wp-includes/wp-l10n.php'); |
3 | 3 | |
4 | | $title = 'Discussion Options'; |
| 4 | $title = __('Discussion Options'); |
5 | 5 | $parent_file = 'options-general.php'; |
6 | 6 | |
7 | 7 | function add_magic_quotes($array) { |
… |
… |
|
68 | 68 | </ul> |
69 | 69 | </fieldset> |
70 | 70 | <fieldset class="options"> |
71 | | <legend><?php _e('Email me whenever:') ?></legend> |
| 71 | <legend><?php _e('E-mail me whenever:') ?></legend> |
72 | 72 | <ul> |
73 | 73 | <li> |
74 | 74 | <label for="comments_notify"> |
… |
… |
|
93 | 93 | <li> |
94 | 94 | <label for="require_name_email"> |
95 | 95 | <input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_settings('require_name_email')); ?> /> |
96 | | <?php _e('User must fill out name and email') ?> </label> |
| 96 | <?php _e('User must fill out name and e-mail') ?> </label> |
97 | 97 | </li> |
98 | 98 | </ul> |
99 | 99 | </fieldset> |
… |
… |
|
101 | 101 | <legend><?php _e('Comment Moderation') ?></legend> |
102 | 102 | <p><?php printf(__('Hold a comment in the queue if it contains more than %s links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_settings('comment_max_links'). '" />' ) ?></p> |
103 | 103 | |
104 | | <p><?php _e('When a comment contains any of these words in its content, name, URI, email, or IP, hold it in the moderation queue: (Separate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.') ?></p> |
| 104 | <p><?php _e('When a comment contains any of these words in its content, name, URI, e-mail, or IP, hold it in the moderation queue: (Separate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.') ?></p> |
105 | 105 | <p> |
106 | 106 | <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php echo get_settings('moderation_keys'); ?></textarea> |
107 | 107 | </p> |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-misc.php,v
retrieving revision 1.10
diff -u -r1.10 options-misc.php
|
|
|
1 | 1 | <?php |
2 | 2 | require_once('../wp-includes/wp-l10n.php'); |
3 | 3 | |
4 | | $title = 'Miscellaneous Options'; |
| 4 | $title = __('Miscellaneous Options'); |
5 | 5 | $parent_file = 'options-general.php'; |
6 | 6 | |
7 | 7 | function add_magic_quotes($array) { |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-permalink.php,v
retrieving revision 1.34
diff -u -r1.34 options-permalink.php
|
|
|
89 | 89 | <p><code>/archives/2003/05/23/my-cheese-sandwich/</code></p> |
90 | 90 | <p> In general for this you must use mod_rewrite, however if you put a filename at the beginning WordPress will attempt to use that to pass the arguments, for example:</p> |
91 | 91 | <p><code>/index.php/archives/%year%/%monthnum%/%day%/%postname%/</code> </p> |
92 | | <p>If you use this option you can ignore the mod_rewrite rules. </p>') ?> |
| 92 | <p>If you use this option you can ignore the mod_rewrite rules.</p>') ?> |
93 | 93 | <form name="form" action="options-permalink.php" method="post"> |
94 | 94 | <p><?php _e('Use the template tags above to create a virtual site structure:') ?></p> |
95 | 95 | <p> |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-reading.php,v
retrieving revision 1.10
diff -u -r1.10 options-reading.php
|
|
|
1 | 1 | <?php |
2 | 2 | require_once('../wp-includes/wp-l10n.php'); |
3 | 3 | |
4 | | $title = 'Reading Options'; |
| 4 | $title = __('Reading Options'); |
5 | 5 | $parent_file = 'options-general.php'; |
6 | 6 | |
7 | 7 | function add_magic_quotes($array) { |
… |
… |
|
68 | 68 | <tr valign="top"> |
69 | 69 | <th width="33%" scope="row"><?php _e('Show the most recent:') ?></th> |
70 | 70 | <td><input name="posts_per_rss" type="text" id="posts_per_rss" value="<?php echo get_settings('posts_per_rss'); ?>" size="3" /> |
71 | | posts </td> |
| 71 | <?php _('posts') ?></td> |
72 | 72 | </tr> |
73 | 73 | <tr valign="top"> |
74 | 74 | <th scope="row"><?php _e('For each article, show:') ?> </th> |
75 | 75 | <td><label> |
76 | 76 | <input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?> /> |
77 | | full text</label> <br /> |
| 77 | <?php _e('full text') ?></label> <br> |
78 | 78 | <label> |
79 | 79 | <input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_settings('rss_use_excerpt')); ?> /> |
80 | | summary</label> </td> |
| 80 | <?php _('summary') ?></label> </td> |
81 | 81 | </tr> |
82 | 82 | </table> |
83 | 83 | </fieldset> |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options-writing.php,v
retrieving revision 1.19
diff -u -r1.19 options-writing.php
|
|
|
62 | 62 | <label for="advanced_edit"></label></td> |
63 | 63 | </tr> |
64 | 64 | <tr valign="top"> |
65 | | <th width="33%" scope="row"> Size of the writing box:</th> |
| 65 | <th width="33%" scope="row"> <?php _e('Size of the writing box:') ?></th> |
66 | 66 | <td><input name="default_post_edit_rows" type="text" id="default_post_edit_rows" value="<?php echo get_settings('default_post_edit_rows'); ?>" size="2" style="width: 1.5em; " /> |
67 | | lines </td> |
| 67 | <?php _e('lines') ?></td> |
68 | 68 | </tr> |
69 | 69 | <tr valign="top"> |
70 | 70 | <th scope="row"><?php _e('Formatting:') ?></th> |
… |
… |
|
95 | 95 | <textarea name="ping_sites" id="ping_sites" style="width: 98%;"><?php echo get_settings('ping_sites'); ?></textarea> |
96 | 96 | </fieldset> |
97 | 97 | <fieldset class="options"> |
98 | | <legend><?php _e('Writing by Email') ?></legend> |
99 | | <p><?php printf(__('To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5)) ?></p> |
| 98 | <legend><?php _e('Writing by e-mail') ?></legend> |
| 99 | <p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5)) ?></p> |
100 | 100 | |
101 | 101 | <table width="100%" cellspacing="2" cellpadding="5" class="editform"> |
102 | 102 | <tr valign="top"> |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/options.php,v
retrieving revision 1.24
diff -u -r1.24 options.php
|
|
|
1 | 1 | <?php |
2 | | $title = 'Options'; |
| 2 | require_once('../wp-includes/wp-l10n.php'); |
| 3 | |
| 4 | $title = __('Options'); |
3 | 5 | $this_file = 'options.php'; |
4 | 6 | $parent_file = 'options-general.php'; |
5 | 7 | |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/post.php,v
retrieving revision 1.66
diff -u -r1.66 post.php
|
|
|
511 | 511 | echo "<p><?php __('<strong>Caution:</strong> You are about to delete the following comment:'); ?></p>\n"; |
512 | 512 | echo "<table border=\"0\">\n"; |
513 | 513 | echo "<tr><td>" . __('Author:') . "</td><td>" . $commentdata["comment_author"] . "</td></tr>\n"; |
514 | | echo "<tr><td>" . __('E-Mail:') . "</td><td>" . $commentdata["comment_author_email"] . "</td></tr>\n"; |
| 514 | echo "<tr><td>" . __('E-mail:') . "</td><td>" . $commentdata["comment_author_email"] . "</td></tr>\n"; |
515 | 515 | echo "<tr><td>". __('URL:') . "</td><td>" . $commentdata["comment_author_url"] . "</td></tr>\n"; |
516 | 516 | echo "<tr><td>". __('Comment:') . "</td><td>" . stripslashes($commentdata["comment_content"]) . "</td></tr>\n"; |
517 | 517 | echo "</table>\n"; |
… |
… |
|
790 | 790 | |
791 | 791 | ?> |
792 | 792 | <div class="wrap"> |
793 | | <?php printf(__('<p>Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, in order to be authorized to post blog items.<br /> |
794 | | You can also <a href="mailto:%s?subject=Blog posting permission">e-mail the admin</a> to ask for a promotion.<br /> |
795 | | When you’re promoted, just reload this page and you’ll be able to blog. :)</p>'), get_settings('admin_email')); ?> |
| 793 | <p><?php printf(__('Since you’re a newcomer, you’ll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br /> |
| 794 | You can also <a href="mailto:%s?subject=Promotion?">e-mail the admin</a> to ask for a promotion.<br /> |
| 795 | When you’re promoted, just reload this page and you’ll be able to blog. :)'), get_settings('admin_email')); ?> |
| 796 | </p> |
796 | 797 | </div> |
797 | 798 | <?php |
798 | 799 | |
RCS file: /cvsroot/cafelog/wordpress/wp-admin/profile.php,v
retrieving revision 1.23
diff -u -r1.23 profile.php
|
|
|
64 | 64 | die (__("<strong>ERROR</strong>: please type your e-mail address")); |
65 | 65 | return false; |
66 | 66 | } else if (!is_email($_POST["newuser_email"])) { |
67 | | die (__("<strong>ERROR</strong>: the email address isn't correct")); |
| 67 | die (__("<strong>ERROR</strong>: the e-mail address isn't correct")); |
68 | 68 | return false; |
69 | 69 | } |
70 | 70 | |
… |
… |
|
157 | 157 | |
158 | 158 | <p> <strong><?php _e('Nickname:') ?></strong> <?php echo $profiledata->user_nickname ?> </p> |
159 | 159 | |
160 | | <p> <strong><?php _e('Email:') ?></strong> <?php echo make_clickable($profiledata->user_email) ?> |
| 160 | <p> <strong><?php _e('E-mail:') ?></strong> <?php echo make_clickable($profiledata->user_email) ?> |
161 | 161 | </p> |
162 | 162 | |
163 | 163 | <p> <strong><?php _e('Website:') ?></strong> <?php echo $profiledata->user_url ?> </p> |
… |
… |
|
275 | 275 | <td><input type="text" name="newuser_nickname" id="newuser_nickname2" value="<?php echo $profiledata->user_nickname ?>" /></td> |
276 | 276 | </tr> |
277 | 277 | <tr> |
278 | | <th scope="row"><?php _e('Email:') ?></th> |
| 278 | <th scope="row"><?php _e('E-mail:') ?></th> |
279 | 279 | <td><input type="text" name="newuser_email" id="newuser_email2" value="<?php echo $profiledata->user_email ?>" /></td> |
280 | 280 | </tr> |
281 | 281 | <tr> |