Add some filters and an action to make this more flexible for plugin extension / modification. See #15793.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6552004a1a
commit
54d404134c
|
@ -215,6 +215,9 @@ endif; ?>
|
|||
|
||||
</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>
|
||||
<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">
|
||||
|
@ -242,7 +245,9 @@ endif; ?>
|
|||
</table>
|
||||
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
|
||||
</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>
|
||||
<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">
|
||||
|
@ -278,5 +283,6 @@ endif; ?>
|
|||
<?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
|
||||
</form>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
require('../admin-footer.php');
|
||||
require('../admin-footer.php');
|
Loading…
Reference in New Issue