mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 07:35:39 +01:00
88d2ecbb4e
git-svn-id: http://svn.automattic.com/wordpress/trunk@9557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
46 lines
894 B
PHP
46 lines
894 B
PHP
<?php
|
|
/**
|
|
* Dashboard Administration Panel
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
/** Load WordPress Bootstrap */
|
|
require_once('admin.php');
|
|
|
|
/** Load WordPress dashboard API */
|
|
require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
|
|
|
|
wp_dashboard_setup();
|
|
|
|
wp_enqueue_script( 'dashboard' );
|
|
wp_enqueue_script( 'plugin-install' );
|
|
wp_enqueue_script( 'media-upload' );
|
|
wp_admin_css( 'dashboard' );
|
|
wp_admin_css( 'plugin-install' );
|
|
add_thickbox();
|
|
|
|
$title = __('Dashboard');
|
|
$parent_file = 'index.php';
|
|
require_once('admin-header.php');
|
|
|
|
$today = current_time('mysql', 1);
|
|
?>
|
|
|
|
<?php screen_meta('dashboard'); ?>
|
|
|
|
<div class="wrap">
|
|
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
|
|
|
<div id="dashboard-widgets-wrap">
|
|
|
|
<?php wp_dashboard(); ?>
|
|
|
|
<div class="clear"></div>
|
|
</div><!-- dashboard-widgets-wrap -->
|
|
|
|
</div><!-- wrap -->
|
|
|
|
<?php require('./admin-footer.php'); ?>
|