[ Index ]

WordPress Source Cross Reference

title

Body

[close]

/wp-admin/ -> options-privacy.php (source)

   1  <?php
   2  require_once ('./admin.php');
   3  
   4  $title = __('Privacy Options');
   5  $parent_file = 'options-general.php';
   6  
   7  include ('./admin-header.php');
   8  ?>
   9   
  10  <div class="wrap">
  11  <h2><?php _e('Privacy Options') ?></h2>
  12  <form method="post" action="options.php"> 
  13  <?php wp_nonce_field('update-options') ?>
  14  <table class="optiontable"> 
  15  <tr valign="top"> 
  16  <th scope="row"><?php _e('Blog visibility:') ?> </th> 
  17  <td>
  18  <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
  19  <label for="blog-public">I would like my blog to be visible to anyone who visits, including search engines and archivers</label>
  20  <br />
  21  <input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
  22  <label for="blog-norobots">I would like to block search engines, but allow normal folks</label>
  23  <?php do_action('blog_privacy_selector'); ?>
  24  </td> 
  25  </tr>
  26  </table> 
  27  
  28  <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options &raquo;') ?>" />
  29  <input type="hidden" name="action" value="update" /> 
  30  <input type="hidden" name="page_options" value="blog_public" /> 
  31  </p>
  32  </form>
  33  
  34  </div> 
  35  
  36  <?php include ('./admin-footer.php') ?>

Your comment here...

Name: Location:
Comments:


List: Classes | Functions | Variables | Constants | Tables

Generated: Sat Jul 15 11:57:04 2006 Courtesy of Taragana