Make WordPress Core

Changeset 7230


Ignore:
Timestamp:
03/11/2008 07:23:07 AM (17 years ago)
Author:
matt
Message:

Visual and English tweaks throughout.

Location:
trunk/wp-admin
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r7226 r7230  
    6262<div id="wpcontent">
    6363<div id="wphead">
    64 <h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo get_option('home') . '/'; ?>"><?php _e('Visit Site') ?></a></span></h1>
     64<h1><?php bloginfo('name'); ?><span id="viewsite"><a href="<?php echo trailingslashit( get_option('home') ); ?>" target="_blank"><?php _e('Visit Site') ?></a></span></h1>
    6565</div>
    6666<div id="user_info"><p><?php printf(__('Howdy, <a href="%1$s">%2$s</a>!'), 'profile.php', $user_identity) ?> | <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log Out') ?>"><?php _e('Log Out'); ?></a> | <?php _e('<a href="http://codex.wordpress.org/">Help</a>') ?> | <?php _e('<a href="http://wordpress.org/support/">Forums</a>') ?></p></div>
  • trunk/wp-admin/css/colors-classic.css

    r7229 r7230  
    1212}
    1313
    14 div#current-widgets, #postcustom table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat {
     14div#current-widgets, #postcustomstuff table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat {
    1515    border-color: #ccc;
    1616}
     
    191191    color: #246;
    192192    border-color: #a3a3a3;
     193}
     194
     195.tablenav .button-secondary {
     196    border-color: #5396c5;
    193197}
    194198
     
    265269
    266270.widefat thead, .thead {
    267     background-color: #07273e;
     271    background-color: #464646;
    268272    color: #d7d7d7;
    269273}
  • trunk/wp-admin/css/colors-fresh.css

    r7213 r7230  
    1212}
    1313
    14 div#current-widgets, #postcustom table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat {
     14div#current-widgets, #postcustomstuff table, #your-profile fieldset, a.page-numbers, #rightnow, div.dashboard-widget, .widefat {
    1515    border-color: #ccc;
    1616}
  • trunk/wp-admin/css/theme-editor.css

    r7178 r7230  
    1515}
    1616
    17 #templateside h3, #postcustom p.submit {
     17#templateside h3, #postcustomstuff p.submit {
    1818    margin: 0;
    1919}
  • trunk/wp-admin/edit-comments.php

    r7184 r7230  
    109109    $status_links[] = "<li><a href=\"edit-comments.php?comment_status=$status\"$class>" . $label . '</a>';
    110110}
     111
     112$status_links = apply_filters( 'comment_status_links', $status_links );
     113
    111114echo implode(' | </li>', $status_links) . '</li>';
    112115unset($status_links);
     
    215218<div id="ajax-response"></div>
    216219<?php
    217 } else {
     220} elseif ( 'moderated' == $_GET['comment_status'] ) {
    218221?>
    219222<p>
    220 <strong><?php _e('No results found.') ?></strong>
     223<?php _e('No comments awaiting moderation&hellip; yet.') ?>
     224</p>
     225<?php
     226} else  {
     227?>
     228<p>
     229<?php _e('No results found.') ?>
    221230</p>
    222231<?php
  • trunk/wp-admin/edit-form-advanced.php

    r7181 r7230  
    264264<div id="postexcerpt" class="postbox <?php echo postbox_classes('postexcerpt', 'post'); ?>">
    265265<h3><?php _e('Excerpt') ?></h3>
    266 <div class="inside"><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea></div>
     266<div class="inside"><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea>
     267<p><?php _e('Excerpts are optional hand-crafted summaries of your content. You can <a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank">use them in your template</a>'); ?></p>
     268</div>
    267269</div>
    268270
     
    270272<h3><?php _e('Trackbacks') ?></h3>
    271273<div class="inside">
    272 <?php _e('Send trackbacks to:'); ?> <?php echo $form_trackback; ?> (<?php _e('Separate multiple URLs with spaces'); ?>)
     274<p><?php _e('Send trackbacks to:'); ?> <?php echo $form_trackback; ?><br /> (<?php _e('Separate multiple URLs with spaces'); ?>)</p>
     275<p><?php _e('Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. If you link other WordPress blogs they&#8217;ll be notified automatically using <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p>
    273276<?php
    274277if ( ! empty($pings) )
     
    294297<div id="ajax-response"></div>
    295298</div>
     299<p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p>
    296300</div>
    297301</div>
     
    303307<div class="inside">
    304308<input name="advanced_view" type="hidden" value="1" />
    305 <label for="comment_status" class="selectit">
     309<p><label for="comment_status" class="selectit">
    306310<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> />
    307 <?php _e('Allow Comments') ?></label>
    308 <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label>
     311<?php _e('Allow Comments') ?></label></p>
     312<p><label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label></p>
     313<p><?php _e('These settings apply to this post only. &#8220;Pings&#8221; are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p>
    309314</div>
    310315</div>
     
    313318<h3><?php _e('Password Protect This Post') ?></h3>
    314319<div class="inside">
    315 <input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" />
     320<p><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>
     321<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p>
    316322</div>
    317323</div>
  • trunk/wp-admin/edit-link-form.php

    r7198 r7230  
    147147<input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> />
    148148<?php _e('none') ?></label>
     149<p><?php _e('Choose the frame your link targets. Essentially this means if you choose <code>_blank</code> your link will open in a new window.'); ?></p>
    149150</div>
    150151</div>
     
    159160    </tr>
    160161    <tr>
    161         <th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th>
    162         <td>
    163             <table cellpadding="3" cellspacing="5">
     162        <td colspan="2">
     163            <table cellpadding="3" cellspacing="5" class="form-table">
    164164                <tr>
    165165                    <th scope="row"> <?php _e('identity') ?> </th>
     
    260260    </tr>
    261261</table>
     262<p><?php _e('If the link is to a person, you can specify your relationship with them using the above form. If you would like to learn more about the idea check out <a href="http://gmpg.org/xfn/">XFN</a>.'); ?></p>
    262263</div>
    263264</div>
  • trunk/wp-admin/edit-page-form.php

    r7184 r7230  
    201201<div class="inside">
    202202<input name="advanced_view" type="hidden" value="1" />
    203 <label for="comment_status" class="selectit">
     203<p><label for="comment_status" class="selectit">
    204204<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> />
    205 <?php _e('Allow Comments') ?></label>
    206 <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label>
     205<?php _e('Allow Comments') ?></label></p>
     206<p><label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow Pings') ?></label></p>
     207<p><?php _e('These settings apply to this post only. &#8220;Pings&#8221; are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p>
    207208</div>
    208209</div>
     
    211212<h3><?php _e('Password Protect This Page') ?></h3>
    212213<div class="inside">
    213 <input name="post_password" type="text" size="13" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" />
     214<p><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p>
     215<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p>
    214216</div>
    215217</div>
     
    229231<?php parent_dropdown($post->post_parent); ?>
    230232</select>
     233<p><?php _e('You can arrange your pages in hierarchies, for example you could have an &#8220;About&#8221; page that has &#8220;Life Story&#8221; and &#8220;My Dog&#8221; pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
    231234</div>
    232235</div>
     
    240243<?php page_template_dropdown($post->page_template); ?>
    241244</select>
     245<p><?php _e('Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you&#8217;ll see them above.'); ?></p>
    242246</div>
    243247</div>
     
    247251<h3><?php _e('Page Order') ?></h3>
    248252<div class="inside">
    249 <input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" />
     253<p><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo $post->menu_order ?>" /></p>
     254<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it&#8217;ll be better in future releases.)'); ?></p>
    250255</div>
    251256</div>
  • trunk/wp-admin/edit-tag-form.php

    r7000 r7230  
    2727        <tr class="form-field form-required">
    2828            <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th>
    29             <td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" /></td>
     29            <td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" />
     30            <p><?php _e('The name is how the tag appears on your site.'); ?></p></td>
    3031        </tr>
    3132        <tr class="form-field">
    3233            <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>
    33             <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape($tag->slug); ?>" size="40" /></td>
     34            <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape($tag->slug); ?>" size="40" />
     35            <p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>
    3436        </tr>
    3537    </table>
  • trunk/wp-admin/options-permalink.php

    r7182 r7230  
    124124    '',
    125125    $prefix . '/%year%/%monthnum%/%day%/%postname%/',
     126    $prefix . '/%year%/%monthnum%/%postname%/',
    126127    $prefix . '/archives/%post_id%'
    127128    );
     
    134135    </tr>
    135136    <tr>
    136         <th><label><input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Date and name based'); ?></label></th>
     137        <th><label><input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Day and name'); ?></label></th>
    137138        <td><code><?php echo get_option('home') . $prefix . '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/sample-post/'; ?></code></td>
    138139    </tr>
    139140    <tr>
    140         <th><label><input name="selection" type="radio" value="<?php echo $structures[2]; ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th>
     141        <th><label><input name="selection" type="radio" value="<?php echo $structures[2]; ?>" class="tog" <?php checked($structures[2], $permalink_structure); ?> /> <?php _e('Month and name'); ?></label></th>
     142        <td><code><?php echo get_option('home') . $prefix . '/' . date('Y') . '/' . date('m') . '/' . '/sample-post/'; ?></code></td>
     143    </tr>
     144    <tr>
     145        <th><label><input name="selection" type="radio" value="<?php echo $structures[3]; ?>" class="tog" <?php checked($structures[3], $permalink_structure); ?> /> <?php _e('Numeric'); ?></label></th>
    141146        <td><code><?php echo get_option('home') . $prefix  ; ?>/archives/123</code></td>
    142147    </tr>
     
    159164<h3><?php _e('Optional'); ?></h3>
    160165<?php if ($is_apache) : ?>
    161     <p><?php _e('If you like, you may enter custom bases for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>
     166    <p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>
    162167<?php else : ?>
    163     <p><?php _e('If you like, you may enter custom bases for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>
     168    <p><?php _e('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>/topics/</code> as your category base would make your category links like <code>http://example.org/index.php/topics/uncategorized/</code>. If you leave these blank the defaults will be used.') ?></p>
    164169<?php endif; ?>
    165170
  • trunk/wp-admin/themes.php

    r6943 r7230  
    2020<div id="message1" class="updated fade"><p><?php _e('The active theme is broken.  Reverting to the default theme.'); ?></p></div>
    2121<?php elseif ( isset($_GET['activated']) ) : ?>
    22 <div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s">View site</a>'), get_bloginfo('url') . '/'); ?></p></div>
     22<div id="message2" class="updated fade"><p><?php printf(__('New theme activated. <a href="%s" target="_blank">Visit site</a>'), get_bloginfo('url') . '/'); ?></p></div>
    2323<?php endif; ?>
    2424
  • trunk/wp-admin/wp-admin.css

    r7215 r7230  
    324324}
    325325
    326 #postcustom .updatemeta, #postcustom .deletemeta {
     326#postcustomstuff .updatemeta, #postcustomstuff .deletemeta {
    327327    margin: auto;
    328328}
    329329
    330 #postcustom table {
     330#postcustomstuff table {
    331331    margin: 0;
    332332    width: 100%;
     
    335335}
    336336
    337 #postcustom table input, #postcustom table textarea {
     337#postcustomstuff table input, #postcustomstuff table textarea {
    338338    width: 95%;
    339339}
    340340
    341 #postcustom table #addmetasub {
     341#postcustomstuff table #addmetasub {
    342342    width: auto;
    343343}
Note: See TracChangeset for help on using the changeset viewer.