Ticket #6037: 6037.updateXHTML.diff
File 6037.updateXHTML.diff, 19.5 KB (added by , 17 years ago) |
---|
-
wp-includes/js/colorpicker.js
673 673 var windowRef = (windowMode)?"window.opener.":""; 674 674 if (windowMode) { 675 675 cp_contents += "<html><head><title>Select Color</title></head>"; 676 cp_contents += "<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0>< center>";676 cp_contents += "<body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><span style='text-align: center;'>"; 677 677 } 678 cp_contents += "<table border=0cellspacing=0 cellpadding=0>";678 cp_contents += "<table style='border: none;' cellspacing=0 cellpadding=0>"; 679 679 var use_highlight = (document.getElementById || document.all)?true:false; 680 680 for (var i=0; i<total; i++) { 681 681 if ((i % width) == 0) { cp_contents += "<tr>"; } 682 682 if (use_highlight) { var mo = 'onMouseOver="'+windowRef+'ColorPicker_highlightColor(\''+colors[i]+'\',window.document)"'; } 683 683 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+'> </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+'> </a></td>'; 685 685 if ( ((i+1)>=total) || (((i+1) % width) == 0)) { 686 686 cp_contents += "</tr>"; 687 687 } … … 690 690 if (document.getElementById) { 691 691 var width1 = Math.floor(width/2); 692 692 var width2 = width = width1; 693 cp_contents += "<tr><td colspan='"+width1+"' bgcolor='#ffffff' ID='colorPickerSelectedColor'> </td><td colspan='"+width2+"' align='center' id='colorPickerSelectedColorValue'>#FFFFFF</td></tr>";693 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>"; 694 694 } 695 695 cp_contents += "</table>"; 696 696 if (windowMode) { 697 cp_contents += "</ center></body></html>";697 cp_contents += "</span></body></html>"; 698 698 } 699 699 // end populate code 700 700 -
wp-includes/js/tinymce/wp-mce-help.php
170 170 <div id="content3" class="hidden"> 171 171 <h2><?php _e('Writing at Full Speed') ?></h2> 172 172 <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;"> 174 174 <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> 175 175 <tr><th>c</th><td><?php _e('Copy') ?></td><th>v</th><td><?php _e('Paste') ?></td></tr> 176 176 <tr><th>a</th><td><?php _e('Select all') ?></td><th>x</th><td><?php _e('Cut') ?></td></tr> … … 183 183 </table> 184 184 185 185 <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;"> 187 187 <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> 188 188 <tr><th>n</th><td><?php _e('Check Spelling') ?></td><th>l</th><td><?php _e('Align Left') ?></td></tr> 189 189 <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><s trike><?php _e('Strikethrough') ?></strike></td><th>r</th><td><?php _e('Align Right') ?></td></tr>191 <tr><th>u</th><td>< b>•</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>•</strong> <?php _e('List') ?></td><th>s</th><td><?php _e('Insert link') ?></td></tr> 192 192 <tr><th>o</th><td>1. <?php _e('List') ?></td><th>d</th><td><?php _e('Remove link') ?></td></tr> 193 193 <tr><th>q</th><td><?php _e('Quote') ?></td><th>m</th><td><?php _e('Insert Image') ?></td></tr> 194 194 <tr><th>g</th><td><?php _e('Full Screen') ?></td><th>y</th><td><?php _e('Insert "More" Tag') ?></td></tr> … … 205 205 <p><?php _e('For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.') ?></p> 206 206 207 207 <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> 211 211 </div> 212 212 213 213 </div> -
wp-includes/author-template.php
484 484 $link .= '>'; 485 485 486 486 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" . ' />'; 488 488 else 489 489 $link .= $name; 490 490 -
readme.html
70 70 71 71 <h1>Post via Email</h1> 72 72 <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> 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> 74 74 75 75 <h1>User Roles</h1> 76 76 <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> -
wp-admin/edit-link-categories.php
97 97 <th scope="col" class="check-column"><input type="checkbox" onclick="checkAll(document.getElementById('posts-filter'));" /></th> 98 98 <th scope="col"><?php _e('Name') ?></th> 99 99 <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: 35px;" style="text-align: center"><?php _e('Links') ?></th> 101 101 </tr> 102 102 </thead> 103 103 <tbody id="the-list" class="list:link-cat"> -
wp-admin/includes/template.php
56 56 <th scope='row' class='check-column'><input type='checkbox' name='delete[]' value='$category->term_id' /></th> 57 57 <td>$edit</td> 58 58 <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"; 60 60 61 61 return apply_filters('cat_row', $output); 62 62 } … … 84 84 '<th scope="row" class="check-column"> <input type="checkbox" name="delete[]" value="' . $category->term_id . '" /></th>' . 85 85 "<td>$edit</td> 86 86 <td>$category->description</td> 87 <td align='center'>$count</td></tr>";87 <td style='text-align: center;'>$count</td></tr>"; 88 88 89 89 return apply_filters( 'link_cat_row', $output ); 90 90 } … … 722 722 $r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>"; 723 723 $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>"; 724 724 $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 />"; 726 726 $r .= "\n\t\t<input name='deletemeta[{$entry['meta_id']}]' type='submit' "; 727 727 $r .= "class='delete:the-list:meta-{$entry['meta_id']} deletemeta' tabindex='6' value='".attribute_escape(__( 'Delete' ))."' />"; 728 728 $r .= "</td>\n\t</tr>"; … … 749 749 <th><?php _e( 'Value' ) ?></th> 750 750 </tr> 751 751 <tr valign="top"> 752 <td align="right" width="18%">752 <td style="text-align: right;" style="width: 18%;"> 753 753 <?php if ( $keys ) : ?> 754 754 <select id="metakeyselect" name="metakeyselect" tabindex="7"> 755 755 <option value="#NONE#"><?php _e( '- Select -' ); ?></option> -
wp-admin/comment.php
79 79 <table width="100%"> 80 80 <tr> 81 81 <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> 83 83 </tr> 84 84 </table> 85 85 -
wp-admin/edit-link-form.php
144 144 <div id="linkxfndiv" class="postbox <?php echo postbox_classes('linkxfndiv', 'link'); ?>"> 145 145 <h3><?php _e('Link Relationship (XFN)') ?></h3> 146 146 <div class="inside"> 147 <table class="editform" width="100%" cellspacing="2" cellpadding="5">147 <table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5"> 148 148 <tr> 149 <th width="20%" scope="row"><?php _e('rel:') ?></th>150 <td width="80%"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td>149 <th style="width: 20%;" scope="row"><?php _e('rel:') ?></th> 150 <td style="width: 80%;"><input type="text" name="link_rel" id="link_rel" size="50" value="<?php echo $link->link_rel; ?>" /></td> 151 151 </tr> 152 152 <tr> 153 153 <th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th> … … 257 257 <div id="linkadvanceddiv" class="postbox <?php echo postbox_classes('linkadvanceddiv', 'link'); ?>"> 258 258 <h3><?php _e('Advanced') ?></h3> 259 259 <div class="inside"> 260 <table class="editform" width="100%" cellspacing="2" cellpadding="5">260 <table class="editform" style="width: 100%;" cellspacing="2" cellpadding="5"> 261 261 <tr> 262 <th width="20%" scope="row"><?php _e('Image Address:') ?></th>263 <td width="80%"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td>262 <th style="width: 20%;" scope="row"><?php _e('Image Address:') ?></th> 263 <td style="width: 80%;"><input type="text" name="link_image" size="50" value="<?php echo $link->link_image; ?>" style="width: 95%" /></td> 264 264 </tr> 265 265 <tr> 266 266 <th scope="row"><?php _e('RSS Address:') ?> </th> -
wp-admin/import/livejournal.php
66 66 67 67 echo '<li>'; 68 68 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)); 70 70 } else { 71 printf(__('Importing post < i>%s</i>...'), stripslashes($post_title));71 printf(__('Importing post <em>%s</em>...'), stripslashes($post_title)); 72 72 $postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status'); 73 73 $post_id = wp_insert_post($postdata); 74 74 if ( is_wp_error( $post_id ) ) -
wp-admin/import/mt.php
152 152 <div class="wrap"> 153 153 <h2><?php _e('Assign Authors'); ?></h2> 154 154 <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> 156 156 <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> 157 157 <?php 158 158 … … 205 205 206 206 if ( $post_id = post_exists($post->post_title, '', $post->post_date) ) { 207 207 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)); 209 209 } else { 210 210 echo '<li>'; 211 printf(__('Importing post < i>%s</i>...'), stripslashes($post->post_title));211 printf(__('Importing post <em>%s</em>...'), stripslashes($post->post_title)); 212 212 213 213 if ( '' != trim( $post->extended ) ) 214 214 $post->post_content .= "\n<!--more-->\n$post->extended"; -
wp-admin/import/blogware.php
86 86 87 87 echo '<li>'; 88 88 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)); 90 90 } else { 91 printf(__('Importing post < i>%s</i>...'), stripslashes($post_title));91 printf(__('Importing post <em>%s</em>...'), stripslashes($post_title)); 92 92 $postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status'); 93 93 $post_id = wp_insert_post($postdata); 94 94 if ( is_wp_error( $post_id ) ) { -
wp-admin/import/wordpress.php
381 381 382 382 if ( $post_exists ) { 383 383 echo '<li>'; 384 printf(__('Post < i>%s</i> already exists.'), stripslashes($post_title));384 printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title)); 385 385 } else { 386 386 387 387 // If it has parent, process parent first. … … 412 412 return $post_id; 413 413 } 414 414 else { 415 printf(__('Importing post < i>%s</i>...'), stripslashes($post_title));415 printf(__('Importing post <em>%s</em>...'), stripslashes($post_title)); 416 416 $comment_post_ID = $post_id = wp_insert_post($postdata); 417 417 } 418 418 … … 516 516 517 517 function process_attachment($postdata, $remote_url) { 518 518 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) ); 520 520 $upload = $this->fetch_remote_file($postdata, $remote_url); 521 521 if ( is_wp_error($upload) ) { 522 522 printf( __('Remote file error: %s'), htmlspecialchars($upload->get_error_message()) ); … … 551 551 return $post_id; 552 552 } 553 553 else { 554 printf( __('Skipping attachment < i>%s</i>'), htmlspecialchars($remote_url) );554 printf( __('Skipping attachment <em>%s</em>'), htmlspecialchars($remote_url) ); 555 555 } 556 556 } 557 557 -
wp-admin/user-edit.php
240 240 <input type="text" name="jabber" value="<?php echo $profileuser->jabber ?>" /></label> 241 241 </p> 242 242 </fieldset> 243 <br clear="all" />243 <br style="clear: both;" /> 244 244 <fieldset> 245 245 <legend><?php $is_profile_page? _e('About Yourself') : _e('About the user'); ?></legend> 246 246 <p class="desc"><?php _e('Share a little biographical information to fill out your profile. This may be shown publicly.'); ?></p> … … 276 276 } 277 277 ?> 278 278 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"> 281 281 <?php 282 282 if(count($profileuser->caps) > count($profileuser->roles)): 283 283 ?> -
wp-admin/link-manager.php
120 120 121 121 <?php 122 122 $link_columns = array( 123 'name' => '<th width="15%">' . __('Name') . '</th>',123 'name' => '<th style="width: 15%;">' . __('Name') . '</th>', 124 124 'url' => '<th>' . __('URL') . '</th>', 125 125 'categories' => '<th>' . __('Categories') . '</th>', 126 126 'rel' => '<th style="text-align: center">' . __('rel') . '</th>', … … 196 196 ?><td><?php echo $link->link_rel; ?></td><?php 197 197 break; 198 198 case 'visible': 199 ?><td align='center'><?php echo $visible; ?></td><?php199 ?><td style='text-align: center;'><?php echo $visible; ?></td><?php 200 200 break; 201 201 default: 202 202 ?>