← All changes
|
admin/views/html-admin-settings-import-export-users.php
+5
-5
1.2.74
→
1.2.38
View file →
| @@ -108,9 +108,9 @@ | ||
| 108 | 108 | |
| 109 | 109 | $uwp_chunk_sizes = apply_filters('uwp_ie_csv_chunks_options', $uwp_chunk_sizes); |
| 110 | 110 | $uwp_chunk_sizes_opts = ''; |
| 111 | 111 | foreach ($uwp_chunk_sizes as $value => $title) { |
| 112 | - $uwp_chunk_sizes_opts .= '<option value="' . esc_attr($value) . '" ' . selected($value, 5000, false) . '>' . esc_attr($title) . '</option>'; | |
| 112 | + $uwp_chunk_sizes_opts .= '<option value="' . $value . '" ' . selected($value, 5000, false) . '>' . $title . '</option>'; | |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | $users_count = count_users(); |
| 116 | 116 | $total_users = $users_count['total_users']; |
| @@ -118,14 +118,14 @@ | ||
| 118 | 118 | <div class="metabox-holder uwp-ie-container"> |
| 119 | 119 | <div class="postbox uwp-export-users"> |
| 120 | 120 | <h3><span><?php esc_html_e( 'Export Users Data', 'userswp' ); ?></span></h3> |
| 121 | 121 | <div class="inside uwp-export-users-form"> |
| 122 | - <p><?php esc_html_e( 'Download a CSV of all users data for usersWP.', 'userswp' ); ?></p> | |
| 122 | + <p><?php esc_html_e( 'Download a CSV of all users data for usersWP.', 'invoicing' ); ?></p> | |
| 123 | 123 | <table class="form-table"> |
| 124 | 124 | <tbody> |
| 125 | 125 | <tr> |
| 126 | 126 | <th class=""><label for="uwp_ie_chunk_size"><?php esc_html_e( 'Max entries per csv file:', 'userswp' );?></label></th> |
| 127 | - <td><select name="uwp_ie_chunk_size" class="aui-select2" id="uwp_ie_chunk_size" data-ucount = "<?php echo esc_attr( $total_users );?>" style="min-width:140px"><?php echo $uwp_chunk_sizes_opts; ?></select><p class="description"><?php esc_html_e( 'The maximum number of entries per csv file (default to 5000, you might want to lower this to prevent memory issues.)', 'userswp' );?></p></td> | |
| 127 | + <td><select name="uwp_ie_chunk_size" class="aui-select2" id="uwp_ie_chunk_size" data-ucount = "<?php echo esc_attr( $total_users );?>" style="min-width:140px"><?php echo esc_attr( $uwp_chunk_sizes_opts );?></select><p class="description"><?php esc_html_e( 'The maximum number of entries per csv file (default to 5000, you might want to lower this to prevent memory issues.)', 'userswp' );?></p></td> | |
| 128 | 128 | </tr> |
| 129 | 129 | </tbody> |
| 130 | 130 | </table> |
| 131 | 131 | <div class="uwp-export-submit-wrap"> |
| @@ -137,11 +137,11 @@ | ||
| 137 | 137 | </div> |
| 138 | 138 | </div> |
| 139 | 139 | |
| 140 | 140 | <div class="postbox"> |
| 141 | - <h3><span><?php esc_html_e( 'Import Users', 'userswp' ); ?></span></h3> | |
| 141 | + <h3><span><?php esc_html_e( 'Import Users' ); ?></span></h3> | |
| 142 | 142 | <div class="inside" id="uwp-imp-container"> |
| 143 | - <p><?php esc_html_e( 'Import the users data from a .csv file. This file can be obtained by exporting the data on another site using the form above.', 'userswp' ); ?></p> | |
| 143 | + <p><?php esc_html_e( 'Import the users data from a .csv file. This file can be obtained by exporting the data on another site using the form above.' ); ?></p> | |
| 144 | 144 | <p class="uwp-imp-uploaded-file"> |
| 145 | 145 | <a id="uwp-imp-browse" class="button file-selector button-primary" href="#"><?php esc_html_e( 'Select File', 'userswp' ); ?></a> |
| 146 | 146 | </p> |
| 147 | 147 | <p> |