Wordpress++
This commit is contained in:
1 parent
790f1487a2
commit
3f49ab1747
610 files changed
+58979
-36562
No files matched your search
+13
-7
@@ -214,7 +214,7 @@ case 'delete':
|
||||
<?php echo $referer; ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php _e('Delete Users'); ?></h2>
|
||||
<h1><?php _e( 'Delete Users' ); ?></h1>
|
||||
<?php if ( isset( $_REQUEST['error'] ) ) : ?>
|
||||
<div class="error">
|
||||
<p><strong><?php _e( 'ERROR:' ); ?></strong> <?php _e( 'Please select an option.' ); ?></p>
|
||||
@@ -336,8 +336,14 @@ case 'remove':
|
||||
<?php echo $referer; ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php _e('Remove Users from Site'); ?></h2>
|
||||
<p><?php _e('You have specified these users for removal:'); ?></p>
|
||||
<h1><?php _e( 'Remove Users from Site' ); ?></h1>
|
||||
|
||||
<?php if ( 1 == count( $userids ) ) : ?>
|
||||
<p><?php _e( 'You have specified this user for removal:' ); ?></p>
|
||||
<?php else : ?>
|
||||
<p><?php _e( 'You have specified these users for removal:' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<ul>
|
||||
<?php
|
||||
$go_remove = false;
|
||||
@@ -443,18 +449,18 @@ if ( ! empty($messages) ) {
|
||||
} ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2>
|
||||
<h1>
|
||||
<?php
|
||||
echo esc_html( $title );
|
||||
if ( current_user_can( 'create_users' ) ) { ?>
|
||||
<a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
|
||||
<a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a>
|
||||
<?php } elseif ( is_multisite() && current_user_can( 'promote_users' ) ) { ?>
|
||||
<a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>
|
||||
<a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>
|
||||
<?php }
|
||||
|
||||
if ( $usersearch )
|
||||
printf( '<span class="subtitle">' . __('Search results for “%s”') . '</span>', esc_html( $usersearch ) ); ?>
|
||||
</h2>
|
||||
</h1>
|
||||
|
||||
<?php $wp_list_table->views(); ?>
|
||||
|
||||
|
||||
Reference in new issue
Block a user