mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 07:51:49 +01:00
s/Creationism/Evolution/ in site-users. See #14756
git-svn-id: http://svn.automattic.com/wordpress/trunk@16930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5c4e3256fc
commit
47b8f4a8cc
@ -218,8 +218,13 @@ endif; ?>
|
|||||||
<?php do_action( 'network_site_users_after_list_table', '' );?>
|
<?php do_action( 'network_site_users_after_list_table', '' );?>
|
||||||
|
|
||||||
<?php if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?>
|
<?php if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?>
|
||||||
<h3 id="add-existing-user"><?php _e('Add Existing User') ?></h3>
|
<h4 id="add-user"><?php _e('Add User to This Site') ?></h4>
|
||||||
<p><?php _e( 'Enter the username of an existing user on this network.' ) ?></p>
|
<?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?>
|
||||||
|
<p><?php _e( 'You may add from existing network users, or set up a new user to add to this site.' ); ?></p>
|
||||||
|
<?php else : ?>
|
||||||
|
<p><?php _e( 'You may add from existing network users to this site.' ); ?></p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<h5 id="add-existing-user"><?php _e('Add Existing User') ?></h5>
|
||||||
<form action="site-users.php?action=adduser" id="adduser" method="post">
|
<form action="site-users.php?action=adduser" id="adduser" method="post">
|
||||||
<?php wp_nonce_field( 'edit-site' ); ?>
|
<?php wp_nonce_field( 'edit-site' ); ?>
|
||||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
|
<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
|
||||||
@ -248,8 +253,7 @@ endif; ?>
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?>
|
<?php if ( current_user_can( 'create_users' ) && apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?>
|
||||||
<h3 id="add-new-user"><?php _e('Create New User') ?></h3>
|
<h5 id="add-new-user"><?php _e('Add New User') ?></h5>
|
||||||
<p><?php _e( 'Create a brand new user and add it to this site.' ) ?></p>
|
|
||||||
<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post">
|
<form action="<?php echo network_admin_url('site-users.php?action=newuser'); ?>" id="newuser" method="post">
|
||||||
<?php wp_nonce_field( 'edit-site' ); ?>
|
<?php wp_nonce_field( 'edit-site' ); ?>
|
||||||
<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
|
<input type="hidden" name="id" value="<?php echo esc_attr( $id ) ?>" />
|
||||||
@ -280,7 +284,7 @@ endif; ?>
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?>
|
<?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?>
|
||||||
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
|
<?php submit_button( __('Add New User'), 'primary', 'add-user' ); ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user