Changeset 1420
- Timestamp:
- 06/13/2004 04:14:58 PM (22 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
-
index.php (modified) (2 diffs)
-
wp-admin/edit-comments.php (modified) (3 diffs)
-
wp-admin/moderation.php (modified) (1 diff)
-
wp-admin/options-discussion.php (modified) (4 diffs)
-
wp-admin/options-misc.php (modified) (1 diff)
-
wp-admin/options-permalink.php (modified) (1 diff)
-
wp-admin/options-reading.php (modified) (3 diffs)
-
wp-admin/options-writing.php (modified) (2 diffs)
-
wp-admin/options.php (modified) (1 diff)
-
wp-admin/post.php (modified) (2 diffs)
-
wp-admin/profile.php (modified) (3 diffs)
-
wp-comments-popup.php (modified) (1 diff)
-
wp-comments.php (modified) (1 diff)
-
wp-login.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r1398 r1420 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> … … 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> -
trunk/wp-admin/edit-comments.php
r1411 r1420 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, e mail, URI, and IP address.)') ?>37 <?php _e('(Searches within comment text, e-mail, URI, and IP address.)') ?> 38 38 </fieldset> 39 39 </form> … … 80 80 } 81 81 ?> 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>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() ?> … … 114 114 <th scope="col">*</th> 115 115 <th scope="col">' . __('Name') . '</th> 116 <th scope="col">' . __('E mail') . '</th>116 <th scope="col">' . __('E-mail') . '</th> 117 117 <th scope="col">' . __('IP') . '</th> 118 118 <th scope="col">' . __('Comment Excerpt') . '</th> -
trunk/wp-admin/moderation.php
r1411 r1420 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('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>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 -
trunk/wp-admin/options-discussion.php
r1411 r1420 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 … … 69 69 </fieldset> 70 70 <fieldset class="options"> 71 <legend><?php _e('E mail me whenever:') ?></legend>71 <legend><?php _e('E-mail me whenever:') ?></legend> 72 72 <ul> 73 73 <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 e mail') ?> </label>96 <?php _e('User must fill out name and e-mail') ?> </label> 97 97 </li> 98 98 </ul> … … 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> -
trunk/wp-admin/options-misc.php
r1411 r1420 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 -
trunk/wp-admin/options-permalink.php
r1411 r1420 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> -
trunk/wp-admin/options-reading.php
r1411 r1420 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 … … 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"> … … 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> -
trunk/wp-admin/options-writing.php
r1411 r1420 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"> … … 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 e mail 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"> -
trunk/wp-admin/options.php
r1411 r1420 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'; -
trunk/wp-admin/post.php
r1411 r1420 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"; … … 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 -
trunk/wp-admin/profile.php
r1411 r1420 65 65 return false; 66 66 } else if (!is_email($_POST["newuser_email"])) { 67 die (__("<strong>ERROR</strong>: the e mail address isn't correct"));67 die (__("<strong>ERROR</strong>: the e-mail address isn't correct")); 68 68 return false; 69 69 } … … 158 158 <p> <strong><?php _e('Nickname:') ?></strong> <?php echo $profiledata->user_nickname ?> </p> 159 159 160 <p> <strong><?php _e('E mail:') ?></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 … … 276 276 </tr> 277 277 <tr> 278 <th scope="row"><?php _e('E mail:') ?></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> -
trunk/wp-comments-popup.php
r1355 r1420 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"> -
trunk/wp-comments.php
r1400 r1420 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"> -
trunk/wp-login.php
r1369 r1420 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('E mail:') ?> <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 … … 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 e mail 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); … … 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");
Note: See TracChangeset
for help on using the changeset viewer.