Ticket #9030: 9030.diff
File 9030.diff, 32.9 KB (added by , 16 years ago) |
---|
-
wp-includes/default-widgets.php
185 185 186 186 echo $after_widget; 187 187 } 188 189 function form( $instance ) { ?> 190 <input name="<?php echo $this->get_field_name('title'); ?>" type="hidden" value="" /> 191 <?php 192 } 193 188 194 } 189 195 190 196 /** … … 312 318 313 319 function widget( $args, $instance ) { 314 320 extract($args); 315 $title = empty($instance['title']) ? '& nbsp;' : apply_filters('widget_title', $instance['title']);321 $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']); 316 322 echo $before_widget . $before_title . $title . $after_title; 317 323 echo '<div id="calendar_wrap">'; 318 324 get_calendar(); -
wp-includes/wp-diff.php
128 128 * @return string 129 129 */ 130 130 function emptyLine() { 131 return '<td colspan="2">& nbsp;</td>';131 return '<td colspan="2"> </td>'; 132 132 } 133 133 134 134 /** -
wp-includes/comment-template.php
1242 1242 <br /> 1243 1243 <?php endif; ?> 1244 1244 1245 <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'& nbsp; ','') ?></div>1245 <div class="comment-meta commentmetadata"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?></a><?php edit_comment_link(__('(Edit)'),'  ','') ?></div> 1246 1246 1247 1247 <?php comment_text() ?> 1248 1248 -
wp-includes/general-template.php
792 792 $url = get_month_link( $arcresult->year, $arcresult->month ); 793 793 $text = sprintf(__('%1$s %2$d'), $wp_locale->get_month($arcresult->month), $arcresult->year); 794 794 if ( $show_post_count ) 795 $after = '& nbsp;('.$arcresult->posts.')' . $afterafter;795 $after = ' ('.$arcresult->posts.')' . $afterafter; 796 796 $output .= get_archives_link($url, $text, $format, $before, $after); 797 797 } 798 798 } … … 813 813 $url = get_year_link($arcresult->year); 814 814 $text = sprintf('%d', $arcresult->year); 815 815 if ($show_post_count) 816 $after = '& nbsp;('.$arcresult->posts.')' . $afterafter;816 $after = ' ('.$arcresult->posts.')' . $afterafter; 817 817 $output .= get_archives_link($url, $text, $format, $before, $after); 818 818 } 819 819 } … … 835 835 $date = sprintf('%1$d-%2$02d-%3$02d 00:00:00', $arcresult->year, $arcresult->month, $arcresult->dayofmonth); 836 836 $text = mysql2date($archive_day_date_format, $date); 837 837 if ($show_post_count) 838 $after = '& nbsp;('.$arcresult->posts.')'.$afterafter;838 $after = ' ('.$arcresult->posts.')'.$afterafter; 839 839 $output .= get_archives_link($url, $text, $format, $before, $after); 840 840 } 841 841 } … … 864 864 $url = sprintf('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d', get_option('home'), '', '?', '=', $arc_year, '&', '=', $arcresult->week); 865 865 $text = $arc_week_start . $archive_week_separator . $arc_week_end; 866 866 if ($show_post_count) 867 $after = '& nbsp;('.$arcresult->posts.')'.$afterafter;867 $after = ' ('.$arcresult->posts.')'.$afterafter; 868 868 $output .= get_archives_link($url, $text, $format, $before, $after); 869 869 } 870 870 } … … 1024 1024 get_month_link($previous->year, $previous->month) . '" title="' . sprintf(__('View posts for %1$s %2$s'), $wp_locale->get_month($previous->month), 1025 1025 date('Y', mktime(0, 0 , 0, $previous->month, 1, $previous->year))) . '">« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . '</a></td>'; 1026 1026 } else { 1027 echo "\n\t\t".'<td colspan="3" id="prev" class="pad">& nbsp;</td>';1027 echo "\n\t\t".'<td colspan="3" id="prev" class="pad"> </td>'; 1028 1028 } 1029 1029 1030 echo "\n\t\t".'<td class="pad">& nbsp;</td>';1030 echo "\n\t\t".'<td class="pad"> </td>'; 1031 1031 1032 1032 if ( $next ) { 1033 1033 echo "\n\t\t".'<td abbr="' . $wp_locale->get_month($next->month) . '" colspan="3" id="next"><a href="' . 1034 1034 get_month_link($next->year, $next->month) . '" title="' . sprintf(__('View posts for %1$s %2$s'), $wp_locale->get_month($next->month), 1035 1035 date('Y', mktime(0, 0 , 0, $next->month, 1, $next->year))) . '">' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' »</a></td>'; 1036 1036 } else { 1037 echo "\n\t\t".'<td colspan="3" id="next" class="pad">& nbsp;</td>';1037 echo "\n\t\t".'<td colspan="3" id="next" class="pad"> </td>'; 1038 1038 } 1039 1039 1040 1040 echo ' … … 1090 1090 // See how much we should pad in the beginning 1091 1091 $pad = calendar_week_mod(date('w', $unixmonth)-$week_begins); 1092 1092 if ( 0 != $pad ) 1093 echo "\n\t\t".'<td colspan="'.$pad.'" class="pad">& nbsp;</td>';1093 echo "\n\t\t".'<td colspan="'.$pad.'" class="pad"> </td>'; 1094 1094 1095 1095 $daysinmonth = intval(date('t', $unixmonth)); 1096 1096 for ( $day = 1; $day <= $daysinmonth; ++$day ) { … … 1115 1115 1116 1116 $pad = 7 - calendar_week_mod(date('w', mktime(0, 0 , 0, $thismonth, $day, $thisyear))-$week_begins); 1117 1117 if ( $pad != 0 && $pad != 7 ) 1118 echo "\n\t\t".'<td class="pad" colspan="'.$pad.'">& nbsp;</td>';1118 echo "\n\t\t".'<td class="pad" colspan="'.$pad.'"> </td>'; 1119 1119 1120 1120 echo "\n\t</tr>\n\t</tbody>\n\t</table>"; 1121 1121 -
wp-includes/classes.php
1246 1246 * @param array $args Uses 'selected' argument for selected page to set selected HTML attribute for option element. 1247 1247 */ 1248 1248 function start_el(&$output, $page, $depth, $args) { 1249 $pad = str_repeat('& nbsp;', $depth * 3);1249 $pad = str_repeat(' ', $depth * 3); 1250 1250 1251 1251 $output .= "\t<option class=\"level-$depth\" value=\"$page->ID\""; 1252 1252 if ( $page->ID == $args['selected'] ) … … 1438 1438 * @param array $args Uses 'selected', 'show_count', and 'show_last_update' keys, if they exist. 1439 1439 */ 1440 1440 function start_el(&$output, $category, $depth, $args) { 1441 $pad = str_repeat('& nbsp;', $depth * 3);1441 $pad = str_repeat(' ', $depth * 3); 1442 1442 1443 1443 $cat_name = apply_filters('list_cats', $category->name, $category); 1444 1444 $output .= "\t<option class=\"level-$depth\" value=\"".$category->term_id."\""; … … 1447 1447 $output .= '>'; 1448 1448 $output .= $pad.$cat_name; 1449 1449 if ( $args['show_count'] ) 1450 $output .= '& nbsp; ('. $category->count .')';1450 $output .= '  ('. $category->count .')'; 1451 1451 if ( $args['show_last_update'] ) { 1452 1452 $format = 'Y-m-d'; 1453 $output .= '& nbsp; ' . gmdate($format, $category->last_update_timestamp);1453 $output .= '  ' . gmdate($format, $category->last_update_timestamp); 1454 1454 } 1455 1455 $output .= "</option>\n"; 1456 1456 } -
wp-content/themes/default/functions.php
387 387 <input type="hidden" name="hi" id="hi" value="<?php echo attribute_escape(kubrick_header_image()); ?>" /> 388 388 <input type="submit" name="toggledisplay" id="toggledisplay" value="<?php echo attribute_escape(__('Toggle Text')); ?>" /> 389 389 <input type="submit" name="defaults" value="<?php echo attribute_escape(__('Use Defaults')); ?>" /> 390 <input type="submit" class="defbutton" name="submitform" value="& nbsp; <?php _e('Save'); ?> " />390 <input type="submit" class="defbutton" name="submitform" value="  <?php _e('Save'); ?>  " /> 391 391 <input type="hidden" name="action" value="save" /> 392 392 <input type="hidden" name="njform" value="true" /> 393 393 </form> -
wp-admin/includes/dashboard.php
524 524 $actions['approve'] = "<a href='$approve_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>'; 525 525 $actions['unapprove'] = "<a href='$unapprove_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='" . __( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>'; 526 526 $actions['edit'] = "<a href='comment.php?action=editcomment&c={$comment->comment_ID}' title='" . __('Edit comment') . "'>". __('Edit') . '</a>'; 527 //$actions['quickedit'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$comment->comment_post_ID.'\',\'edit\');return false;" class="vim-q" title="'.__('Quick Edit').'" href="#">' . __('Quick& nbsp;Edit') . '</a>';527 //$actions['quickedit'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$comment->comment_post_ID.'\',\'edit\');return false;" class="vim-q" title="'.__('Quick Edit').'" href="#">' . __('Quick Edit') . '</a>'; 528 528 $actions['reply'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$comment->comment_post_ID.'\');return false;" class="vim-r hide-if-no-js" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a>'; 529 529 $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . __( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>'; 530 530 $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete vim-d vim-destructive'>" . __('Delete') . '</a>'; … … 806 806 '&TB_iframe=true&width=600&height=800'; 807 807 808 808 echo "<h4>$label</h4>\n"; 809 echo "<h5><a href='$link'>$title</a></h5>& nbsp;<span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span>\n";809 echo "<h5><a href='$link'>$title</a></h5> <span>(<a href='$ilink' class='thickbox' title='$title'>" . __( 'Install' ) . "</a>)</span>\n"; 810 810 echo "<p>$description</p>\n"; 811 811 } 812 812 } -
wp-admin/includes/template.php
121 121 $edit = "<a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit "%s"'), $category->name)) . "'>" . attribute_escape( $name ) . '</a><br />'; 122 122 $actions = array(); 123 123 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 124 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick& nbsp;Edit') . '</a>';124 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick Edit') . '</a>'; 125 125 if ( $default_cat_id != $category->term_id ) 126 126 $actions['delete'] = "<a class='delete:the-list:cat-$category->term_id submitdelete' href='" . wp_nonce_url("categories.php?action=delete&cat_ID=$category->term_id", 'delete-category_' . $category->term_id) . "'>" . __('Delete') . "</a>"; 127 127 $actions = apply_filters('cat_row_actions', $actions, $category); … … 162 162 if ( $default_cat_id != $category->term_id ) { 163 163 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' />"; 164 164 } else { 165 $output .= "& nbsp;";165 $output .= " "; 166 166 } 167 167 $output .= '</th>'; 168 168 break; … … 292 292 $edit = "<a class='row-title' href='$edit_link' title='" . attribute_escape(sprintf(__('Edit "%s"'), $category->name)) . "'>$name</a><br />"; 293 293 $actions = array(); 294 294 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 295 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick& nbsp;Edit') . '</a>';295 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick Edit') . '</a>'; 296 296 if ( $default_cat_id != $category->term_id ) 297 297 $actions['delete'] = "<a class='delete:the-list:link-cat-$category->term_id submitdelete' href='" . wp_nonce_url("link-category.php?action=delete&cat_ID=$category->term_id", 'delete-link-category_' . $category->term_id) . "'>" . __('Delete') . "</a>"; 298 298 $actions = apply_filters('link_cat_row_actions', $actions, $category); … … 332 332 if ( absint( get_option( 'default_link_category' ) ) != $category->term_id ) { 333 333 $output .= "<input type='checkbox' name='delete[]' value='$category->term_id' />"; 334 334 } else { 335 $output .= "& nbsp;";335 $output .= " "; 336 336 } 337 337 $output .= "</th>"; 338 338 break; … … 652 652 $out .= '<td ' . $attributes . '><strong><a class="row-title" href="' . $edit_link . '" title="' . attribute_escape(sprintf(__('Edit "%s"'), $name)) . '">' . $name . '</a></strong><br />'; 653 653 $actions = array(); 654 654 $actions['edit'] = '<a href="' . $edit_link . '">' . __('Edit') . '</a>'; 655 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick& nbsp;Edit') . '</a>';655 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline">' . __('Quick Edit') . '</a>'; 656 656 $actions['delete'] = "<a class='delete:the-list:tag-$tag->term_id submitdelete' href='" . wp_nonce_url("edit-tags.php?action=delete&taxonomy=$taxonomy&tag_ID=$tag->term_id", 'delete-tag_' . $tag->term_id) . "'>" . __('Delete') . "</a>"; 657 657 $actions = apply_filters('tag_row_actions', $actions, $tag); 658 658 $action_count = count($actions); … … 1435 1435 $actions = array(); 1436 1436 if ( current_user_can('edit_post', $post->ID) ) { 1437 1437 $actions['edit'] = '<a href="' . get_edit_post_link($post->ID, true) . '" title="' . attribute_escape(__('Edit this post')) . '">' . __('Edit') . '</a>'; 1438 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . attribute_escape(__('Edit this post inline')) . '">' . __('Quick& nbsp;Edit') . '</a>';1438 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . attribute_escape(__('Edit this post inline')) . '">' . __('Quick Edit') . '</a>'; 1439 1439 $actions['delete'] = "<a class='submitdelete' title='" . attribute_escape(__('Delete this post')) . "' href='" . wp_nonce_url("post.php?action=delete&post=$post->ID", 'delete-post_' . $post->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n 'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>"; 1440 1440 } 1441 1441 if ( in_array($post->post_status, array('pending', 'draft')) ) { … … 1648 1648 $actions = array(); 1649 1649 if ( current_user_can('edit_page', $page->ID) ) { 1650 1650 $actions['edit'] = '<a href="' . $edit_link . '" title="' . attribute_escape(__('Edit this page')) . '">' . __('Edit') . '</a>'; 1651 $actions['inline'] = '<a href="#" class="editinline">' . __('Quick& nbsp;Edit') . '</a>';1651 $actions['inline'] = '<a href="#" class="editinline">' . __('Quick Edit') . '</a>'; 1652 1652 $actions['delete'] = "<a class='submitdelete' title='" . attribute_escape(__('Delete this page')) . "' href='" . wp_nonce_url("page.php?action=delete&post=$page->ID", 'delete-page_' . $page->ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $page->post_status) ? __("You are about to delete this draft '%s'\n 'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this page '%s'\n 'Cancel' to stop, 'OK' to delete."), $page->post_title )) . "') ) { return true;}return false;\">" . __('Delete') . "</a>"; 1653 1653 } 1654 1654 if ( in_array($post->post_status, array('pending', 'draft')) ) { … … 2138 2138 $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . __( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>'; 2139 2139 $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID delete vim-d vim-destructive'>" . __('Delete') . '</a>'; 2140 2140 $actions['edit'] = "<a href='comment.php?action=editcomment&c={$comment->comment_ID}' title='" . __('Edit comment') . "'>". __('Edit') . '</a>'; 2141 $actions['quickedit'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\');return false;" class="vim-q" title="'.__('Quick Edit').'" href="#">' . __('Quick& nbsp;Edit') . '</a>';2141 $actions['quickedit'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\',\'edit\');return false;" class="vim-q" title="'.__('Quick Edit').'" href="#">' . __('Quick Edit') . '</a>'; 2142 2142 if ( 'spam' != $the_comment_status ) 2143 2143 $actions['reply'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$post->ID.'\');return false;" class="vim-r" title="'.__('Reply to this comment').'" href="#">' . __('Reply') . '</a>'; 2144 2144 … … 2212 2212 echo "<a href='" . get_permalink( $post->ID ) . "'>#</a>"; 2213 2213 echo '</div></td>'; 2214 2214 } 2215 break;2216 default:2217 echo "<td $attributes>\n";2218 do_action( 'manage_comments_custom_column', $column_name, $comment->comment_ID );2219 echo "</td>\n";2220 break;2221 2215 } 2222 2216 } 2223 2217 echo "</tr>\n"; … … 2609 2603 continue; 2610 2604 } 2611 2605 } 2612 $pad = str_repeat( '& nbsp;', $level * 3 );2606 $pad = str_repeat( ' ', $level * 3 ); 2613 2607 if ( $item->ID == $default) 2614 2608 $current = ' selected="selected"'; 2615 2609 else -
wp-admin/includes/media.php
790 790 $html .= "<label for='{$css_id}'>" . __($name). "</label>"; 791 791 // only show the dimensions if that choice is available 792 792 if ( $enabled ) 793 $html .= " <label for='{$css_id}' class='help'>" . sprintf( __("(%d& nbsp;× %d)"), $downsize[1], $downsize[2] ). "</label>";793 $html .= " <label for='{$css_id}' class='help'>" . sprintf( __("(%d × %d)"), $downsize[1], $downsize[2] ). "</label>"; 794 794 795 795 $html .= '</div>'; 796 796 -
wp-admin/js/theme-preview.dev.js
36 36 if ( alink.length ) { 37 37 url = alink.attr('href') || ''; 38 38 text = alink.attr('title') || ''; 39 link = '& nbsp; <a href="' + url + '" target="_top" class="tb-theme-preview-link">' + text + '</a>';39 link = '  <a href="' + url + '" target="_top" class="tb-theme-preview-link">' + text + '</a>'; 40 40 } else { 41 41 text = $(this).attr('title') || ''; 42 link = '& nbsp; <span class="tb-theme-preview-link">' + text + '</span>';42 link = '  <span class="tb-theme-preview-link">' + text + '</span>'; 43 43 } 44 44 45 45 $('#TB_title').css({'background-color':'#222','color':'#dfdfdf'}); -
wp-admin/js/post.dev.js
40 40 val = jQuery.trim(val); 41 41 if ( !val.match(/^\s+$/) && '' != val ) { 42 42 button_id = jQuery(taxbox).attr('id') + '-check-num-' + key; 43 txt = '<span><a id="' + button_id + '" class="ntdelbutton">X</a>& nbsp;' + val + '</span> ';43 txt = '<span><a id="' + button_id + '" class="ntdelbutton">X</a> ' + val + '</span> '; 44 44 jQuery(taxbox).find('.tagchecklist').append(txt); 45 45 jQuery( '#' + button_id ).click( new_tag_remove_tag ); 46 46 } -
wp-admin/js/plugin-install.dev.js
23 23 24 24 thickDims().click( function() { 25 25 $('#TB_title').css({'background-color':'#222','color':'#cfcfcf'}); 26 $('#TB_ajaxWindowTitle').html('<strong>' + plugininstallL10n.plugin_information + '</strong>& nbsp;' + $(this).attr('title') );26 $('#TB_ajaxWindowTitle').html('<strong>' + plugininstallL10n.plugin_information + '</strong> ' + $(this).attr('title') ); 27 27 return false; 28 28 }); 29 29 -
wp-admin/theme-editor.php
227 227 echo '<div class="error"><p>' . __('Oops, no such file exists! Double check the name and try again, merci.') . '</p></div>'; 228 228 } 229 229 ?> 230 <div class="clear"> & nbsp; </div>230 <div class="clear">   </div> 231 231 </div> 232 232 <?php 233 233 break; -
wp-admin/edit-page-form.php
21 21 $messages[1] = sprintf( __( 'Page updated. Continue editing below or <a href="%s">go back</a>.' ), attribute_escape( stripslashes( ( isset( $_GET['_wp_original_http_referer'] ) ? $_GET['_wp_original_http_referer'] : '') ) ) ); 22 22 $messages[2] = __('Custom field updated.'); 23 23 $messages[3] = __('Custom field deleted.'); 24 $messages[4] = sprintf(__('Page updated. <a href="%s">View page</a>'), get_permalink($post_ID));24 $messages[4] = __('Page updated.'); 25 25 $messages[5] = sprintf(__('Page published. <a href="%s">View page</a>'), get_permalink($post_ID)); 26 26 $messages[6] = sprintf(__('Page submitted. <a href="%s">Preview page</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) ); 27 27 … … 460 460 <table id="post-status-info" cellspacing="0"><tbody><tr> 461 461 <td id="wp-word-count"></td> 462 462 <td class="autosave-info"> 463 <span id="autosave">& nbsp;</span>463 <span id="autosave"> </span> 464 464 465 465 <?php 466 466 if ($post_ID) { -
wp-admin/edit-attachment-rows.php
156 156 <?php 157 157 } else { 158 158 ?> 159 <td <?php echo $attributes ?>>& nbsp;</td>159 <td <?php echo $attributes ?>> </td> 160 160 <?php 161 161 } 162 162 -
wp-admin/edit-link-form.php
305 305 <table class="form-table" style="width: 100%;" cellspacing="2" cellpadding="5"> 306 306 <tr class="form-field"> 307 307 <th valign="top" scope="row"><label for="link_image"><?php _e('Image Address') ?></label></th> 308 <td><input type="text" name="link_image" class="code"id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? $link->link_image : ''); ?>" style="width: 95%" /></td>308 <td><input type="text" name="link_image" id="link_image" size="50" value="<?php echo ( isset( $link->link_image ) ? $link->link_image : ''); ?>" style="width: 95%" /></td> 309 309 </tr> 310 310 <tr class="form-field"> 311 311 <th valign="top" scope="row"><label for="rss_uri"><?php _e('RSS Address') ?></label></th> 312 <td><input name="link_rss" class="code"type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? $link->link_rss : ''); ?>" size="50" style="width: 95%" /></td>312 <td><input name="link_rss" type="text" id="rss_uri" value="<?php echo ( isset( $link->link_rss ) ? $link->link_rss : ''); ?>" size="50" style="width: 95%" /></td> 313 313 </tr> 314 314 <tr class="form-field"> 315 315 <th valign="top" scope="row"><label for="link_notes"><?php _e('Notes') ?></label></th> … … 325 325 echo 'selected="selected"'; 326 326 echo('>'.$r.'</option>'); 327 327 } 328 ?></select>& nbsp;<?php _e('(Leave at 0 for no rating.)') ?>328 ?></select> <?php _e('(Leave at 0 for no rating.)') ?> 329 329 </td> 330 330 </tr> 331 331 </table> … … 382 382 <div id="addressdiv" class="stuffbox"> 383 383 <h3><label for="link_url"><?php _e('Web Address') ?></label></h3> 384 384 <div class="inside"> 385 <input type="text" name="link_url" size="30" class="code"tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" />385 <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /> 386 386 <p><?php _e('Example: <code>http://wordpress.org/</code> — don’t forget the <code>http://</code>'); ?></p> 387 387 </div> 388 388 </div> -
wp-admin/import/btt.php
91 91 foreach ( $post_keys as $keyword ) { 92 92 $keyword = addslashes(trim(str_replace('+',' ',$keyword))); 93 93 if ( '' != $keyword ) { 94 echo '<li>' . $post_meta->post_id . '& nbsp;- ' . $keyword . '</li>';94 echo '<li>' . $post_meta->post_id . ' - ' . $keyword . '</li>'; 95 95 if ( !$precheck ) 96 96 wp_add_post_tags($post_meta->post_id, $keyword); 97 97 } -
wp-admin/import/jkw.php
106 106 foreach ( $post_keys as $keyword ) { 107 107 $keyword = addslashes(trim($keyword)); 108 108 if ( '' != $keyword ) { 109 echo '<li>' . $post_meta->post_id . '& nbsp;- ' . $keyword . '</li>';109 echo '<li>' . $post_meta->post_id . ' - ' . $keyword . '</li>'; 110 110 if ( !$precheck ) 111 111 wp_add_post_tags($post_meta->post_id, $keyword); 112 112 } … … 144 144 foreach ( $metakeys as $post_meta ) { 145 145 $keyword = addslashes(trim($post_meta->tag_name)); 146 146 if ( $keyword != '' ) { 147 echo '<li>' . $post_meta->post_id . '& nbsp;- ' . $keyword . '</li>';147 echo '<li>' . $post_meta->post_id . ' - ' . $keyword . '</li>'; 148 148 if ( !$precheck ) 149 149 wp_add_post_tags($post_meta->post_id, $keyword); 150 150 } -
wp-admin/import/blogger.php
218 218 $pdone = isset($blog['posts_done']) ? (int) $blog['posts_done'] : 0; 219 219 $cdone = isset($blog['comments_done']) ? (int) $blog['comments_done'] : 0; 220 220 $init .= "blogs[$i]=new blog($i,'$blogtitle','{$blog['mode']}'," . $this->get_js_status($i) . ');'; 221 $pstat = "<div class='ind' id='pind$i'>& nbsp;</div><div id='pstat$i' class='stat'>$pdone/{$blog['total_posts']}</div>";222 $cstat = "<div class='ind' id='cind$i'>& nbsp;</div><div id='cstat$i' class='stat'>$cdone/{$blog['total_comments']}</div>";221 $pstat = "<div class='ind' id='pind$i'> </div><div id='pstat$i' class='stat'>$pdone/{$blog['total_posts']}</div>"; 222 $cstat = "<div class='ind' id='cind$i'> </div><div id='cstat$i' class='stat'>$cdone/{$blog['total_comments']}</div>"; 223 223 $rows .= "<tr id='blog$i'><td class='blogtitle'>$blogtitle</td><td class='bloghost'>{$blog['host']}</td><td class='bar'>$pstat</td><td class='bar'>$cstat</td><td class='submit'><input type='submit' class='button' id='submit$i' value='$value' /><input type='hidden' name='blog' value='$i' /></td></tr>\n"; 224 224 } 225 225 -
wp-admin/import/greymatter.php
44 44 <li><?php _e('Import gm-templates.') ?></li> 45 45 <li><?php _e("Doesn't keep entries on top.")?></li> 46 46 </ul> 47 <p>& nbsp;</p>47 <p> </p> 48 48 49 49 <form name="stepOne" method="get" action=""> 50 50 <input type="hidden" name="import" value="greymatter" /> … … 297 297 do_action('import_done', 'greymatter'); 298 298 ?> 299 299 </ul><strong><?php _e('Done') ?></strong></li></ul> 300 <p>& nbsp;</p>300 <p> </p> 301 301 <p><?php _e('Completed GreyMatter import!') ?></p> 302 302 <?php 303 303 $this->footer(); -
wp-admin/edit-form-comment.php
60 60 $stamp = __('Submitted on: <b>%1$s</b>'); 61 61 $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); 62 62 ?> 63 <span id="timestamp"><?php printf($stamp, $date); ?></span>& nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>63 <span id="timestamp"><?php printf($stamp, $date); ?></span> <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a> 64 64 <div id='timestampdiv' class='hide-if-js'><?php touch_time(('editcomment' == $action), 0, 5); ?></div> 65 65 </div> 66 66 </div> <!-- misc actions --> … … 113 113 } else { 114 114 _e( 'URL:' ); 115 115 } ?></td> 116 <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code"value="<?php echo $url; ?>" tabindex="3" /></td>116 <td><input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" value="<?php echo $url; ?>" tabindex="3" /></td> 117 117 </tr> 118 118 </tbody> 119 119 </table> -
wp-admin/edit-form-advanced.php
384 384 * @param object $post 385 385 */ 386 386 function post_trackback_meta_box($post) { 387 $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" class="code"tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />';387 $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />'; 388 388 if ('' != $post->pinged) { 389 389 $pings = '<p>'. __('Already pinged:') . '</p><ul>'; 390 390 $already_pinged = explode("\n", trim($post->pinged)); … … 616 616 <table id="post-status-info" cellspacing="0"><tbody><tr> 617 617 <td id="wp-word-count"></td> 618 618 <td class="autosave-info"> 619 <span id="autosave">& nbsp;</span>619 <span id="autosave"> </span> 620 620 <?php 621 621 if ( $post_ID ) { 622 622 echo '<span id="last-edit">'; -
wp-admin/admin-header.php
84 84 <?php 85 85 $blog_name = get_bloginfo('name', 'display'); 86 86 if ( '' == $blog_name ) { 87 $blog_name = '& nbsp;';87 $blog_name = ' '; 88 88 } else { 89 89 $blog_name_excerpt = wp_html_excerpt($blog_name, 40); 90 90 if ( $blog_name != $blog_name_excerpt ) -
wp-admin/user-edit.php
211 211 <table class="color-palette"> 212 212 <tr> 213 213 <?php foreach ( $color_info->colors as $html_color ): ?> 214 <td style="background-color: <?php echo $html_color ?>" title="<?php echo $color ?>">& nbsp;</td>214 <td style="background-color: <?php echo $html_color ?>" title="<?php echo $color ?>"> </td> 215 215 <?php endforeach; ?> 216 216 </tr> 217 217 </table> … … 280 280 </tr> 281 281 282 282 <tr> 283 <th><label for="display_name"><?php _e('Display name publicly& nbsp;as') ?></label></th>283 <th><label for="display_name"><?php _e('Display name publicly as') ?></label></th> 284 284 <td> 285 285 <select name="display_name" id="display_name"> 286 286 <?php -
wp-admin/update-core.php
40 40 echo '<form method="post" action="' . $form_action . '" name="upgrade" class="upgrade">'; 41 41 wp_nonce_field('upgrade-core'); 42 42 echo '<p>'; 43 echo '<input id="upgrade" class="button" type="submit" value="' . $submit . '" name="upgrade" />& nbsp;';43 echo '<input id="upgrade" class="button" type="submit" value="' . $submit . '" name="upgrade" /> '; 44 44 echo '<input name="version" value="'.$update->current.'" type="hidden"/>'; 45 45 echo '<input name="locale" value="'.$update->locale.'" type="hidden"/>'; 46 echo '<a href="' . $update->package . '" class="button">' . $download . '</a>& nbsp;';46 echo '<a href="' . $update->package . '" class="button">' . $download . '</a> '; 47 47 if ( 'en_US' != $update->locale ) 48 48 if ( !isset( $update->dismissed ) || !$update->dismissed ) 49 49 echo '<input id="dismiss" class="button" type="submit" value="' . attribute_escape(__('Hide this update')) . '" name="dismiss" />'; -
wp-admin/plugin-editor.php
231 231 echo '<div class="error"><p>' . $error . '</p></div>'; 232 232 } 233 233 ?> 234 <div class="clear"> & nbsp; </div>234 <div class="clear">   </div> 235 235 </div> 236 236 <?php 237 237 break;