2003-06-01 03:47:29 -04:00
|
|
|
<?php
|
2008-08-11 16:26:31 -04:00
|
|
|
/**
|
|
|
|
* Dashboard Administration Panel
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** Load WordPress Bootstrap */
|
2007-09-03 19:32:58 -04:00
|
|
|
require_once('admin.php');
|
2006-11-18 18:12:39 -05:00
|
|
|
|
2008-08-11 16:26:31 -04:00
|
|
|
/** Load WordPress dashboard API */
|
2008-03-24 16:36:46 -04:00
|
|
|
require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
|
2008-02-02 02:57:51 -05:00
|
|
|
|
|
|
|
wp_dashboard_setup();
|
|
|
|
|
2008-10-08 19:32:34 -04:00
|
|
|
wp_enqueue_script( 'dashboard' );
|
2008-08-05 13:06:42 -04:00
|
|
|
wp_enqueue_script( 'plugin-install' );
|
2008-10-16 18:35:53 -04:00
|
|
|
wp_enqueue_script( 'media-upload' );
|
2008-05-21 20:06:41 -04:00
|
|
|
wp_admin_css( 'dashboard' );
|
2008-08-05 13:06:42 -04:00
|
|
|
wp_admin_css( 'plugin-install' );
|
2008-08-04 17:01:09 -04:00
|
|
|
add_thickbox();
|
2006-11-18 18:12:39 -05:00
|
|
|
|
2007-09-03 19:32:58 -04:00
|
|
|
$title = __('Dashboard');
|
2006-11-18 02:31:29 -05:00
|
|
|
$parent_file = 'index.php';
|
2004-12-18 19:10:10 -05:00
|
|
|
require_once('admin-header.php');
|
2003-06-01 03:47:29 -04:00
|
|
|
|
2004-12-19 02:26:43 -05:00
|
|
|
$today = current_time('mysql', 1);
|
2004-12-18 19:10:10 -05:00
|
|
|
?>
|
2003-06-01 03:47:29 -04:00
|
|
|
|
2004-12-18 19:10:10 -05:00
|
|
|
<div class="wrap">
|
2008-11-26 08:51:25 -05:00
|
|
|
<?php screen_icon(); ?>
|
2008-10-17 16:06:22 -04:00
|
|
|
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
2008-10-17 16:02:03 -04:00
|
|
|
|
2008-03-10 01:47:07 -04:00
|
|
|
<div id="dashboard-widgets-wrap">
|
|
|
|
|
2008-02-02 02:57:51 -05:00
|
|
|
<?php wp_dashboard(); ?>
|
2007-12-20 15:23:30 -05:00
|
|
|
|
2008-10-29 23:03:00 -04:00
|
|
|
<div class="clear"></div>
|
2008-03-10 01:47:07 -04:00
|
|
|
</div><!-- dashboard-widgets-wrap -->
|
|
|
|
|
2008-02-02 02:57:51 -05:00
|
|
|
</div><!-- wrap -->
|
2004-02-02 16:54:32 -05:00
|
|
|
|
2009-01-19 13:31:08 -05:00
|
|
|
<?php require(ABSPATH . 'wp-admin/admin-footer.php'); ?>
|