WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/14/2004 12:41:09 PM (17 years ago)
Author:
saxmatt
Message:

Initial functionality so level 1 users may be allowed to publish or just post drafts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-writing.php

    r1599 r1656  
    4949  <form name="form1" method="post" action="options.php">
    5050    <input type="hidden" name="action" value="update" />
    51     <input type="hidden" name="page_options" value="'default_post_edit_rows','use_smilies','use_balanceTags','advanced_edit','ping_sites','mailserver_url', 'mailserver_port','mailserver_login','mailserver_pass','default_category', 'default_email_category'" />
     51    <input type="hidden" name="page_options" value="'default_post_edit_rows','use_smilies','use_balanceTags','advanced_edit','ping_sites','mailserver_url', 'mailserver_port','mailserver_login','mailserver_pass','default_category','default_email_category','new_users_can_blog'" />
    5252    <table width="100%" cellspacing="2" cellpadding="5" class="editform">
    5353      <tr valign="top">
     
    8888                </select></td>
    8989            </tr>
     90        <th scope="row"><?php _e('Newly registered members:') ?></th>
     91        <td> <label for="new_users_can_blog0"><input name="new_users_can_blog" id="new_users_can_blog0" type="radio" value="0" <?php checked('0', get_settings('new_users_can_blog')); ?> /> <?php _e('Cannot write articles') ?></label><br />
     92<label for="new_users_can_blog1"><input name="new_users_can_blog" id="new_users_can_blog1" type="radio" value="1" <?php checked('1', get_settings('new_users_can_blog')); ?> /> <?php _e('May submit drafts for review') ?></label><br />
     93<label for="new_users_can_blog2"><input name="new_users_can_blog" id="new_users_can_blog2" type="radio" value="2" <?php checked('2', get_settings('new_users_can_blog')); ?> /> <?php _e('May publish articles') ?></label><br /></td>
     94      </tr>
    9095    </table>
    9196    <fieldset class="options">
     
    130135                </select></td>
    131136            </tr>
    132             </table>
     137        </table>
    133138        </fieldset>
    134139    <p class="submit">
Note: See TracChangeset for help on using the changeset viewer.