2006-10-26 00:55:05 +02:00
< ? php
require_once ( './admin.php' );
2006-11-18 08:31:29 +01:00
$title = __ ( 'Privacy Options' );
$parent_file = 'options-general.php' ;
2006-10-26 00:55:05 +02:00
include ( './admin-header.php' );
?>
2006-11-19 08:56:05 +01:00
2006-10-26 00:55:05 +02:00
< div class = " wrap " >
< h2 >< ? php _e ( 'Privacy Options' ) ?> </h2>
2006-11-19 08:56:05 +01:00
< form method = " post " action = " options.php " >
2006-10-26 00:55:05 +02:00
< ? php wp_nonce_field ( 'update-options' ) ?>
2006-11-19 08:56:05 +01:00
< table class = " optiontable " >
< tr valign = " top " >
< th scope = " row " >< ? php _e ( 'Blog visibility:' ) ?> </th>
2006-10-26 00:55:05 +02:00
< td >
< 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' ); ?>
2006-11-19 08:56:05 +01:00
</ td >
2006-10-26 00:55:05 +02:00
</ tr >
2006-11-19 08:56:05 +01:00
</ table >
2006-10-26 00:55:05 +02:00
< p class = " submit " >< input type = " submit " name = " Submit " value = " <?php _e('Update Options »') ?> " />
2006-11-19 08:56:05 +01:00
< input type = " hidden " name = " action " value = " update " />
< input type = " hidden " name = " page_options " value = " blog_public " />
2006-10-26 00:55:05 +02:00
</ p >
</ form >
2006-11-19 08:56:05 +01:00
</ div >
2006-10-26 00:55:05 +02:00
< ? php include ( './admin-footer.php' ) ?>