Changeset 9916
- Timestamp:
- 11/27/2008 05:20:05 AM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/dashboard.css
r9864 r9916 78 78 #dashboard-widgets h3 a { 79 79 text-decoration: underline; 80 float: right; 81 position: relative; 82 right: 5px; 83 top: -12px; 80 84 } 81 85 -
trunk/wp-admin/includes/dashboard.php
r9905 r9916 30 30 // Recent Comments Widget 31 31 $recent_comments_title = __( 'Recent Comments' ); 32 if ( current_user_can('edit_posts') )33 $recent_comments_title .= ' <a href="edit-comments.php" class="edit-box open-box">' . __('View all') . '</a>';34 32 wp_add_dashboard_widget( 'dashboard_recent_comments', $recent_comments_title, 'wp_dashboard_recent_comments' ); 35 33 … … 57 55 // Recent Drafts 58 56 if ( current_user_can('edit_posts') ) 59 wp_add_dashboard_widget( 'dashboard_recent_drafts', __( 'Recent Drafts') . ' <a href="edit.php?post_status=draft" class="edit-box open-box">' . __('View all') . '</a>', 'wp_dashboard_recent_drafts' );57 wp_add_dashboard_widget( 'dashboard_recent_drafts', __('Recent Drafts'), 'wp_dashboard_recent_drafts' ); 60 58 61 59 // Primary feed (Dev Blog) Widget … … 123 121 } 124 122 list($url) = explode( '#', add_query_arg( 'edit', $widget_id ), 2 ); 125 $widget_name .= ' <a href="' . clean_url( "$url#$widget_id" ) . '" class="edit-box open-box">' . __( ' Edit' ) . '</a>';123 $widget_name .= ' <a href="' . clean_url( "$url#$widget_id" ) . '" class="edit-box open-box">' . __( 'Configure' ) . '</a>'; 126 124 } 127 125 $side_widgets = array('dashboard_quick_press', 'dashboard_recent_drafts', 'dashboard_primary', 'dashboard_secondary'); … … 386 384 <li><?php echo join( "</li>\n<li>", $list ); ?></li> 387 385 </ul> 388 386 <p class="textright"><a href="edit.php?post_status=draft" class="button"><?php _e('View all'); ?></a></p> 389 387 <?php 390 388 } else { … … 415 413 416 414 <?php 415 if ( current_user_can('edit_posts') ) { ?> 416 <p class="textright"><a href="edit-comments.php" class="button"><?php _e('View all'); ?></a></p> 417 <?php } 418 417 419 wp_comment_reply( -1, false, 'dashboard', false ); 418 420
Note: See TracChangeset
for help on using the changeset viewer.