Add some filters and an action to make this more flexible for plugin extension / modification. See #15793.
git-svn-id: https://develop.svn.wordpress.org/trunk@16891 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
223dfd3468
commit
f76d96c609
@ -215,6 +215,9 @@ endif; ?>
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
do_action( 'network_site_users_after_list_table', '' );
|
||||||
|
|
||||||
|
<?php if ( apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?>
|
||||||
<h3 id="add-existing-user"><?php _e('Add Existing User') ?></h3>
|
<h3 id="add-existing-user"><?php _e('Add Existing User') ?></h3>
|
||||||
<p><?php _e( 'Enter the username of an existing user on this network.' ) ?></p>
|
<p><?php _e( 'Enter the username of an existing user on this network.' ) ?></p>
|
||||||
<form action="site-users.php?action=adduser" id="adduser" method="post">
|
<form action="site-users.php?action=adduser" id="adduser" method="post">
|
||||||
@ -242,7 +245,9 @@ endif; ?>
|
|||||||
</table>
|
</table>
|
||||||
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
|
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
|
||||||
</form>
|
</form>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<?php if ( apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?>
|
||||||
<h3 id="add-new-user"><?php _e('Create New User') ?></h3>
|
<h3 id="add-new-user"><?php _e('Create New User') ?></h3>
|
||||||
<p><?php _e( 'Create a brand new user and add it to this site.' ) ?></p>
|
<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">
|
||||||
@ -278,5 +283,6 @@ endif; ?>
|
|||||||
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
|
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
<?php
|
<?php
|
||||||
require('../admin-footer.php');
|
require('../admin-footer.php');
|
Loading…
Reference in New Issue
Block a user