3bf0f5d94f
git-svn-id: https://develop.svn.wordpress.org/trunk@3790 602fd350-edb4-49c9-b593-d223f7449a82
37 lines
1.2 KiB
PHP
37 lines
1.2 KiB
PHP
<?php
|
|
require_once('./admin.php');
|
|
|
|
$title = __('Privacy Options');
|
|
$parent_file = 'options-general.php';
|
|
|
|
include('./admin-header.php');
|
|
?>
|
|
|
|
<div class="wrap">
|
|
<h2><?php _e('Privacy Options') ?></h2>
|
|
<form method="post" action="options.php">
|
|
<?php wp_nonce_field('update-options') ?>
|
|
<table class="optiontable">
|
|
<tr valign="top">
|
|
<th scope="row"><?php _e('Blog visibility:') ?> </th>
|
|
<td>
|
|
<input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
|
|
<label for="blog-public">I would like my blog to be visible to anyone who visits, including search engines and archivers</label>
|
|
<br />
|
|
<input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
|
|
<label for="blog-norobots">I would like to block search engines, but allow normal folks</label>
|
|
<?php do_action('blog_privacy_selector'); ?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" />
|
|
<input type="hidden" name="action" value="update" />
|
|
<input type="hidden" name="page_options" value="blog_public" />
|
|
</p>
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<?php include('./admin-footer.php') ?>
|