Make WordPress Core

Changeset 7104


Ignore:
Timestamp:
02/29/2008 05:09:44 PM (17 years ago)
Author:
ryan
Message:

Update deprecated attributes. Props hansengel. fixes #6037

Location:
trunk
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/readme.html

    r7024 r7104  
    7171<h1>Post via Email</h1>
    7272<p>You can post from an email client! To set this up go to your &quot;Writing&quot; options screen and fill in the connection details for your secret POP3 account. Then you need to set up <code>wp-mail.php</code> to execute periodically to check the mailbox for new posts. You can do it with Cron-jobs, or if your host doesn't support it you can look into the various website-monitoring services, and make them check your <code>wp-mail.php</code> URL.</p>
    73 <p>Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will <i>delete</i> emails that are successfully posted.</p>
     73<p>Posting is easy: Any email sent to the address you specify will be posted, with the subject as the title. It is best to keep the address discrete. The script will <em>delete</em> emails that are successfully posted.</p>
    7474
    7575<h1>User Roles</h1>
  • trunk/wp-admin/comment.php

    r7000 r7104  
    8080<tr>
    8181<td><input type='button' class="button" value='<?php _e('No'); ?>' onclick="self.location='<?php echo get_option('siteurl'); ?>/wp-admin/edit-comments.php';" /></td>
    82 <td align="right"><input type='submit' class="button" value='<?php echo $button; ?>' /></td>
     82<td style="text-align: right;"><input type='submit' class="button" value='<?php echo $button; ?>' /></td>
    8383</tr>
    8484</table>
  • trunk/wp-admin/edit-link-categories.php

    r7046 r7104  
    9898        <th scope="col"><?php _e('Name') ?></th>
    9999        <th scope="col"><?php _e('Description') ?></th>
    100         <th scope="col" width="90" style="text-align: center"><?php _e('Links') ?></th>
     100        <th scope="col" style="width: 90px; text-align: center"><?php _e('Links') ?></th>
    101101    </tr>
    102102    </thead>
  • trunk/wp-admin/edit-link-form.php

    r7101 r7104  
    146146<h3><?php _e('Link Relationship (XFN)') ?></h3>
    147147<div class="inside">
    148 <table class="editform" width="100%" cellspacing="2" cellpadding="5">
    149     <tr>
    150         <th width="20%" scope="row"><?php _e('rel:') ?></th>
    151         <td width="80%"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td>
     148<table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
     149    <tr>
     150        <th style="width: 20%;" scope="row"><?php _e('rel:') ?></th>
     151        <td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td>
    152152    </tr>
    153153    <tr>
     
    259259<h3><?php _e('Advanced') ?></h3>
    260260<div class="inside">
    261 <table class="editform" width="100%" cellspacing="2" cellpadding="5">
    262     <tr>
    263         <th width="20%" scope="row"><?php _e('Image Address:') ?></th>
    264         <td width="80%"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>
     261<table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
     262    <tr>
     263        <th style="width: 20%;" scope="row"><?php _e('Image Address:') ?></th>
     264        <td style="width: 80%;"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>
    265265    </tr>
    266266    <tr>
  • trunk/wp-admin/import/blogware.php

    r7072 r7104  
    8787            echo '<li>';
    8888            if ($post_id = post_exists($post_title, $post_content, $post_date)) {
    89                 printf(__('Post <i>%s</i> already exists.'), stripslashes($post_title));
     89                printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
    9090            } else {
    91                 printf(__('Importing post <i>%s</i>...'), stripslashes($post_title));
     91                printf(__('Importing post <em>%s</em>...'), stripslashes($post_title));
    9292                $postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status');
    9393                $post_id = wp_insert_post($postdata);
  • trunk/wp-admin/import/livejournal.php

    r7072 r7104  
    6767            echo '<li>';
    6868            if ($post_id = post_exists($post_title, $post_content, $post_date)) {
    69                 printf(__('Post <i>%s</i> already exists.'), stripslashes($post_title));
     69                printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
    7070            } else {
    71                 printf(__('Importing post <i>%s</i>...'), stripslashes($post_title));
     71                printf(__('Importing post <em>%s</em>...'), stripslashes($post_title));
    7272                $postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status');
    7373                $post_id = wp_insert_post($postdata);
  • trunk/wp-admin/import/mt.php

    r7072 r7104  
    153153<h2><?php _e('Assign Authors'); ?></h2>
    154154<p><?php _e('To make it easier for you to edit and save the imported posts and drafts, you may want to change the name of the author of the posts. For example, you may want to import all the entries as admin\'s entries.'); ?></p>
    155 <p><?php _e('Below, you can see the names of the authors of the MovableType posts in <i>italics</i>. For each of these names, you can either pick an author in your WordPress installation from the menu, or enter a name for the author in the textbox.'); ?></p>
     155<p><?php _e('Below, you can see the names of the authors of the MovableType posts in <em>italics</em>. For each of these names, you can either pick an author in your WordPress installation from the menu, or enter a name for the author in the textbox.'); ?></p>
    156156<p><?php _e('If a new user is created by WordPress, a password will be randomly generated. Manually change the user\'s details if necessary.'); ?></p>
    157157    <?php
     
    206206        if ( $post_id = post_exists($post->post_title, '', $post->post_date) ) {
    207207            echo '<li>';
    208             printf(__('Post <i>%s</i> already exists.'), stripslashes($post->post_title));
     208            printf(__('Post <em>%s</em> already exists.'), stripslashes($post->post_title));
    209209        } else {
    210210            echo '<li>';
    211             printf(__('Importing post <i>%s</i>...'), stripslashes($post->post_title));
     211            printf(__('Importing post <em>%s</em>...'), stripslashes($post->post_title));
    212212
    213213            if ( '' != trim( $post->extended ) )
  • trunk/wp-admin/import/wordpress.php

    r7072 r7104  
    382382        if ( $post_exists ) {
    383383            echo '<li>';
    384             printf(__('Post <i>%s</i> already exists.'), stripslashes($post_title));
     384            printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
    385385        } else {
    386386
     
    413413            }
    414414            else {
    415                 printf(__('Importing post <i>%s</i>...'), stripslashes($post_title));
     415                printf(__('Importing post <em>%s</em>...'), stripslashes($post_title));
    416416                $comment_post_ID = $post_id = wp_insert_post($postdata);
    417417            }
     
    517517    function process_attachment($postdata, $remote_url) {
    518518        if ($this->fetch_attachments and $remote_url) {
    519             printf( __('Importing attachment <i>%s</i>... '), htmlspecialchars($remote_url) );
     519            printf( __('Importing attachment <em>%s</em>... '), htmlspecialchars($remote_url) );
    520520            $upload = $this->fetch_remote_file($postdata, $remote_url);
    521521            if ( is_wp_error($upload) ) {
     
    552552        }
    553553        else {
    554             printf( __('Skipping attachment <i>%s</i>'), htmlspecialchars($remote_url) );
     554            printf( __('Skipping attachment <em>%s</em>'), htmlspecialchars($remote_url) );
    555555        }
    556556    }
  • trunk/wp-admin/includes/template.php

    r7098 r7104  
    5757        <td>$edit</td>
    5858        <td>$category->description</td>
    59         <td align='center'>$posts_count</td>\n\t</tr>\n";
     59        <td style='text-align: center;'>$posts_count</td>\n\t</tr>\n";
    6060
    6161    return apply_filters('cat_row', $output);
     
    8585        "<td>$edit</td>
    8686        <td>$category->description</td>
    87         <td align='center'>$count</td></tr>";
     87        <td style='text-align: center;'>$count</td></tr>";
    8888
    8989    return apply_filters( 'link_cat_row', $output );
     
    723723    $r .= "\n\t\t<td valign='top'><input name='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' /></td>";
    724724    $r .= "\n\t\t<td><textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>";
    725     $r .= "\n\t\t<td align='center'><input name='updatemeta' type='submit' tabindex='6' value='".attribute_escape(__( 'Update' ))."' class='add:the-list:meta-{$entry['meta_id']} updatemeta' /><br />";
     725    $r .= "\n\t\t<td style='text-align: center;'><input name='updatemeta' type='submit' tabindex='6' value='".attribute_escape(__( 'Update' ))."' class='add:the-list:meta-{$entry['meta_id']} updatemeta' /><br />";
    726726    $r .= "\n\t\t<input name='deletemeta[{$entry['meta_id']}]' type='submit' ";
    727727    $r .= "class='delete:the-list:meta-{$entry['meta_id']} deletemeta' tabindex='6' value='".attribute_escape(__( 'Delete' ))."' />";
     
    750750</tr>
    751751    <tr valign="top">
    752         <td align="right" width="18%">
     752        <td style="text-align: right;" style="width: 18%;">
    753753<?php if ( $keys ) : ?>
    754754<select id="metakeyselect" name="metakeyselect" tabindex="7">
  • trunk/wp-admin/link-manager.php

    r7057 r7104  
    121121<?php
    122122$link_columns = array(
    123     'name'       => '<th width="15%">' . __('Name') . '</th>',
     123    'name'       => '<th style="width: 15%;">' . __('Name') . '</th>',
    124124    'url'       => '<th>' . __('URL') . '</th>',
    125125    'categories' => '<th>' . __('Categories') . '</th>',
     
    197197                    break;
    198198                case 'visible':
    199                     ?><td align='center'><?php echo $visible; ?></td><?php
     199                    ?><td style='text-align: center;'><?php echo $visible; ?></td><?php
    200200                    break;
    201201                default:
  • trunk/wp-admin/user-edit.php

    r6991 r7104  
    241241</p>
    242242</fieldset>
    243 <br clear="all" />
     243<br style="clear: both;" />
    244244<fieldset>
    245245<legend><?php $is_profile_page? _e('About Yourself') : _e('About the user'); ?></legend>
     
    277277?>
    278278
    279 <br clear="all" />
    280     <table width="99%"  border="0" cellspacing="2" cellpadding="3" class="editform">
     279<br style="clear: both;" />
     280    <table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform">
    281281        <?php
    282282        if(count($profileuser->caps) > count($profileuser->roles)):
  • trunk/wp-includes/author-template.php

    r6515 r7104  
    485485
    486486                if ( !empty($feed_image) )
    487                     $link .= "<img src=\"$feed_image\" border=\"0\"$alt$title" . ' />';
     487                    $link .= "<img src=\"$feed_image\" style=\"border: none;\"$alt$title" . ' />';
    488488                else
    489489                    $link .= $name;
  • trunk/wp-includes/js/colorpicker.js

    r3517 r7104  
    674674    if (windowMode) {
    675675        cp_contents += "<html><head><title>Select Color</title></head>";
    676         cp_contents += "<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><center>";
    677         }
    678     cp_contents += "<table border=0 cellspacing=0 cellpadding=0>";
     676        cp_contents += "<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><span style='text-align: center;'>";
     677        }
     678    cp_contents += "<table style='border: none;' cellspacing=0 cellpadding=0>";
    679679    var use_highlight = (document.getElementById || document.all)?true:false;
    680680    for (var i=0; i<total; i++) {
     
    682682        if (use_highlight) { var mo = 'onMouseOver="'+windowRef+'ColorPicker_highlightColor(\''+colors[i]+'\',window.document)"'; }
    683683        else { mo = ""; }
    684         cp_contents += '<td bgcolor="'+colors[i]+'"><a href="javascript:void()" onclick="'+windowRef+'ColorPicker_pickColor(\''+colors[i]+'\','+windowRef+'window.popupWindowObjects['+cp.index+']);return false;" '+mo+'>&nbsp;</a></td>';
     684        cp_contents += '<td style="background-color: '+colors[i]+';"><a href="javascript:void()" onclick="'+windowRef+'ColorPicker_pickColor(\''+colors[i]+'\','+windowRef+'window.popupWindowObjects['+cp.index+']);return false;" '+mo+'>&nbsp;</a></td>';
    685685        if ( ((i+1)>=total) || (((i+1) % width) == 0)) {
    686686            cp_contents += "</tr>";
     
    691691        var width1 = Math.floor(width/2);
    692692        var width2 = width = width1;
    693         cp_contents += "<tr><td colspan='"+width1+"' bgcolor='#ffffff' ID='colorPickerSelectedColor'>&nbsp;</td><td colspan='"+width2+"' align='center' id='colorPickerSelectedColorValue'>#FFFFFF</td></tr>";
     693        cp_contents += "<tr><td colspan='"+width1+"' style='background-color: #FFF;' ID='colorPickerSelectedColor'>&nbsp;</td><td colspan='"+width2+"' style='text-align: center;' id='colorPickerSelectedColorValue'>#FFFFFF</td></tr>";
    694694        }
    695695    cp_contents += "</table>";
    696696    if (windowMode) {
    697         cp_contents += "</center></body></html>";
     697        cp_contents += "</span></body></html>";
    698698        }
    699699    // end populate code
  • trunk/wp-includes/js/tinymce/wp-mce-help.php

    r7060 r7104  
    171171    <h2><?php _e('Writing at Full Speed') ?></h2>
    172172    <p><?php _e('Rather than reaching for your mouse to click on the toolbar, use these access keys. Windows and Linux use Ctrl + letter. Macintosh uses Apple + letter.') ?></p>
    173     <table id="keys" width="100%" border="0">
     173    <table id="keys" width="100%" style="border: none;">
    174174        <tr class="top"><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th></tr>
    175175        <tr><th>c</th><td><?php _e('Copy') ?></td><th>v</th><td><?php _e('Paste') ?></td></tr>
     
    184184   
    185185    <p><?php _e('The following shortcuts use different access keys. Windows and Linux use Alt + letter. Macintosh uses Ctrl + letter.') ?></p>
    186     <table id="keys" width="100%" border="0">
     186    <table id="keys" width="100%" style="border: none;">
    187187        <tr class="top"><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th><th class="key center"><?php _e('Letter') ?></th><th class="left"><?php _e('Action') ?></th></tr>
    188188        <tr><th>n</th><td><?php _e('Check Spelling') ?></td><th>l</th><td><?php _e('Align Left') ?></td></tr>
    189189        <tr><th>j</th><td><?php _e('Justify Text') ?></td><th>c</th><td><?php _e('Align Center') ?></td></tr>
    190         <tr><th>k</th><td><strike><?php _e('Strikethrough') ?></strike></td><th>r</th><td><?php _e('Align Right') ?></td></tr>
    191         <tr><th>u</th><td><b>&bull;</b> <?php _e('List') ?></td><th>s</th><td><?php _e('Insert link') ?></td></tr>
     190        <tr><th>k</th><td><span style="text-decoration: line-through;"><?php _e('Strikethrough') ?></span></td><th>r</th><td><?php _e('Align Right') ?></td></tr>
     191        <tr><th>u</th><td><strong>&bull;</strong> <?php _e('List') ?></td><th>s</th><td><?php _e('Insert link') ?></td></tr>
    192192        <tr><th>o</th><td>1. <?php _e('List') ?></td><th>d</th><td><?php _e('Remove link') ?></td></tr>
    193193        <tr><th>q</th><td><?php _e('Quote') ?></td><th>m</th><td><?php _e('Insert Image') ?></td></tr>
     
    206206
    207207    <div id="buttoncontainer">
    208         <a href="http://www.moxiecode.com" target="_new"><img src="themes/advanced/img/gotmoxie.png" alt="<?php _e('Got Moxie?') ?>" border="0" /></a>
    209         <a href="http://sourceforge.net/projects/tinymce/" target="_blank"><img src="themes/advanced/img/sflogo.png" alt="<?php _e('Hosted By Sourceforge') ?>" border="0" /></a>
    210         <a href="http://www.freshmeat.net/projects/tinymce" target="_blank"><img src="themes/advanced/img/fm.gif" alt="<?php _e('Also on freshmeat') ?>" border="0" /></a>
     208        <a href="http://www.moxiecode.com" target="_new"><img src="themes/advanced/img/gotmoxie.png" alt="<?php _e('Got Moxie?') ?>" style="border: none;" /></a>
     209        <a href="http://sourceforge.net/projects/tinymce/" target="_blank"><img src="themes/advanced/img/sflogo.png" alt="<?php _e('Hosted By Sourceforge') ?>" style="border: none;" /></a>
     210        <a href="http://www.freshmeat.net/projects/tinymce" target="_blank"><img src="themes/advanced/img/fm.gif" alt="<?php _e('Also on freshmeat') ?>" style="border: none;" /></a>
    211211    </div>
    212212
Note: See TracChangeset for help on using the changeset viewer.