home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Blogs / wordpress2.6.exe / wordpress2.6 / wp-admin / options-privacy.php < prev    next >
Encoding:
PHP Script  |  2008-05-04  |  1.3 KB  |  36 lines

  1. <?php
  2. require_once('./admin.php');
  3.  
  4. $title = __('Privacy Settings');
  5. $parent_file = 'options-general.php';
  6.  
  7. include('./admin-header.php');
  8. ?>
  9.  
  10. <div class="wrap">
  11. <h2><?php _e('Privacy Settings') ?></h2>
  12. <form method="post" action="options.php">
  13. <?php wp_nonce_field('update-options') ?>
  14. <table class="form-table">
  15. <tr valign="top">
  16. <th scope="row"><?php _e('Blog Visibility') ?> </th>
  17. <td><fieldset><legend class="hidden"><?php _e('Blog Visibility') ?> </legend>
  18. <p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
  19. <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>
  20. <p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> />
  21. <label for="blog-norobots"><?php _e('I would like to block search engines, but allow normal visitors'); ?></label></p>
  22. <?php do_action('blog_privacy_selector'); ?>
  23. </fieldset></td>
  24. </tr>
  25. </table>
  26.  
  27. <p class="submit"><input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" />
  28. <input type="hidden" name="action" value="update" />
  29. <input type="hidden" name="page_options" value="blog_public" />
  30. </p>
  31. </form>
  32.  
  33. </div>
  34.  
  35. <?php include('./admin-footer.php') ?>
  36.