Ticket #10669: dashboard.diff
File dashboard.diff, 2.1 KB (added by , 16 years ago) |
---|
-
dashboard.php
132 132 function _wp_dashboard_control_callback( $dashboard, $meta_box ) { 133 133 echo '<form action="" method="post" class="dashboard-widget-control-form">'; 134 134 wp_dashboard_trigger_widget_control( $meta_box['id'] ); 135 echo "<p class='submit'><input type='hidden' name='widget_id' value='" . esc_attr($meta_box['id']) . "' /><input type='submit' value='" . esc_attr__( 'Submit' ) . "' /></p>";135 echo '<p class="submit"><input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" /><input type="submit" value="' . esc_attr__( 'Submit' ) . '" /></p>'; 136 136 137 137 echo '</form>'; 138 138 } … … 163 163 $hide2 = $hide3 = $hide4 = 'display:none;'; 164 164 } 165 165 ?> 166 <div id= 'dashboard-widgets' class='metabox-holder'>166 <div id="dashboard-widgets" class="metabox-holder"> 167 167 <?php 168 168 echo "\t<div class='postbox-container' style='$width'>\n"; 169 169 do_meta_boxes( 'dashboard', 'normal', '' ); … … 179 179 ?> 180 180 </div></div> 181 181 182 <form style= 'display: none' method='get' action=''>182 <form style="display:none" method="get" action=""> 183 183 <p> 184 184 <?php 185 185 wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); … … 566 566 <?php echo get_avatar( $comment, 50 ); ?> 567 567 568 568 <div class="dashboard-comment-wrap"> 569 <h4 class="comment-meta"><?php printf( __( 'From %1$s on %2$s%3$s' ), '<cite class="comment-author">' . get_comment_author_link() . '</cite>', $comment_post_link. " ".$comment_link, ' <span class="approve">' . __( '[Pending]' ) . '</span>' ); ?></h4>569 <h4 class="comment-meta"><?php printf( __( 'From %1$s on %2$s%3$s' ), '<cite class="comment-author">' . get_comment_author_link() . '</cite>', $comment_post_link.' '.$comment_link, ' <span class="approve">' . __( '[Pending]' ) . '</span>' ); ?></h4> 570 570 571 571 <?php 572 572 else : … … 697 697 */ 698 698 function wp_dashboard_rss_output( $widget_id ) { 699 699 $widgets = get_option( 'dashboard_widget_options' ); 700 echo "<div class='rss-widget'>";700 echo '<div class="rss-widget">'; 701 701 wp_widget_rss_output( $widgets[$widget_id] ); 702 702 echo "</div>"; 703 703 }