|
Revision 1522, 0.8 kB
(checked in by donncha, 3 days ago)
|
WP Merge with revision 9730
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
require_once('admin.php'); |
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 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 |
<h2><?php echo wp_specialchars( $title ); ?></h2> |
|---|
| 33 |
|
|---|
| 34 |
<div id="dashboard-widgets-wrap"> |
|---|
| 35 |
|
|---|
| 36 |
<?php wp_dashboard(); ?> |
|---|
| 37 |
|
|---|
| 38 |
<div class="clear"></div> |
|---|
| 39 |
</div><!-- dashboard-widgets-wrap --> |
|---|
| 40 |
|
|---|
| 41 |
</div><!-- wrap --> |
|---|
| 42 |
|
|---|
| 43 |
<?php require('./admin-footer.php'); ?> |
|---|
| 44 |
|
|---|