Wordpress 2.7.1
[autoinstalls/wordpress.git] / wp-admin / index.php
1 <?php
2 /**
3  * Dashboard Administration Panel
4  *
5  * @package WordPress
6  * @subpackage Administration
7  */
8
9 /** Load WordPress Bootstrap */
10 require_once('admin.php');
11
12 /** Load WordPress dashboard API */
13 require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
14
15 wp_dashboard_setup();
16
17 wp_enqueue_script( 'dashboard' );
18 wp_enqueue_script( 'plugin-install' );
19 wp_enqueue_script( 'media-upload' );
20 wp_admin_css( 'dashboard' );
21 wp_admin_css( 'plugin-install' );
22 add_thickbox();
23
24 $title = __('Dashboard');
25 $parent_file = 'index.php';
26 require_once('admin-header.php');
27
28 $today = current_time('mysql', 1);
29 ?>
30
31 <div class="wrap">
32 <?php screen_icon(); ?>
33 <h2><?php echo wp_specialchars( $title ); ?></h2>
34
35 <div id="dashboard-widgets-wrap">
36
37 <?php wp_dashboard(); ?>
38
39 <div class="clear"></div>
40 </div><!-- dashboard-widgets-wrap -->
41
42 </div><!-- wrap -->
43
44 <?php require(ABSPATH . 'wp-admin/admin-footer.php'); ?>