2003-06-01 09:47:29 +02:00
< ? php
2008-08-11 22:26:31 +02:00
/**
* Dashboard Administration Panel
*
* @ package WordPress
* @ subpackage Administration
*/
/** Load WordPress Bootstrap */
2007-09-04 01:32:58 +02:00
require_once ( 'admin.php' );
2006-11-19 00:12:39 +01:00
2008-08-11 22:26:31 +02:00
/** Load WordPress dashboard API */
2008-03-24 21:36:46 +01:00
require_once ( ABSPATH . 'wp-admin/includes/dashboard.php' );
2008-02-02 08:57:51 +01:00
wp_dashboard_setup ();
2008-10-09 01:32:34 +02:00
wp_enqueue_script ( 'dashboard' );
2008-08-05 19:06:42 +02:00
wp_enqueue_script ( 'plugin-install' );
2008-10-17 00:35:53 +02:00
wp_enqueue_script ( 'media-upload' );
2008-05-22 02:06:41 +02:00
wp_admin_css ( 'dashboard' );
2008-08-05 19:06:42 +02:00
wp_admin_css ( 'plugin-install' );
2008-08-04 23:01:09 +02:00
add_thickbox ();
2006-11-19 00:12:39 +01:00
2007-09-04 01:32:58 +02:00
$title = __ ( 'Dashboard' );
2006-11-18 08:31:29 +01:00
$parent_file = 'index.php' ;
2010-01-15 17:58:36 +01:00
add_contextual_help ( $current_screen , '<p>' . __ ( 'The modules on this screen can be arranged in several columns. You can select the number of columns from the Screen Options tab.' ) . " </p> \n " . drag_drop_help () );
2004-12-19 01:10:10 +01:00
require_once ( 'admin-header.php' );
2003-06-01 09:47:29 +02:00
2004-12-19 08:26:43 +01:00
$today = current_time ( 'mysql' , 1 );
2004-12-19 01:10:10 +01:00
?>
2003-06-01 09:47:29 +02:00
2004-12-19 01:10:10 +01:00
< div class = " wrap " >
2008-11-26 14:51:25 +01:00
< ? php screen_icon (); ?>
2009-05-18 17:11:07 +02:00
< h2 >< ? php echo esc_html ( $title ); ?> </h2>
2008-10-17 22:02:03 +02:00
2008-03-10 06:47:07 +01:00
< div id = " dashboard-widgets-wrap " >
2008-02-02 08:57:51 +01:00
< ? php wp_dashboard (); ?>
2007-12-20 21:23:30 +01:00
2008-10-30 04:03:00 +01:00
< div class = " clear " ></ div >
2008-03-10 06:47:07 +01:00
</ div ><!-- dashboard - widgets - wrap -->
2008-02-02 08:57:51 +01:00
</ div ><!-- wrap -->
2004-02-02 22:54:32 +01:00
2009-01-19 19:31:08 +01:00
< ? php require ( ABSPATH . 'wp-admin/admin-footer.php' ); ?>