X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/1c09677af04c9e37714e09b73eb9dbc5b2e3eb13..refs/tags/wordpress-3.4-scripts:/wp-admin/options-reading.php diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index d5bcdbfc..28897c18 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -7,15 +7,56 @@ */ /** WordPress Administration Bootstrap */ -require_once('admin.php'); +require_once( './admin.php' ); -if ( ! current_user_can('manage_options') ) - wp_die(__('You do not have sufficient permissions to manage options for this blog.')); +if ( ! current_user_can( 'manage_options' ) ) + wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); -$title = __('Reading Settings'); +$title = __( 'Reading Settings' ); $parent_file = 'options-general.php'; -include('admin-header.php'); +/** + * Display JavaScript on the page. + * + * @package WordPress + * @subpackage Reading_Settings_Screen + */ +function add_js() { +?> + +add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => '
' . __('This screen contains the settings that affect the display of your content.') . '
' . + '' . sprintf(__('You can choose what’s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two Pages. One will become the front page, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '
' . + '' . __('You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display, whether to show full text or a summary, and the character set encoding.') . '
' . + '' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '
', +) ); + +get_current_screen()->set_help_sidebar( + '' . __('For more information:') . '
' . + '' . __('Documentation on Reading Settings') . '
' . + '' . __('Support Forums') . '
' +); + +include( './admin-header.php' ); ?>