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