raw
mp-wp_genesis           1 <?php
mp-wp_genesis 2 /**
mp-wp_genesis 3 * Privacy Options Settings Administration Panel.
mp-wp_genesis 4 *
mp-wp_genesis 5 * @package WordPress
mp-wp_genesis 6 * @subpackage Administration
mp-wp_genesis 7 */
mp-wp_genesis 8
mp-wp_genesis 9 /** Load WordPress Administration Bootstrap */
mp-wp_genesis 10 require_once('./admin.php');
mp-wp_genesis 11
mp-wp_genesis 12 $title = __('Privacy Settings');
mp-wp_genesis 13 $parent_file = 'options-general.php';
mp-wp_genesis 14
mp-wp_genesis 15 include('./admin-header.php');
mp-wp_genesis 16 ?>
mp-wp_genesis 17
mp-wp_genesis 18 <div class="wrap">
mp-wp_genesis 19 <?php screen_icon(); ?>
mp-wp_genesis 20 <h2><?php echo wp_specialchars( $title ); ?></h2>
mp-wp_genesis 21
mp-wp_genesis 22 <form method="post" action="options.php">
mp-wp_genesis 23 <?php settings_fields('privacy'); ?>
mp-wp_genesis 24
mp-wp_genesis 25 <table class="form-table">
mp-wp_genesis 26 <tr valign="top">
mp-wp_genesis 27 <th scope="row"><?php _e('Blog Visibility') ?> </th>
mp-wp_genesis 28 <td><fieldset><legend class="hidden"><?php _e('Blog Visibility') ?> </legend>
mp-wp_genesis 29 <p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
mp-wp_genesis 30 <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>
mp-wp_genesis 31 <p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
mp-wp_genesis 32 <label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label></p>
mp-wp_genesis 33 <?php do_action('blog_privacy_selector'); ?>
mp-wp_genesis 34 </fieldset></td>
mp-wp_genesis 35 </tr>
mp-wp_genesis 36 <?php do_settings_fields('privacy', 'default'); ?>
mp-wp_genesis 37 </table>
mp-wp_genesis 38
mp-wp_genesis 39 <?php do_settings_sections('privacy'); ?>
mp-wp_genesis 40
mp-wp_genesis 41 <p class="submit">
mp-wp_genesis 42 <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
mp-wp_genesis 43 </p>
mp-wp_genesis 44 </form>
mp-wp_genesis 45
mp-wp_genesis 46 </div>
mp-wp_genesis 47
mp-wp_genesis 48 <?php include('./admin-footer.php') ?>