mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 02:27:50 +01:00
bdf8e8fb38
git-svn-id: http://svn.automattic.com/wordpress/trunk@11312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
49 lines
1.5 KiB
PHP
49 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* Privacy Options Settings Administration Panel.
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Administration
|
|
*/
|
|
|
|
/** Load WordPress Administration Bootstrap */
|
|
require_once('./admin.php');
|
|
|
|
$title = __('Privacy Settings');
|
|
$parent_file = 'options-general.php';
|
|
|
|
include('./admin-header.php');
|
|
?>
|
|
|
|
<div class="wrap">
|
|
<?php screen_icon(); ?>
|
|
<h2><?php echo wp_specialchars( $title ); ?></h2>
|
|
|
|
<form method="post" action="options.php">
|
|
<?php settings_fields('privacy'); ?>
|
|
|
|
<table class="form-table">
|
|
<tr valign="top">
|
|
<th scope="row"><?php _e('Blog Visibility') ?> </th>
|
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Blog Visibility') ?> </span></legend>
|
|
<p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
|
|
<label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p>
|
|
<p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
|
|
<label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label></p>
|
|
<?php do_action('blog_privacy_selector'); ?>
|
|
</fieldset></td>
|
|
</tr>
|
|
<?php do_settings_fields('privacy', 'default'); ?>
|
|
</table>
|
|
|
|
<?php do_settings_sections('privacy'); ?>
|
|
|
|
<p class="submit">
|
|
<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
|
|
</p>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<?php include('./admin-footer.php') ?>
|