First half of new welcome panel formatting. props chexee. see #11651.

git-svn-id: https://develop.svn.wordpress.org/trunk@19145 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2011-11-04 01:31:31 +00:00
parent 53d127961b
commit bfd8e1a095
6 changed files with 47 additions and 16 deletions
+7
View File
@@ -1265,6 +1265,7 @@ function wp_dashboard_empty() {}
* @since 3.3
*/
function wp_welcome_panel() {
global $wp_version;
if ( ! current_user_can( 'edit_theme_options' ) )
return;
@@ -1274,6 +1275,7 @@ function wp_welcome_panel() {
if ( ! get_user_option( 'show_welcome_panel' ) )
$classes .= ' hidden';
list( $display_version ) = explode( '-', $wp_version );
?>
<div id="welcome-panel" class="<?php echo esc_attr( $classes ); ?>">
@@ -1281,6 +1283,10 @@ function wp_welcome_panel() {
<a class="welcome-panel-close" href="#"><?php _e('Close'); ?></a>
<div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div>
<div class="welcome-panel-content">
<h3><?php _e( 'Welcome to WordPress!' ); ?></h3>
<p><?php _e( 'Welcome to your new WordPress site! Here are some things most people do when they set up a new WordPress site. To get started, use the links below and we&#8217;ll give you some extra help with these tasks.' ); ?></p>
@@ -1351,6 +1357,7 @@ function wp_welcome_panel() {
</li>
</ul>
</div>
</div>
</div>
<?php
}