diff -r 2f6f6f7551ca -r 32102edaa81b web/wp-admin/options-discussion.php --- a/web/wp-admin/options-discussion.php Thu Sep 16 15:45:36 2010 +0000 +++ b/web/wp-admin/options-discussion.php Mon Nov 19 18:26:13 2012 +0100 @@ -7,15 +7,28 @@ */ /** 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 = __('Discussion Settings'); $parent_file = 'options-general.php'; -include('admin-header.php'); +get_current_screen()->add_help_tab( array( + 'id' => 'overview', + 'title' => __('Overview'), + 'content' => '
' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won’t all fit here! :) Use the documentation links to get information on what each discussion setting does.') . '
' . + '' . __('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 Discussion Settings') . '
' . + '' . __('Support Forums') . '
' +); + +include('./admin-header.php'); ?>- | |||
---|---|---|---|
- |
+ | | |
- |
+ | | |
- |
+ | - | |
- |
+ | - + | |
- |
+ | - + |
- |
+ | "; @@ -168,11 +182,20 @@ | |
---|---|---|---|
- |
+ | "; @@ -182,8 +205,8 @@ | |
- |
+ | @@ -194,7 +217,8 @@ 'gravatar_default' => __('Gravatar Logo'), 'identicon' => __('Identicon (Generated)'), 'wavatar' => __('Wavatar (Generated)'), - 'monsterid' => __('MonsterID (Generated)') + 'monsterid' => __('MonsterID (Generated)'), + 'retro' => __('Retro (Generated)') ); $avatar_defaults = apply_filters('avatar_defaults', $avatar_defaults); $default = get_option('avatar_default'); @@ -204,7 +228,7 @@ $avatar_list = ''; foreach ( $avatar_defaults as $default_key => $default_name ) { $selected = ($default == $default_key) ? 'checked="checked" ' : ''; - $avatar_list .= "\n\t - - + |