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';
|
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(); ?>
|
2008-10-17 22:06:22 +02:00
|
|
|
<h2><?php echo wp_specialchars( $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
|
|
|
|
2008-02-02 08:57:51 +01:00
|
|
|
<?php require('./admin-footer.php'); ?>
|