X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/ff81ee6e8304a1982a3ec4f5b134764a29d502cf..9b5673a7aae863ab45c3b73460060352c5b3810b:/wp-admin/index.php diff --git a/wp-admin/index.php b/wp-admin/index.php index f5852a39..789835c9 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -1,172 +1,63 @@ ' . __('Welcome to your WordPress Dashboard! You will find helpful tips in the Help tab of each screen to assist you as you get to know the application.') . '

' . + '

' . __('The left-hand navigation menu provides links to the administration screens in your WordPress application. You can expand or collapse navigation sections by clicking on the arrow that appears on the right side of each navigation item when you hover over it. You can also minimize the navigation menu to a narrow icon strip by clicking on the separator lines between navigation sections that end in double arrowheads; when minimized, the submenu items will be displayed on hover.') . '

' . + '

' . __('You can configure your dashboard by choosing which modules to display, how many columns to display them in, and where each module should be placed. You can hide/show modules and select the number of columns in the Screen Options tab. To rearrange the modules, drag and drop by clicking on the title bar of the selected module and releasing when you see a gray dotted-line box appear in the location you want to place the module. You can also expand or collapse each module by clicking once on the the module’s title bar. In addition, some modules are configurable, and will show a “Configure” link in the title bar when you hover over it.') . '

' . + '

' . __('The modules on your Dashboard screen are:') . '

' . + '

' . __('Right Now - Displays a summary of the content on your site and identifies which theme and version of WordPress you are using.') . '

' . + '

' . __('Recent Comments - Shows the most recent comments on your posts (configurable, up to 30) and allows you to moderate them.') . '

' . + '

' . __('Incoming Links - Shows links to your site found by Google Blog Search.') . '

' . + '

' . __('QuickPress - Allows you to create a new post and either publish it or save it as a draft.') . '

' . + '

' . __('Recent Drafts - Displays links to the 5 most recent draft posts you’ve started.') . '

' . + '

' . __('Other WordPress News - Shows the feed from WordPress Planet. You can configure it to show a different feed of your choosing.') . '

' . + '

' . __('Plugins - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '

' . + '

' . __('For more information:') . '

' . + '

' . __('Dashboard Documentation') . '

' . + '

' . __('Support Forums') . '

' +); + +require_once('./admin-header.php'); $today = current_time('mysql', 1); ?>
+ +

-

+
-
-

+ -items) && 0 != count($rss->items) ) { -?> - - - -get_results("SELECT comment_author, comment_author_url, comment_ID, comment_post_ID FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT 5"); -$numcomments = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'"); - -if ( $comments || $numcomments ) : -?> -
-

»

- - -

»

- -
- - - - +
+
-get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt < '$today' ORDER BY post_date DESC LIMIT 5") ) : -?> -
-

»

- -
- - -get_results("SELECT ID, post_title, post_date_gmt FROM $wpdb->posts WHERE post_status = 'publish' AND post_date_gmt > '$today' ORDER BY post_date ASC") ) : -?> -
-

-
    -post_title == '') - $post->post_title = sprintf(__('Post #%s'), $post->ID); - echo "
  • " . sprintf(__('%1$s in %2$s'), "$post->post_title", human_time_diff( current_time('timestamp', 1), strtotime($post->post_date_gmt. ' GMT') )) . "
  • "; -} -?> -
-
- - -
-

-get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_status = 'publish'"); -if (0 < $numposts) $numposts = number_format($numposts); - -$numcomms = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '1'"); -if (0 < $numcomms) $numcomms = number_format($numcomms); - -$numcats = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->categories"); -if (0 < $numcats) $numcats = number_format($numcats); -?> -

posts and %3$s comments, contained within %5$s categories.'), $numposts, 'edit.php', $numcomms, 'edit-comments.php', $numcats, 'categories.php'); ?>

-
+
- -
- -

- -

- - - -

great documentation or if that doesn't help visit the support forums."); ?>

-items) && 0 != count($rss->items) ) { -?> -

-items = array_slice($rss->items, 0, 3); -foreach ($rss->items as $item ) { -?> -

'>

-

- - - -items) && 0 != count($rss->items) ) { -?> -
-

»

- -
- -
  -
-
- - - +