<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div class="wp-powersuite-module-settings" data-module-id="<?php echo esc_attr( $module_id ?? 'active-plugins-first' ); ?>">
	<h3><?php esc_html_e( 'Plugin List Ordering', 'wp-powersuite' ); ?></h3>
	<p class="description">
		<?php esc_html_e( 'This module automatically reorders the Plugins screen to show active plugins first, followed by deactivated plugins. No configuration needed.', 'wp-powersuite' ); ?>
	</p>

	<div class="notice notice-info inline">
		<p>
			<strong><?php esc_html_e( 'How it works:', 'wp-powersuite' ); ?></strong><br>
			<?php esc_html_e( 'On the All, Active, and Inactive plugin views, active plugins are listed first and inactive plugins below. Section headings with counts can be collapsed; your preferences are saved in the browser.', 'wp-powersuite' ); ?>
		</p>
		<p>
			<?php esc_html_e( 'Search, update-available, and other filtered views are sorted the same way but without section headings. Must-Use and Drop-in views are unchanged. Sorting uses WordPress activation state (including on Network Admin).', 'wp-powersuite' ); ?>
		</p>
	</div>
</div>
