# mlsimport/7.1.1/admin/partials/mlsimport-admin-display.php

MLSImport: IDX Plugin &amp; MLS Plugin for Real Estate Listings, version 7.1.1. 87 lines.

- Page: https://pluginprobe.com/plugins/mlsimport/7.1.1/code/admin/partials/mlsimport-admin-display.php
- Raw: https://pluginprobe.com/plugins/mlsimport/7.1.1/raw/admin/partials/mlsimport-admin-display.php
- Modified: 2026-08-24T14:02:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/mlsimport/7.1.1/code/admin/partials/mlsimport-admin-display.php#L10-L20`.

```php
<?php
/**
 * Provide a admin area view for the plugin
 *
 * This file is used to markup the admin-facing aspects of the plugin.
 *
 * @link      http://mlsimport.com/
 * @since      1.0.0
 *
 * @package    mlsimport
 * @subpackage mlsimport/admin/partials
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}
?>
<!-- This file should primarily consist of HTML with a little bit of PHP. -->
<div class="wrap">
	<h2><?php esc_html_e( 'MLS Import Options', 'mlsimport' ); ?></h2>

	<?php
		// Grab all options
		$options = get_option( $this->plugin_name );
		// Default tab when none is requested in the URL.
		$active_tab = 'display_options';
	// Active tab comes from ?tab= (sanitised); highlights the matching nav link below.
	if ( isset( $_GET['tab'] ) ) {
		$active_tab = sanitize_text_field  ( wp_unslash(  $_GET['tab'] ) );
	}
	?>

	<div class="nav-tab-wrapper mlsimport-tab-wrapper">
		<a href="?page=mlsimport_plugin_options&tab=display_options" class="nav-tab  		  <?php echo   'display_options' 		===  $active_tab  ? 'nav-tab-active' : ''; ?>"><?php esc_html_e( 'MLS Connection','mlsimport' ); ?></a>
		<a href="?page=mlsimport_plugin_options&tab=field_options"   class="nav-tab    		  <?php echo   'field_options' 			 === $active_tab  ? 'nav-tab-active' : ''; ?>"><?php esc_html_e( 'Listing Details', 'mlsimport' ); ?></a>
		<a href="?page=mlsimport_plugin_options&tab=administrative_options"  class="nav-tab   <?php echo    'administrative_options' === $active_tab  ? 'nav-tab-active' : ''; ?>"><?php esc_html_e( 'Tools', 'mlsimport' ); ?></a>
	</div>


	<?php
	// Extra CSS class applied only to the first tab's card wrapper.
	$extra_class='';
	if ( 'display_options' === $active_tab ) {
		$extra_class='mlsimport_2025_card_admin_options';
	} ?>
	
	<div class="content-nav-tab  <?php echo esc_attr($extra_class);?>   mlsimport_2025_card mlsimport_2025_card_left_oriented <?php echo  'display_options' === $active_tab  ? 'content-nav-tab-active' : ''; ?>">
		<?php
		// Tab 1 panel — load the MLS/RESO API options partial only when active.
		if ( 'display_options' ===  $active_tab  ) {
			include_once '' . $this->plugin_name . '-admin-options.php';
		}
		?>
<?php if ( 'display_options' === $active_tab ) : ?>
                <div class="mlsimport-steps">
                <ol>
                        <li><a href="<?php echo esc_url( admin_url( 'admin.php?page=mlsimport_plugin_options' ) ); ?>"><?php esc_html_e( 'Connect your MLSImport account and your MLS.', 'mlsimport' ); ?></a></li>
                        <li><a href="<?php echo esc_url( admin_url( 'admin.php?page=mlsimport_plugin_options&tab=field_options' ) ); ?>"><?php esc_html_e( 'Choose which listing details to show on your site.', 'mlsimport' ); ?></a></li>
                        <li><a href="<?php echo esc_url( admin_url( 'post-new.php?post_type=mlsimport_item' ) ); ?>"><?php esc_html_e( 'Start an import and bring in your listings.', 'mlsimport' ); ?></a></li>
                </ol>
        </div>
<?php endif; ?>


	</div>
		
	<div class="content-nav-tab  mlsimport_2025_card mlsimport_2025_card_left_oriented <?php echo 'field_options' === $active_tab  ? 'content-nav-tab-active' : ''; ?>">    
		<?php
		// Tab 2 panel — load the field-selection partial only when active.
		if ( 'field_options' === $active_tab  ) {
			include_once '' . $this->plugin_name . '-admin-fields-select.php';
		}
		?>
	</div>
		
  
	
	<div class="content-nav-tab  mlsimport_2025_card  mlsimport_2025_card_left_oriented <?php echo  'administrative_options' === $active_tab  ? 'content-nav-tab-active' : ''; ?>">
		<?php
		// Tab 3 panel — load the Tools / administrative options partial only when active.
		if ( 'administrative_options' === $active_tab  ) {
			include_once '' . $this->plugin_name . '-administrative-options.php';
		}
		?>
	</div>

</div>
```
