Update deprecated attributes. Props hansengel. fixes #6037
git-svn-id: http://svn.automattic.com/wordpress/trunk@7104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d9aef704a1
commit
577f12beae
|
@ -70,7 +70,7 @@
|
|||
|
||||
<h1>Post via Email</h1>
|
||||
<p>You can post from an email client! To set this up go to your "Writing" 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>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<h1>User Roles</h1>
|
||||
<p>We've eliminated user levels in order to make way for the much more flexible roles system introduced in 2.0. You can <a href="http://codex.wordpress.org/Roles_and_Capabilities">read more about Roles and Capabilities on the Codex</a>.</p>
|
||||
|
|
|
@ -79,7 +79,7 @@ if ( 'spam' == $_GET['dt'] ) {
|
|||
<table width="100%">
|
||||
<tr>
|
||||
<td><input type='button' class="button" value='<?php _e('No'); ?>' onclick="self.location='<?php echo get_option('siteurl'); ?>/wp-admin/edit-comments.php';" /></td>
|
||||
<td align="right"><input type='submit' class="button" value='<?php echo $button; ?>' /></td>
|
||||
<td style="text-align: right;"><input type='submit' class="button" value='<?php echo $button; ?>' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ if ( $page_links )
|
|||
<th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th>
|
||||
<th scope="col"><?php _e('Name') ?></th>
|
||||
<th scope="col"><?php _e('Description') ?></th>
|
||||
<th scope="col" width="90" style="text-align: center"><?php _e('Links') ?></th>
|
||||
<th scope="col" style="width: 90px; text-align: center"><?php _e('Links') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="the-list" class="list:link-cat">
|
||||
|
|
|
@ -145,10 +145,10 @@ function xfn_check($class, $value = '', $deprecated = '') {
|
|||
<div id="linkxfndiv" class="postbox <?php echo postbox_classes('linkxfndiv', 'link'); ?>">
|
||||
<h3><?php _e('Link Relationship (XFN)') ?></h3>
|
||||
<div class="inside">
|
||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||
<table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
|
||||
<tr>
|
||||
<th width="20%" scope="row"><?php _e('rel:') ?></th>
|
||||
<td width="80%"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td>
|
||||
<th style="width: 20%;" scope="row"><?php _e('rel:') ?></th>
|
||||
<td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th>
|
||||
|
@ -258,10 +258,10 @@ function xfn_check($class, $value = '', $deprecated = '') {
|
|||
<div id="linkadvanceddiv" class="postbox <?php echo postbox_classes('linkadvanceddiv', 'link'); ?>">
|
||||
<h3><?php _e('Advanced') ?></h3>
|
||||
<div class="inside">
|
||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||
<table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5">
|
||||
<tr>
|
||||
<th width="20%" scope="row"><?php _e('Image Address:') ?></th>
|
||||
<td width="80%"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>
|
||||
<th style="width: 20%;" scope="row"><?php _e('Image Address:') ?></th>
|
||||
<td style="width: 80%;"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e('RSS Address:') ?> </th>
|
||||
|
|
|
@ -86,9 +86,9 @@ class BW_Import {
|
|||
|
||||
echo '<li>';
|
||||
if ($post_id = post_exists($post_title, $post_content, $post_date)) {
|
||||
printf(__('Post <i>%s</i> already exists.'), stripslashes($post_title));
|
||||
printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
|
||||
} else {
|
||||
printf(__('Importing post <i>%s</i>...'), stripslashes($post_title));
|
||||
printf(__('Importing post <em>%s</em>...'), stripslashes($post_title));
|
||||
$postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status');
|
||||
$post_id = wp_insert_post($postdata);
|
||||
if ( is_wp_error( $post_id ) ) {
|
||||
|
|
|
@ -66,9 +66,9 @@ class LJ_Import {
|
|||
|
||||
echo '<li>';
|
||||
if ($post_id = post_exists($post_title, $post_content, $post_date)) {
|
||||
printf(__('Post <i>%s</i> already exists.'), stripslashes($post_title));
|
||||
printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
|
||||
} else {
|
||||
printf(__('Importing post <i>%s</i>...'), stripslashes($post_title));
|
||||
printf(__('Importing post <em>%s</em>...'), stripslashes($post_title));
|
||||
$postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status');
|
||||
$post_id = wp_insert_post($postdata);
|
||||
if ( is_wp_error( $post_id ) )
|
||||
|
|
|
@ -152,7 +152,7 @@ class MT_Import {
|
|||
<div class="wrap">
|
||||
<h2><?php _e('Assign Authors'); ?></h2>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
<?php
|
||||
|
||||
|
@ -205,10 +205,10 @@ class MT_Import {
|
|||
|
||||
if ( $post_id = post_exists($post->post_title, '', $post->post_date) ) {
|
||||
echo '<li>';
|
||||
printf(__('Post <i>%s</i> already exists.'), stripslashes($post->post_title));
|
||||
printf(__('Post <em>%s</em> already exists.'), stripslashes($post->post_title));
|
||||
} else {
|
||||
echo '<li>';
|
||||
printf(__('Importing post <i>%s</i>...'), stripslashes($post->post_title));
|
||||
printf(__('Importing post <em>%s</em>...'), stripslashes($post->post_title));
|
||||
|
||||
if ( '' != trim( $post->extended ) )
|
||||
$post->post_content .= "\n<!--more-->\n$post->extended";
|
||||
|
|
|
@ -381,7 +381,7 @@ class WP_Import {
|
|||
|
||||
if ( $post_exists ) {
|
||||
echo '<li>';
|
||||
printf(__('Post <i>%s</i> already exists.'), stripslashes($post_title));
|
||||
printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
|
||||
} else {
|
||||
|
||||
// If it has parent, process parent first.
|
||||
|
@ -412,7 +412,7 @@ class WP_Import {
|
|||
return $post_id;
|
||||
}
|
||||
else {
|
||||
printf(__('Importing post <i>%s</i>...'), stripslashes($post_title));
|
||||
printf(__('Importing post <em>%s</em>...'), stripslashes($post_title));
|
||||
$comment_post_ID = $post_id = wp_insert_post($postdata);
|
||||
}
|
||||
|
||||
|
@ -516,7 +516,7 @@ class WP_Import {
|
|||
|
||||
function process_attachment($postdata, $remote_url) {
|
||||
if ($this->fetch_attachments and $remote_url) {
|
||||
printf( __('Importing attachment <i>%s</i>... '), htmlspecialchars($remote_url) );
|
||||
printf( __('Importing attachment <em>%s</em>... '), htmlspecialchars($remote_url) );
|
||||
$upload = $this->fetch_remote_file($postdata, $remote_url);
|
||||
if ( is_wp_error($upload) ) {
|
||||
printf( __('Remote file error: %s'), htmlspecialchars($upload->get_error_message()) );
|
||||
|
@ -551,7 +551,7 @@ class WP_Import {
|
|||
return $post_id;
|
||||
}
|
||||
else {
|
||||
printf( __('Skipping attachment <i>%s</i>'), htmlspecialchars($remote_url) );
|
||||
printf( __('Skipping attachment <em>%s</em>'), htmlspecialchars($remote_url) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ function _cat_row( $category, $level, $name_override = false ) {
|
|||
<th scope='row' class='check-column'><input type='checkbox' name='delete[]' value='$category->term_id' /></th>
|
||||
<td>$edit</td>
|
||||
<td>$category->description</td>
|
||||
<td align='center'>$posts_count</td>\n\t</tr>\n";
|
||||
<td style='text-align: center;'>$posts_count</td>\n\t</tr>\n";
|
||||
|
||||
return apply_filters('cat_row', $output);
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ function link_cat_row( $category ) {
|
|||
'<th scope="row" class="check-column"> <input type="checkbox" name="delete[]" value="' . $category->term_id . '" /></th>' .
|
||||
"<td>$edit</td>
|
||||
<td>$category->description</td>
|
||||
<td align='center'>$count</td></tr>";
|
||||
<td style='text-align: center;'>$count</td></tr>";
|
||||
|
||||
return apply_filters( 'link_cat_row', $output );
|
||||
}
|
||||
|
@ -722,7 +722,7 @@ function _list_meta_row( $entry, &$count ) {
|
|||
$r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>";
|
||||
$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>";
|
||||
$r .= "\n\t\t<td><textarea name='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>";
|
||||
$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 />";
|
||||
$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 />";
|
||||
$r .= "\n\t\t<input name='deletemeta[{$entry['meta_id']}]' type='submit' ";
|
||||
$r .= "class='delete:the-list:meta-{$entry['meta_id']} deletemeta' tabindex='6' value='".attribute_escape(__( 'Delete' ))."' />";
|
||||
$r .= "</td>\n\t</tr>";
|
||||
|
@ -749,7 +749,7 @@ function meta_form() {
|
|||
<th><?php _e( 'Value' ) ?></th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td align="right" width="18%">
|
||||
<td style="text-align: right;" style="width: 18%;">
|
||||
<?php if ( $keys ) : ?>
|
||||
<select id="metakeyselect" name="metakeyselect" tabindex="7">
|
||||
<option value="#NONE#"><?php _e( '- Select -' ); ?></option>
|
||||
|
|
|
@ -120,7 +120,7 @@ echo $select_order;
|
|||
|
||||
<?php
|
||||
$link_columns = array(
|
||||
'name' => '<th width="15%">' . __('Name') . '</th>',
|
||||
'name' => '<th style="width: 15%;">' . __('Name') . '</th>',
|
||||
'url' => '<th>' . __('URL') . '</th>',
|
||||
'categories' => '<th>' . __('Categories') . '</th>',
|
||||
'rel' => '<th style="text-align: center">' . __('rel') . '</th>',
|
||||
|
@ -196,7 +196,7 @@ if ( $links ) {
|
|||
?><td><?php echo $link->link_rel; ?></td><?php
|
||||
break;
|
||||
case 'visible':
|
||||
?><td align='center'><?php echo $visible; ?></td><?php
|
||||
?><td style='text-align: center;'><?php echo $visible; ?></td><?php
|
||||
break;
|
||||
default:
|
||||
?>
|
||||
|
|
|
@ -240,7 +240,7 @@ echo $role_list . '</select>';
|
|||
<input type="text" name="jabber" value="<?php echo $profileuser->jabber ?>" /></label>
|
||||
</p>
|
||||
</fieldset>
|
||||
<br clear="all" />
|
||||
<br style="clear: both;" />
|
||||
<fieldset>
|
||||
<legend><?php $is_profile_page? _e('About Yourself') : _e('About the user'); ?></legend>
|
||||
<p class="desc"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></p>
|
||||
|
@ -276,8 +276,8 @@ if ( $show_password_fields ) :
|
|||
}
|
||||
?>
|
||||
|
||||
<br clear="all" />
|
||||
<table width="99%" border="0" cellspacing="2" cellpadding="3" class="editform">
|
||||
<br style="clear: both;" />
|
||||
<table width="99%" style="border: none;" cellspacing="2" cellpadding="3" class="editform">
|
||||
<?php
|
||||
if(count($profileuser->caps) > count($profileuser->roles)):
|
||||
?>
|
||||
|
|
|
@ -484,7 +484,7 @@ function wp_list_authors($args = '') {
|
|||
$link .= '>';
|
||||
|
||||
if ( !empty($feed_image) )
|
||||
$link .= "<img src=\"$feed_image\" border=\"0\"$alt$title" . ' />';
|
||||
$link .= "<img src=\"$feed_image\" style=\"border: none;\"$alt$title" . ' />';
|
||||
else
|
||||
$link .= $name;
|
||||
|
||||
|
|
|
@ -673,15 +673,15 @@ function ColorPicker() {
|
|||
var windowRef = (windowMode)?"window.opener.":"";
|
||||
if (windowMode) {
|
||||
cp_contents += "<html><head><title>Select Color</title></head>";
|
||||
cp_contents += "<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><center>";
|
||||
cp_contents += "<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><span style='text-align: center;'>";
|
||||
}
|
||||
cp_contents += "<table border=0 cellspacing=0 cellpadding=0>";
|
||||
cp_contents += "<table style='border: none;' cellspacing=0 cellpadding=0>";
|
||||
var use_highlight = (document.getElementById || document.all)?true:false;
|
||||
for (var i=0; i<total; i++) {
|
||||
if ((i % width) == 0) { cp_contents += "<tr>"; }
|
||||
if (use_highlight) { var mo = 'onMouseOver="'+windowRef+'ColorPicker_highlightColor(\''+colors[i]+'\',window.document)"'; }
|
||||
else { mo = ""; }
|
||||
cp_contents += '<td bgcolor="'+colors[i]+'"><a href="javascript:void()" onclick="'+windowRef+'ColorPicker_pickColor(\''+colors[i]+'\','+windowRef+'window.popupWindowObjects['+cp.index+']);return false;" '+mo+'> </a></td>';
|
||||
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+'> </a></td>';
|
||||
if ( ((i+1)>=total) || (((i+1) % width) == 0)) {
|
||||
cp_contents += "</tr>";
|
||||
}
|
||||
|
@ -690,11 +690,11 @@ function ColorPicker() {
|
|||
if (document.getElementById) {
|
||||
var width1 = Math.floor(width/2);
|
||||
var width2 = width = width1;
|
||||
cp_contents += "<tr><td colspan='"+width1+"' bgcolor='#ffffff' ID='colorPickerSelectedColor'> </td><td colspan='"+width2+"' align='center' id='colorPickerSelectedColorValue'>#FFFFFF</td></tr>";
|
||||
cp_contents += "<tr><td colspan='"+width1+"' style='background-color: #FFF;' ID='colorPickerSelectedColor'> </td><td colspan='"+width2+"' style='text-align: center;' id='colorPickerSelectedColorValue'>#FFFFFF</td></tr>";
|
||||
}
|
||||
cp_contents += "</table>";
|
||||
if (windowMode) {
|
||||
cp_contents += "</center></body></html>";
|
||||
cp_contents += "</span></body></html>";
|
||||
}
|
||||
// end populate code
|
||||
|
||||
|
|
|
@ -170,7 +170,7 @@ wp_admin_css();
|
|||
<div id="content3" class="hidden">
|
||||
<h2><?php _e('Writing at Full Speed') ?></h2>
|
||||
<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>
|
||||
<table id="keys" width="100%" border="0">
|
||||
<table id="keys" width="100%" style="border: none;">
|
||||
<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>
|
||||
<tr><th>c</th><td><?php _e('Copy') ?></td><th>v</th><td><?php _e('Paste') ?></td></tr>
|
||||
<tr><th>a</th><td><?php _e('Select all') ?></td><th>x</th><td><?php _e('Cut') ?></td></tr>
|
||||
|
@ -183,12 +183,12 @@ wp_admin_css();
|
|||
</table>
|
||||
|
||||
<p><?php _e('The following shortcuts use different access keys. Windows and Linux use Alt + letter. Macintosh uses Ctrl + letter.') ?></p>
|
||||
<table id="keys" width="100%" border="0">
|
||||
<table id="keys" width="100%" style="border: none;">
|
||||
<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>
|
||||
<tr><th>n</th><td><?php _e('Check Spelling') ?></td><th>l</th><td><?php _e('Align Left') ?></td></tr>
|
||||
<tr><th>j</th><td><?php _e('Justify Text') ?></td><th>c</th><td><?php _e('Align Center') ?></td></tr>
|
||||
<tr><th>k</th><td><strike><?php _e('Strikethrough') ?></strike></td><th>r</th><td><?php _e('Align Right') ?></td></tr>
|
||||
<tr><th>u</th><td><b>•</b> <?php _e('List') ?></td><th>s</th><td><?php _e('Insert link') ?></td></tr>
|
||||
<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>
|
||||
<tr><th>u</th><td><strong>•</strong> <?php _e('List') ?></td><th>s</th><td><?php _e('Insert link') ?></td></tr>
|
||||
<tr><th>o</th><td>1. <?php _e('List') ?></td><th>d</th><td><?php _e('Remove link') ?></td></tr>
|
||||
<tr><th>q</th><td><?php _e('Quote') ?></td><th>m</th><td><?php _e('Insert Image') ?></td></tr>
|
||||
<tr><th>g</th><td><?php _e('Full Screen') ?></td><th>y</th><td><?php _e('Insert "More" Tag') ?></td></tr>
|
||||
|
@ -205,9 +205,9 @@ wp_admin_css();
|
|||
<p><?php _e('For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.') ?></p>
|
||||
|
||||
<div id="buttoncontainer">
|
||||
<a href="http://www.moxiecode.com" target="_new"><img src="themes/advanced/img/gotmoxie.png" alt="<?php _e('Got Moxie?') ?>" border="0" /></a>
|
||||
<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>
|
||||
<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>
|
||||
<a href="http://www.moxiecode.com" target="_new"><img src="themes/advanced/img/gotmoxie.png" alt="<?php _e('Got Moxie?') ?>" style="border: none;" /></a>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue