| 29 | /** |
| 30 | * @ignore |
| 31 | */ |
| 32 | function _wp_441_display_configure_links_css() { |
| 33 | echo '<style type="text/css"> |
| 34 | .postbox .button-link .edit-box { display: none; } |
| 35 | .wp-admin .edit-box { display: block; opacity: 0; } |
| 36 | .hndle:hover .edit-box, .edit-box:focus { opacity: 1; } |
| 37 | #dashboard-widgets h2 a { text-decoration: underline; } |
| 38 | #dashboard-widgets .hndle .postbox-title-action { float: right; line-height: 1.2; } |
| 39 | </style>'; |
| 40 | } |
| 41 | add_action( 'admin_print_styles', '_wp_441_display_configure_links_css' ); |
| 42 | |
29 | 43 | $title = __('Dashboard'); |
30 | 44 | $parent_file = 'index.php'; |
31 | 45 | |
32 | 46 | $help = '<p>' . __( 'Welcome to your WordPress Dashboard! This is the screen you will see when you log in to your site, and gives you access to all the site management features of WordPress. You can get help for any screen by clicking the Help tab in the upper corner.' ) . '</p>'; |
33 | 47 | |
34 | 48 | // Not using chaining here, so as to be parseable by PHP4. |
35 | 49 | $screen = get_current_screen(); |
36 | 50 | |
37 | 51 | $screen->add_help_tab( array( |
38 | 52 | 'id' => 'overview', |
39 | 53 | 'title' => __( 'Overview' ), |
40 | 54 | 'content' => $help, |
41 | 55 | ) ); |
42 | 56 | |
43 | 57 | // Help tabs |